Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Grab Currently Viewed Members Usergroup (member.php)
Sure Offline
Junior Member
**
Posts: 1
Joined: Jan 2013
Post: #1
Grab Currently Viewed Members Usergroup (member.php)
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?

(This post was last modified: 01-22-2013 03:22 AM by Sure.)
01-22-2013 03:16 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Grab Currently Viewed Members Usergroup (member.php) - Sure - 01-22-2013 03:16 AM

 Standard Tools
Forum Jump: