vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mark as contributor hack... (https://vborg.vbsupport.ru/showthread.php?t=33164)

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

1 Attachment(s)
Some examples:

Contributor setting in the control panel

MarkB 12-13-2001 11:18 PM

1 Attachment(s)
Basic presentation within a thread/postbit:

MarkB 12-13-2001 11:19 PM

1 Attachment(s)
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.

Joe 12-14-2001 07:37 AM

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! :)

Joe 12-14-2001 05:35 PM

Nice! I cant wait for this now! :)

MarkB 12-14-2001 10:03 PM

Released :)

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 :)

geek 02-11-2003 05:32 AM

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


All times are GMT. The time now is 04:46 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.02092 seconds
  • Memory Usage 1,757KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (29)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