The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
I would love to see a mod that allowed this. I'd be willing to pay well for it
|
#22
|
||||
|
||||
I would pay as well, but sadly it appears that you can only do this without editing virtually every vB file if you use... IPB
Go figure |
#23
|
||||
|
||||
Quote:
rarrrr. Zombie thread! Probably too late to help you, but hopefully others will find it while searching. I was having this exact same problem because .net's inbuilt FormsAuthPasswordFormat doesn't work the same as php. The following crappy snippet I came up with works for me with 3.6.0 and salted passwords. Code:
ASCIIEncoding ae = new ASCIIEncoding(); MD5 md5 = new MD5CryptoServiceProvider(); byte[] data = new byte[ae.GetByteCount(str)]; byte[] result = md5.ComputeHash(ae.GetBytes(str)); password = ""; for (int i=0; i<result.Length;i++) { password += (Uri.HexEscape(Convert.ToChar(result[i]))).Remove(0,1).ToLower(); } |
#24
|
||||
|
||||
Hi folks. I gave up on the nay-sayers and did my own project. Requires no modification of VB pages, just a plugin.
http://nowonder.com http://macosx.com Share the same forum, you can login to one site, and if you use the top right link to the other site or any link that links directly to the other site without a redirect will keep your same session active. This works on the same server, can be same or different ips, different servers and in my scenario it shares the same DB. No javascript used or issuing illegal cookies or quick/stupid redirects. We provide high level forum integration between sites but comes at a fee. If you are interested in this, please IM me with your information and requirements. Everyone has unique needs so we customize solutions for your needs and let you know if its possible. (we don't listen to everyone else that say it isn't) Scott |
#25
|
|||
|
|||
Quote:
Then I found your post. Finally I found the answer and was able to set the bbuserid and bbpassword cookies exactly the same as the forum sets it. But it still doesnt work. I log in to the main site, the bbuserid and bbpassword cookies are set correctly, but when I go on the forum I'm still not logged in. Edit: Seems like this is because the sessionhash cookie isn't correct set... Do you have the recipe for that cookie as well and how that cookie is set up? |
#26
|
|||
|
|||
Like the last poster, I am able to authenticate the user fine and set the cookies on the forum server, but for some reason when I got to my forum homepage and hit refresh, the user is not logged in.
I have tried various methods as well but no luck. -I've tried using cURL and sending my user info to login.php -I've tried running this function after I set my cookies too: process_new_login($vbulletin->GPC['logintype'], $vbulletin->GPC['cookieuser'], $vbulletin->GPC['cssprefs']); but no luck Any help? I'm using the lastest version of VB. Basically the user session is not created. Thanks. |
#27
|
|||
|
|||
This works for me to log in a user. I'm using vBulletin 3.6.8. I pulled the following from a larger module; hopefully I got everything necessary:
PHP Code:
I have a much more complete version of the code above, to create, delete, log on, log off, and modify users in this article. -A |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|