PeterS Posted May 4, 2012 Share Posted May 4, 2012 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? 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted May 4, 2012 Share Posted May 4, 2012 in your templates folder open homepage.tpl and look for this part <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 /> {$LANG.affiliatesdescription}</td> 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"> </div></td> <td> </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. 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted May 5, 2012 Share Posted May 5, 2012 Hello, 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: <ul> <li><a href="affiliates.php">{$LANG.affiliatestitle}</a></li> </ul> replace with: {*<ul> <li><a href="affiliates.php">{$LANG.affiliatestitle}</a></li> </ul>*} ^ 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. Jack 0 Quote Link to comment Share on other sites More sharing options...
PeterS Posted May 8, 2012 Author Share Posted May 8, 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.