TimberFloorAu
02-02-2009, 10:59 PM
We have added auction ads to our site.
To view a members ads, the link uses the userid.
so link is:
http://www.yobromofo.com/forum/yobay/member.php?uid=2&protype=1
Where uid=2 is my userid.
Now I want to add this to the postbit, so it appears in everyones profile, but for their userid
Im not to sure on the conditionals required, so any help greatly appreciated. The code below I just created doesnt actually work lol.
Any input graciously received.
<!--yobay stuff start-->
<if condition="$post['userid']"><div class="info"><a href="http://www.anyforum.com/forum/yobay/member.php?uid=$userid&protype=1">My YoBaY Stuff</a></div></if>
<!--end of yobay stuff-->
The bold bit above seems to be the issue, i have tried wrapping in brackets, using $userinfo, $bbuserinfo and $userid... what am i doing wrong.
Ste
To view a members ads, the link uses the userid.
so link is:
http://www.yobromofo.com/forum/yobay/member.php?uid=2&protype=1
Where uid=2 is my userid.
Now I want to add this to the postbit, so it appears in everyones profile, but for their userid
Im not to sure on the conditionals required, so any help greatly appreciated. The code below I just created doesnt actually work lol.
Any input graciously received.
<!--yobay stuff start-->
<if condition="$post['userid']"><div class="info"><a href="http://www.anyforum.com/forum/yobay/member.php?uid=$userid&protype=1">My YoBaY Stuff</a></div></if>
<!--end of yobay stuff-->
The bold bit above seems to be the issue, i have tried wrapping in brackets, using $userinfo, $bbuserinfo and $userid... what am i doing wrong.
Ste