View Full Version : Graphic to show as favorites.
kittymother
07-14-2004, 10:22 AM
Is there a simple way to add a graphic to indicate the link is in a users favorites? Could the grapic used to indicate that a user is subscribed to a link be easily changed to indicate that it is in their favorites instead? If so, how would I do this?
Brian
07-14-2004, 12:34 PM
If you look in your 'adv_links_linkbits' template, you'll see the following code:
<if condition="$show['subscribed']">
<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_link]" />
</if>
If you change "$show['subscribed']" in the <if> condition there to "$links['favid']", then you can just change the phrase to indicate that the link is in the user's favorites. ;)
kittymother
07-14-2004, 01:00 PM
Thank you very much. This did exactly what I wanted.
I love the way you take time to answer every question and give an answer that someone who doesn't know much, like me, can understand.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.