vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I enabling change of joinable usergroup, so users can't switch? (https://vborg.vbsupport.ru/showthread.php?t=219272)

Scubado 07-23-2009 03:12 PM

How can I enabling change of joinable usergroup, so users can't switch?
 
Besides of the usual usergroup (registered users), lets call them members, I've made four specialised usergroups (A,B,C and D) Members can join one of them - our members can only belong to one of them- , which give them access to their own groupforums. So far so good, no problem. Notice, we don't know to wich group they belong, therfore they have to make the 'choice' themself.

But now I want the users to chooce for only one usergroup -instead for all- and stick to their group, enabling to choose for another usergroup once they have made their choice (request) and Only administrator can change it.

In the configuration I made now, they can send joinreguest for all groups and request to change of group.

In adition I would like new members to choose on registration for their specific usergroup.

Does someone know a way to arrange this?

Scubado 08-02-2009 07:20 PM

Nobody?

Lynne 08-02-2009 07:36 PM

You might be able to write a plugin that checks to see if they have already selected a secondary group and if so, don't show the list of joinable usergroups. Take a look at the usercp.php page and find the code for showing joinable usergroups and you can see the variables used there to put into your plugin.

Scubado 08-04-2009 04:04 PM

Thanx Lynne,

I'm not able to write pluginns...
But I found another option by changing the groups into nonpublic-joinable groups. Installed the product Easy Forms. Made special form for joining usergroup. The admin or moderator only has to change the profile of the user in admincp.


All times are GMT. The time now is 03:07 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.00903 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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