Code
A small howto about getting your version info HardCoded into your footer
this way switching THEME Does not REMOVE your VERSION
<exp> v6.01.9 ? 2007 </exp>
- go to php files -
root of fusion -
- BACKUP
- OPEN
-
*Search String*
*searching for text by pressing Control+F inside the document
----------------------------------------------------------
search for:
Code
$result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_datestamp < '".(time()-86400)."'");
-Press
END on your keyboard to get to the end of the rule - string
-press
Return on your keyboard to create a
new emty rule under this string
now you are between this string and the *next string
Paste the
Next -
PhpCode
between these 2 strings
Code
//smallmod by: VLiP
//http://VLiP.nl.tt
if ($license == false) {
echo "v".$settings['version']." ? 2007";
when the end of code has double
under each other, it's correct.
So the end of the new code looks like
}
}
Than it's correct,
When you don't now exactly what your doing
don't change more of this footer.php or you lose your footer completely
---------------
Complete DONE footercode looks like this
[code] <?php
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
render_footer(false);
echo "</body>\n</html>\n";
if (iADMIN) {
$result = dbquery("DELETE FROM ".$db_prefix."flood_control WHERE flood_timestamp < '".(time()-360)."'");
$result = dbquery("DELETE FROM ".$db_prefix."thread_notify WHERE notify_datestamp < '".(time()-1209600)."'");
$result = dbquery("DELETE FROM ".$db_prefix."vcode WHERE vcode_datestamp < '".(time()-360)."'");
$result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_datestamp < '".(time()-86400)."'");
//smallmod by: VLiP
//http://VLiP.nl.tt
if ($license == false) {
echo "v".$settings['version']." ? 2007";
}
mysql_close();
ob_end_flush();
?>