PDA

View Full Version : Remove Rep link and Report link on own posts in postbit legacy


ludachris
10-09-2012, 08:11 PM
How would I construct an IF statement that removes the Add Reputation link and the Report Post links in the postbit legacy template? I don't want the member to see those links on their own posts.

Simon Lloyd
10-10-2012, 05:45 AM
The rep link is there so that the owner of the post can click it and see if they have been given rep for the post, anyway wrap the links in something like this<if condition="$post['userid'] != $bbuserinfo['userid']">YOUR LINKS</if>