Log in

View Full Version : Display threadid in each thread.


nam6641
02-12-2012, 07:36 AM
Hi, i want to show threadid of each thread under the message area of the post and only moderators and administrators can see the thread id only. Can anybody tell me please how to do it.

Thanks in advance.

Lynne
02-12-2012, 05:32 PM
Just add something like this to the SHOWTHREAD template where you want it:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)">Threadid: {vb:raw thread.threadid}</vb:if>

nam6641
02-13-2012, 06:57 PM
Just add something like this to the SHOWTHREAD template where you want it:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)">Threadid: {vb:raw thread.threadid}</vb:if>

Thank you very much, it works like a charm...thanks