Quote:
Originally Posted by Logician
ok try this:
PHP Code:
[[(($bbuserinfo[usergroupid]==3 AND ($forumid==8 OR $thread[forumid]==8)))]]
put your custom header's html code here
[[/(($bbuserinfo[usergroupid]==3 AND ($forumid==8 OR $thread[forumid]==8)))]]
[[(!($bbuserinfo[usergroupid]==3 AND ($forumid==8 OR $thread[forumid]==8)))]]
put your regular header code here
[[/(!($bbuserinfo[usergroupid]==3 AND ($forumid==8 OR $thread[forumid]==8)))]]
|
I have explained what goes wrong in the below comments in the code:
Code:
[[(($bbuserinfo[usergroupid]==6 AND ($forumid==23 OR $thread[forumid]==23)))]]
This displays the different header perfectly when this usergroup logs into this forumid....
[[/(($bbuserinfo[usergroupid]==6 AND ($forumid==23 OR $thread[forumid]==23)))]]
[[(!($bbuserinfo[usergroupid]==1 AND ($forumid==8 OR $thread[forumid]==8)))]]
This is where the problem comes in....What ever I put in this condition it duplicates it underneath the new different HEADER.
[[/(!($bbuserinfo[usergroupid]==1 AND ($forumid==8 OR $thread[forumid]==8)))]]