Jump to content

Nelson Neoh

Member
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Nelson Neoh

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. OK. Finally found a related discussion here: look like I shall pass on this to get other more important thing done... (well... MJ's "They Don't Care About Us" pops into my mind... 😩)
  2. I am working on a registrar module, and wondering how to make the Country field in Domain Contact Information (clientarea.php?action=domaincontacts&domainid=55) to show as a dropdown, rather than a text box. Any clue to share? I know if wish to show the correct phone country code, must declare object Phone Country Code. Wondering what should be the proper object to pass to achieve above mention. TQ. Regards, Nelson
  3. Have got the answer from WHMCS Support. The fields should be returned in Registrar Module, registrar_GetContactDetails.
  4. Actually this is what confused me: If the index should start with 0, and the value equal to "year", where to define the price?
  5. What it told in the developer page, is just says the setYears is an array. Maybe you can provide some details on how the setYears array should form? Tried a lot of way to get this work, but yet failed. Thanks in advanced.
  6. Hi there. I noticed there are sometimes we need to put some additional information in the Contact Information form (/clientarea.php?action=domaincontacts&domainid=123), to fulfill certain TLDs Registry requirements, especially on ccTLDs. For example: Company Registration number and etc. There is always a quick fix to hardcode in the template but for sure it is not the appropriate way to do so. Any advice I can inject those required custom fields based on selected TLDs, when client accessing respective domain contact? Thanks in advanced. Regards, Nelson
  7. Tried to test out the code, and found the sample given is truly sucks... Here's the snap of code I try, and it is now successfully import with multi years price, in year multiplier basis on subscription price assigned. $item = (new ImportItem) ->setExtension($extension['tld']) ->setYears(array(1,2,3,4,5,6,7,8,9,10)) ->setMinYears((int)$extension['minPeriod']) ->setMaxYears((int)$extension['maxPeriod']) ->setYearsStep(1) ->setRegisterPrice($extension['registrationPrice']) ->setRenewPrice($extension['renewalPrice']) ->setTransferPrice($extension['transferPrice']) ->setRedemptionFeePrice($extension['redemptionFee']) ->setCurrency(strval($extension['currencyCode']));
  8. Well, I might be a bit late, but just wish to contribute. For anybody has interest, can give a try on WebNIC. The whois protection is free and good customer support.
  9. Hi Guys, While coding the registrar module, TLD & Pricing Sync function, the setYears method confused me. Can anybody show me any reference on how the array structure should be arranged? Recently I tried to pass the array as follow to setYears. Array ( [1] => 7.5 [2] => 15 [3] => 22.5 ) It ended up show in the import screen as 7.5 years as follow screen captured, with no years pricing tap also. Tried with the setMinYears(1) and setMaxYears(10), but no use, the imported TLD is only configured 1st year price tier. TQ. Best Regards, Nelson
  10. Wow! Thanks @brian! for the detail response. It is always be good to have you here! --------- Btw, I am still wondering, what will happens if Admin cliecked on this option? Really didn't notice what will be made by the registrar module. I am guessing the option will only provide a option which required registrar module to handle the contact details as per choosen by the admin... And as always, the poor WHMCS documentation never mention about this at all... sigh.
  11. In registrar module, how could I get to know if the admin had configured to unticked "Use Clients Details", which layed under "General Settings" --> "Domains"? Can't find any clue under domain params. Wonder I can only check the config through Carbon?
  12. Thanks on the suggestion, will try this out. @steven99 Do you have sample code to share the proper way to include these functional pages? I used to get error and not very familiar on the WHMCS global variables when includes a php page. Thanks you all in advanced.
  13. Hi all, I wish to perform some registrar API activities in the registrar hooks, but as the hook's vars or params didn't provide credential details, I tried to get direct from DB Capsule and unfortunately noticed the data stored in encrypted format... Any suggestions to over come this? TQ. Best Regards, Nelson
×
×
  • 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