
02-27-2006, 01:09 PM
|
 |
|
|
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by christianjunk
Hi!
There's an error in your code:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<plugins>
<plugin active="1" product="vbulletin">
<title>Force Styles for Selected Usergroups</title>
<hookname>style_fetch</hookname>
<phpcode><![CDATA[if (in_array($vbulletin->userinfo['usergroupid'], array(a,b,c)) || (in_array($vbulletin->userinfo['membergroupids'], array(d,e,f)))
{
$styleid = 8;
}]]></phpcode>
</plugin>
</plugins>
You forgot a closing ")" in the if-statement (before "{") ...
Regards,
Christian
|
Thanks for noticing that typo  updated the zip file.
|