Community Forums

Discuss, share and get help from our community of friendly WHMCS users

Login to Your Account
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012

    Default How can I remove the affiliate option from the menus?

    At the moment we don't offer an affiliate option. The option within WHMCS to enable the affiliate system has not been selected, but the option to sign up as an affiliate still appears within the menu.

    Any idea how we can stop the affiliate option from appearing in the menus?

  2. #2
    Join Date
    Jan 2012


    in your templates folder open homepage.tpl and look for this part

    PHP Code:
    <td><div align="center"><a href="affiliates.php"><img src="templates/{$template}/images/affiliates.png" border="0" alt="" /></a></div></td>
    td><strong><a href="affiliates.php">{$LANG.affiliatestitle}</a></strong><br />
    you can comment out that section but warning if you comment out that section you need to put something it its place or it will look funky on the page, the next cell over is the order icon and links.

    Both are on the same row so if you take out the affiliate you will have a blank space there. Even putting


    <td><div align="center">&nbsp;</div></td>


    It will still leave you with a dead space.

    What i would do is if you have something else to put in there then put it there, if not just do somthinglike this.

    comment out or remove the original one and put this in its place.


    <td><div align="center"><img src="templates/{$template}/images/affiliates.png" border="0" alt="" /></div></td>
    <td><strong>{$LANG.affiliatestitle}</a></strong><br />
    We Currently Do Not Offer Any Affiliate Partnership</td>

    That way you keep the integrity of the space and just remove the liinks and put in a description that you dont have a aff program.

    hope that helps.

  3. #3
    Join Date
    Jul 2010
    Kent, UK



    Are you using the default WHMCS template and referring to the menu from that? If so you can remove the affiliates link by:

    - Open /templates/your_template/header.tpl

    Find the following code:

    <li><a href="affiliates.php">{$LANG.affiliatestitle}</a></li>
    replace with:

    <li><a href="affiliates.php">{$LANG.affiliatestitle}</a></li>
    ^ There is 2 sections of this code in the header.tpl file. One shows when a user is logged in and the other when logged out. You'll need to do the above for both cases.

    In the future you can easily re-enable these by removing {* & *} should you wish to add an affiliate program to your website.


  4. #4
    Join Date
    May 2012


    Thanks for the replies guys.

    I haven't had time to try these as yet but will give them a try later this week.

    I really appreciate the assistance.

Similar Threads

  1. How to remove live help option from portal ?
    By adonix in forum Developer Corner
    Replies: 6
    Last Post: 02-10-15, 05:38 PM
  2. Remove Nameserver Option?
    By tommyquang in forum Developer Corner
    Replies: 3
    Last Post: 12-13-09, 04:33 AM
  3. Remove domain option
    By royt in forum Using WHMCS
    Replies: 1
    Last Post: 05-02-09, 12:18 AM
  4. Remove Attachment option
    By coolguyz_2009 in forum Using WHMCS
    Replies: 3
    Last Post: 04-07-09, 04:48 PM
  5. Remove payment option?
    By Serenade in forum Using WHMCS
    Replies: 1
    Last Post: 02-23-08, 12:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts