[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 561: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 617: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 370: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
phpBBModders.net • Template variable for checking group membership - Page 3
Page 3 of 3

Re: Template variable for checking group membership

Posted: 12 Feb 2014, 10:40
by RMcGirr83
No, that is not the purpose of this mod.

Re: Template variable for checking group membership

Posted: 12 Feb 2014, 22:12
by sonoma
Well thanks for this mod, I use it as well. Could you possibly point me the way to what I am looking for? I only need to check against a handful of groups to simply display an image or not to display an image to everyone if that user is in a group or not.

Re: Template variable for checking group membership

Posted: 12 Feb 2014, 23:02
by sonoma

Re: Template variable for checking group membership

Posted: 12 Feb 2014, 23:19
by sonoma
scratch the above, it works the same way.

Re: Template variable for checking group membership

Posted: 27 Jan 2015, 02:10
by neuropass

Re: Template variable for checking group membership

Posted: 28 Jan 2015, 11:25
by RMcGirr83
The code to use in the html files.

Re: Template variable for checking group membership

Posted: 29 Jan 2015, 15:35
by neuropass

Re: Template variable for checking group membership

Posted: 29 Jan 2015, 16:13
by RMcGirr83


checks if variable is set



checks to ensure that the array that is generated has something in it.

Not sure why it matters, just use the code in the first post.