![]() |
I added the cachable just to be sure... without there seem to come up some side effects when using the cache.
|
Quote:
Anyway, have updated both versions of the XML. |
Just another question ;)
I guess can_administer is not a function like can_moderate? Is it possible to restrict it to administrator only? I don't want my moderators to be able to view the history |
Wait, if your running 3.5.2 and you install the mod one, it should work now right?
I am scared of all the replies in this mod to install it :-( |
Quote:
The changes necessary for 3.5.2 operation are already included. |
Quote:
Something like ( $vbulletin->userinfo['usergroupid'] == 6 ) 6 is the default admin usergroup, so you may need to change that. |
Quote:
I restricted now to a userid and I'm happy with it :) |
One last thing for me today... you should add the if condition to the postbit modifier as well so users who cannot view the history don't get the 'View History' link.
|
Quote:
|
Sure?
I don't see the according code... it's just a simple str_replace, isn't it? When I restricted it to one user only this one could view the history but the link showed up for others as wellg giving them always the same version on every number... My code looks now like Code:
if ( $vbulletin->userinfo['usergroupid'] == 6 ) { |
All times are GMT. The time now is 02:30 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:
|