Jump to content

EssexMedia

Member
  • Posts

    6
  • Joined

  • Last visited

About EssexMedia

EssexMedia's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Thanks for the info guys, I've been reading through some of the smarty documentation and I can really see the advantages of separating the logic from the layout so I want to use the same method for my own pages. -I know the same separation can be acheived with just php, (without Smarty), but I think you need to be very good at php to do this ...and I'm not - yet I'll definitely check out the ioncube encoder - it does seem to add an extra level of security.
  2. Oh, sorry Laszlof, I mean the php & tpl files that we create ourselves when adding pages to whmcs. -Incidentally, is there a way we can have our own php files encoded like the native whmcs ones?
  3. Hi all, I'm a bit confused as to where I should be putting any additional PHP code? The WHMCS docs for customising the client-side templates give examples of adding php code to tpl's using the curly brackets, it gives this code as one example... {php} $userid = $this->_tpl_vars['userid']; $result = mysql_query("SELECT firstname FROM tblclients WHERE id=$userid"); $data = mysql_fetch_array($result); $firstname = $data["firstname"]; echo $firstname; {/php} But the Smarty template docs say that it's better to put this sort of code into the .php file and not the tpl. Would there be any advantage to having this sort of code in the .php file instead of the tpl file? - I guess that because the php files are in the root whmcs directory and not the template directory there would be a problem with the .php being overwritten on an upgrade - is this the reason that the whmcs docs say to do it in the tpl? Any comments appreciated Mark.
  4. Thanks for the replies guys, Is there a list anywhere of the extensions that are allowed to follow or preceed the .CO or .IN and other TLDs that specify 2nd or 3rd level? also, is the .CO (second-level) as in .CO.UK the same as specifying .UK (third-level) as in .CO.UK? ...Sorry for being thick, I'm still a novice regarding domain registration. Thanks for any help.
  5. Hi All, I'm currently setting up WHMCS, (supplied by my hosting reseller), and have found it to be an excellent piece of software, very straightforward to use and customise. I have a question regarding the Domain Price setup. I am using NetEarthOne as my domain registrar and have set up the domain prices in my NetEarthOne account and now have to set up the domain prices in WHMCS. The list of TLDs in my NetEarthOne account include things like ".CO (second-level)" and ".CO (third-level)" - I know what these mean but I don't know how to enter them into the WHMCS pricing fields? Could someone point me in the right direction please. Many Thanks Mark.
×
×
  • 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