![]() |
Thread Views - Only admins and mods can see
Is there a way to hide the thread views column so only admins and mods can see it or choose the usergroups you want to display it to?
I could surely use a mod like this. |
Pretty simple template edit...
Edit the template: threadbit Find the line: Code:
<li>{vb:rawphrase views}: {vb:raw thread.views}</li> Code:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><li>{vb:rawphrase views}: {vb:raw thread.views}</li></vb:if> |
Worked like a charm. Thank you.
|
thanx
|
All times are GMT. The time now is 03:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|