vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   Can I specify 'teams' with linked avatars? (https://vborg.vbsupport.ru/showthread.php?t=117723)

ThePiston 06-05-2006 06:39 PM

Can I specify 'teams' with linked avatars?
 
Let me explain:

I would like to have a forum that pits 2 groups against each other. So, when you register, you have to pick a team/group (example: Red or BLUE) and then your avatar is linked to these groups so everyone will know what team you are on in the forums.

I've heard there is a plugin that forces registrants to choose a group which would be nice. Can you link avatars to certain groups?

Any of this possible?

Zachery 06-05-2006 07:26 PM

Sure, its not hard a template conditional could do the job.

ThePiston 06-05-2006 07:28 PM

Quote:

Originally Posted by Zachery
Sure, its not hard a template conditional could do the job.

I'm a complete noob with vbulletin but I'm thinking about buying a license. I really don't need it unless I can do what I'm asking... how hard would it be?

Zachery 06-05-2006 07:33 PM

You edit the postbit template and do

<if condition="$post[usergroupid] == redteamidnumber"> img code for the red team avatar</if>
<if condition="$post[usergroupid] == blueteamidnumber"> img code for the blue team avatar</if>

Takes about 30 seconds.

ThePiston 06-05-2006 07:50 PM

so, what about forcing the registrants to choose a Group? Is that a formal plugin?

melefire 06-05-2006 08:19 PM

OK, first in the admincp go to
User Profile Fields -> Add New User Profile Field
then select single selection menu
then fill in options
On Field Required select YES
im still looking for somthing but now it will make it so the user cannot post untill the edit that option and choose a "team"
[EDIT]
*Then go here to this hack it might help you a bit

ThePiston 06-05-2006 08:42 PM

Quote:

Originally Posted by melefire
OK, first in the admincp go to
User Profile Fields -> Add New User Profile Field
then select single selection menu
then fill in options
On Field Required select YES
im still looking for somthing but now it will make it so the user cannot post untill the edit that option and choose a "team"

That will create a field, but that field doesn't do anything. I mean, I can create a field called color with options: Red or Blue, but that doesn't put the members into a certain group.

melefire 06-05-2006 08:50 PM

opps srry, i meant to tell you to go here, this hack will do it for you

srry again

Marco van Herwaarden 06-06-2006 06:24 AM

@ThePiston
Thank you for your interest in vBulletin.

In our Pre-Sales forum we can only give generic answer, if something is posible for example.

Detailed answers with instructions can only be given once you have bought a license.

Hope you can understand this.

ThePiston 06-06-2006 12:54 PM

Quote:

Originally Posted by melefire
opps srry, i meant to tell you to go here, this hack will do it for you

srry again

Thanks melefire - i bought a license so I'll get some good help now. i'm pretty proficient around code though


All times are GMT. The time now is 09:28 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.02534 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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