ข้อมูลนี้จะแสดงเฉพาะผู้ที่ใช้งานมากกว่า 5 นาที
คือผมอยากจะแก้ให้เป็น 15 นาทีคับ พอจะมีใครตอบได้ไหมว่าต้องไปแก้ที่ไหน
ขอบคุณคับ
ผู้ที่ใช้งานมากกว่า 5 นาที ช่วยทีคับ
Moderator: mindphp
กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
- buayza
- PHP Jr. Member
- โพสต์: 12
- ลงทะเบียนเมื่อ: 01/01/1970 7:00 am
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41417
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
โปรแกรมอะไร หรือครับ หรือ ต้องการทำอะไร
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41417
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
ลองดู Mod ตัวนี้ครับ
http://www.phpbb.com/community/viewtopi ... ser+online
http://www.phpbb.com/community/viewtopi ... ser+online
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41417
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
อันนี้เป็น วิธีครับ
##############################################################
## MOD Title: View Online In Last 15 Minutes
## MOD Author: source < [email protected] >
## MOD Description: Extends Who is Online to show last 15 minutes.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: ~3 Minutes
##
## Files To Edit: admin/index.php
## includes/page_header.php
## language/lang_english/lang_main.php
## viewonline.php
##
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: This mod extends the Who is Online to 15 minutes in the main index,
## the Who is Online page, and the Admin index.
##############################################################
## MOD History:
##
## 2004-04-27 - Version 1.0.1
## - Added lang update & corrected typographical error.
## 2004-04-27 - Version 1.0.0
## - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 900 ) . "
#
#-----[ FIND ]------------------------------------------
#
AND session_time >= " . ( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND session_time >= " . ( time() - 900 ) . "
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
AND s.session_time >= ".( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND s.session_time >= ".( time() - 900 ) . "
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Online_explain'] = 'This data is based on users active over the past five minutes';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$lang['Online_explain'] = 'This data is based on users active over the past fifteen minutes';
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
AND s.session_time >= ".( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND s.session_time >= ".( time() - 900 ) . "
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
เอามาจาก mod ตัวนั้น
##############################################################
## MOD Title: View Online In Last 15 Minutes
## MOD Author: source < [email protected] >
## MOD Description: Extends Who is Online to show last 15 minutes.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: ~3 Minutes
##
## Files To Edit: admin/index.php
## includes/page_header.php
## language/lang_english/lang_main.php
## viewonline.php
##
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: This mod extends the Who is Online to 15 minutes in the main index,
## the Who is Online page, and the Admin index.
##############################################################
## MOD History:
##
## 2004-04-27 - Version 1.0.1
## - Added lang update & corrected typographical error.
## 2004-04-27 - Version 1.0.0
## - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 900 ) . "
#
#-----[ FIND ]------------------------------------------
#
AND session_time >= " . ( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND session_time >= " . ( time() - 900 ) . "
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
AND s.session_time >= ".( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND s.session_time >= ".( time() - 900 ) . "
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Online_explain'] = 'This data is based on users active over the past five minutes';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$lang['Online_explain'] = 'This data is based on users active over the past fifteen minutes';
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
AND s.session_time >= ".( time() - 300 ) . "
#
#-----[ REPLACE WITH ]------------------------------------------
#
AND s.session_time >= ".( time() - 900 ) . "
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
เอามาจาก mod ตัวนั้น
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ผู้ใช้งานขณะนี้
สมาชิกกำลังดูบอร์ดนี้: Google [Bot] และบุคลทั่วไป 99