The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom skinning
HI
I have made my own custom skin for vBulletin. I just renamed default style and imported to vBulletin. Then edited the few templates. Now how to disable revert function on my new skin. When I revert it, whole code I have changed changes to original default code. Is there any way that I can`t revert the templates from style admin? thanks, |
#2
|
||||
|
||||
Why would you want to disable function? If you don't need it then just don't use it.
If you managed to click it accedently few times then add confirmation. To do that open includes/adminfunctions_template.php, find this: Code:
construct_link_code($vbphrase['revert'], "template.php?" . $vbulletin->session->vars['sessionurl'] . "do=delete&templateid=$template[templateid]&dostyleid=$template[styleid]$LINKEXTRA"). Code:
construct_link_code($vbphrase['revert'], "template.php?" . $vbulletin->session->vars['sessionurl'] . "do=delete&templateid=$template[templateid]&dostyleid=$template[styleid]$LINKEXTRA\" onclick=\"return confirm('Revert?')"). |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|