vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Register and go to a specific usergroup on select a option (https://vborg.vbsupport.ru/showthread.php?t=184651)

ry215 07-22-2008 09:47 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=185750" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=185750</a>

Kanustep 07-22-2008 09:58 PM

Thank you ry215!

RLShare 07-22-2008 10:50 PM

1 Attachment(s)
Quote:

Originally Posted by ry215 (Post 1581815)

1. That is based off of the what I posted earlier in this thread like I said in that thread when he posted version 1.
2. It will not allow email verification to work.


newwayforum,
I attached the working copy of the version that allows for email verification..

Import the product then go to
AdminCP->Vbulletin Options->Vbulletin Options->PB Usergroup Choice on Register

And set up the options to what you want.


A couple notes about this version...
1. It will add 1 query to showing the registration page
2. If email verification is on it will ad another query to the processing of a registration.

newwayforum 07-22-2008 11:47 PM

I uninstalled the first plugin and then installed this, but left the style edit seen above in place. Doing that led to a database error on registration attempt just after the rules, so I probably did something wrong in the process, didn't I? Should I remove the changes made to the style sheet?

Thanks again!

RLShare 07-23-2008 01:45 AM

Yes remove the code you added to the template, but that didn't have anything to do with the error.
Sorry I just looked through it again and saw the problem. I forgot to include TABLE_PREFIX in one of the calls to the database. I attached the new version in replace of the other one 2 posts up.

newwayforum 07-23-2008 03:26 AM

Awesome, it works! Thanks again.

Savage702 09-17-2008 01:53 PM

Can this be made to work for secondary usergroups too?


All times are GMT. The time now is 08:06 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.01282 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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