PDA

View Full Version : Is ther a way to hide the "edit post" button from a specific forum?


benative
07-09-2011, 08:22 PM
Is ther a way to hide the "edit post" button from a specific forum?

I used the below variable but it wouldn't help.... btw that red 4 is the forum id which I want to hide the edit post button from.
<vb:if condition="$forum[forumid] != 4">
https://vborg.vbsupport.ru/external/2011/07/97.jpg

LifesGreatestGift
07-09-2011, 09:20 PM
Wrong conditional format.

Use it like this

<vb:if condition="$thread[forumid] != 4">EDIT BUTTON</vb:if>

benative
07-09-2011, 09:34 PM
Thank you very much for your quick reply..
I was trying to do that in the showthread template..

Do yo think I need to modify postbit instead??

Also to you know exactly what code in which location I have to wrap with that variable you gave??

Again, thank you so much.