Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Secondary usergroup conditional
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #9
RE: Secondary usergroup conditional
Hi, I'm trying to show in postbit this:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
<if in_array($mybb->user['additionalgroups'], array(45,42,23)) then>
	
	<li style="background-color:blue;">
	
		<i class="fa fa-star"></i>
		
		{$post['usertitle']} 
		
	</li>

</if>


But with additional groups doesn't work, it's like if "additionalgroups" thing there isn't, it shows always style also on other users of other usergroups Frown

08-03-2015 07:15 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Secondary usergroup conditional - Gstone - 01-18-2013, 04:48 PM
RE: Secondary usergroup conditional - nier3 - 08-03-2015 07:15 AM

 Standard Tools
Forum Jump: