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)

MarkB 10-28-2003 07:11 AM

This is what I'm using:

- create a new usergroup
- note the usergroup number
- For each user, set this group as a subgroup (alas, for now it can be the only subgroup, but I believe the vB team will be adding some conditional template options to allow for more than one... anyway, for now leave it as the only subgroup for this to work)
- Place the following where you want their 'contributing member' badge/label/whatever to show up:

(I have mine in postbit_userinfo)

Code:

<if condition="$post['membergroupids'] == 20">
<br />
<a href="/forum/subscriptions.php"><img src="images/premium_member.gif" border="0" alt="Become a Premium Member!"></a>
<else />&nbsp;</if>

'20' is the premium/contributing member ID, natch.

You'll substitute the above for your own HTML, of course :)

Mark

gmarik 11-22-2003 01:08 PM

Never heard of a subgroup ever, still fine.

bada_bing 02-12-2004 06:36 PM

Ok so I added this hack and everything seems to of went fine but I dont like where the text is located.It placed the text above the member name where the post date goes. Can someone explain how to move the text under the avator? Also I want to add a small image like a trophy just under or above the text, how do I do that? I am not a coder so please be specific.

Thanks

bada_bing 02-16-2004 12:45 PM

Can someone help me with this?

MarkB 02-16-2004 12:51 PM

Simply edit the HTML in the postbit template to change placement, or icon, or whatever.

Skyline_GT 03-08-2004 12:41 AM

what you need to do so you can add different contributes?

Godzilla MR2 03-23-2004 10:24 PM

I am really interested in knowing how to pull the list of users who have contributed from the database and list them on a separate page in the admin section. I would just need the user name.
Any idea how this can be done?

Bill Strong

justsomedude 03-24-2004 10:30 AM

[QUOTE]I am really interested in knowing how to pull the list of users who have contributed from the database and list them on a separate page in the admin section. I would just need the user name.

bigdaddy04 04-10-2004 07:25 PM

hmm, maybe something like this but mark a user as a contributor if they have 5+ referrals ;)

Illuvatar 04-10-2004 11:59 PM

Will this hack work in VB 3.0 Gold????

I use the Ranks to award our subscribers with a pretty silver ring, but I used this previously to put an image under my staff's post bits. Sure would like to use it again. :p

Infopro 04-11-2004 12:23 PM

Yep it does. I thought there was a newer release of it though. (just noticed the thread I was in)

sc4r3d 04-12-2004 04:42 PM

can you give me the link to the newer hack.

Thanks,
Sc4r3d

Ozster 05-10-2004 07:45 PM

will it work with 3.0.1?

apfparadise 01-07-2005 05:16 AM

Has anyone tested this w/3.0x? I am definitely looking for one, the version w/bronze, silver, gold, platinum Contributor awards, but need it for 3.04.

Anyone knows if there is a difference? I dont want to do database quarries until I know it should work.

Infopro 01-07-2005 12:59 PM

You can do this via member groups now there's no need for this hack. Create an additional usergroup and give that group an image in the boxes provided for your code. Upload an image and add this new group to a user. The image will show up by the avatar.

Someone contributes, add the group to them. (so now they are in two groups. normal member whatever and contributor group)

VB provides great new tools, understanding what you can do with them takes some time to see though.
IMO of course. ;)

apfparadise 01-07-2005 08:10 PM

thanks, you are right that is easy

Illuvatar 01-08-2005 12:19 AM

You can also use the existing Rank structure that is in VB as well. This provides an additional indicator for your subscribers/contributors and allows the avatars to stand alone.

We currently have both a Gold and a Silver level that we offer and this has worked out great as we also grant our subscribers custom titles and avatars.

It's really easy to do as well! You can just use an existing usergroup like registered to create a new one like ummm Silver Subscriber. Then you create a rank, upload a special image for that rank (for us it's silver and gold rings), and attach that rank to your new custom usergroup and you're done!

Oh oh oh...if you are using the built in paid subscription program for your contributors, you can even set it up to automatically place folks into your custom usergroups when they sign up! Very slick! :D

If you'd like to see ours in action just go here.

We have even created ranks that have multiple images so that we can have someone who has been nominated for our Member of the Month award and is also a subscriber. I'd highly recommend using the rank system as there is so much you can do with the custom user groups like special forum accesses, etc.

Have fun!:p

apfparadise 01-08-2005 01:44 AM

That is what I am doing. I created the group (4 of them, bronze, silver, gold plat) and made the images. Now I made it as a secondary group for a user and chose it as the Display group so that the rank image shows up.

here is my problem: Let's say the user is also a Moderator, and I have previously chosen to show his name in "bold" and "green" and it showed that way fine, after I added him to the Platnum contributors, and made that the Display one, the name changed to regular style, not bold and green. I could make the Plat. Contriubutor a custom color, but then I would lose the functionality of haveing MODs different color, so that people could see them as such.

Here is the post so that you can see, users paradise (me) and Jay luto (both admins) were supposed to be bold and orange but now show regular:

Thread with Contributor Rank Images

RoryF 06-04-2005 06:14 AM

I'm sorry for bringing up this old thread, but i get this error in user.php when this is all done.

Database error in vBulletin Control Panel 2.3.7:

Invalid SQL: SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar
FROM user
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
WHERE user.userid=1
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascus

mysql error number: 1064

Date: Saturday 04th of June 2005 03:11:21 AM
Script: http://www.scrubs-boards.com/admin/u...=edit&userid=1
Referer: http://www.scrubs-boards.com/admin/i...t%26userid%3D1

Destroyed Soul 07-14-2005 02:46 PM

Did you run the install file? I got that first too.... Also, Mine doesnt show up... AT ALL.... why?

EDIT- I fixed it sorry


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.01304 seconds
  • Memory Usage 1,759KB
  • 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)bbcode_code_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
  • (20)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