![]() |
Users choose Usergroup on reg...
I need a hack that lets users choose their usergroup on registration... but never change it after that.
|
bump
|
Run this query:
[sql]ALTER TABLE usergroup ADD userchoose smallint(6) NOT NULL DEFAULT '0'[/sql] Open admin/usergroup.php: Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
<tr> Create new template: modifyoptions_usergroup Code:
<option value="$thisisid" $selected> $thisisgroupname </option> Find: Code:
$stylecell Code:
$stylecell All should work;):) Satan |
Thanks so much... I've been needing this forever! Anyways... I got one little error when trying to register
Database error in vBulletin 2.3.0: Invalid SQL: INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,signature,adminemail,sh owemail,invisible,usertitle,joindate,cookieuser,da ysprune,lastvisit,lastactivity,usergroupid,timezon eoffset,emailnotification,receivepm,emailonpm,opti ons,birthday,maxposts,startofweek,ipaddress,pmpopu p,referrerid,nosessionhash,avatarid) VALUES (NULL,'seahawkin','d8927d2b97ba50b1f48f711177c62f5 a','sigpics@nfl-world.com','','0','http://','','','','','1','1','0','Rookie','1056681936','1 ','-1','1056681936','1056681936',''25',','0','0','1',' 0','15','0','-1','1','65.34.95.31','0','0','1','0') mysql error: You have an error in your SQL syntax near '25',','0','0','1','0','15','0','-1','1','65.34.95.31','0','0','1','0')' at line 1 mysql error number: 1064 Date: Thursday 26th of June 2003 07:45:36 PM Script: http://www.nfl-world.com/forums/forums/register.php Referer: http://www.nfl-world.com/forums/register.php Thanks again! |
also might help:
https://vborg.vbsupport.ru/showthrea...ht=register%2A |
Quote:
Satan |
PHP Code:
That? |
Hmm it all appears to be ok...
:confused: Satan |
Quote:
Thanks anyways :) |
Quote:
hm.... |
Quote:
PHP Code:
PHP Code:
'11', which is a string and 's in it clashes with query string.. |
Quote:
|
bump, need it to work.
Also, just wondering... if they select a group that has full forum access, will it eliminate the E-Mail Confirmation? Is there a way to get around this if so? If not, that's ok... this hack is more important to me :) |
did we ever figure this out???
|
Ill be using this hack soon aswell, Buczilla if your still around i think he means to replace the ' witht eh usergroup ID number, which is why he referenced the #11.
|
Does this work on 3.5.1 or .2?
|
Quote:
|
All times are GMT. The time now is 07:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|