



tomythius wrote:Note the extra column in the who is online table...
"USER_AGENT" => $guest_agent,"USER_AGENT" => htmlspecialchars($guest_agent),"USER_AGENT" => $reg_agent,"USER_AGENT" => htmlspecialchars($reg_agent),markus_petrux wrote:Could you please consider showing the useragent as another table row (using colspan="4" and gensmall)?
#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$thispage_id
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, session_agent = $agent$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id$update_admin$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id, session_agent = $agent$update_adminkulinar wrote:in my sessions.php file the code is
- Code: Select all
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id$update_admin
kulinar wrote:which means the new code will look like thatwhich looks strange to me
- Code: Select all
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id, session_agent = $agent$update_admin
Yes, I have modded sessions.php many times. I run heavily modded board.tomythius wrote:I don't see this in my source, and it looks badly formed. Have you already modded sessions.php?
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id, session_agent = $agent$update_admin$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_page = $thispage_id$update_admin, session_agent = $agentI don't know which mod transformed my session.php file. What is so bad with it?tomythius wrote:...and it looks badly formed
MakePB wrote:It is interesting and useful.Indeed.
Could we maybe get a alternative link where your newest version is released (1.0.4) because it seems that they are some bugs fixed?
Thanks
skuld the great wrote:Thats cool!
Is there anything like this for showing it stamped on each post?
Return to [2.0.x] MOD Database Cleanup
Users browsing this forum: No registered users and 3 guests