The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
1 problem using alternative Registration
I have a site and a forum, I would like to allow users to register at the site, and be automatically registered for the forum
As a matter of simplicity I would like to keep the databases seperate (they are both fairly large) Right now here is my sql statement to register a new user PHP Code:
Unfortunately (for some strange reason) when I add the new user, all their posts are listed as guest(it says their name, but lists them as guest, on the member list I can visit their profile and it shows them as a member). I can only think that it is because I forgot to add something to that query? Sorry, I am decent at php, but by no means an expert Any Help is greatly appreciated. Thanks Jstep |
#2
|
||||
|
||||
There is more to just adding a row in the user table in registering a user in vBulletin. Use the datamanager, it will handle everything for you (once you feed it data).
|
#3
|
|||
|
|||
is there anywhere I can find a description of the datamanager?
and where is it in the code? thanks for your help edit: I reckon this should do it? https://vborg.vbsupport.ru/showthrea...ht=datamanager |
#4
|
||||
|
||||
<a href="http://www.vbulletin.com/docs/html/data_managers" target="_blank">Data Managers</a>
|
#5
|
|||
|
|||
PHP Code:
Unable to add cookies, header already sent. File: /usr/home/civclash/public_html/register.php Line: 10 Line 10=<style type="text/css" media="all"> |
#6
|
|||
|
|||
You can't output anything before including vBulletin.
|
#7
|
|||
|
|||
i fixed this by having a
PHP Code:
Now if I can just make it so you can't just add in anything in those $_GET variables to create a new account |
#8
|
|||
|
|||
you could echo out a form with hidden fields, and then do form.submit() at the end, it will forward the form with POST so nothing is exposed
|
#9
|
||||
|
||||
Using form.submit() will not work if Javascript is disabled.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|