Quote:
Originally Posted by BirdOPrey5
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...
Basically you need to wrap all of the plugin in this code:
PHP Code:
if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4))) { //All Original Code Here }
Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.
Only thing to look out for, if in the plugin there is the line:
|
[S]I tried :[/S]
PHP Code:
if (!in_array($vbulletin->userinfo['styleid'], array(49)))
{
<if condition="(($_REQUEST['do']=='cchatbox') OR ($_REQUEST['do']=='ccarc'))">
$stylevar[htmldoctype]
..........CHATBOX CODE...............
</body>
</html>
</if>
}
[S]But it didn't work. (this style is 49)
Is the right code where I edited?[/S]
I got it!
I edited in "Cyb - Advanced Forum Statistics - CT" and "Cyb - ChatBox - CT" of the plugin manager, and it works!
Thank you so much! You are great! ^^