Jump to content

Customizing affiliate.php


adtastichosting

Recommended Posts

I've searched through the 15 available pages related to the keyword affiliate and not found an asnwer to this or surprisingly any discussion on it so if i msised it somewhere i apologize.

 

I would like to be able to customise the affiliate.php page with informaiton. I know I can go in and customize the english.txt page to some extent but since it doesn't let you use any html in there thats rather clunky way to add a few paragraphs of text.

 

affiliate.php is encoded.

 

Is there any way I can customize this page with my own information?

 

If not, it might be a great feature for us to be able to write our own informaiton on this page.

Link to comment
Share on other sites

Hey, thanks for the answer. It's actually the incorrect answer in my situation maybe I wasn't clear enough, however it led me into the right direction.

See, when you click on the affiliate link of course it says you have to log in to view the info. Then when you do, therein is posted the terms, along with a button "activate affiliate account today."

That is the page I want(ed) to customize because it is there I want to post all of the great details on my affiliate program in order to encourage someone to actually click the link and sign up. Well it says "affiliates.php so naturally I assumed that would be the page I want to customize.

However when I look at affiites.tpl as you suggest well that is all confusing to me and after a little test, it does not customize the signup page at all. (Hey always remember to backup your file(s) if you monkey around like I do)

I had resorted to customizing the stock language provided in the english.txt page as previously mentioned but that is so clunky since cannot use html.

 

But then, as mentioned your answer led me to a route of discovery.

 

The actual page you want to customize in this situation is affiliatesignup.tpl.

 

Works great! Thanks!

Link to comment
Share on other sites

You can use html in the English.txt language file

If you use double quotes you must escape them with a backslash though else just use single quotes.

eg

$_LANG["affiliatesdescription"] = "<div class='contentbox' style='width:90%'>Click here to become an affiliate or see your earnings</div><br />";
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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