Jump to content

RLT - Nicholas

Members
  • Content count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About RLT - Nicholas

  • Rank
    Junior Member

Recent Profile Visitors

494 profile views
  1. Is this ready? is the project still active? VERY INTERESTED! @vpntech
  2. RLT - Nicholas

    Adding custom HOOK to display client account number

    Hey brian!, I am waiting on the developer to update me as even adding a numerical value to the field "CLIENTCODE" did not display anything I even tested this feature with a whole new account setup twice. I shall keep you updated and thanks for all your help.
  3. RLT - Nicholas

    cPanel and WHMCS - Suspending accounts from SSH

    @twhiting9275 - Is this still working?
  4. RLT - Nicholas

    Adding custom HOOK to display client account number

    Hi @brian!, You can see it's like this: However the field appears empty.
  5. RLT - Nicholas

    Adding custom HOOK to display client account number

    Correct, I see no output in where I would expect to see the Account Number display. According to the the module "addon" developer, it should be viable anywhere within WHMCS.
  6. RLT - Nicholas

    Adding custom HOOK to display client account number

    Hi @brian! and @Kian, Thanks, both for your input, I get what you are both saying and Brian, I was just using a default hook template to test my functionality before doing anything like styling etc. I have tried the above code to make this work, however, I still seem to get to output of the Client Account Number. Am I doing something incorrectly here?
  7. RLT - Nicholas

    Adding custom HOOK to display client account number

    Hi @Kian, Thanks for that, it's perfect and now displays: However, it does not display the actual account number. Any ideas? Just so you know it works from: https://infinitycds.co.za/whmcs-module2/whmcs-account-number/ Kindest Regards, Nicholas Tae-Soo Sansom – Company Executive Officer Root Layer Technologies, The Gardens, Unit 9A, 204 Alice Street, Brisbane, QLD 4000
  8. Hi WHMCS Community, I am trying to display a WHMCS Client Account Number using a hook, I have the basic code as below: <?php use WHMCS\View\Menu\Item; use Illuminate\Database\Capsule\Manager as Capsule; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $client = Menu::context( "client" ); $fieldid = Capsule::table('tblcustomfields')->where('fieldname', 'Account Number')->where('type', 'client')->value('id'); $fieldvalue = Capsule::table('tblcustomfieldsvalues')->where('fieldid', $fieldid)->where('relid', $client->id)->value('value'); $bodyhtml = '<p>Your Account Number is '{$client_code}'.</p>'; $examplePanel = $homePagePanels->addChild( 'Account Number', array( 'label' => Lang::trans('Account Number'), 'icon' => 'fa-example', 'extras' => array( 'color' => 'red', 'btn-link' => '#', 'btn-text' => Lang::trans('Account Number'), 'btn-icon' => 'fa-plus', ), 'bodyHtml' => $bodyhtml <p>{$client_code}</p> )); }); However, nothing displays in the client area. Any help with this would be appreciated. Kindest Regards, Nicholas Tae-Soo Sansom – Company Executive Officer Root Layer Technologies, The Gardens, Unit 9A, 204 Alice Street, Brisbane, QLD 4000
  9. RLT - Nicholas

    Adding SEO and Keywords / global and page specific

    @spartanza @Jade D, There is a WHMCS module from @zomexand WHMCS Themes that does this, WHMCS Themes is called "SEO Manager" and Zomex is a page template you pay for called "SEO Enhancer". I am using the module from WHMCS Themes and it's working great. I found this to be the easiest fix for handling SEO. All the best. Kindest Regards, Nick.
  10. RLT - Nicholas

    Wanted: WHMPress Table Templates

    @Dean - ITDept.net, Best to contact the WHMPress team, if you purchased over codcanyon and have an active support package, they will help you. I had something similar done. Hope it helps you out. Kindest Regards, Nick.
  11. Hi @Paul49, Depending on the OS you are using for your server, if you have SSH (commandline access) or if you are using just shared cPanel hosting (with no commandline access) If you are using cPanel please see my attached image, these are the Permission settings that I use. If you are using a Linux based server: chmod 755 If you need additional help, please feel free to PM me. Kindest Regards, Nick.
  12. @WHMCS ChrisD, I have fixed the CRON issue. The cron was failing as it had been added twice odly enough. Can confirm that the hotfix is working. Kindest Regards, Nick.
  13. RLT - Nicholas

    cPanel Packages not fetching

    @ChristianB, Are you a cPanel/WHM reseller or are you running your own dedicated or VPS server? I configure all of my cPanel/WHM Servers like this;
  14. Hi @Paul49, Welcome to WHMCS! What a great automation tool for managing everything! Have you tried 755? Regards, Nick.
  15. HI @WHMCS ChrisD, Forgive me, it's been a while, can't remember how to force run the Cron. If you can tell me, that would be very helpful 🙂 I have also set the cron to run every 1 min for testing this hotfix only. Kindest Regards, Nick.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated