The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Site Supporter Button in Postbit - Primary/Additional Usergroups supported Details »» | |||||||||||||||||||||||||||
Site Supporter Button in Postbit - Primary/Additional Usergroups supported
Developer Last Online: Feb 2009
This mod will probably work in other versions but was only coded and tested on vBulletin 3.6.7
If you've got members who have donated to your forums and you would like them to be recognized, this simple mod will add a nice 'Site Supporter' button underneath the member's messenger icons. However, you can place this piece of code anywhere you'd like. The option is up to you. This is just the way I thought looked best. Enjoy. Installation: 1) Choose which button you want to use (supporter.gif or supporter2.gif) and upload it to your 'images/misc' folder in your forums directory. 2) Create a NEW usergroup. Go to ADMINCP -> Usergroups -> Add New Usergroup and name it whatever you want, just remember, this new usergroup needs to represent your 'Site Supporter' group, so remember the usergroup ID (uID) for this after you set all the permissions, etc. 3) Open your postbit OR postbit_legacy, whichever one you use, and... FIND THIS CODE: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> AFTER, ADD THIS: Code:
<!-- Site Supporter Code --> <br /><if condition="$post[usergroupid] == X"><img src="images/misc/supporter.gif"></if> <!-- / Site Supporter Code --> PLEASE REMEMBER TO CLICK INSTALLED IF YOU USE THIS MOD! This is my first mod so please be nice. Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
Quote:
Bump, can anyone answer this? |
#43
|
|||
|
|||
bump bump I could really use some help with this.. Anyone?
|
#44
|
|||
|
|||
damn, i guess I dont have a chance in getting this question answered, nor the guy before me...smh
|
#45
|
|||
|
|||
Is their away to get this to show up in memberinfo as well? Thanks.
|
#46
|
|||
|
|||
ya you put the code in your member info template where you want it
|
#47
|
|||
|
|||
Quote:
Nah I know that, but their isn't away to make it show up under location or anything. Where ever you put it, it just shows up under the templates etc... |
#48
|
|||
|
|||
Quote:
seriously can anyone answer this????? Please I need it answered???? Can this be done for 2 groups. Set up as the primary group, and it works, but I want to set this up so I can have my site supporter group as a secondary group, and still have the image show.. I need this for my mods and admins, who's primary groups are mods/admins and their effective rights are based on that.. PLEASE??? |
#49
|
|||
|
|||
im not going to give support on this cause its not my modification
but here is my code that i use in the post bit and member info so if you can figure it out then have a ball if not then ooh well then let the creator help you HTML Code:
<!-- Site Supporter Code --> <if condition="$post[usergroupid] == 5 and is_member_of($post, 17)"><img src="images/misc/supporter.gif"><BR></if> <if condition="$post[usergroupid] == 6 and is_member_of($post, 17)"><img src="images/misc/supporter.gif"><BR></if> <if condition="$post[usergroupid] == 7 and is_member_of($post, 17)"><img src="images/misc/supporter.gif"><BR></if> <if condition="$post[usergroupid] == 9 and is_member_of($post, 17)"><img src="images/misc/supporter.gif"><BR></if> <if condition="$post[usergroupid] == 16 and is_member_of($post, 17)"><img src="images/misc/supporter.gif"><BR></if> <!-- / Site Supporter Code --> |
#50
|
|||
|
|||
is this correct for more than one usergroup, bcuz when i use this...... the usergroup that is on the bottom has their image all the way on the bottom of their profile and it stretches the page...
Quote:
|
#51
|
|||
|
|||
Quote:
thats probally whats messing that up |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|