vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Additional Usergroup based on profile field (https://vborg.vbsupport.ru/showthread.php?t=82555)

Andreas 06-05-2005 10:00 PM

Additional Usergroup based on profile field
 
Description
This hack allows you to assign an additional usergroup when a new user signs up
on your board, based on the selection made for a custom profile field
(Single Selection Menu or Single Selection Radio Buttons).
You can use this to set different permissions basend on gender for example.

Details
Files to modify: 1
Templates to modify: 0
Queries to run: 0
Difficulty: Advanced

jzewatsky 06-06-2005 12:55 AM

I have been waiting for this for quite some time. Thank you so very much. Will have to install very soon.

One question, does this assign a secondary usergroup or a primary?

Thanks again for sharing!

dsboyce8624 06-06-2005 12:56 AM

I'm not sure exactly how I will use it, but I'm beginning to formulate an evil plan.

:bandit:

Andreas 06-06-2005 01:02 AM

@jzewatsky
It assigns an additional (eg. secondary) usergroup.
Changing the primary usergroup would require quite a bit more work.

Boofo 06-06-2005 01:59 AM

Does this have a default in case they don't pick an option upon registering?

Andreas 06-06-2005 02:20 AM

Default = None :)

Bad Bunny 06-06-2005 11:25 AM

Quote:

Originally Posted by Boofo
Does this have a default in case they don't pick an option upon registering?

I would make it mandatory if using this hack. The field that is.

Aurous 06-07-2005 08:38 AM

I havent looked at the code, but it only works on signup? What if the user unchecks the option in USER/CP, will he/she be removed from the secondary group? This hack has so much usage. Thanks a lot.

Andreas 06-07-2005 02:32 PM

If the secondary group is public they can leave it through User CP, yes.

HellRazor 06-08-2005 02:05 AM

If the secondary usergroup assigned by the script is a moderated one, will it treat it as a join request?

Andreas 06-08-2005 02:10 AM

No, it will just join the group.
But this functionality (create join request if public moderated) could be easily added :)

gilbert 06-27-2005 03:54 PM

can you make this so that it chages the primary usergroup? I am trying to filter underage users based on their birthdate entered.

sensimilla 07-06-2005 06:06 PM

outstanding this should came by default with vbulletin, thanks

Andreas 07-06-2005 06:35 PM

Quote:

Originally Posted by gilbert
can you make this so that it chages the primary usergroup? I am trying to filter underage users based on their birthdate entered.

Amykhar has relases a Plugin for vBulletin 3.5 which does that :)

paulfletcher 03-06-2006 01:59 AM

How would this hack be modified if I wanted to send a user into a usergroup based upon a text field, instead of radio options and menu options.

Thanks,
Paul

paulfletcher 04-01-2006 06:11 PM

Nevermind, got it working... Once the users sign up at www.xyztraining.com with the correct activation code, they are promoted to the correct group.

Thanks,
Paul


All times are GMT. The time now is 01:36 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.00964 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete