vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Display Enhancements - Donor Button on posts and profiles (https://vborg.vbsupport.ru/showthread.php?t=167170)

DjLuv 01-06-2008 10:00 PM

Donor Button on posts and profiles
 
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

HTML Code:

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

For MEMBERINFO

HTML Code:

<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

Quote:

Originally Posted by sp0okz (Post 1417793)
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

Quote:

Originally Posted by SVTCobraLTD (Post 1417800)
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

Quote:

Originally Posted by Alien (Post 1418630)
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


All times are GMT. The time now is 02:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01091 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete