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


All times are GMT. The time now is 07:26 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.01218 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)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