The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
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 ? Code:
<?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> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|