dir|^|Packages
file|^|Packages/modification.php|^|670|^|1054836466
global $YaBBversion;
$pos = strpos($YaBBversion, "YaBB SE 1.5");
if (!($pos === false))
$myversion = '1.5+';
echo 'Building modification.mod ';
if ($myversion == '1.5+')
{
rename('Packages/modification1.5.x.mod', 'Packages/modification.mod');
unlink('Packages/modification1.4.1.mod');
}
else
{
rename('Packages/modification1.4.1.mod', 'Packages/modification.mod');
unlink('Packages/modification1.5.x.mod');
}
if (file_exists("Packages/uninstall.php"))
unlink("Packages/uninstall.php");
if (file_exists("Packages/uninstall.txt"))
unlink("Packages/uninstall.txt");
if (file_exists("Packages/uninstall.sql"))
unlink("Packages/uninstall.sql");
?>file|^|Packages/modification.txt|^|361|^|1054836466
This mod hides the MySQL database password in the Admin section.
It also adds an additional field that can be used to change the password.
By entering the current password into the "Database Password" field and the new
password into the "Database Password (New)" field, you can change the password.
This allows you to hide it but still change it if you need to.file|^|Packages/modification1.4.1.mod|^|831|^|1054836467
Sources/Admin.php
$txt[yse7] ($txt[302])
$helpfile = isset($HTTP_POST_VARS['helpfile']) ? $HTTP_POST_VARS['helpfile'] : "$boardurl/YaBBHelp/index.html";
$db_passwd = (($HTTP_POST_VARS['db_passwd_new'] != "" && $HTTP_POST_VARS['db_passwd'] == $db_passwd) ? $HTTP_POST_VARS['db_passwd_new'] : $db_passwd);
file|^|Packages/modification1.5.x.mod|^|1693|^|1054836468
Hide DB Password
1.0 (YabbSE 1.5.x)
Jack.R.Abbit
Jack.R.AbbitJack.R.Abbit
This mod hides the MySQL database password in the Admin section.
It also adds an additional field that can be used to change the password.
By entering the current password into the "Database Password" field and the new
password into the "Database Password (New)" field, you can change the password.
This allows you to hide it but still change it if you need to.
no
Sources/Admin.php
' . $txt['yse7'] . ' (' . $txt[302] . ')' . '
$helpfile = (isset($HTTP_POST_VARS['helpfile']) ? $HTTP_POST_VARS['helpfile'] : "$boardurl/YaBBHelp/index.html");
$db_passwd = (($HTTP_POST_VARS['db_passwd_new'] != "" && $HTTP_POST_VARS['db_passwd'] == $db_passwd) ? $HTTP_POST_VARS['db_passwd_new'] : $db_passwd);
file|^|Packages/uninstall.php|^|431|^|1054836468
global $YaBBversion;
$pos = strpos($YaBBversion, "YaBB SE 1.5");
if (!($pos === false))
$myversion = '1.5+';
echo 'Building modification.mod ';
if ($myversion == '1.5+')
{
rename('Packages/modification1.5.x.mod', 'Packages/modification.mod');
unlink('Packages/modification1.4.1.mod');
}
else
{
rename('Packages/modification1.4.1.mod', 'Packages/modification.mod');
unlink('Packages/modification1.5.x.mod');
}
?>file|^|Packages/uninstall.txt|^|59|^|1054836472
Trying to run uninstall files for hidedbpassword.mod.yp....