PDA

View Full Version : Claim This Link button or link


turbosatan
09-21-2009, 01:15 PM
Hi

I want to add a Claim This Listing link onto the links pages as i am adding lots of links manually and i want people to be able to claim control over them if they want to.

is there a variable i can use in an if statement to only show a claim this link if the current link owner = bot ?

so <if $link_owner="bot">claim this link</if>

or something similar.

i will make the form the other end for the user to fill out to claim the link so i am ok with that but i just need the user variable name

thanks

T

Brian
09-21-2009, 01:33 PM
In most vBa Links tempates you should be able to use this:

<if condition="$links['userid'] == X">

(replace X there with the userid of your "bot" user)