![]() |
More Admin Security - Protect Templates, Templatesets and Styles!!!
In conjunction with the request of others, I have released this add-on, which can be used in conjunction with my Total Admin Security hack...
So... There is an easy way to ensure that they cannot change your templates, templatesets, or delete your templates, templatesets and styles... Just use this hack below, and then they cant!!! Just remember to follow any instructions in brackets ( ) that follows some PHP Code... I have this used on DarkBlazes (my forums) - I cannot provide any screenshots at this time, but if anyone would, that would be good:) Other Related Hacks: Total Admin Security Satan |
lol other admin hack but good one.
(change X to the templatesetid, change Y to your userid) I wonder can I add more than one templatesetid like (1,2,3,etc..) if I have more than one set? And userid for who? for other admin? Thanks |
To add another templateset, just copy the code again... (making sure you change the X and Y)
The userid is for you - I made it, by default, that nobody can delete the templatesets you dont want them to... Then I made it so that they can delete individual templates (custom templates), but only the user(s) you specify... Satan |
Ah, thanks for answer. I m going to install this one. Thanks
|
No problems:)
Satan |
Sweet. Thanks for the hack. Installed :)
|
Good:)
There shouldnt be any install problems, but if there are, just ask:) Satan |
this hack looks sweet, but while reading your instructions / hack i got few questions...
why is there no check for userid on the remove and the kill template set? This way even the main admin (me) can't delete that template, right? and for the style... will this hack only protect the deletion of the style, and not the modification of styles? Cause i want the other admin to be able to do anything but touch my templetes and styles. |
Hehe nice hack satan :p
|
The reason for the specified templateset is purely because, if that is your main Template Set, I am presuming you don't want it to be able to be deleted by anyone, including yourself;)
To protect styles from being modified, Find: Code:
// ###################### Start Update ####################### Code:
if(($styleid==X) and ($bbuserinfo[userid]!=Y)) { @Mist - Thanks:) Satan |
All times are GMT. The time now is 03:16 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:
|