So I installed and finished setting up the WHMCS

Hi Guys

So I installed and finished setting up the WHMCS integration plugin.

Its at:
http://www.wesh.co.uk/customer-services

I also use the tutorial videos template within WHMCS, that comes with it and now I get the red box of:

Sorry this doesn't look like a WHMCS site at [http://www.wesh.co.uk/customer.services/] Make sure your WHMCS Integration settings are pointing to the correct URL and that the WHMCS site is set for the Portal template in Setup | General.

My WHMCS is set to "Portal" and I have used the correct URL, but if I go to http://www.wesh.co.uk/customer.services/ which works, and then click on tutorials, then click on one of the tutorials, this is where I now get the red box.

Going directly to the tutorials page @ http://www.wesh.co.uk/customer.services/tutorials.php works perfectly, but only when trying to view them via the WHMCS integration URL they dont work.

Help.......

  • Vaughan

    hiya

    sorry for the delay, i haven't been able to figure this out myself, so i'm going to flag the developer here for some feedback. My experience with WHMCS is limited.

    regarding the Visa verification. i'm not sure on that, it could be that you require an SSL certificate & use https (it could be a requirement by visa). but you really should always do a test transaction yourself before going live. a few credit card gateway companies actually demand you do & you can't enable live mode without running a live mode test 1st, but not all gateway providers stipulate that condition. but it's good practice anyway.

    hopefully Arnold will know more.

    thanks.

  • Arnold

    The Tutorials your showing are not part of the WHMCS release. Apparently it's a third party module for DemoWolf.com. Since third parties don't necessarily follow the rules for the Portal theme there's no way we can support them.

    Looking at it though, it's simple enough you ma be able to adapt it. Looking at the first one, the part you want to display is

    <div id=&quot;demo&quot;>
        <object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&quot; width=&quot;889&quot; height=&quot;520&quot; id=&quot;movie&quot;>
          <param name=&quot;movie&quot; value=&quot;cpanel1130x3-1-login.swf&quot; />
          <param name=&quot;quality&quot; value=&quot;high&quot; />
          <param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; />
          <embed src=&quot;cpanel1130x3-1-login.swf&quot; quality=&quot;high&quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;889&quot; height=&quot;520&quot; name=&quot;movie&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://get.adobe.com/flashplayer/&quot;></embed>
        </object>
        <script type=&quot;text/javascript&quot; src=&quot;&quot;></script>
      </div>

    You need to add another div around this whole section with an ID of "content_left"

    <div id=&quot;content_left&quot;>

    You'll also need to use full urls for the video because your calling them from the Wordpress server and they aren't there. So you need to change the swf filename

    <param name=&quot;movie&quot; value=&quot;http://www.wesh.co.uk/customer.services/modules/tutorials/cpanel/cpanel1130x3-1-login.swf&quot; />

    and the src as well.

    The same sort of problem applies to things like Visa verify. A lot of authentication systems work by calling back to the server that originated the transaction which would be the WHMCS server. This wouldn't be seen by Wordpress

  • Richard

    Hi Arnold...

    Ignoring Demowolf for a sec, all the tutorial page is simply doing is opening another page in a new window, thats it.

    It IS using the tutorials template built into WHMCS, and it works perfectly when not using this plugin.

    The videos are in the same hosting account as the wordpress install, and the WHMCS install. I'm already loading FULL URL's for the html file, and the HTML file then displays the video, embedded, as the HTML file and the video are in the same folder.

    The problem is, with this plugin, the HTML file opening in a new window is whats broken, NOT the playing of the video.

  • Richard

    Just to clarify, there is no third party module for demowolf, one doesnt exist.

    If you look in the WHMCS files, you will see a "tutorials.php" file which is driven by "tutorials.tpl" in the portal template.

    Its simply an html page and you can put whatever you like on it.

    Given the amount of tutorials, nobody will ever embed the videos into that tutorials.tpl file as there would just be far too many, over 900+ to be exact..

    So the only remaining ideal way is to simply link directly to the files HTML page, and have them open in a new window, as we did..

    We have done this for years and its been fine.
    I just wanted to clarify that, so you know its not some special module by demowolf, it is in fact already part of the WHMCS files/template system and has been for 5+ years or more.

  • Arnold

    I see what your saying but the information above still applies.

    The way integration works is Not just displaying another HTML page. What it does is take the command from your browser goes back to the Wordpress server, the Wordpress server has to make the actual call to WHMCS receive the information and fix it up so it will display well in whatever Wordpress theme you might have. This includes fixing up urls so that images and such are pulled from their actual source at WHMCS.

    So if it can't parse and find the expected structure in the incoming page from WHMCS it gives you the red box error.

    If you want to have the tutorials display in the Wordpress side of things you need to make sure the urls for the videos are complete and that the structure is like what integration is expecting to see. That was the point of content_left id and the fully qualified urls. So WordPress will know where to find them. In some cases that's an entirely different server so a relative url as used above won't work.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.