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
  #142  
Old 07-08-2003, 09:41 PM
pdatoon pdatoon is offline
 
Join Date: Nov 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help!

I ran the contribute.php file the first time, and it says everything was succesful. But it didnt add any customs templates : getinfo_donation & postbit_donation

Can someone post here or send them to me? I dont understand why it didnt create them
Reply With Quote
  #143  
Old 07-09-2003, 06:18 AM
pdatoon pdatoon is offline
 
Join Date: Nov 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nobody?

Can someone send me the content of the two templates please? :ermm:

nghia@nguyendai.com
Reply With Quote
  #144  
Old 07-09-2003, 09:08 PM
pdatoon pdatoon is offline
 
Join Date: Nov 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone? :tired:
Reply With Quote
  #145  
Old 07-21-2003, 11:10 AM
Frozen Dreams's Avatar
Frozen Dreams Frozen Dreams is offline
 
Join Date: Apr 2003
Location: Germany
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]07-10-03 at 12:08 AM pdatoon said this in Post #143
anyone? :tired:
Reply With Quote
  #146  
Old 07-21-2003, 10:48 PM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay...I've started out to install this hack as I am using Lesane's award hack for my contributors and with this I can put a nifty little image under the postbit to identify my staff.

Now, the only thing I'm hesistant about is that I want to change the code for the user panel to say "Is user staff?" instead of "Has user made a donation"

The current code reads
Quote:
## AFTER, ADD THIS:

makeinputcode("Is $user[username] staff?","donation",$user[donator]);
Forgive my rookiness with this stuff......I figure changing the actuall sentance is easy enough.
Quote:
makeinputcode("Is $user[username] staff?","donation",$user[donator]);
but what about this part......"donation",$user[donator])

Would that then be ."staff",$user[staff])?

If you can direct me here...I think I'll be able to get this up and running in no time!! Oh...also.....I've allready got my spiffy little staff image placed into the postbit_donation template....but what am I supposed to do with the getinfo_donation template? anything?
Reply With Quote
  #147  
Old 07-22-2003, 06:31 AM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well...I guess you can just ignore everything that I posted earlier!! :ermm: :surprised: :lick:

Great hack mate!! Did exactly what I wanted it to do!!

I've now assigned the site logo (smaller version) to all my staff as we do not use 'Moderator, Admin, etc.) for titles and use a Silver ring to identify our site supporters.

[high]* Illuvatar clicks install and is very happy!!
[/high]

Here is an example of what I did with this hack.

I only had to hack the hack a little bit to modify how the question in the admin panel displays, and even assigned an 'alt' tag to the image. hehe

Tomorrow I'm gonna link it to the Forum Leaders page and be done with it! Thanks again!

In Fellowship,
Illu
Reply With Quote
  #148  
Old 07-22-2003, 08:02 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to not only show who contributed but display what they contributed? Whether it was money, equipment, service, etc?? Have an option to show this in the ACP, in the user profile and/or in the Postbit??
Reply With Quote
  #149  
Old 07-22-2003, 08:14 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pdatoon, the two templates are rather simple.

The "getinfo_donation" template contains 1 line that says "- Contributor".

The "postbit_donation" template contains 1 line that says "Contributor".

That's it.
Reply With Quote
  #150  
Old 07-22-2003, 08:29 PM
Illuvatar's Avatar
Illuvatar Illuvatar is offline
 
Join Date: Apr 2002
Location: So. Cal
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well.....as I wanted to customise mine just a bit...my getinfo template has this
Quote:
- Staff
and my postbit one has
Quote:
<img src="/forums/vbulletin225/upload/images/sitestafflogo.jpg" width="21" height="22" alt="WotR Staff">
But as was said way earlier in the thread, you can put whatever you need to display into these templates.....the first one is what shows up in your users profile, and the second is actually what displays under the users post count.
Reply With Quote
  #151  
Old 07-23-2003, 08:11 PM
Buczilla Buczilla is offline
 
Join Date: Jun 2003
Location: St. Petersburg, FL
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much for this hack!!!

Now, how could I setup a private forum for contributors? (without a usergroup) would I have to manually edit their access masks?
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 09:27 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.05140 seconds
  • Memory Usage 2,303KB
  • 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
  • (4)bbcode_quote
  • (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
  • (4)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