Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Templates, scripts for templates, scripts and requests for templates.
Moderators: Developers , Moderators
successor
Posts: 1 Joined: Sun Sep 16, 2007 2:36 am
Post
by successor » Sun Sep 16, 2007 3:33 am
For phpbb3 you have to replace the SQL-Queries in phpbb2users.pl with the following queries:
Guest users:
Code: Select all
select count(session_id) as sessions from phpbb3_sessions where (session_time + 300) > UNIX_TIMESTAMP(NOW()) AND session_user_id=1
Registered users:
Code: Select all
select count(session_id) as sessions from phpbb3_sessions where (session_time + 300) > UNIX_TIMESTAMP(NOW()) AND session_user_id>1
Modify the table names if you are using a different (or no) prefix.
phpbb2stats.pl works out of the box, provided you don't use a specific table prefix, like I did.
Great script, thanks!
Chaosratt
Posts: 34 Joined: Sun Oct 28, 2007 3:31 am
Location: St. Pete, FL
Contact:
Post
by Chaosratt » Sat Oct 17, 2009 10:41 am
I hate to bump old posts, but does anyone know if there is a way to do this for SMF (Simple Machine) forums?
jafflen
Posts: 4 Joined: Wed Nov 02, 2011 4:19 am
Post
by jafflen » Wed Nov 09, 2011 8:33 am
sorry for such a question but How I can remove the Simple Machines Logo?
Users browsing this forum: No registered users and 6 guests