The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Users choose Usergroup on reg...
I need a hack that lets users choose their usergroup on registration... but never change it after that.
|
#2
|
|||
|
|||
bump
|
#3
|
||||
|
||||
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> <td bgcolor="{ firstaltcolor }"><normalfont><b>Usergroup:</b><br> <smallfont>You make pick a usergroup from the list to belong to.</smallfont></normalfont></td> <td bgcolor="{ firstaltcolor }"><smallfont><select name="newusergroup"> $usergrouplist </select></smallfont></td> Create new template: modifyoptions_usergroup Code:
<option value="$thisisid" $selected> $thisisgroupname </option> Find: Code:
$stylecell Code:
$stylecell $groupcell All should work Satan |
#4
|
|||
|
|||
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! |
#5
|
||||
|
||||
also might help:
https://vborg.vbsupport.ru/showthrea...ht=register%2A |
#6
|
||||
|
||||
Quote:
Satan |
#7
|
|||
|
|||
PHP Code:
That? |
#8
|
||||
|
||||
Hmm it all appears to be ok...
Satan |
#9
|
|||
|
|||
Quote:
Thanks anyways |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|