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.


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

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.01089 seconds
  • Memory Usage 1,721KB
  • 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
  • (10)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