Account shortcode not doing anything & [wcp_sidebar_widgets] not showing up

I'm trying to get some kind of integration going with WHMCS, but am having a few problems.

Was some work done on this plugin recently? It seems the section where you can show the pages within a WP page is much smoother.

The [wcp_welcome] doesn't seem to be doing much. It shows 'Account' and looks like you click on it to get account info, but it doesn't do anything after that, except load in # I'm not even sure I logged into the WHMCS account.

The [wcp_sidebar_widgets] shortcode doesn't seem to show anything.

  • Adam Czajczyk

    Hello Moonworks,

    I hope you're well today and thank you for your question!

    Was some work done on this plugin recently? It seems the section where you can show the pages within a WP page is much smoother.

    Yes. There was an update released on July 3rd and it brought some layout improvements as well as fixes related to integration after WHMCS templates were changed.

    The [wcp_welcome] doesn't seem to be doing much. It shows 'Account' and looks like you click on it to get account info, but it doesn't do anything after that, except load in # I'm not even sure I logged into the WHMCS account.

    It should display account info for logged in users and an incetive to login to logged-out users.

    The [wcp_sidebar_widgets] shortcode doesn't seem to show anything.

    It should be pulling the widgets associated to the current WHMCS page.

    The fact that both these plugins doesn't quite do what they should makes me thing that the integration is not full and I'd start with following steps:

    1. Make sure that the "Remote WHMCS URL" value contains a proper URL of your WHMCS install and that it ends with "/"; it shouldn't include any additional parts (like e.g. "do_login.php" etc);

    2. In your WHMCS install on "Setup >General Settings >Security" make sure that your IP is whitelisted

    3. If both your WP site and your WHMCS install reside on the same server, make sure that they are not in the same directory but instead on different domains or at least WHMCS is under a sub-domain

    4. Also, make sure that your WHMCS is using "Six" template and then on your dashboard's "WHMCS Integration" settings page select "Six" from "WHMCS Template" drop-down box.

    Let me know please if this affected the issue.

    Best regards,
    Adam

  • Moonworks

    I've noticed that the [wcp_welcome] shortcode is now not showing anything at all.

    I think there is a problem with it showing drop-down menus, as if you go to my WHMCS, you'll see 'Affiliates' menu. If you click it, you'll see it is a drop-down, but on the page, it does not have this:

    WHMCS
    http://moonworksmedia.co.uk

    WordPress
    http://moonworks.co.uk/mm

    Some of the pages show the sidebar, but others do not:

    This does:
    http://moonworks.co.uk/mm/client/knowledgebase.php/?

    This doesn't:
    http://moonworks.co.uk/mm

    Where you see that sidebar, the welcome shortcode is just above it.

  • Dimitris

    Hey there Moonworks,

    I pressume that you double-checked that all of the settings that Adam Czajczyk mentioned to you are correct but these issues still remains.

    Can you please grant us support access in order to take a better look? You can find details in https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Another step that may help us is to check for theme/plugins conflicts. You can find a nice flow chart in https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/. Please do proceed with this and let us know if these issues resolves with some specific combination.

    Did you by any chance enable the WP_DEBUG constant, to see if any error occurs?
    If this is a live site, you can use inside the wp-config.php file:

    / Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( 'SCRIPT_DEBUG', true );

    You can find then the log in /wp-content/debug.log file. If you managed to get any error in there, feel free to rename the file to .txt and attach here. :wink:

    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.