PDA

View Full Version : Forum Display Enhancements - Donor Button on posts and profiles


DjLuv
01-06-2008, 10:00 PM
Hey Folks,

This mod adds a functionality of Donor Button/Sign in ur member's posts and profile, it helps other members to see that the member is a Donor or a Subscriber group and encourages themselves to join too :p

For postbit and/or postbit_legacy

<if condition="is_member_of($post, x)">
<img src="$stylevar[imgdir_misc]/path/your_image.gif" border="0" alt="" />
</if> For MEMBERINFO

<if condition="is_member_of($userinfo, x)">
<img src="$stylevar[imgdir_misc]/path/your_image.gif" border="0" alt="" />
</if> Just replace x with the usergroup ID number that the donate group is in. Then, edit the path/your_image.gif with the folder and image name of the donate image you want to appear.


http://maxupload.com/img/58920EA6.jpg
http://maxupload.com/img/0491736D.jpg

Thank You Onimua for total support in creation of this template modification.

sp0okz
01-08-2008, 03:15 PM
The info isnt much help to me bein new also the images you uploaded wont show..

SVTCobraLTD
01-08-2008, 03:24 PM
Screenshot would be nice.

DjLuv
01-08-2008, 05:03 PM
The info isnt much help to me bein new also the images you uploaded wont show..

U have to upload the image/donor button to your style images folder and the subfolder shud be misc, the change the url in the template, and u can place this anywhere u want to show in the postbit template :p

DjLuv
01-08-2008, 05:04 PM
Screenshot would be nice.

Screenshot is provided there,

Alien
01-09-2008, 09:22 PM
This conditional will work even if someone has the donate usergroup as a secondary correct?

DjLuv
01-10-2008, 04:46 AM
This conditional will work even if someone has the donate usergroup as a secondary correct?

yep m8,

parash
01-21-2008, 05:12 AM
woo m8 nice was...did u made donor button yourself.....looks cool...

sunnylikbeckham
08-17-2008, 09:42 AM
ya its very nice
is there anyway to show how much he donated too