Jump to content

Abhicool

Member
  • Posts

    6
  • Joined

  • Last visited

About Abhicool

Abhicool's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi, I want to display google captcha and social login (facebook, google and other logins) at cart.php?a=view. As I have my customized template, is there a way to enable them at cart.php?a=view instead of cart.php?a=checkout. At the moment it is working fine at the checkout page. Thanks
  2. Hello, I'm trying to add the action sidebar panel to my primary navbar. I know we can do this by using hooks but I have my custom theme which is different from default themes. So how can we add it if we have to add using menu name, id, and URL? This is what I tried to find menu name and id using inspect element but how to find dynamic url. <div menuitemname="Service Details Actions" class="panel panel-default panel-actions"> <div class="panel-heading"> <h3 class="panel-title"> <i class="fa fa-wrench"></i> Actions </h3> </div> <div class="list-group list-group-tab-nav"> <a menuitemname="Login to Website Builder" href="/autologintowebbuilder.php?id=110" class="list-group-item" id="Primary_Sidebar-Service_Details_Actions-Login_to_Website_Builder"> Login to Website Builder </a> <a menuitemname="Login to cPanel" href="/clientarea.php?action=productdetails&id=186&dosinglesignon=1" class="list-group-item" target="_blank" id="Primary_Sidebar-Service_Details_Actions-Login_to_cPanel"> Login to cPanel </a> <a menuitemname="Login to Webmail" href="https://webserver.example.net:2096" class="list-group-item" target="_blank" id="Primary_Sidebar-Service_Details_Actions-Login_to_Webmail"> Login to Webmail </a> <a menuitemname="Change Password" href="/clientarea.php?action=productdetails&id=186#tabChangepw" class="list-group-item" data-toggle="tab" id="Primary_Sidebar-Service_Details_Actions-Change_Password"> Change Password </a> <a menuitemname="Upgrade/Downgrade" href="/upgrade.php?type=package&id=186" class="list-group-item" id="Primary_Sidebar-Service_Details_Actions-Upgrade_Downgrade"> Upgrade/Downgrade </a> <a menuitemname="Cancel" href="/clientarea.php?action=cancel&id=186" class="list-group-item" id="Primary_Sidebar-Service_Details_Actions-Cancel"> Request Cancellation </a> </div> </div>
  3. Hello, I have tried to remove billing address custom fields based on product ids. As I have some free products which I don't want the user to fill the address, pin code, phone number and etc. As I know if I keep them to "hidden" and change all the values to "NA" but that's not the feasible solution. What I'm trying to do is hiding fields based on the total amount due, as the free product has "0" amount and if anything more than will show the fields. But I'm not able to get the desired result. Please help me {if $LANG.ordertotalduetoday eq "0"} <div class="form-group-noconflict"> <label for="inputState" class="col-lg-4 col-sm-3 control-label">{$LANG.clientareastate}</label> <div class="col-sm-6"> <input class="form-control" type="hidden" name="state" id="inputState" placeholder="{$LANG.orderForm.state}" value="NA"{if $loggedin} readonly="readonly"{/if}> </div> </div> {else $LANG.ordertotalduetoday > "0"} <div class="form-group-noconflict"> <label for="inputState" class="col-lg-4 col-sm-3 control-label">{$LANG.clientareastate}</label> <div class="col-sm-6"> <input class="form-control" type="text" name="state" id="inputState" placeholder="{$LANG.orderForm.state}" value="{$clientsdetails.state}"{if $loggedin} readonly="readonly"{/if}> </div> </div> {/if}
  4. Hi, I want to run/execute an entire custom module after execution of Cpanel Module. I'm not able to figure it out, how I may execute module code in AfterModuleCreate hook as my custom module has its own subdirectory and additional required files. My module is independently functioning in the WHMCS user interface. This is how my code looks: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); define("SiteBuilder", "1.0.0"); function sitebuilder_config() { return $configarray; } function sitebuilder_activate() { } function sitebuilder_deactivate() { } function sitebuilder_upgrade($vars) { } function sitebuilder_output($vars) { require_once 'sitebuilder_library.php'; require_once 'admin/header.php'; } ?>
  5. Hi, I'm trying to automate the cPanel account creation process but I'm confused with the options should I select reseller central or cPanel. This is what i have done now: 1) Have Created a server along with name, hostname, ip and other details while in Server Details should I select reseller central or cPanel? 2) In Product & Services>>module setting Module Name: Reseller Central, Server Group: None, API Key: From WHM, Package Name: From WHM, Location: how to get it, Platform: Linux As per the setting when I'm trying to order the product getting a pending message, while in the activity log it says Module Create Failed - Service ID: 67 - Error: Invalid Key! Am I missing somewhere?
  6. Welcome to WHMCS.Community Abhicool! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×
×
  • 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