View Full Version : Can I specify 'teams' with linked avatars?
ThePiston
06-05-2006, 06:39 PM
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
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 (https://vborg.vbsupport.ru/showthread.php?t=82992&highlight=user+group+on+registration) it might help you a bit
ThePiston
06-05-2006, 08:42 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"
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 (https://vborg.vbsupport.ru/showthread.php?t=82992&highlight=user+group+on+registration), 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
opps srry, i meant to tell you to go here (https://vborg.vbsupport.ru/showthread.php?t=82992&highlight=user+group+on+registration), 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
melefire
06-06-2006, 06:07 PM
Glad to be of some help, if you need any more help with that PM me, i have done somthing kinda like this on my first vB website.
Zachery
06-06-2006, 11:02 PM
Welcome :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.