vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Default Usergroup upon Registration (https://vborg.vbsupport.ru/showthread.php?t=148366)

harmor19 05-28-2007 10:00 PM

Default Usergroup upon Registration
 
If you have installed version 1.0.0 please read the "readme.txt" for instructions on how to remove the file edits.
================================================== ==============


I've read some threads asking "How do I have newly registered users inserted into another usergroup besides the current default one"?
I created this simple hack to allow anyone to change the default usergroup to whichever one they choose.

How to install
Download the product XML. Go into to your ACP --> Plugins & Products --> Manage Products click "[Add/Import Product]". Browse to the product you have just downloaded and click "Import".


To change the default usergroup go into your ACP --> vBulletin Options --> User Registration Options. It will be at the bottom titled "Default Usergroup".

harmor19 05-29-2007 09:19 AM

Sorry about the file edit but I didn't see any other way.

Adam21 05-29-2007 09:23 AM

Great,this will come in useful.Thanks for the effort.:up:

*Clicks 1st install

dope15gd 05-29-2007 07:39 PM

thanks for the efforts. I'll check this out sometime in the next few days

FreshFroot 05-29-2007 10:04 PM

I usually don't resort to file changes. However, this is a great hack for my future plans.

Thanks.

harmor19 05-29-2007 10:16 PM

I am redoing the hack so it doesn't need file edits.

harmor19 05-29-2007 10:36 PM

I have recoded this hack to use the plugin system. You do not have to edit the PHP file anymore!!

Bounce 05-30-2007 12:44 AM

Neat Idea...

I'm thinking of using this in conjusction with https://vborg.vbsupport.ru/showthread.php?t=135771

I'm thinking of a "Newbies" usergroup where new users would go until they reach a certain amount of posts then they would move up a group ...

How would I go about this ......

JohnSilver 05-30-2007 06:44 AM

hmm..
so strange..
my search haven't found any of this codes

Code:

else if ($vbulletin->options['defaultusergroup'])
{
        $newusergroupid = $vbulletin->options['defaultusergroup'];
}

im using vb3.6.2 standard version

JohnSilver 05-30-2007 06:47 AM

Quote:

Originally Posted by harmor19 (Post 1257188)
I have recoded this hack to use the plugin system. You do not have to edit the PHP file anymore!!

ohh i see...thx..


All times are GMT. The time now is 10:51 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.01134 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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