Jump to content

Search the Community

Showing results for tags 'custom'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
  • 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
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.3.x Hotfixes
  • V8.2.x Hotfixes
  • V8.1.x Hotfixes
  • 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 20 results

  1. Hi there all! Please help me with this issue. I changed the nav bar with my own customized navbar but now its position in mobile screen is like this. can anyone here help me to solve it.
  2. whmcs dismisses the best ideas? for developers trying to create a better ecosystem for whmcs "they discard the best ideas" to get into context, some time ago while working with the whmcs API, I noticed that whmcs does not allow including "custom files within /includes/api" I'll leave a link on what I had to do to achieve it: which is absurd if you think about it. if they allowed to include files (within the api roles) they would allow other developers to join the project and add new functions that WHMCS does not yet have. now I take it that someone posted the exact same question but it was discarded: https://requests.whmcs.com/idea/custom-api-support it is very obnoxious that the WHMCS team does not allow one to create their own api functions. it is unfortunate that they do not listen to users. It is unfortunate that the vision of whmcs is not to allow the use of its software as a means of administration, but that we generate our own functions for our projects (in the case of my company, a laravel project). I wonder if the WHMCS team really listens to users. I wonder if they ever have ... I am very disappointed that whmcs does not allow the newly added files to appear in the api folder as shown in these images: as you can see from the images, we are unable to assign the role of the new file. instead I had to modify the table: tblapi_roles within my database directly to manually give the file permissions. WHMCS DOES NOT LISTEN TO ITS CUSTOMERS, WHMCS IS NOT INTERESTED IN THAT WE DO BETTER PROJECT, NOR THAT THE ECOSYSTEM IS IMPROVED! If an admin reads this topic, please understand that I am looking for WHMCS to be used more by developers. Currently we live very limited, the documentation and all the files written in / includes/api lack many features that we developers could include. We could provide more external functionalities. and we would have the ability to develop our own characteristics. this would open the doors much more for new customers to join in purchasing whmcs licenses. In addition to increasing sales of whmcs, it would also allow the possibility of writing our own characteristics, developing new modules that we would publish in the marketplace ecosystem, increasing the number of modules and characteristics that WHMCS currently has. I hope this topic has relevance to both whmcs and external developers. my point of view is that if they allow "Role Management" to detect the files included in /includes/api as roles. (similar to how it works when we add modules and plugins that automatically appear in the whmcs module manager). it would open new doors for developers. I am sure that this functionality could be done with a few lines and in a short time. as a developer I know that this would not take too much work. I hope they understand me. my english is not very good. 🙂
  3. Is there any way I can create a Custom Page just for product details using hooks. Example: I offer 3 SSL Certificates as products. Under my Order Now button , I have a " Details Page" link/button. On clicking the link I am redirected to a custom Page which displays all the details about my selected product. Is there an option to add Long Description(new column) to every product and display it in my custom Page. How can i achieve it using Hooks? P.S : I didnt find any useful links from internet.
  4. Good day, I require assistance with custom fields, I need to pass 4 custom fields inputs to an external database, array( '$params[‘customfields’][‘Username’]', '$params[‘customfields’][‘Email’]', '$params[‘customfields’][‘Cellphone Number’]', '$params[‘customfields’][‘Password’]', ); how do I use the above custom fields in a SQL query? Any assistance would be greatly appreciated, thanks.
  5. I'm trying out an affiliate program and it needs some custom JS added to the home page and to the thank you page: Tracking Visitors To track visitors, copy and paste the following code just above </body> on your website. Tracking Purchases Tracking purchases can be accomplished by adding the following javascript on your Thank You page. I'm relatively sure that I will add the Purchade script to: /templates/orderforms/cart/complete.tpl Where would the visitor tracking go? Also it needs to be wrapped in - {literal} {/literal} , correct? Is there a custom js file I should add and call so it doesn't get overwritten by updates?
  6. Hi Everyone, My name is Bakiiwa and I am new here. I am not sure if this would be the appropriate community for my question (if not, please direct me and thanks in advance). I was wondering if anyone knows how to hide - other than making them optional, certain fields of the registration form? for example, I only wanted to collect Username/Email address and password input from the customer/client and after the client registers, they would have to confirm their email address and upon their sign in, to make it mandatory for them or keep a notification open for them to complete all the other profile fields within the client area? I read somewhere that there was/is a way to accomplish that by defining a value as N/A or notavailable and "hidden" but that doesnt work for me, I am using WHMCS v 7.10.2. Any ideas might help. I am looking forward to learning from anyone. Thanks, Bakiiwa
  7. Hi, i wanted to put custom message on domain checking page to guide clients
  8. Hey guys, I just recently upgraded to WHMCS 7.5 and on PHP 7.2 now. So far, it looks like all my custom pages are throwing the following error: ArgumentCountError: Too few arguments to function WHMCS\View\Client\Menu\MenuRepository::addContext(), 0 passed in /home/myuser/public_html/vendor/illuminate/support/Facades/Facade.php on line 215 and exactly 2 expected in /home/myuser/public_html/vendor/whmcs/whmcs-foundation/lib/View/Client/Menu/MenuRepository.php:0 Stack trace: #0 /home/myuser/public_html/vendor/illuminate/support/Facades/Facade.php(215): WHMCS\View\Client\Menu\MenuRepository->addContext() #1 /home/myuser/public_html/custompage.php(55): Illuminate\Support\Facades\Facade::__callStatic('addContext', Array) #2 {main} Here is what that custom page looks like: <?php use WHMCS\ClientArea; #use Illuminate\Database\Capsule\Manager as Capsule; use WHMCS\Database\Capsule; define('CLIENTAREA', true); define('FORCESSL', true); // Uncomment to force the page to use https:// require __DIR__ . '/init.php'; $ca = new ClientArea(); $ca->setPageTitle('My Custom Page'); $ca->addToBreadCrumb('index.php', Lang::trans('globalsystemname')); $ca->addToBreadCrumb('custompage.php', 'Custom Page'); $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 */ $clientName = Capsule::table('tblclients') ->where('id', '=', $ca->getUserID())->pluck('firstname'); // 'pluck' was renamed within WHMCS 7.0. Replace it with 'value' instead. // ->where('id', '=', $ca->getUserID())->value('firstname'); $ca->assign('clientname', $clientName); } else { // User is not logged in $ca->assign('clientname', 'Random User'); } Menu::addContext(); #Menu::primarySidebar('announcementList'); Menu::secondarySidebar('announcementList'); # Define the template filename to be used without the .tpl extension $ca->setTemplate('pages/custompage'); $ca->output(); ?> Anyone see what the problem might be here? I didn't notice an update to the "Custom Pages" DEV page on how to create one. Anyone else experiencing this issue? Thanks!
  9. Hello, I have built a hook to show a new navbar, but I want it to hide to not logged in members. Is this possible? Thank you My hook im using: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $primaryNavbar->addChild('Tools') ->setOrder(50); $primaryNavbar->getChild('Tools') ->addChild('Html Tester') ->setUri('/html.php') ->setOrder(1); $primaryNavbar->getChild('Tools') ->addChild('Privacy Policy Generator') ->setUri('/privacypolicygenerator.php') ->setOrder(2); $primaryNavbar->getChild('Tools') ->addChild('cPanel Backup Generator') ->setUri('/backup.php') ->setOrder(3); });
  10. Hello, I'm trying to find documentation to see if this is possible to use Arithmetic calculation in WHMCS email template. Example within an email template : SomeVar * 12/100. thank you in advance to show syntaxe if possible.
  11. I'm trying to figure out the right way to go about this but I have a customized Client login page and a Forgot PW page that don't have a header or footer, how can I modify just those 2 pages not to use the header and footer of the client area?
  12. so i have a custom module i am making and i am using the template supplied by whmcs. does anyone know how i can set the domain column a domain value in the tblhosting table for any new order using my module without the domain info showing in the clientarea... i am not setting any values in the client area function. i just return some HTML for my module.
  13. Hi, In my new template based on six I'm using the custom.css. I need to modify orderforms as well, but they don;t seem to have a custom.css. I could create one but not sure if that's supported. How should I safely modify?
  14. Hello, I'm trying to use custom pages for my gateway template but I'm not sure I'm following the right way todo this, does anyone know of a better way todo this. <?php // template.php function template_config() { $configarray = array ( ); return $configarray; } function template_storeremote($params) { global $smarty; $smarty->assign('foo', 'bar'); return $smarty->display('orderforms/{template}/{gateway}/{file}.tpl'); } function template_3dsecure($params) { global $smarty; $smarty->assign('foo', 'bar'); return $smarty->display('orderforms/{template}/{gateway}/{file}.tpl'); } ?> <?php // callback/template.php include("../../../dbconnect.php"); include("../../../includes/functions.php"); include("../../../includes/gatewayfunctions.php"); include("../../../includes/invoicefunctions.php"); $gatewaymodule = "template"; # Enter your gateway module name here replacing template $GATEWAY = getGatewayVariables($gatewaymodule); if ( ! $GATEWAY["type"]) { $smarty = new Smarty(); $smarty->assign('foo', 'bar'); echo $smarty->display('orderforms/{template}/{gateway}/{file}.tpl'); exit; } // do some staff $smarty = new Smarty(); $smarty->assign('foo', 'bar'); echo $smarty->display('orderforms/{template}/{gateway}/{file}.tpl'); exit; ?> Really hope someone can help.
  15. Hi, we decided to tackle this on our own so bear with me. We have 2 hopefully simple questions. You can see where I am here: http://webhost.pro/account/index.php 1. On the top nav menu bar I need the background to spam the full page. I tried to change the inner nav width but that messes up the text alignment. 2. The text seems blurry or pixelated, is something maybe changing the blur or clarity of the text that I can remove? Thanks!
  16. Do you have registrations or request with fake details ? Or you just want to have your data well updated ? Just uploading this file into your hook folder it will check send and alert to your customers if they dont have : Dont have A good Zip code Dont have A phone number Dont have any other data you want to have always filled as customer (customizable) This is not a hook to avoid register or request a service, it checks all your customer database and send them an alert to each one. Instructions: Upload below file to /includes/hooks/updatecustomer.php Customer an Template email called "CRM - Customer data" Thats all. <?php # function updatecustomer_sendclientmail() { # Template file name $emailtpl = "CRM - Customer data"; # API Command $command = 'SendEmail'; # Admin Username or ID $adminuser = "youradminuser"; //<--ENTER HERE YOUR ADMIN USER $adminid = "1"; #todos pending. $laquery = mysql_query('SELECT * FROM `tblclients` WHERE STATUS NOT IN (\'Closed\',\'Inactive\') and (`address1` =\'\' or `phonenumber` =\'\' or `postcode` = \'\') '); #make array while ($result = mysql_fetch_assoc($laquery)) { $id = $result['id']; $values = array('messagename' => $emailtpl,'customtype' => $general, 'id' => $id,); $apiresults = localAPI($command,$values,$adminuser); logActivity("CRM - Envio $emailtpl a $id - $userid - $email - fin"); } } add_hook('DailyCronJob', 2, 'updatecustomer_sendclientmail'); ?>
  17. Hello, Can anyone convert the following pages to WHMCS: https://host-atom.net/alex/ https://host-atom.net/alex/products/ https://host-atom.net/alex/products/minecraft/ https://host-atom.net/alex/products/webhosting/ Also do a domains page in the same style and make all the WHMCS pages (eg. login / checkout) in the same style. If you contact me we can speak further about reward and payment. Skype (Preferred): host-atom Email: imtorich@hotmail.co.uk Kind regards, Jamie
  18. Hello! We need to export all our clients. We need the info to import into our CRM. I can't find an easy way to export all the data including the custom fields. There are any easy way to do it? Maybe a small mod to the clientes.php report allow me to choose the custom fields, but i don't want to touch. Thanks Cristian
  19. Hello every one, Any idea how i can create or add a custom dropdown menu in my whmcs clients area header, i was having some thing like the one below but its no longer working after update Thank you! <a href="https://myaccount.mydomain.com/index.php">Service</a></li><li id="menu-item-758" class="menu-item menu-item-type-taxonomy menu-item-object-post_format menu-item-758"> <li><a href="cart.php" title="{$LANG.orderproduct}">{$LANG.orderproduct}</a></li> <li><a href="clientarea.php?action=invoices" title="{$LANG.invoices}">{$LANG.invoices}</a></li> <li><a href="clientarea.php?action=emails" title="{$LANG.clientareaemails}">{$LANG.clientareaemails}</a></li> <li><a href="supporttickets.php" title="{$LANG.clientareanavsupporttickets}">{$LANG.clientareanavsupporttickets}</a></li> </li><li id="menu-item-732" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-732"><a href="https://mydomain.com/myaccount/logout.php">Logout</a> </li><li id="menu-item-758" class="menu-item menu-item-type-custom menu-item-object-custom dropdown menu-item-758"><a class="dropdown-toggle" data-toggle="dropdown" data-target="#" <a href="https://mydomain.com/myaccount/cart.php">Order <b class="caret"></b></a><ul class="dropdown-menu"> and so on
  20. Hi. I´m trying to develope a custom payment gateway and I need to create a form and post forward. My problem is that I need to somehow get fate into system in YYYYMMDD. In my gateways interface description I need to get this info for DELIVERY_DATE Here is a copy of the desc. "Delivery date. The best estimate of the date of delivery of the goods. If the exact delivery date is not known; using the latest possible date of delivery. Charges will be sent to the buyer with a credit facility delivery date." I found that from settings I can set up YYYY-MM-DD but how can it be modified? Please someone help me how to get my php code working.
×
×
  • 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