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)

PhotoGenie 02-02-2002 07:42 PM

[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.

kc5uyw 02-03-2002 07:05 AM

I'll take a look at it again.

importmix 02-06-2002 11:49 AM

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!

Gholsie 02-08-2002 04:34 AM

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]
:?:

Gholsie 02-08-2002 04:45 AM

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:

MarkB 02-08-2002 05:34 AM

Glad it works for you :)

Gholsie 02-08-2002 05:43 AM

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:

Destee 02-26-2002 10:32 PM

Great Work! Installed Perfectly! :)

wnkremer 03-08-2002 09:44 PM

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

Warlord 03-09-2002 10:42 PM

installed, no problems. Thanks, nice hack. ;)


All times are GMT. The time now is 10:54 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.01282 seconds
  • Memory Usage 1,736KB
  • 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
  • (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