![]() |
Nice Hack :)
|
installed.
l8er sonic |
If seperated bt commas it protects more correct? And same question for Total Admin Security? User IDs can be seperated by commas to protect other admins
|
No you must expand the statement...
Explanation : Normal code: Code:
if(($styleid==X) and ($bbuserinfo[userid]!=Y)) { Code:
if(($styleid==X) and ($bbuserinfo[userid]!=Y or $bbuserinfo[userid]!=Z)) { Code:
if(($styleid==X or $styleid==Z) and ($bbuserinfo[userid]!=Y)) { Code:
if(($styleid==X or $styleid==W) and ($bbuserinfo[userid]!=Y or $bbuserinfo[userid]!=Z)) { Satan |
Thanks Man!!
|
No problems;):)
Satan |
Wouldn't it be easier to just restrict the primary actions to the userid of the board owners choice?
|
@-Sidekick- - Perhaps, but this allows you let other admins add and edit their own styles, and not be able to edit your existing styles...
Satan |
The reason I ask is cause I'm the only one messing with the Styles, Templates, & Replacements.
So just restricting the primary functions would be safe right? =] |
Well if you are the only one, simply restricting the entire file to just your userid is better;)
But, like me, if you have admins (in my case co-admins) editing styles, you want to ensure that your styles that you do not want deleting or being tampered with remain that way;):) Satan |
All times are GMT. The time now is 12:24 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:
|