Quote:
Originally Posted by Spandauer
Hi everybody,
is it also possible to pass a simple URL to a script, which takes the variables from the URL and registers the new user? The problem is, that i dont have the possibility to send something else... the only thing i can do for my project is sending an URL... will it be possible?
|
Yuo would just have to pass the variable to the cURL or modified script above via the
_GET method . The cURL would then post this to the datamanager, Im just about to set this up myself, so Im no expert.
I will also have to use the modified method above since I cant install curl on my host.
I cant belive this isnt made easyier (for external sign ups)
Quote:
Originally Posted by djdrey
You don't have to use CURL to do it, but you have to include globals.php in your script root if you want to create the user from within a function or method.
You also have to remember to retrieve the global vbulletin variable to pass into the datamanager class.
I spent the last few hours working that out, hopefully it'll help someone else!
|
How can you have globals.php in your script root for a 2nd host/server/url, unless its coppied over, or the registration code is also in the root of forum.
Hmm, Ill look into this!