Jump to content

topdog2046

Member
  • Posts

    10
  • Joined

  • Last visited

About topdog2046

topdog2046's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. HTML meaning the <b></b>? And as to the validation, I was going to add it in the department so it'd show up in a customer's support ticket. The purpose would be that that'd be a way to verify that support has the right customer. If he/she enters the PIN, then support will know that, yes, we have the right person and they aren't making up some 6 digit number of their own.
  2. That did it, though I cleared templates_c through FTP. Is there a way I can put in a custom field to validate the client's PIN? If so, how do I do it? And what validation code can I use?
  3. Nope. The same client. When I go to the admin's summary and click on the client's name, under their profile, it displays 1 Pin. When the client themselves login, they see a different PIN. Should I try and clear templates_C perhaps?
  4. Hi, Thanks so much for your help. The only thing now I see wrong is when the admin views the PIN, it's different from when the client views it. For instance. Admin sees. PIN: 123456 The client sees PIN: 098765 Which means it doesn't match. How can I get this to match what the admin sees to the client?
  5. Hello, Do the 2 peaces of code below look correct? 1 <div class="alert alert-info">Codigo PIN:{php} {assign var='pin' value=$smarty.now|date_format:"%m"|cat:$clientsdetails.userid}<b>{$pin|md5|regex_replace:"/[^0-9]/":""|truncate:6:""} {/php} </b> </div> 2 <div class="title">PIN</div> {php} {assign var='pin' value=$smarty.now|date_format:"%m"|cat:$clientsdetails.userid} <center> <h1><b>$pin|md5|regex_replace:"/[^0-9]/":""|truncate:6:""} {/php}</b></h1> </center> </div> If not, what is the correct format of the above 2 peaces of code? The first set of code was placed before the {elseif $announcements} Part in clientareahome.tpl The second peace of code was placed within the clientssummarybox Part in the clientssummary.tpl file Was I doing all of that correctly? If not, what did I miss? Thanks.
  6. Hi, I am trying to modify 2 templates related to the client's section, to display an automatically generated PIN for each client. I have followed instructions at https://requests.whmcs.com/responses/support-pin-code Which says to modify clientssummary.tpl and clientareahome.tpl Yet when I put in the code it displays the raw code and not the PIN. Am I doing something wrong?
  7. Hello, Firstly, I am new to these forums, and am trying to customize WHMCS to display a PIN for each client. I put code found at https://requests.whmcs.com/responses/support-pin-code Into templates: clientssummary.tpl and clientareahome.tpl Yet, nothing is displayed correctly. I can post my TPL files here, as maybe I'm doing something wrong? I'm using the latest WHMCS version which I believe is 5.1.14, if that's not correct, can someone correct me? Thank you for any help that can be provided.
×
×
  • 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