Quote:
Originally Posted by John Diver
Hey,
Me back again
That worked perfectly but now I am wanting to expand it a bit.
I just went through every page but everything I saw had something extra in and I dont know how to edit them to work for me as I dont know PHP.
What I want to do is have around 6 usergroups which wont see certain code in the header.
The code Im using now is working for 2 usergroups, and I tried changing it for around 6 usersgroups so instead of the 2 not seeing the code inside the conditionals, the 6 now would.
But I couldnt work out what way to do it 
Hope you can help me out again
Thanks
John
|
[[($bbuserinfo[usergroupid]!=X1 AND $bbuserinfo[usergroupid]!=X2 AND $bbuserinfo[usergroupid]!=X3 AND $bbuserinfo[usergroupid]!=X4 AND $bbuserinfo[usergroupid]!=X5 AND $bbuserinfo[usergroupid]!=X6)]]
ad code
[[/($bbuserinfo[usergroupid]!=X1 AND $bbuserinfo[usergroupid]!=X2 AND $bbuserinfo[usergroupid]!=X3 AND $bbuserinfo[usergroupid]!=X4 AND $bbuserinfo[usergroupid]!=X5 AND $bbuserinfo[usergroupid]!=X6)]]
Replace X1 to X6 with usergroupids.