View Full Version : Mark as contributor hack...
MarkB
12-13-2001, 11:38 AM
I'm not sure if anyone's done this already (but I couldn't find a hack for it!):
I've written a hack for those who have a donation system on their forums, and wish to have the users who've contributed marked as such on their posts and in profiles without adding an extra user group.
Basically, on their posts it can have either a text line or an image (it's up to you), and on their profile it'll say:
Username - Contributor (or any other word you choose)
Admin can update this through the CP.
I haven't documented it yet, and it's probably buggy - so, the gist of this post (he finally gets to his point!) is whether anyone's interested in trying out the code before I release it? It works fine for me, but there may be some other functions I've missed out on...
Pls PM if you're interested (or just reply here;)).
Mark
MarkB
12-13-2001, 11:17 PM
Some examples:
Contributor setting in the control panel
MarkB
12-13-2001, 11:18 PM
Basic presentation within a thread/postbit:
MarkB
12-13-2001, 11:19 PM
Displaying whether someone is a contributor, within their profile
(example with a contributor, and a non-contributor)
Lesane
12-14-2001, 07:05 AM
Sounds great Mark, i'm willing to help you with testing the code. I'm using 2.0.3.
Admin
12-14-2001, 07:13 AM
Sure I'll be glad. :)
Admin
12-14-2001, 07:15 AM
Thinking about it, I could probably use it here too with a modification or two... I was planning to have something like this for Hacker of the Month. :)
MarkB
12-14-2001, 07:18 AM
Thanks guys :) You both have PMs.
Im looking forward to this hack :)
Lesane
12-14-2001, 09:03 AM
It works perfect here, no problems. Easy & fast install.
Great hack.
Admin
12-14-2001, 09:08 AM
Thanks Mark, I'll install it later today and tell you how it goes. :)
MarkB
12-14-2001, 09:26 AM
Cool :cool: If all goes well, I'll release it over the weekend :D
Admin
12-14-2001, 11:32 AM
Works great for me... except for some mods I needed to do because of other hacks installed it was fine.
Radon3k
12-14-2001, 01:59 PM
Anyway I can get my hands on this hack? I was just wonderin about this cuz this is exactly what I need! Glad someone made it, becuz I know nothing about programming... :D
Steve Machol
12-14-2001, 03:09 PM
Sounds great - I'm lookng forward to this. Is there any way the 'Contributor' field could allow HTML?
MarkB
12-14-2001, 03:26 PM
[QUOTE]Originally posted by Radon3k
Anyway I can get my hands on this hack? I was just wonderin about this cuz this is exactly what I need! Glad someone made it, becuz I know nothing about programming... :D
MarkB
12-14-2001, 03:28 PM
[QUOTE]Originally posted by smachol
Sounds great - I'm lookng forward to this. Is there any way the 'Contributor' field could allow HTML?
Steve Machol
12-14-2001, 03:45 PM
Very cool! Thanks Mark!
Radon3k
12-14-2001, 03:47 PM
Nice, thanks man! :)
Nice! I cant wait for this now! :)
MarkB
12-14-2001, 10:03 PM
Released (https://vborg.vbsupport.ru/showthread.php?s=&threadid=33195) :)
Radon3k
12-14-2001, 11:17 PM
I love you!! :)
MarkB
12-14-2001, 11:22 PM
:eek: :stupid:
N_Sync
12-14-2001, 11:55 PM
:surprised
:cool: :p
5861king
12-29-2001, 12:49 PM
has anyone got this 2 work on vbb 2.2.1, everything seems to work fine, apart from the postbit template. when i viewing a thread of a person who has contributed nothing appears to say that he has contriubtued, but if i use the members list it shows up fine.
I have also made should the varible $post[Donation] is in the postbit template.
Any kind soul out there can help me out!!! :)
Thanks
XFLBret
06-06-2002, 10:11 AM
this worked great for me in 2.2.5, but will not install in 2.2.6.
little help?
Ember
01-02-2003, 08:58 PM
This is very cool, and will come in handy on my site, I intend to change it so that they are marked as a member of staff, because I dont want all my staff writers made admins/mods on the forum... so this is great :)
i'm using php3, is there another version or does it work anyway?
sc4r3d
04-12-2004, 01:08 PM
I know this is very old, but I wanted to reinstall it, can you take a look at http://www.bodybuilding4life.com and tell me why it says Array [donation] I am not sure why it is posting it up there on top, i did everything to the T.
Thanks,
Sc4r3d
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.