Quote:
Originally Posted by magnus
is_member_of() cannot be called via templates. Try this instead:
HTML Code:
<if condition="$bbuserinfo[usergroupid]==6"><a href="url to file"><img src="url to my image"></a></if>
|
Whooohoooo that got it to show up!
thank you
one thing i would like to change:
the way this works as is shows a picture if you are in the admin group.
What I want to do:
if the person is a regular member and not a member of group 10 (superuser) I want the graphic to show up. Once the person is a member of group #10, then they would get another graphic.
concept is it's a "banner" add that asks them to become a supporter, they get a banner to click that sends them to the page to become a supporter.
Once they join, they then get a new banner with the link to their new areas of access.
As a member can be a member of multiple groups at one time, such as group#2 (registered), and also be a superuser, i'm not sure how to write the code to have the group #10 membership over-ride the banner add, and only show the access banner.
any help is appreciated, and many thank you's to the help allready provided.