Online users in admin cp
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Online users in admin cp
Philipp Esselbach
From: -
Editor
0From: -
Sorry typo . You need to remove the code.
1 Re: Online users in admin cp
error
OP
232
From: -
From: -
Removed or remove code?
1 Re: Online users in admin cp
Philipp Esselbach
From: -
Editor
0From: -
Removed the following code:
and add before $html -> makemenufooter();:
if( $admin_count == $admin_all )
{
( $rotate == "contentalt" ) ? $rotate = "contentclosealt" : $rotate = "contentclose" ;
}
and add before $html -> makemenufooter();:
$results = $database -> dbquery( "SELECT online_user FROM " . DB_PREFIX . "esselbach_ct_online" );
echo "<div class=\"contentclose\"><strong>" . $database -> dbrows( $results ) . " users online</strong></div>";
1 Re: Online users in admin cp
error
OP
232
From: -
From: -
Do you have code for 2.1?
1 Re: Online users in admin cp
ReviewStud 135
From: -
From: -
Nice addition to the CADMIN.
Thanks,
Thanks,
1 Re: Online users in admin cp
Philipp Esselbach
From: -
Editor
0From: -
The following should work. Open /cadmin/online/menu_online.php in an editor and add before:
the following:
$html -> makemenufooter();
the following:
$results = $database -> dbquery( "SELECT online_user FROM " . DB_PREFIX . "esselbach_ct_online" );
echo "<div class=\"contentalt\"><strong>" . $database -> dbrows( $results ) . " users online</strong></div>";
How to put number of visitors in admin cp?