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>
and the registercoppa 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"> yes
<input type="radio" name="nosessionhash" value="no" checked> no
</normalfont></td>
</tr>
and the modifyoptions 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 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>
Now edit member.php, and remove:
Code:
if ($bbuserinfo[nosessionhash]) {
$nosessionhashchecked="checked";
$nosessionhashnotchecked="";
} else {
$nosessionhashchecked="";
$nosessionhashnotchecked="checked";
}
and:
Code:
$nosessionhash=iif($nosessionhash=="yes",1,0);
and:
Code:
nosessionhash='$nosessionhash'
Now edit register.php, and remove:
Code:
$nosessionhash=iif($nosessionhash=="yes",1,0);
find:
Code:
,nosessionhash,avatarid
replace with:
find:
Code:
,'$nosessionhash','$avatarid'
replace with:
This way they cannot update their profiles to enable sessionhashes again
Satan