vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Mark User as Contributor (https://vborg.vbsupport.ru/showthread.php?t=94507)

Boofo 08-16-2005 10:00 PM

Mark User as Contributor
 
Mark User as Contributor
(By Boofo)

Original vB 3 version: assassingod

Thanks to assassingod for allowing me to port his hack to vBulletin 3.5 RC 2 and creating the original hack. And to Revan for teaching me about product management.

// Description:
This allows you as an Administrator to mark users if they have donated to your web site. The setting in in the Admin CP profile for each user.

You can use text/icon, whatever you want by editing the phrase. It appears in the postbit and the user's profile.

Chris_D 08-17-2005 05:49 PM

Nice work :)

I've got the PayPal Donations mod installed already so I won't need this one, but good work nonetheless.

Boofo 08-17-2005 05:53 PM

Quote:

Originally Posted by Chris_D
Nice work :)

I've got the PayPal Donations mod installed already so I won't need this one, but good work nonetheless.

This just gives your contributors a page to have "their name in lights" so to speak. A thank you jester for donating to your site.

Zachariah 08-17-2005 06:28 PM

Nice job sir. I was gana start that going.

Boofo 08-17-2005 06:40 PM

Quote:

Originally Posted by HarryButt
Nice job sir. I was gana start that going.

Well, hello there, stranger. Nice to see you around, sir. ;)

Asterik 08-17-2005 08:30 PM

Thanks, this is just what i was looking for :D.

Boofo 08-17-2005 09:18 PM

Did you miss the install button then? ;)

Azhrialilu 08-17-2005 09:25 PM

very nice :)

BigIke 08-18-2005 01:40 AM

:: Instaled ::

Nice way to make the non-contributing users contribute ;) Thanks muchly Boofo

Zachariah 09-08-2005 12:29 AM

Error
Footer Edit.
Code:

-------------------------------------------------------------------
Edit template 'FOOTER'

BELOW it add:
-------------------------------------------------------------------

<a href="contributors.php">$vbphrase[bf2_contribs]</a> -

-------------------------------------------------------------------

Try:
<a href="$vboptions[bburl]/contributors.php">$vbphrase[contribs]</a> -


bf2_contribs :banana: ( you still got the brown bear I made ? as a logo ... ehhehe)





Idea


'POSTBIT', 'MEMBERINFO', template

Code:

<if condition="$post['contrib']"><div class="smallfont"><a href="$vboptions[bburl]/contributors.php">$vbphrase[post_contrib]</a></div></if>
vs.

Code:

<if condition="$post['contrib']"><div class="smallfont">$vbphrase[post_contrib]</div></if>

It would be cool to add the same bit of code to the Members list too :o

**Note: In the XML file. I do not know if there is a way, but <if> the mysql Table / field has been done from an older hack ask the Forums Admin durring install to del and reinstall or skip DB edits.

I had the old hack (assassingod) in and when I did the install the DB edits told me to get Bent for the contrib field was already there. I edited the installer by hand and cliped out the DB installer code and all is well.

Guess make 2 XML's ? the upgrade one and the new install ?


All times are GMT. The time now is 08:23 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.01268 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (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