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 |
#12
|
||||
|
||||
This is built into VB why was a hack needed?
|
#13
|
|||
|
|||
|
#14
|
||||
|
||||
I have been using the built in version of this for a few years.... I'm still confused why you needed a hack for this lol |
#15
|
||||
|
||||
Here is the placement with the built in "User Ranks" version. Of course you can place the image in any location as well.
It's all automated as well, when a user signs up for a site supporter package it changes there user group and adds the image for that rank. So really, I'm not trying to bust your balls here, I'm interested to know why you don't' just use the User Ranks? |
#16
|
|||
|
|||
Quote:
also, you need to pay very close attention to the thread and realize why this is all needed. there are numerous code conflicts that occur between user ranks and primary/usergroups. especially when users want to be part of a 'Site Supporter' group but they don't want to change their primary group (ie moderators who are also site supporters but may also have another rank set up at the same time). please pay more attention before assuming you know what certain code is doing. there are reasons for this thread and why people want it. |
#17
|
|||
|
|||
Nice work m8.. *installed*
|
#18
|
||||
|
||||
Quote:
Trust me, everything you are doing with this is built into VB.... no need to all this work, but hey if you have the time then that's your issue not mine. p.s. Your issue above is controlled by setting their primary display user group setting. As for knowing this code and what it does, if I didn't I would not have posted. Your modification does nothing that is not there already it's as simple as that. I didn't want to bust your balls here and tell you that when I posted so I thought I would be nice and ask first. |
#19
|
|||
|
|||
^ TRUST ME, you are still not comprehending what I'm saying and I do not have time to argue with you about it.
if you don't want to use the hack then please stay out of the thread. |
#20
|
||||
|
||||
Installed and working, no problems.
I do have one question though. Is there a way to limit this to only the first post in a thread? It's annoying to see this icon numerous times through-out a thread. |
#21
|
|||
|
|||
Quote:
I understand this can be done with user ranks, and frankly it is easier to control doing so. In my case user ranks currently gives them different icons based upon how many posts they have, and this appears right under the username. I want the site supporter button to appear lower in the postbit_legacy. (In fact the sample image of the postbit for this hack was taken from my site...even though I am not yet using the hack...must have been some creative photoshoping) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|