sross
09-02-2005, 10:00 PM
Just a simple mod I made to give users more visibility of their status. Currently only setup for unregistered, registered, and subscribers
Files to modify 1 - navbar template
first upload the supplied files or edit the attached psd file (if you have photoshop)
Then open your navbar template and find:
<!-- / nav buttons bar -->
Above that add:
<if condition="$bbuserinfo[usergroupid]==1"><a href="http://www.yoursite.org/forums/register.php?"><img src="http://www.yoursite.org/unregistered_popup.gif" alt="" border="0" /></a>
</if>
<if condition="$bbuserinfo[usergroupid]==9"><a href="http://www.yoursite.org/forums/subscriptions.php?"><img src="http://www.yoursite.org/subscriber_popup.gif" alt="" border="0" /></a>
</if>
<if condition="$bbuserinfo[usergroupid]==2"><a href="http://www.yoursite.org/forums/subscriptions.php?"><img src="http://www.yoursite.org/unsubscribed_popup.gif" alt="" border="0" /></a>
</if>
<!-- / nav buttons bar -->
**you must alter your usergroup id's. Mine are 1=unregistered 9=subscribers 2=registered members **also update your forum url in the above code.
Thanks!
***UPDATE*** 1.1
have added a zip including instructions and psd file
Files to modify 1 - navbar template
first upload the supplied files or edit the attached psd file (if you have photoshop)
Then open your navbar template and find:
<!-- / nav buttons bar -->
Above that add:
<if condition="$bbuserinfo[usergroupid]==1"><a href="http://www.yoursite.org/forums/register.php?"><img src="http://www.yoursite.org/unregistered_popup.gif" alt="" border="0" /></a>
</if>
<if condition="$bbuserinfo[usergroupid]==9"><a href="http://www.yoursite.org/forums/subscriptions.php?"><img src="http://www.yoursite.org/subscriber_popup.gif" alt="" border="0" /></a>
</if>
<if condition="$bbuserinfo[usergroupid]==2"><a href="http://www.yoursite.org/forums/subscriptions.php?"><img src="http://www.yoursite.org/unsubscribed_popup.gif" alt="" border="0" /></a>
</if>
<!-- / nav buttons bar -->
**you must alter your usergroup id's. Mine are 1=unregistered 9=subscribers 2=registered members **also update your forum url in the above code.
Thanks!
***UPDATE*** 1.1
have added a zip including instructions and psd file