Jump to content

Search the Community

Showing results for tags 'Custom page'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • WHMCS 8.1 Beta Discussion Board
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 6 results

  1. Hello, So just like a custom login page, I would like to use a custom password reset page that allows customers to reset their password. The integration code readily available within WHMCS made it a breeze to setup custom page for login but not so much for password reset. With some digging around, I was able to narrow down to the code below used on this WHMCS page - https://abc.com/password/reset/begin <form method="post" action="/password/reset/email/validate" role="form"> <input type="hidden" name="token" value="3f91d283a2546395d504d9d6cf0c218895584fca" /> <input type="hidden" name="action" value="reset" /> <div class="form-group"> <label for="inputEmail">Email Address</label> <input type="email" name="email" class="form-control" id="inputEmail" placeholder="Enter email" autofocus> </div> <div class="text-center margin-bottom"> </div> <div class="form-group text-center"> <button type="submit" class="btn primary-solid-btn"> Submit </button> </div> </form> I paste this code in a html file and test it out and it works intermittently but when uploaded to server (and after the custom redirections are taken care of for password reset), it does not work. I input the email address, and in following step it then displays a WHMCS 404 Oops Page instead of successfully sending password reset link over email. To add, my WHMCS is well setup and password reset feature worked just fine before I tried setting up custom page i.e. pwreset.php still works fine but custom page passreset.html does not I highly doubt the first two lines of the above code and I think culprit lies there. The value in 2nd line of code changes at every request and I have not been able to get my head around it on how to correctly implement it. Please help! Thank you in advance.
  2. Hello again, I am trying to add a currency selector on one of my custom page where I have display the product details. I want to allow my vistor to change the default currency from this custom page and view the product pricing accordingly. I have added this code in my custom.tpl <form method="post" action="" > <input type="hidden" name="token" value="{$LANG.go}"> <select name="currency" onchange="submit()" class="form-control"> <option value="">Change Currency (A$ AUD)</option> {foreach from=$currencies item=listcurr} <option value="{$listcurr.id}"{if $listcurr.id == $currency.id} selected{/if}>{$listcurr.prefix} {$listcurr.code}</option> {/foreach} </select> </form> But it is not working, everyytime I select the currency from dropdown, it refresh the page. but nothing changes, please guide what I am doing wrong. Thanks in advance Aqsa,
  3. Hello, I am trying to add client's products and services list to the custom.php page, I have use the local API and added this code in custom.php file, $command = 'GetClientsProducts'; $postData = array( 'clientid' => '1', 'stats' => true, ); $adminUsername = 'admin'; // Optional for WHMCS 7.2 and later $results = localAPI($command, $postData, $adminUsername); print_r($results); It displays the results in Json format with print_r, but I don't understand how I can use this in .tpl file to display the client's products on the page. Please Help!
  4. Hi to all. I had a task to migrate old custom page (from 5th version) to 7th version. I have a problem with a primary navbar I am getting navbar with 6 items in it count(Menu::primaryNavbar()->getChildren()); // 6 But on the site in the primary navbar, there are 7 items. I tried to check out in hook the code above and got 7; There is no 'affiliates' item in the navbar. Maybe someone knows how to get full primary navbar as in all pages on the site
  5. I am trying to create a custom WHMCS page without any sidebars. I only want it to show the top bar where clients can choose language, etc. I have this code currently: <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Support Center"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('support.php','HostAble Support'); $ca->addToBreadCrumb('support-center.php','Support Center'); $ca->initPage(); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('supportcenter'); $ca->output(); ?> But obviously it isnt working, it just shows the page but with the sidebars and navigation bar too. Thank you if you can help me :)
  6. Hi, I need some help with a custom page I have created. I have created a new custom page named whois (created with whoislookup.tpl and whoislookup.php), where I have put the code for the bulk search from bulkdomainchecker.tpl. The page is actually a copy of bulkdomaintransfer.tpl, but with different name and php file. I want to use it as a whois search, so the client searches for a registered domain and the results display the domain with the WHOIs button. My problem is that I can't make the page display any domain information. I have tried to include files from the feeds folder but nothing. Every element related to domain (domain results, pricing table etc) is empty. How can I make it work and display the results in this page? Any help would be appreciated. Thank you.
×
×
  • 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