inshad
08-02-2006, 08:07 PM
HI,
I wrote a hook with VB3.5.1 that allow only females gender to access a certain forum (Which was for the ladies only).
and it's working fine.
but when I upgrade the forum to the version 3.5.4 , it's not working, and Males can access the forum normaly !
Would you please assist me on that ?
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <plugins>
- <plugin active="1" product="vbulletin">
<title>Females Forums acess</title>
<hookname>forumbit_display</hookname>
- <phpcode>
- <![CDATA[
if(($foruminfo[forumid]==4)&&($vbulletin->userinfo['usergroupid']==2)&&($vbulletin->userinfo['field6']==Male)){
standard_error(fetch_error('cantMale'));
}
]]>
</phpcode>
</plugin>
</plugins>
I wrote a hook with VB3.5.1 that allow only females gender to access a certain forum (Which was for the ladies only).
and it's working fine.
but when I upgrade the forum to the version 3.5.4 , it's not working, and Males can access the forum normaly !
Would you please assist me on that ?
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <plugins>
- <plugin active="1" product="vbulletin">
<title>Females Forums acess</title>
<hookname>forumbit_display</hookname>
- <phpcode>
- <![CDATA[
if(($foruminfo[forumid]==4)&&($vbulletin->userinfo['usergroupid']==2)&&($vbulletin->userinfo['field6']==Male)){
standard_error(fetch_error('cantMale'));
}
]]>
</phpcode>
</plugin>
</plugins>