![]() |
Post Timestamp Visibility
Is there any mod that would allow only admins or select groups to see the timestamp of a message?
|
I've never heard of one. I would imagine you could just put a condition around the timestamp in the postbit. Or write a plugin to do the same thing (with no template edit)
hook location - postbit_display_complete PHP Code:
|
Thank you, I will try it.
--------------- Added [DATE]1319899447[/DATE] at [TIME]1319899447[/TIME] --------------- I'm sorry, I looked for the lines above, posttime and postdate, but couldn't find them. Are they in the postbit template. Am I looking in the right place? |
I found it, applied it by creating the plugin, but the time and date wasn't visible for anyone.
|
It works for me, what was the exact code you used?
|
Exactly as she had in the example, tried it with '6' and '22' my webmaster usergroup.
PHP Code:
|
6 is the admin usergroup- usually. As it was written ONLY users in group 6 should see the date.
|
Maybe it's because I use two groups, Administrators and Webmaster. Will try it in a few.
|
This would be the line for both groups:
Code:
if (!is_member_of($vbulletin->userinfo, 6, 22)) |
Still the same, no matter which group I put in there, it disappears for everyone.
When I make the plugin inactive, it comes back. When I take the Date line out of it, just the date shows. I must be missing something. Sorry to be such a bother. |
All times are GMT. The time now is 02:25 AM. |
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:
|