The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
SOLUTION - VBulletin 4 External, Manual Member Signup/Registration/Login + Cookies
This is a solution to this problem, NOT a question.
Apparently all the serious forum posters here don't understand something - there is no VB4 solution to this. I've read dozens of posts with no replies, few replies, and simply lazy replies, with people telling the poster to search through the articles and never posting links... so a big F-U to those guys. I know the whole vbDatabaseManager thing would make this cleaner, but this is to authenticate a VB4 login from another, external form, which is unrelated to vbulletin (except for the member's accounts that are linked). I don't like the idea of vbulletin handling my errors, redirects, etc. so I made a manual / "forced" way to do this. Anyways, here is my solution - note the following: the table prefix is "vb_", cookie prefix is "bb_", COOKIE_SALT = "4j2klj5lk2jklj23mlk6j2klj4klj2", and the forum is installed in "/inside/forums/". You can find the COOKIE_SALT on line 34 of /includes/functions.php PHP Code:
PHP Code:
Just make sure to connect to the database before this code and it should work great. Any problems, shoot me a message |
#2
|
|||
|
|||
Can this work with ASP.net??
|
#3
|
||||
|
||||
Wow, this is great man.
I will use this... but i don't understand at all how to use it... my doubt is, how to connect that code to the form that i make? I need only a login... so my form have 2 input text (username and password), 1 checkbox (remember me thing) and 1 submit button. So, how to use this code to get that data? Thanks and sry for my english. |
#4
|
|||
|
|||
It seems that this is confirmation (that they are logged in) script.
Am I right in thinking that I'd need if (all this code here checks out) { they are logged in, do whatever } else { show them a "too bad" message and give them a form to fill out } |
#5
|
|||
|
|||
Been searching for a way to do this for a couple days now and this is the only thing I see that makes sense apart from all the other out dated plugins. Would be nice though to have some detail instructions.
Can this be used on an external page that does not share the same login as vBulletin. I hate wordpress login/user account so its always on disable for me. I just need to have vBulletin login on the front of the site that is powered by wordpress. Thanks in advance for any response |
#6
|
||||
|
||||
Thanks for this.
I have also spent many, many hours searching for a way to do this and have also come up against a brick wall in this forum.... This is the closest thing I've seen. Really appreciate the work you have done, and shared, for free, but wondering if you could give any pointers on how to bring other things into non-vbulletin pages, such as Avatars, recent posts, etc? Many thanks |
#7
|
|||
|
|||
Watching out how this feature "solution" evolves...
|
#8
|
|||
|
|||
Code for visual basic by any chance?
|
#9
|
|||
|
|||
Hi, thanks for this awesome tutotial. I implemented it on my site and it is working well.
Now I have another problem, after login, vbuletin is in an iframe. If I do not surf through forum, and surf other parts of my site, user keeps logged on site, but not in vbulletin. I tried manikg some dummy image, file session_image.php to refresh session every time user visits other parts of the site. PHP Code:
|
#10
|
|||
|
|||
Outstanding work. I was able to implement a crazy SSO system based on the strategy you've outlined here. I'll post my version with extended error handling and allowing the userid to autoincrement in a week or two after some testing.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|