The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DONATIONS - Icon for those who've made a donation - POSBIT or POSTBIT_LEGACY vB 4.0.x Details »» | |||||||||||||||||||||||||||||||||
DONATIONS - Icon for those who've made a donation - POSBIT or POSTBIT_LEGACY vB 4.0.x
Developer Last Online: Mar 2013
What is this?
This is a little hack/mod/template change (call it what you will). When a member makes a Money Donation to the forum - They can get rewarded by placing a small 'Gold Trophy Icon' (see Pic) beneath their username in the Postbit or Postbit_Legacy. (depandant of which one your forum uses). Hover you mouse over that Icon Image and you will see " XXX has made a donation to the forum!" What Do I do? You do the following... STEP 1; Upload the donation.gif image to your forum?s ?images/misc? folder, in your forum?s route directory. STEP 2; Set Up a Usergroup. This usergroup will have a ?donation Trophy? with alt code, displayed under the Member?s USERNAME in their Postbit or postbit_Legacy (dependant on which you use). AdminCP-> Usergroups -> Add New Usergroup -> ? Create Usergroup Based off of Usergroup: Registered Users ? Default Forum Permissions: You choose this ? Title: Donators ? Description: The Members of this Group have all made one or more Donations to the forum ? User Title: Leave this Blank ? Username HTML Markup: Leave this Blank ? Password Expiry: Leave this Blank ? Password History: Leave this Blank Public Groups Settings: ? Public (Joinable) Custom Usergroups: No ? Can override primary group title/markup: No The rest of this Group?s permissions is only known by and can be set, by you. CLICK SAVE ! STEP 3: Postbit Template Edit: AdminCP -> Styles & Templates -> Style Manager -> Style (mine is Default Style) -> << >> -> Postbit Templates -> postbit -> FIND: Code:
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span> </vb:if> <vb:if condition="$post['userid']"> Code:
<!-- Wy Donation Icon in postbit Start --> <vb:if condition="is_member_of($post, X)"><img src="http://WWW. YOUR FORUM ADDRESS.COM/images/misc/trophy.gif" width="19" height="18" alt="{vb:raw post.username} has made a donation to the forum!" border="0"></vb:if><br/><br/> <!-- Wy Donation Icon in postbit End --> SAVE STEP 4; Adding the Member to the Donators Usergroup: All you need to do now is to add a Member to that usergroup, and the way in which to do this, Is? AdminCP -> Users -> Search for User -> Enter the Username and Click Exact Match. Under ?Usergroup Options? on the right, Select the ?Donators? tickbox. (See picture UM1 in attachments below). Click Save. Now you will see the ?Trophy? Icon on the Member?s Postbit. And that is it ! Please Click Installed and Rate this Mod. EDIT: I recommend using this mod in conjunction with Valters mod here: https://vborg.vbsupport.ru/showthread.php?t=236480 . Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
I dont get it, cant you just do this with ranks? At least thats what I am doing
|
#13
|
||||
|
||||
Quote:
Can you post some screenshots of that please? |
#14
|
|||
|
|||
I'm trying here and can't get it. I changed it to sponsor instead of donator
This is my code and I get nothing Quote:
I am on 4.0.6 |
#15
|
||||
|
||||
Quote:
Hello, I don't have 4.0.6 up and running yet, and therefore, can't confirm it is working, myself. I have just regestered on your forum, and if you are happy to give me Admin permissions, I will do it for you. |
#16
|
|||
|
|||
tagged and thanks
edit <vb:if condition="is_member_of($post, X)"><different image> <vb:if condition="is_member_of($post, Y)"><different image> <vb:if condition="is_member_of($post, Z)"><different image> would the above work ? edit this Mod is working in 4..0.6 |
#17
|
||||
|
||||
Quote:
Thank You Sulasno. That would work (as I do it). but you would have to repeat the process for all conditions that you want to use. If you need any help. PM me. |
#18
|
|||
|
|||
Quote:
What a great idea! Works great! Thanks Welshy! |
#19
|
|||
|
|||
@Welshy2008
I would need to hunt for some trophys first :-) |
#20
|
|||
|
|||
can be this mod be modified to award a trophy to users instead of usergroups ?
|
#21
|
|||
|
|||
Here is my code:
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|