Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by MarkB MarkB is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-14-2001 Last Update: Never Installs: 75
 
No support by the author.

Quite simply, if you have a donation system on your forums, you may wish to have a way of having donating members stand out from the freeloaders

This hack will place text/icon/whatever you choose both within their profile and on their posts, in a spot of your choosing.

Administrators set whether a user is a contributor within the Admin control panel.

Please remember to backup your database first!!

This is a very simple hack including just a couple of file and template edits, and two new templates. The new templates and database changes are made by the included install file.

See this thread for screenshots

If there are any problems, please post below...

Mark

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 10-28-2003, 07:11 AM
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I'm using:

- create a new usergroup
- note the usergroup number
- For each user, set this group as a subgroup (alas, for now it can be the only subgroup, but I believe the vB team will be adding some conditional template options to allow for more than one... anyway, for now leave it as the only subgroup for this to work)
- Place the following where you want their 'contributing member' badge/label/whatever to show up:

(I have mine in postbit_userinfo)

Code:
<if condition="$post['membergroupids'] == 20">
<br />
<a href="/forum/subscriptions.php"><img src="images/premium_member.gif" border="0" alt="Become a Premium Member!"></a>
<else />&nbsp;</if>
'20' is the premium/contributing member ID, natch.

You'll substitute the above for your own HTML, of course

Mark
Reply With Quote
  #163  
Old 11-22-2003, 01:08 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never heard of a subgroup ever, still fine.
Reply With Quote
  #164  
Old 02-12-2004, 06:36 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so I added this hack and everything seems to of went fine but I dont like where the text is located.It placed the text above the member name where the post date goes. Can someone explain how to move the text under the avator? Also I want to add a small image like a trophy just under or above the text, how do I do that? I am not a coder so please be specific.

Thanks
Reply With Quote
  #165  
Old 02-16-2004, 12:45 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me with this?
Reply With Quote
  #166  
Old 02-16-2004, 12:51 PM
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simply edit the HTML in the postbit template to change placement, or icon, or whatever.
Reply With Quote
  #167  
Old 03-08-2004, 12:41 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what you need to do so you can add different contributes?
Reply With Quote
  #168  
Old 03-23-2004, 10:24 PM
Godzilla MR2's Avatar
Godzilla MR2 Godzilla MR2 is offline
 
Join Date: Nov 2001
Location: Charlottesville, Va
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am really interested in knowing how to pull the list of users who have contributed from the database and list them on a separate page in the admin section. I would just need the user name.
Any idea how this can be done?

Bill Strong
Reply With Quote
  #169  
Old 03-24-2004, 10:30 AM
justsomedude justsomedude is offline
 
Join Date: Nov 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]I am really interested in knowing how to pull the list of users who have contributed from the database and list them on a separate page in the admin section. I would just need the user name.
Reply With Quote
  #170  
Old 04-10-2004, 07:25 PM
bigdaddy04 bigdaddy04 is offline
 
Join Date: Jan 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, maybe something like this but mark a user as a contributor if they have 5+ referrals
Reply With Quote
  #171  
Old 04-10-2004, 11:59 PM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this hack work in VB 3.0 Gold????

I use the Ranks to award our subscribers with a pretty silver ring, but I used this previously to put an image under my staff's post bits. Sure would like to use it again.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05743 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete