The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Removing Session Hash
Is there a hack that removes the session hash in the urls? I have done a search on this board, and the only solution I could come up with was removing $session[sessionhash] from all templates. If this is the only way, is there an easy way to quickly delete them from all the templates all at once?
Thanks :squareeyed: |
#2
|
||||
|
||||
Just run this query:
[sql]UPDATE user SET nosessionhash=1[/sql] That will set all users to have no sessionhashes, then edit the registeradult template, and remove: Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Browse board with cookies?</b></normalfont><br> <smallfont>Clicking yes will use cookies to keep your id for this session. Clicking no will send it through the links. (Selecting no may cause problems with proxies)</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="nosessionhash" value="yes" checked> yes <input type="radio" name="nosessionhash" value="no"> no </normalfont></td> </tr> Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Browse board with cookies?</b></normalfont><br> <smallfont>Clicking yes will use cookies to keep your id for this session. Clicking no will send it through the links. (Selecting no may cause problems with proxies)</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="nosessionhash" value="yes"> yes <input type="radio" name="nosessionhash" value="no" checked> no </normalfont></td> </tr> Code:
<tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Browse board with cookies?</b></normalfont><br> <smallfont>Clicking yes will use cookies to keep your id for this session. Clicking no will send it through the links. (Selecting no may cause problems when sharing links with people behind the same proxy as you)</smallfont></td> <td bgcolor="{secondaltcolor}"><normalfont> <input type="radio" name="nosessionhash" $nosessionhashchecked value="yes"> yes <input type="radio" name="nosessionhash" $nosessionhashnotchecked value="no"> no </normalfont></td> </tr> Code:
if ($bbuserinfo[nosessionhash]) { $nosessionhashchecked="checked"; $nosessionhashnotchecked=""; } else { $nosessionhashchecked=""; $nosessionhashnotchecked="checked"; } Code:
$nosessionhash=iif($nosessionhash=="yes",1,0); Code:
nosessionhash='$nosessionhash' Code:
$nosessionhash=iif($nosessionhash=="yes",1,0); Code:
,nosessionhash,avatarid Code:
,avatarid Code:
,'$nosessionhash','$avatarid' Code:
,'$avatarid' This way they cannot update their profiles to enable sessionhashes again Satan |
#3
|
|||
|
|||
Wow! Thanks Man! Works great!
|
#4
|
|||
|
|||
Remember, guests by default have sessionhashes. However I released a hack for that (at least in the case of Googlebot).
|
#5
|
||||
|
||||
No problems KelteN
Here is filburt's hack link - https://vborg.vbsupport.ru/showthrea...threadid=50805 Satan |
#6
|
||||
|
||||
Filburts hack really works only "theoretically".
hellsatan, you should make a release of this hack. |
#7
|
||||
|
||||
I should, but it is not really something that is always wise - User's browsers who cannot accept cookies would literally be screwed out of using vBs
Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|