vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mark User As Contributor (https://vborg.vbsupport.ru/showthread.php?t=33195)

MarkB 12-14-2001 10:00 PM

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

Jakeman 12-14-2001 10:25 PM

this is independant of groups, correct?

MarkB 12-14-2001 10:28 PM

Certainly is - I didn't want something that was dependant on user groups :)

nafae 12-14-2001 10:43 PM

That looks awesome. Can the hack be configed in the user cp to show different titles (like user title) or images instead of just saying "Contributor"?

MarkB 12-14-2001 10:48 PM

The 'Contributor' part is taken from its own template, so you can set it to be whatever you want HTML-wise. As for different user titles, not at this time...

Jakeman 12-14-2001 10:54 PM

i will be testing this hack soon. i'm interested in using it. :)

Radon3k 12-14-2001 11:18 PM

Thanks!! Been waiting for this one!! :)

MarkB 12-14-2001 11:27 PM

I've just started my forums' donation system, so you should be able to see a demo there once someone makes a donation (!)... :)

Radon3k 12-15-2001 02:44 AM

Hey..instead of it saying "Contributor" how can I make it say "Contributor" and under it have an image? And also, instead of it saying "Contributor" how do I change what it says? I've looked in the templates but that didn't help...Any help is greatly appreciated, thanks! :)

MarkB 12-15-2001 02:48 AM

Just edit the relevant template :) (postbit_donation)

Radon3k 12-15-2001 02:56 AM

Ohhh...Gotcha, thanks man! :)

Radon3k 12-15-2001 02:59 AM

Dude this thing works great, I can't thank you enough for it!!! Thanks so much!!! :)

MarkB 12-15-2001 03:42 AM

:)

Joe 12-15-2001 06:26 AM

Awesome hack, thank you so much! :) Anyone have a spiffy donation icon there using? Hmm, red star? /me thinks... :)

MarkB 12-15-2001 06:31 AM

Glad you like it :) I'm actually having someone do an icon for me cos I have no idea either! LOL :)

I hope to have an addition to this sometime where you can easily keep track of how much a user has donated (should that hold any bearing).

Bane 12-15-2001 06:54 AM

I did something very much like this Mark. Heres an extra idea for yours. When someone does donate if you wish to track the amount thats great :) But make sure that you include an option in the system with an on off switch per user for those who dont want the amount displayed.

While you as an admin may appreciate every $5 donation that comes your way, they as users may not want to donate $5 if its going to show that they "Only donated $5" Hope you understand what I mean. Its kind of silly, but some folks are really sensative about such things. If you need help let me know.

Joe 12-15-2001 07:43 AM

I had a $100+ donation and the member asked me not to publish his information... his wife visits the site also, shes already mad that he owns a handfull of bikes, hehehe :)

MarkB 12-15-2001 08:34 AM

[QUOTE]Originally posted by Bane
I did something very much like this Mark. Heres an extra idea for yours. When someone does donate if you wish to track the amount thats great :) But make sure that you include an option in the system with an on off switch per user for those who dont want the amount displayed.

While you as an admin may appreciate every $5 donation that comes your way, they as users may not want to donate $5 if its going to show that they "Only donated $5" Hope you understand what I mean. Its kind of silly, but some folks are really sensative about such things. If you need help let me know.

Radon3k 12-15-2001 12:22 PM

Well this is the icon that my board uses when someone donates money to us....Use it if you'd like! :) One of our members made it for us :)

Lesane 12-15-2001 01:16 PM

[QUOTE]Originally posted by Radon3k
Well this is the icon that my board uses when someone donates money to us....Use it if you'd like! :) One of our members made it for us :)

Radon3k 12-15-2001 01:36 PM

Nevermind, didn't look as good as I thought it would... :)

MarkB 12-15-2001 11:03 PM

I'm just using this:

Robert Basil 12-16-2001 03:42 AM

Mark,

I had to do the install (table update and template installs) by hand as I am running v2.2.0 (for some reason I kept getting an error on line 39 code)

And have a few hacks that use a few lines of your modified code, so I had to play with those a bit......

But it now works GREAT! Thanks you soooooo much!

bbaddons 12-16-2001 03:51 AM

Great hack, installed in about 5 minutes - just got to make a neat little icon I can place by their names and I will be all set :).

Thanks once again for such a great hack!

MarkB 12-16-2001 05:10 AM

I'm glad you both like it :)

Joe 12-16-2001 05:47 AM

Heres my icon: (small red star)

Jakeman 12-16-2001 07:51 AM

me steels star pic! :p

hey joe, i was looking through a couple of yer threads. seems like you have lots of contributers. cool. :)

Lesane 12-16-2001 08:14 AM

Great hack Markb, well done. But you already knew that ;)

SaintDog 12-18-2001 11:14 AM

Can you tell me how I can get it to show that they are a contributing member to all members of my board? I have set one of my members up with this hack showing they are a contributing member but only the member can see it as well as I, none of the other memebers can see the star that I am using to mark my users as a donating member?

Any help with this issue is greatly appreciated.

Thanks,

SaintDog 12-19-2001 01:29 AM

Anyone?

MarkB 12-19-2001 03:21 AM

Hiya,

I've no idea why that's happening - the hack isn't as complicated as that would suggest...? Are you sure you added everything as it appears in the docs?

Mark

Jakeman 12-19-2001 07:55 PM

installed. works. :)

SaintDog 12-19-2001 08:34 PM

Yeah, word for word, piece by piece

Joe 12-19-2001 09:38 PM

[QUOTE]Originally posted by Jakeman
me steels star pic! :p

hey joe, i was looking through a couple of yer threads. seems like you have lots of contributers. cool. :)

Jakeman 12-19-2001 10:21 PM

just got my first donation. 15 beans. :) this will help with server costs and such.

VAN 12-20-2001 01:30 PM

Hey Mark...cool hack.

I posted a suggestion for a possible upgrade to this hack i the Requests forum, but it has since become buried--with no replies.

I' copying my suggestion from that forum below:

I would like for someone to take this a step further and allow multiple levels of contributors.

A user who donates 5 bucks and a user who donate 100 bucks should not receive the same kudos, IMO.

How about modding this hack for say a three tiered system? Kinda like Bronze, Silver, and Gold level contributors?

Whatcha think, Mark?

bbaddons 12-21-2001 03:53 AM

I agree with Van, he has a good idea and a good point. I don't think those that donate $5 should have the same kudos as those that donate $100.

A 3 tier system would be great, I am sure it could be done, just how hard it would be is the question :).

MarkB 12-21-2001 03:55 AM

Someone else is welcome to change the hack for that - I'm lucky I got it THIS far! LOL :D

bbaddons 12-22-2001 11:32 AM

If I knew PHP any better I would attempt, I can install them find, but I can not write them for nothing. Still a great hack though Mark, thanks!

GeorgeofCS 12-22-2001 11:50 AM

I'm working on it right now and almost done. I should have it in postable condition soon


All times are GMT. The time now is 04:52 PM.

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.01338 seconds
  • Memory Usage 1,783KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete