The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HOW TO: Retrieve Logout Hash Universally in 3.7.0
Universal Logout Hash for 3.7.0
The Problem: For different coders, vBulletin features a system that can be integrated into the rest of the website with different functions that allow for easy access masks on the website. It's good web design to allow a user to logout on any page and not force them to go to the forum beforehand. Querying the database from any page should provide an easy fix, but you need the code constructed right for the hash to work. The Solution: I did a search and couldn't find anything on this for the new script, so I dug through the files and saw it's constructed differently. Here is the old and new codes below. Pre-3.7.0: Code:
$logouthash = md5($userid . $salt . COOKIE_SALT); Code:
$logouthash = sha1($userid . sha1($salt) . sha1(COOKIE_SALT)); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|