View Full Version : Hide Affiliate Links Mod
mwinning101
07-31-2011, 10:03 AM
I have followed the instructions for adding this mod, and it seems to work OK, visible in admin panel, not on submit page, affiliate link is hidden on mouseover on the details page etc. But, the affiliate link still shows on, for example, Latest Links page. Here, it shows as the full affiliate url, ( not as a clickable link, just plain text ) and I want this hidden from there too. How can I do this, eg, what files would I need to edit, and what code would I have to change/remove etc.??
James
07-31-2011, 10:58 AM
you will make the same edits on the widgets content/link tpl files as you made to the link.tpl
mwinning101
07-31-2011, 11:10 AM
Thanks for the quick reply James, but I wasn't talking about the Latest Links Widget, I meant the Latest Links page, which shows the most recent links. I would post a link to show you what I mean, but it is adult, unless it's OK to post it?
James
07-31-2011, 11:32 AM
no not for that :p
that latest links pages uses the link.tpl did you make any edits to that file?
mwinning101
07-31-2011, 11:45 AM
The only thing I added to link.tpl was the thumbshots code to display thumbnails for the links, never made any other edits at all. But the affiliate URL was showing there even before I added that to it.
mwinning101
07-31-2011, 08:03 PM
Not to worry, I managed to remove the URL from the page by removing:
<span class="link">{$link.URL|escape|trim}</span>
from links.tpl.
Thank god for firebug!! I wouldn't have had a clue without having that to help me narrow down what I had to remove.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.