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)

pdatoon 07-08-2003 09:41 PM

Help!

I ran the contribute.php file the first time, and it says everything was succesful. But it didnt add any customs templates : getinfo_donation & postbit_donation

Can someone post here or send them to me? I dont understand why it didnt create them :(

pdatoon 07-09-2003 06:18 AM

nobody?

Can someone send me the content of the two templates please? :ermm:

nghia@nguyendai.com

pdatoon 07-09-2003 09:08 PM

anyone? :tired:

Frozen Dreams 07-21-2003 11:10 AM

[QUOTE]07-10-03 at 12:08 AM pdatoon said this in Post #143
anyone? :tired:

Illuvatar 07-21-2003 10:48 PM

Okay...I've started out to install this hack as I am using Lesane's award hack for my contributors and with this I can put a nifty little image under the postbit to identify my staff.

Now, the only thing I'm hesistant about is that I want to change the code for the user panel to say "Is user staff?" instead of "Has user made a donation"

The current code reads
Quote:

## AFTER, ADD THIS:

makeinputcode("Is $user[username] staff?","donation",$user[donator]);
Forgive my rookiness with this stuff......I figure changing the actuall sentance is easy enough.
Quote:

makeinputcode("Is $user[username] staff?","donation",$user[donator]);
but what about this part......"donation",$user[donator])

Would that then be ."staff",$user[staff])?

If you can direct me here...I think I'll be able to get this up and running in no time!! Oh...also.....I've allready got my spiffy little staff image placed into the postbit_donation template....but what am I supposed to do with the getinfo_donation template? anything?

Illuvatar 07-22-2003 06:31 AM

Well...I guess you can just ignore everything that I posted earlier!! :ermm: :surprised: :lick:

Great hack mate!! Did exactly what I wanted it to do!!

I've now assigned the site logo (smaller version) to all my staff as we do not use 'Moderator, Admin, etc.) for titles and use a Silver ring to identify our site supporters.

[high]* Illuvatar clicks install and is very happy!!
[/high]

Here is an example of what I did with this hack.

I only had to hack the hack a little bit to modify how the question in the admin panel displays, and even assigned an 'alt' tag to the image. hehe

Tomorrow I'm gonna link it to the Forum Leaders page and be done with it! Thanks again!

In Fellowship,
Illu

Holidazed 07-22-2003 08:02 PM

is there a way to not only show who contributed but display what they contributed? Whether it was money, equipment, service, etc?? Have an option to show this in the ACP, in the user profile and/or in the Postbit??

Holidazed 07-22-2003 08:14 PM

pdatoon, the two templates are rather simple.

The "getinfo_donation" template contains 1 line that says "- Contributor".

The "postbit_donation" template contains 1 line that says "Contributor".

That's it.

Illuvatar 07-22-2003 08:29 PM

Well.....as I wanted to customise mine just a bit...my getinfo template has this
Quote:

- Staff
and my postbit one has
Quote:

<img src="/forums/vbulletin225/upload/images/sitestafflogo.jpg" width="21" height="22" alt="WotR Staff">
But as was said way earlier in the thread, you can put whatever you need to display into these templates.....the first one is what shows up in your users profile, and the second is actually what displays under the users post count.

Buczilla 07-23-2003 08:11 PM

Thanks so much for this hack!!!

Now, how could I setup a private forum for contributors? (without a usergroup) would I have to manually edit their access masks?


All times are GMT. The time now is 02:19 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.01287 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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