Jump to content


- - - - -

IP.Board 2.3: (HBV)Hide moderators of particular forum(s) from "The Moderating Team"


  • Please log in to reply
3 replies to this topic

#1 herbivore

herbivore

    Coder

  • Members
  • PipPipPipPipPip
  • 117 posts
  • Real Name:Vin
  • IPB Version:v2.3.x
Contributor

Posted 17 August 2008 - 02:06 PM

This is the support topic for the tutorial (HBV)Hide moderators of particular forum(s) from "The Moderating Team".  Please post here if you have any questions or feedback.

Edited by herbivore, 12 December 2011 - 01:37 PM.


#2 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 17 August 2008 - 04:05 PM

Quote

Option i) To hide moderators from specific forum(s), replace with the following, changing F_ID to the id of the forum. To add more than one, add "|| F_ID2" directly after the F_ID (again, replace F_ID2 with the right forum ID, and don't add the quotes!):
That wont work. After a "||" or a "&&", a new statement starts. To ease it all, you should use in_array().
if( in_array( $i['forum_id'], array( F_ID, F_ID2, F_ID3 ) ) )


#3 herbivore

herbivore

    Coder

  • Members
  • PipPipPipPipPip
  • 117 posts
  • Real Name:Vin
  • IPB Version:v2.3.x
Contributor

Posted 18 August 2008 - 07:00 AM

Ahh sorry. Myfault. After || you are meant to add the whole statement again. ;)

But your way is better. Thanks m4rtin, I'll update it again when I come back in an hour or so! :)
Posted Image
Over 1500 2000 members and growing.
Modifying modifications. Look! Some Tutorials.

Get the FREE Downloads Script and help it grow.

#4 Meoma

Meoma

    Member

  • Banned
  • PipPipPip
  • 46 posts
  • Location:Nijmegen
  • Real Name:Meoma
  • IPB Version:v2.3.x
Contributor

Posted 09 March 2009 - 07:27 PM

What about more then one forum? Like Hosted Projects Subs and Member Teams Subs




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users