![]() |
'Clean' sessionhash, a 'backport' from vB 3
Hack: Clean sessionhash
By: Anime-loo With this hack installed you no longer have the ugly 's=&' in forum url's when the sessionhash is needed. This is made to clone the way vb 3 handles the sessionhash. Basicly, by default when a user is not using cookies on your forum they see something like this: Quote:
Quote:
Quote:
vB 3 dose this stock, that is why backport is in the thread title ;) How to install: -Step 1: Log into your admin cp, and go to the search area for templates. In the 'Search string' put this: s=$session[sessionhash]& In the 'Replace string' put this: $session[sessionhash] Click the Find/Replace button, this will update your templates for the hack. - Step 2: Apply the changes to sessions.php, included in the attachment below. |
I ment to post this in the beta hacks forum, when a mod see's this thread please move it there. Thanks :)
|
Okay, moving to Beta Hacks as requested. :)
Btw, this will not fix all the hardcoded links in PHP files. :) But it's a good idea - one reason why vB3 is great. |
Nice and nifty!! I will try as soon as i uploaded the RC1 :)
|
-]
Quote:
=) |
hmm, this isn't a vb3 hack, seems someone has moved it into thw wrong cat accidently..
|
Will install :) Thanks a lot Brad!
|
this is great - but vb3 still uses the ulgy long sessions ...
|
This is a good first step, but your code example is incorrect. It should read:
FIND: Code:
if ($bbuserinfo['nosessionhash']==1) { Code:
if ($bbuserinfo['nosessionhash']!=1) |
All times are GMT. The time now is 12:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|