Not Solved If Usergroup
#6
Not Solved
ues the if statement twice.
one for groups below 4 and the second for groups above 4
create 2 css classes for each group also
eg:
<div id="bellow4">
<if !in_array($mybb->usergroup['gid'], array('1','5','7')) then>your code
</div>
<div id="above4">
<if !in_array($mybb->usergroup['gid'], array('3','4','6')) then> your code
</div>


the css for the divs:
#bellow4 {
display: none;}
#above4 {
display: block;}


it should be something like this

consider that this its just a ideia and it must be teaked but and a get start function Wink
the example i posted before it does work fine for me but never tried this way but the the ideia its the same so should work i guess
im not php guru or nothing
maybe some one off staff or coder could help more
good luck
Reply


Messages In This Thread
If Usergroup - by Cryptexinside - 2016-08-15, 02:25 PM
RE: If Usergroup - by Ashley1 - 2016-08-15, 02:28 PM
RE: If Usergroup - by Cryptexinside - 2016-08-15, 02:30 PM
RE: If Usergroup - by subzr1 - 2016-08-15, 06:43 PM
RE: If Usergroup - by Cryptexinside - 2016-08-15, 07:13 PM
RE: If Usergroup - by subzr1 - 2016-08-17, 10:17 AM
RE: If Usergroup - by Cryptexinside - 2016-08-19, 08:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)