Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Random Usergroup on Registration Details »»
Random Usergroup on Registration
Version: 1.02, by dstruct2k dstruct2k is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 04-12-2009 Last Update: 04-12-2009 Installs: 17
Uses Plugins
Re-useable Code  
No support by the author.

This is a remake of one of my earlier mods, found here.

The original did not support the plugin system, and could not deal with email activation. Now both of these issues have been addressed!

What does this addon do?
This addon will allow admins to set a list of usergroups by usergroupid for new members to be randomly sorted into. You still have to create the usergroups yourself, this addon just sorts people into them.

Why do I want this addon?
If you have any reason to split your members into groups (the first example that comes to mind would be a Harry Potter website) and would like people to be sorted automatically.

Can the system be disabled?
Just disable the addon from your admincp.

Help! I can't find my usergroupid's/this addon doesn't work/I think it ate my cat!
Post your questions here! I'll be glad to assist in any way. Oh, and good luck with the cat.


Changelog
1.0 - Initial release.


1.01 - Bug Fix Release
  • Fixed issue where "random" was sometimes selecting an invalid usergroup.
  • Corrected install file to create a setting under Registration Options in vBulletin where the usergroup list could be maintained.
1.02 - Bug Fix Release
  • Corrected errors in setting validation - Please follow the example when entering your settings.

Download Now

File Type: xml product-fpx_rndm_usrgrp.xml (3.6 KB, 112 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-13-2009, 04:57 PM
Wseries Wseries is offline
 
Join Date: May 2008
Location: Sydney, Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, does anyone know if this mod plays well with the vMail mod?
Reply With Quote
  #13  
Old 04-13-2009, 04:58 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod will make new users be assigned into randomized groups. I do plan on releasing a script that will assign existing users to new usergroups, but that will probably be a couple days before it's ready. I want to get any bugs worked out of this script before I make any additions to it.
Reply With Quote
  #14  
Old 04-13-2009, 05:00 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wseries View Post
Also, does anyone know if this mod plays well with the vMail mod?
It should, assuming vMail does its work prior to allowing users to actually be added. This addon would happen 1 step later than vMail.
Reply With Quote
  #15  
Old 04-13-2009, 05:15 PM
Tobes Tobes is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fabulously!

One question -- it's not automatically giving users the user title, as defined by the usergroup. Is there anyway I can fix that?
Reply With Quote
  #16  
Old 04-13-2009, 05:20 PM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tobes View Post
One question -- it's not automatically giving users the user title, as defined by the usergroup. Is there anyway I can fix that?
I thought I handled that... If you wait 15-30 minutes does the user title get changed?
Reply With Quote
  #17  
Old 04-13-2009, 05:20 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is designed to update their user title either when your site's cron script runs to update usertitles, or if email-verification is enabled, when they verify their email.

You may just have to wait until the cron script runs (normally once per hour on the 25th minute) or you can manually run the cron script from the Scheduled Task Manager - you want to run the User Promotions task.
Reply With Quote
  #18  
Old 04-13-2009, 05:44 PM
Tobes Tobes is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All fixed. Thanks so much! This works wonderfully.
Reply With Quote
  #19  
Old 04-13-2009, 06:02 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Please update to 1.02 to correct issues found with the settings.</i>
Reply With Quote
  #20  
Old 04-23-2009, 06:46 PM
murdoc murdoc is offline
 
Join Date: Jan 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi i would like to know would this work if i have a couple of user groups that would expose certain forums
EG

i have a steam community, and then i have the wow community they are very big in all aspects and giving members access to all is a problem as the forums becomes huge for new members

so this mod would be able to split them ?

so they can choose what they like and it would open that forum up to them ?
Reply With Quote
  #21  
Old 04-23-2009, 07:35 PM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by murdoc View Post
so this mod would be able to split them ?

so they can choose what they like and it would open that forum up to them ?
This mod randomly assigns users, they do not get a choice.


If you want your users to have a choice, use this modification instead:
https://vborg.vbsupport.ru/showthread.php?t=186076

As for which community they have access to, you'll just have to fuss with the usergroup settings.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04470 seconds
  • Memory Usage 2,328KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete