vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Need "Donated Icon" beside Avator (https://vborg.vbsupport.ru/showthread.php?t=233554)

LorinPotter 01-19-2010 05:34 PM

Need "Donated Icon" beside Avator
 
There was a hack to do this, and I've searched by every thing that I could think of and not found it.

We've just stated accepting donations to our club forum and would like to place an icon beside the user profile on their messages, or beside their avatar.

Someone please inform me of the thread or the hack for this.
TIA

Hell Bomb 01-21-2010 03:01 AM

I have not seen a mod like this before but this is not exactly a hard thing to make.

Use this mode HERE. And when people donate you can have it set to auto move people into a certain usergroup. The you can add the code you want in the postbit template to show the icon you want and wrap it in the following code.
Code:

<if condition="$post['usergroupid'] == 6">Put image here</if>
and it will only show that image if the users postbit if they have donated. Im no that good with vBulletin if conditions but that should work, if not ill keep a eye on this thread and if you haev any problems post them below and ill help as much as i can.

LorinPotter 01-21-2010 02:28 PM

Thanks, I'll try that.

bada_bing 01-21-2010 03:44 PM

cool thanks


All times are GMT. The time now is 08:19 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.00908 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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