Jump to content

Search the Community

Showing results for tags 'custom fields'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • WHMCS Beta Program
  • The latest WHMCS Release
  • The Latest from the WHMCS Team
  • 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
    • News, Announcements & Blogs from WHMCS
    • 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 Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.5.x Hotfixes
  • V8.4.x Hotfixes
  • V8.3.x Hotfixes
  • V8.2.x Hotfixes

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 15 results

  1. 1. Summer Sale – 25% OFF EVERYTHING! How to better celebrate the arrival of Summer if not with a thrilling shopping spree? Our Summer Sale is here to kit you out with the best WHMCS modules at the absolute best prices! From now through 30th June, ModulesGarden is knocking down the prices of every single WHMCS product to be spotted on the Marketplace. So go ahead, grab a jaw-dropping 25% promo code and use it however you like – with annual licenses, open source modules, even license upgrades! Tip: you can put away much more by bulk ordering and mixing the Summer Sale with other tremendous offers. Snap up the easiest summer savings of your life! 2. Products Reseller For WHMCS v1.2.0 How to make your resellers fully satisfied with your cooperation? If you run a reselling business, this is the kind of a question that you most likely googled at least once before. While the answers are plenty, it may be quite a tough nut to crack to sift through the maze of suggestions, and find those that may actually help you. Luckily, our vastly updated Products Reseller For WHMCS is here to offer you all the tools you wish you’d have to make sure the needs of your resellers are perfectly catered for. And these are the major new features built into the module throughout the works on the 1.2.0 version: Flawless support has been introduced for WHMCS V8.2 that extends to the modern "Twenty-One" template. Your products can be now marketed by resellers with the support of WHMCS "Configurable Options", each of which can be priced individually. End clients have been empowered to use the synchronized product custom fields with your services. The range of products available for reselling can be now further extended to include such in-demand offerings as EasyDCIM dedicated servers and OpenStack projects. Products Reseller For WHMCS 1.2.0 will help you forge enviable bonds with your resellers! 3. The following updates have also been made available since last week: Amazon EC2 For WHMCS 1.3.2 DNS Manager For WHMCS 2.16.0 Plesk Extended For WHMCS 3.5.1 Need Custom Software Development For Your Business? Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
  2. Hi, some question about the custom Fields is there a chance to translate them ? I added for the personal salutation a custom field, but as usual it is only one Language possible. therefor I created a custom Fiel to the Register-Page like but as you can see it is English and instead of Mister we have Herr. Here is the hook I use: function custom_welcome_back($vars) { global $smarty; $get_templatefile = $smarty->getVariable('templatefile')->value; if($get_templatefile == 'clientareahome'){ $get_orig_titel = $smarty->getVariable('LANG')->value; $get_details = $smarty->getVariable('clientsdetails')->value; return array( 'displayTitle' => $get_orig_titel['welcomeback'].', '. $get_details['customfields2'].' '.$get_details['lastname'], ); } } add_hook("ClientAreaPage",100,"custom_welcome_back"); Any Idea how to get this translated ? Thanks Christian
  3. Hello, I have put the hook with the code below in the directory /includes/hooks/: ------------------------------------------------------------------ <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $urlidr = $vars['clientsdetails']['customfields15']; if (!is_null($primaryNavbar->getChild('Services'))&&!is_null($urlidr)) { $primaryNavbar->getChild('Services') ->addChild('Emergency Contacts', array( 'label' => Lang::trans('buyResellerWebsite'), 'uri' => $systemurl.'cart.php?a=add&pid='.$urlidr, 'order' => '100', )); } }); ------------------------------------------------------------------ The issue is that the variable $urlidr = $vars['clientsdetails']['customfields15'] remains empty, even though listed among those in the page with {debug} in the file clientareahome.tpl. Anyone can help me, please? Thanks.
  4. Hi All, I want to set up custom fields based on the quantity of a product that the user order, as an example A customer orders 3 Name Badges and 3 Custom Fields appear allowing text entry so that the Names can be typed in, I'm using it to name servers that are under management, but if I do it with Custom Fields from the admin portal it comes up with only a single custom field which doesn't help me. Any suggestions are appreciated. Thanks.
  5. Hi, I am trying to create a custom sidebar, to appear only on the domains list page of the client area. I have created a custom hook file in /includes/hooks/. Firstly, I'm wrapping the 'ClientAreaSecondarySidebar' hook in a conditional statement, so it's only displayed on the Client Area Domains page ($templatefile = 'clientareadomains'). Is this the correct way to get the current page / template file being viewed? if (App::getCurrentFilename() == 'clientarea' && $_GET['action'] == 'domains') { ... } Is there a better way to do this? I tried just using $templatefile, but it's not available. Next, I am creating a new secondary sidebar. I have created some client custom fields in WHMCS Admin and I can see them in the Smarty template debug, they are included in the $clientsdetails array as 'customfields2' and 'customfields3' -- how do I access these in my hook? This is what I've tried, but it doesn't work. use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { $secondarySidebar->addChild('custom-fields', array( 'label' => 'Custom Fields' ))->moveToBack(); $customFieldsSidebar = $secondarySidebar->getChild('custom-fields'); $customFieldsSidebar->addChild('field1', array( 'label' => $clientsdetails['customfields1'] )); }); Is is possible to get the $clientsdetails array and use it in my hook like this? Any help appreciated. Thank you.
  6. If I have a php page load and it checks the licensing page, can I have it return a few fields... I have the product setup that has 3 custom fields. I notice on the licensing page, those fields are there with the license, so can I have it return the status and those 3 fields? so return:"Status","code","email","smsnumber" and it return those 4 things? How can I do that? Here is an image of the 3 extra fields, I took the picture on the licensing page for one of the licenses that is setup... I put arrows on it, and hid the data from the client of mine that has the license setup. those are the fields I want to return along with the status. I'll have my php code check the status and if active, then it will use that data returned, if not active, I can have it email the owner of the license right there, that they missed out on that. I would appreciate any pointers on where to add that return data. I am at a loss on where to go to do it... -Richard
  7. Trying to validate Custom Fields in the Add and Edit Client forms. If validation fails, the changes should NOT be committed to the WHMCS db. I've been trying to utilise the ClientDetailsValidation hook. However, the documentation for it is wrong. It is not triggered before ClientAdd, it seems to only be triggered before ClientEdit. What's more, even if ClientDetailsValidation returns an error, the entered details are still committed to the WHMCS db. What is up with this? Is this a bug? Alternatively, is there anyway of disabling/hiding the custom field in the Client Edit or Client Add forms?
  8. I advise developers of whmcs to make one change - in the file clientareaproductdetails.tpl need to hidden empty fields. My solution: {foreach from=$customfields item=field} {if $field.value} <div class="row"> <div class="col-sm-5"> <strong>{$field.name}</strong> </div> <div class="col-sm-7 text-left"> {$field.value} </div> </div> {/if} {/foreach}
  9. hi iam building a custom third party gateway and i need the URL in the mygatewaydh_link function to be dynamic so my gateway will know which product to show what i did is adding a new custom filed for each product with is id in my gateway so my _link function look like this <form method="POST" action="https://url/buynow/checkout?sku".$sku."=1&storeid=15245"> the sku is my custom field value problems: 1. i cant set a default value to a custom field (what i need is a hidden textbox), so iam using dropdown field with one option (the sku) 2. the name of the field is changing between products for one products its customfield[5] and the other one its customfield[6], how can i give this field one constant name for all of my products ? thanks
  10. Hi I want to include client custom fields in admin email how can I do that? I searched a lot and come up with no answers! thanks
  11. Hi, I have added a load of custom fields to my "Request a Quote" ticket department. They are working just fine, however, I'd like the custom fields to be displayed as text in the body of the ticket when it is submitted. This would also enable me to see all the custom fields when notification of a new ticket is sent to the admin by email (rather than having to log in to WHMCS, go to the ticket and then click on custom fields - a very clumsy process) While I'm on the subject of quotes, if anyone knows how to automatically open a quote from a ticket submission that would also be very useful!
  12. Hey guys, I've been stumped the past few days trying to figure out how to retrieve an order's custom field values and then HTTP POST them as XML to our 3rd party API. Since WHMCS doesn't include product custom fields as variables in it's hooks, I had to resort to querying MYSQL. I was able to retrieve the values, but I can't pass them in XML. Would appreciate any help! Thanks Tom
  13. We have a custom field that is a "Name" for example Jack Smith. We want to set " Expression Validation String" so it checks whether the typed name matches this format. Name Lastname (only characters and it should not be empty). We used the following: /^[a-z\d_]{2,28}$/i However this does allow empty fields to be submitted. Any suggestion what validation string we should use to check for empty fields and allows spaces?
  14. We have an ajaxcart orderform. We also have some custom field in the product which is validated by a validation string. The language tag which is called for this is $_LANG['customfieldvalidationerror'] For example, the current error message for a custom field with the name "Age" is "Age Value is not valid" however we want to change that to "Please enter a valid Age". Thus we need to change the pattern the customfieldvalidationerror is shown. Which tpl file is calling this message that we can alter? Or perhaps it needs to be changed somewhere else. We already changed the $_LANG['customfieldvalidationerror'] however the pattern shows the name of the custom_field first. For example the message is shown right now is "Age Please enter a valid".
  15. I set up a tickbox Client Custom Field called "Needs work done" and I can pull those up by searching for "on." That's fanatastic. Now I can use WHMCS as a CRM. Sort of. I tried adding another Client Custom Field called "Date of last contact" and entered a value that would sort by date, numerically, and alphabetically -- 201310 Year and month is all I need. I'd like to be able to search for values greater or less than these date values. But it's not working. Is there a way to do this. Or is the client search only an exact match? By the way, the CRM add on is worthless since it only handles prospects and not existing clients, if I'm understanding it correctly. Thanks, Scott
  • 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