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)

GeorgeofCS 12-22-2001 12:02 PM

Oh if someone could come up with some good icons for the different levels that would help cause I'll use this change on my site as well and some nice looking icons would definitely help :) I suck at graphics

bbaddons 12-22-2001 12:09 PM

I will attempt some, could you give some examplesof what you need? Like money signs, stars, or something of the like. Let me know and I will try, I am not the best in the world but I would surely like to help out if I can.

BTW: Thanks for going at this hack, I am sure Van will be as glad to see it as I will.

GeorgeofCS 12-22-2001 12:32 PM

Stars would be cool. I'm doing mine as a 4 level system bronze, silver, gold and platinum, although the colors really don't matter we can always change them :) I'm also adding a default option for contributors for those that don't want to show what level they are. I'm almost done here :)

bbaddons 12-22-2001 12:50 PM

I used the original vBulletin stars for this but I hope this will work. You will have to cut them up (I did not want to make 4 posts just for stars :)).

(they are transparent)

From what you are saying this is going to be a pretty nice hack! :)

GeorgeofCS 12-22-2001 06:16 PM

Ok the good news is I do have a fully operational donation system ready to roll.

The bad news is you gotta wait until possibly tomorrow morning for me to make instructions on how to install this. Cause I still don't know :p

bbaddons 12-22-2001 10:11 PM

Send it away, I can find a way to install it :)

Really though, that is fine, I can wait. Gives me something to do tomorrow :).

Jakeman 12-22-2001 10:45 PM

how do i uninstall the database mods that this hack installs? i want to uninstall it. the file and template mods are easy, but i don't know how to undo the db mods.

bbaddons 12-23-2001 07:36 AM

I would guess just delete what it installed (remove the tables it installed, or sections of the tables, ect).

Of course, please do not quote me on that because I do not want you to delete something that may mess up your DB. I have deleted things of that nature before like that (in phpMyAdmin) and nothing happened, but something could go wrong.

Jakeman 12-23-2001 08:13 AM

i've got phpmyadmin but i can't figure it out. :p

i figured out how to mark contributing members using just templates and custom user info fields so i'm gonna do that instead. ideally i want to remove the database mods though.

Hooper 12-23-2001 12:17 PM

Hi Mark,

Forgive me if someone has already mentioned this. Any chance that maybe there could be 3 levels of contributions? Possibly silver, bronze, and gold levels?

Very nice. You did a wonderful job on this.

Thanks Mark.

bbaddons 12-23-2001 10:46 PM

Hooper, read the last few posts on the second page, I think you will find your answer there :).

Hooper 12-24-2001 02:02 AM

No problem. Didn't take to much to get what I needed. Works super thanks for the hack. :)

Jakeman 12-24-2001 03:03 AM

nevermind... i got it uninstalled using this thingy i put together with some help (see my attachment)

i'm just doing what this hack does with templates now. i think it's better. just make a custom user info field that can only be changed in the admin cp. add post[fieldx] to your postbit with link tags around it. then edit profiles by putting "Contributor" into that field. it works the same. you can change the text for each user to whatever you want for making levels of contributors and stuff.

i'm working on a member listing using the custom fields that will only list members with a value in the donation field.

Lucky 01-10-2002 08:30 AM

2 thumbs up on this one!

Thanks MarkB

MarkB 01-10-2002 10:53 AM

Glad you like it :)

Good luck to everyone with their donations! I'm 2/3's of my way to a dedicated server for my site (aiming for 6 month's worth of fees to kick off;)).

X-Fan 01-28-2002 10:59 AM

[QUOTE]Originally posted by MarkB
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 ;)

kc5uyw 02-02-2002 05:46 PM

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.

PhotoGenie 02-02-2002 06:38 PM

I have it installed on 2.2.2 without any problems. I just followed the instructions.

kc5uyw 02-02-2002 07:12 PM

Then I'm missing something because from the install file there is a section I cannot find :(

PhotoGenie 02-02-2002 07:18 PM

what section is it?

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. ;)

MarkB 03-17-2002 08:48 PM

@wnkremer -- my contributions since December have helped pay for a dedicated server, which in turn has made my users happier (speed, reliability), which in turn increases donations :) Having the icon there definitely gives people a little push - some just can't wait to have it after donating!

xug 03-20-2002 08:34 PM

Hi MarkB

I love your Hack and have it running for about a month.

What I do miss is a listing that only I (admin panel) can see of all donators.

Could you create something for the AdminPanel?

MarkB 03-20-2002 09:00 PM

Sorry, that's beyond me at the moment -- this was only created as an easy way of marking someone as a contributor. I may try it later, but don't expect anything soon ;)

But, if anyone else wants a crack at it, feel free! :)

mbaskett 04-09-2002 11:37 PM

Well Mark,

Pretty impressive hack... at least I like it. I finally got it installed and heavily modified, to allow for different types of contributors...

If anyone is interested in seeing what I did to make it work you're more than welcome to my added changes, but basically, it involves adding a few more fields in the table, some extra code and variables, and now I've got the functionality of specifying whether the user is a financial, technical, or hardware contributor (with icons to boot) :D

oh yeah, and here's a link to a sample if anyone is interested:

http://www.torquecentral.com/vb225/s...&threadid=4281

BTW, I don't frequent here very often, so the best thing to do is to e-mail me (or you can always post on my board!)

MarkB 04-10-2002 01:02 AM

Can't see your forum without registering, unfortunately (which I won't do - I've joined too many forums already!;)). Can you post a screengrab of your changes?

xug 04-10-2002 08:27 AM

Cool Hack, Please post here, i was looking for something similar.!

mbaskett 04-10-2002 05:39 PM

[QUOTE]Originally posted by MarkB
Can't see your forum without registering, unfortunately (which I won't do - I've joined too many forums already!;)). Can you post a screengrab of your changes?

mbaskett 04-10-2002 05:40 PM

here's the admin CP for a user....

mbaskett 04-10-2002 05:41 PM

I'm also adding more to this as we have some more ways to be a supporting member..... but it's pretty similar.

mbaskett 04-10-2002 06:45 PM

[QUOTE]Originally posted by MarkB
Can't see your forum without registering, unfortunately (which I won't do - I've joined too many forums already!;)). Can you post a screengrab of your changes?


All times are GMT. The time now is 04:20 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.01371 seconds
  • Memory Usage 1,811KB
  • 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
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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