The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
What this does is not show the timestamp if anyone is logged in is NOT an administrator.
Perhaps you are trying to hide the date on posts that were not made by an administrator for everyone? (Different logic?) If so that code would be: Code:
if (!is_member_of($post, 6,22)) { $post['posttime'] = ' '; $post['postdate'] = ' '; } |
#12
|
||||
|
||||
Also this only works on posts on showthread.php - it does not hide the date/time on "Last Post" on other pages.
|
#13
|
|||
|
|||
That shows the date and time of my posts and everybody can see it.
I just want to make it so that only Admins can see the date and time. --------------- Added [DATE]1319991928[/DATE] at [TIME]1319991928[/TIME] --------------- Yes, I will try to find the hook for those once I get this working. |
#14
|
||||
|
||||
If this isn't working like that all I can think is maybe another mod is interfering. Try disabling any other mods you may use.
|
#15
|
|||
|
|||
Thanks for all your help. I will set up a test forum and try it.
|
#16
|
|||
|
|||
Same result with a fresh install. Here's a screen shot of the plugin I created. Maybe that is where the problem is. This is the first time I have tried to do this, so I am learning as I go.
|
#17
|
||||
|
||||
That is correct... does your forum use some sort of page caching?
|
#18
|
|||
|
|||
No, I don't think so. Before I install it, the date shows, when I install it, it doesn't, then when I disable it, the date shows again. Tried it in both Internet Explorer and Firefox.
|
#19
|
||||
|
||||
Since you got a test site, if you want PM me login info and I'll see if I can figure it out.
|
#20
|
|||
|
|||
Thanks!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|