View Full Version : A serious problem in login to forum admin panel
Choas
03-Apr-2007, 04:40 PM
When I try to login to admin panel of any forum in NBS admin panel ( Forums > list > login to admin panel) the forum request me user name and password of administrator !!!
I was used this tool before and worked nice ! but now this tool doesent work !!!
Can this problem occured by This mode (http://rapidshare.com/files/24146756/Advanced_Quick_Reply_Hack.zip.html) ?
Please help me to solve this problem
Derek
03-Apr-2007, 09:45 PM
Maybe you overwrote the file edits to the admin files?
Choas
03-Apr-2007, 10:17 PM
*Can you tell me exactly what files ?
I've just install this mode : http://rapidshare.com/files/24146756/Advanced_Quick_Reply_Hack.zip.html
Thanks alot
Derek
04-Apr-2007, 11:14 PM
admin_board.php and pagestart.php.
Choas
05-Apr-2007, 07:00 AM
no,this mode needs to change in these files :
viewtopic.php , lang/lang_english/lang_main.php ,templates/subSilver/viewtopic_body.tpl ,
Derek
05-Apr-2007, 11:53 AM
Can you look in those 2 admin files and see if you can find anything that starts with NBS Multi-Forums phpBB to verify the code was added?
Choas
05-Apr-2007, 03:37 PM
yes.
This in pagestart.php :
// Start: NBSdesignz Multi-Forums phpBB
if (!$nbs OR $nbs->userinfo['user_level'] != 1)
{
if (!$userdata['session_logged_in'])
{
redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx", true));
}
else if ($userdata['user_level'] != ADMIN)
{
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
{
redirect("index.$phpEx?sid=" . $userdata['session_id']);
}
if (!$userdata['session_admin'])
{
redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx&admin=1", true));
}
}
// End: NBSdesignz Multi-Forums phpBB
and this in pagestart.php :
// Start: NBSdesignz Multi-Forums phpBB
if( isset($HTTP_POST_VARS['submit']) )
{
if (!function_exists('trim_value'))
{
function trim_value(&$value)
{
$value = trim($value);
}
}
$nbs_ignore = explode("\n", $nbs->setting['disallowed_settings']);
array_walk($nbs_ignore, 'trim_value');
if (!in_array($config_name, $nbs_ignore) OR $nbs->userinfo['user_level'] == 1)
{
$sql = "UPDATE " . CONFIG_TABLE . " SET
config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
WHERE config_name = '$config_name'";
if( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
}
}
}
// End: NBSdesignz Multi-Forums phpBB
Derek
06-Apr-2007, 02:58 AM
Please PM me Admin and FTP details, and I will take a look.
Thanks,
Derek
Choas
06-Apr-2007, 09:19 AM
Dear Derek : As i pm tell you by prative message, my problem has been solved. But i'll give you FTP details if you think it is important.
Derek
06-Apr-2007, 05:14 PM
Ok, glad its working now.
Derek