PDA


View Full Version : Is it a bug?


stitch
12-06-2005, 02:29 AM
For some reason, the Edit button is still showing up in my links for regular member.

In addition, I couldn't post in Bug report forum either.

Thanks

Brian
12-06-2005, 03:47 PM
No, that is intended behavior. That will probably be changed in the next version though.

stitch
12-06-2005, 04:24 PM
No, that is intended behavior. That will probably be changed in the next version though.

When do you think you will have the next version released? :D :D

Brian
12-07-2005, 03:46 PM
Sometime before 2007. :p

Rob Locke
01-16-2006, 04:49 PM
Is there an <if> conditional to hide it to all those who can't use it? I tried <if condition="$show['editlink']"> but it just hides it for all usergroups.

Just wondering if there is any precedent in the code which will make it hideable to those without permissions to edit links.

Brian
01-16-2006, 05:40 PM
If I'm thinking correctly here, the following <if condition> should do the trick:

<if condition="$link['userid'] == $bbuserinfo['userid'] OR $show['modopts']"> Edit Image Here </if>

Rob Locke
01-16-2006, 07:29 PM
Yup, works a treat. Thanks Brian.