phpBB2 scripts

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 »

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 »

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

Re: phpBB2 scripts

Post by jafflen »

sorry for such a question but How I can remove the Simple Machines Logo?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests