MyBB Hacks

Full Version: Grab Currently Viewed Members Usergroup (member.php)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey! I was wondering how I would go about referencing the currently viewed members usergroup. I have this code on member.php. My goal is to prevent content being loaded based on the members usergroup(not you).

Code:
<if $memprofile['usergroup'] !== 7 then>
show stuff here
</if>

When I try using this, nothing happens. Am I calling the usergroup correctly? Any help would be much appreciated. ^~^

Edit: When I use this code, I believe it conflicts with on of my other plugins 'My Network' : http://i.imgur.com/3EjYiNF.png?1
Is there anything I should check for in the php file? What type of code would conflict with this?

I believe MyNetwork uses its own templating system and doesn't respect what Template Conditionals does.
Reference URL's