Search found 4 matches
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable- 12 Feb 2014, 23:19
- Forum: Modders MOD support
- Topic: Template variable for checking group membership
- Replies: 37
- Views: 92319
Re: Template variable for checking group membership
scratch the above, it works the same way.
- 12 Feb 2014, 23:02
- Forum: Modders MOD support
- Topic: Template variable for checking group membership
- Replies: 37
- Views: 92319
Re: Template variable for checking group membership
I managed to cook this up by altering a snippet a person named cherokee red created which appears to be working just the way I want, which is the opposite of your code. However I am not sure if this is the best way to achieve the results, this goes in viewtopic.php. // Check what group a user is in ...
- 12 Feb 2014, 22:12
- Forum: Modders MOD support
- Topic: Template variable for checking group membership
- Replies: 37
- Views: 92319
Re: Template variable for checking group membership
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.
- 12 Feb 2014, 07:50
- Forum: Modders MOD support
- Topic: Template variable for checking group membership
- Replies: 37
- Views: 92319
Re: Template variable for checking group membership
I am trying to use this mod to display rank titles of groups so that when a person changes their default group everyone can still see they are part of that group graphically in topicview. is it possible to use this mod that way? and how can I go about it?
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable