Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by MarkB MarkB is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-14-2001 Last Update: Never Installs: 75
 
No support by the author.

Quite simply, if you have a donation system on your forums, you may wish to have a way of having donating members stand out from the freeloaders

This hack will place text/icon/whatever you choose both within their profile and on their posts, in a spot of your choosing.

Administrators set whether a user is a contributor within the Admin control panel.

Please remember to backup your database first!!

This is a very simple hack including just a couple of file and template edits, and two new templates. The new templates and database changes are made by the included install file.

See this thread for screenshots

If there are any problems, please post below...

Mark

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-02-2002, 07:42 PM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by kc5uyw
Anyone have a possible update for this one to move to 2.2.2?

I get just about everything in, however the functions.php has some major changes and I cannot get some of the code in because of if.
Reply With Quote
  #63  
Old 02-03-2002, 07:05 AM
kc5uyw's Avatar
kc5uyw kc5uyw is offline
 
Join Date: Jan 2002
Location: Dallas
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll take a look at it again.
Reply With Quote
  #64  
Old 02-06-2002, 11:49 AM
importmix's Avatar
importmix importmix is offline
 
Join Date: Dec 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get an error:

Warning: Cannot add header information - headers already sent....

when i add this line to my functions.php

if ($post[donator]!="" and $post[donator]!="0") {
eval("\$post[donation] = \"".gettemplate("postbit_donation")."\";");
} else {
$post[donation]="";
}

I am clicking on the little white arrow that goes to the shortcut to the newest post. Its on the index page and in the topic area too. i am using vb 2.2.1

It seems to be working in the profile area of a member. Just not in the post bit area....well because I removed the above code from functions.php until someone can tell me what's going on.

UPDATE! Nevermind. After trying all last night and thinking about it all day....cuz I really like this hack. I tried one for time and it worked. All I can think....maybe the text editor I was using messed something up. I have no Idea!
Reply With Quote
  #65  
Old 02-08-2002, 04:34 AM
Gholsie Gholsie is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MarkB, can you take a quick look at my site? Check out the News forum and you'll be able to see my posts in there (user = Mike).

Right now the Contributor text shows up as a bar across the top of my post. How can I get it to show up underneath the username next to the location and with an icon?

http://www.240z.org/forums/showthrea...&threadid=1520

[m]
:?:
Reply With Quote
  #66  
Old 02-08-2002, 04:45 AM
Gholsie Gholsie is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind...

Your instructions are a little different as compared to my templates for 2.2.1. I had put the postbit entry after my </smallfont><br> statement!!

After a closer examination, I managed to make it work right!!

Your instructions:

## Find:

Posts: $post[posts]<br>

## AFTER, ADD THIS:

$post[donation]


My template:

Posts: $post[posts]</smallfont></td>

I added your statement after that and it didn't look quite right.

So, here's my fix:

Posts: $post[posts]<br>
$post[donation]</smallfont></td>

And it looks GREAT!! Thanks.

:up:
Reply With Quote
  #67  
Old 02-08-2002, 05:34 AM
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad it works for you
Reply With Quote
  #68  
Old 02-08-2002, 05:43 AM
Gholsie Gholsie is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's actually quite flexible. I've been moving the title around within my template and have come up with a pretty good looking label called "Supporting Member"....

Take a look.

Great hack. Very easy and flexible. You do good work. :up:
Reply With Quote
  #69  
Old 02-26-2002, 10:32 PM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Work! Installed Perfectly!
Reply With Quote
  #70  
Old 03-08-2002, 09:44 PM
wnkremer wnkremer is offline
 
Join Date: Nov 2001
Location: Northern, VA, USA
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I normally just lurk and benefit from all of your expertise (shame on me!), but I had to post to say thanks to Mark for this hack. It's amazing what a little peer pressure in the form of a supporter icon can do!

I added this hack after I lost my main corporate sponsor due to budget cuts. I have 2000+ members, and about 15% have contributed in the two months since I used this hack to add a supporter icon. Considering that 2000+ includes an unusually large influx of new members in the past month due to defections from another forum, I'm pleased with that percentage, and I hope the newbies will like what they see enough to contribute, too.

I'm curious--how are all of you doing on your contributions? Has the supporter designation dramatically improved your contribution rate?

Anyway, I'm very thankful for this hack,

Wendy
Reply With Quote
  #71  
Old 03-09-2002, 10:42 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, no problems. Thanks, nice hack.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06104 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete