Jump to content

Need Help for Hide Mod (2.0.4)


Guest Sweetie

Recommended Posts

I just modify this mod to allow specific goups that can view hidden content without replying, accodring to
http://forums.invisionize.com/index.php?sh...ic=53968&st=360

Find:

if(in_array($ibforums->member['id'], $allposters))


Replace with this:


if(in_array($ibforums->member['id'], $allposters) OR ($ibforums->member['mgroup'] =='4') OR ($ibforums->member['mgroup'] == '9'))



But after modified this thing, i got this error below when access SOME SECTIONS, the rest of sections have no effect ? What's wrong with this mod ?

IPB WARNING [2] in_array(): Wrong datatype for second argument (Line: 550 of /sources/lib/post_parser.php)


IPB WARNING [2] in_array(): Wrong datatype for second argument (Line: 550 of /sources/lib/post_parser.php)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...