Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About CenterWeb

  • Rank
    Junior Member
  1. Thanks for the reply. I have nowhere to download the files. I want a community with the same customer base not to create 2 separate accounts
  2. Hello. I created 2 pages: page.php /public_html page .tpl /temaplates/mytemplate It looks good, but where do I add the text? This is how it looks page.php and page.tpl <?php use WHMCS\Authentication\CurrentUser; use WHMCS\ClientArea; use WHMCS\Database\Capsule; define('CLIENTAREA', true); require __DIR__ . '/init.php'; $ca = new ClientArea(); $ca->setPageTitle('Termeni și Condiții '); $ca->addToBreadCrumb('index.php', Lang::trans('globalsystemname')); $ca->addToBreadCrumb('termeni-si-conditii.php', 'Termeni și Condiții'); $ca->initPage(); //$ca->requireLogin(); // Uncomment this line to require a login to access this page // To assign variables to the template system use the following syntax. // These can then be referenced using {$variablename} in the template. //$ca->assign('variablename', $value); $currentUser = new CurrentUser(); $authUser = $currentUser->user(); // Check login status if ($authUser) { /** * User is logged in - put any code you like here * * Use the User model to access information about the authenticated User */ $ca->assign('userFullname', $authUser->fullName); $selectedClient = $currentUser->client(); if ($selectedClient) { /** * If the authenticated User has selected a Client Account to manage, * the model will be available - put any code you like here */ $ca->assign( 'clientInvoiceCount', $selectedClient->invoices()->count() ); } } else { // User is not logged in $ca->assign('userFullname', 'Guest'); } /** * Set a context for sidebars * * @link http://docs.whmcs.com/Editing_Client_Area_Menus#Context */ //Menu::addContext(); /** * Setup the primary and secondary sidebars * * @link http://docs.whmcs.com/Editing_Client_Area_Menus#Context */ # Define the template filename to be used without the .tpl extension $ca->setTemplate('termeni-si-conditii.tpl'); $ca->output();
  3. Any can post reply? I loocking for addon community ...???
  4. Is there a community mode? I mean a discussion community for my registered clients. I searched and did not find it.
  5. After I choose the service and choose to order it, the BUY button sends me to the first page not to order the product. Solutions?
  • Create New...

Important Information

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