[ABD] Activity Stats (includes "who was here?")

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Fri Oct 10, 2014 5:03 pm

@leschek again: can you please try the master branch? download -> https://github.com/RobertHeim/phpbb3_1- ... master.zip

there was a bug where the record was only calculated when cache time was over, but this could lead to missing the actual record. This is fixed. But your problem should not be affected as you set cachetime to 0... :?

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by leschek » Fri Oct 10, 2014 7:14 pm

Thank you. I reinstalled the extension with (master) update (I also deleted old extension data).
I set cache time to 0 s.
I reset most users ever online and deleted forum cache, so I can check when I have was some visitors on forum.
It's only testing forum with only a few visits, but Yahoo bot showed immediately in "Who is online" and in "Activity Stats" too.
In a few minutes there was record in "Who is online" - 4 users , but it doesn't show in "Activity Stats" 1 hour and a few minutes later. Maybe too soon? But I use cache with setting 0s.
I believe it will update max. users eventually, so it is not big problem for me.
combuster wrote:I am thinking of removing caching completely from this extension...
You could make default setting 0s instead of 600s.

combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Fri Oct 10, 2014 7:52 pm

Thanks for information! I cannot solve it, yet, because I cannot replicate it, yet. Can you open a ticket on github copying your description of the problem from last post? I will adress the issue in feature when I have a live board 3.1 up and running! Thx!!

leschek
Registered User
Posts: 789
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by leschek » Fri Oct 10, 2014 8:26 pm

Issue created.

combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Sun Oct 12, 2014 3:53 pm

Thank you!

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6646
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by Raul [ThE KuKa] » Mon Oct 27, 2014 10:31 pm

Hi Robert.

On my site only show 80 or 100 users (50 or 60 guest) it's very strange.
Every day 1700 or 2000 visitors in my site... :?

No works correctly the ext. ?
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Wed Oct 29, 2014 7:16 am

Raul there is a known issue https://github.com/RobertHeim/phpbb3_1- ... /issues/15 which will be fixed in the first release of the extension.

In the mean time, can someone review the session handling?
update_session is the part that inserts the current session of the visiting user.

obtain_data fetches the data from the db and calculates the concrete values like number of total users/registered users/guests/bots for display.

Everything is triggered here in main. Note that for displaying data the users timzeone is used, while for pruning in the period-mode UTC is used and for pruning in the "today" mode the last timezone that switches the day is used. This ensures that for displaying data all relevant data for the users-timezone stays in the DB, right? =)

SeewolfPK
Registered User
Posts: 50
Joined: Sat Apr 09, 2011 10:18 am

Re: [RC] Activity Stats (includes "who was here?")

Post by SeewolfPK » Sun Nov 02, 2014 10:24 am

Could not activate.
Error message: Die Berechtigungs-Rolle „ROLE_USER_STANDARD“ existiert unerwarteterweise nicht.

in english: "Role_user-Standard" does not exist unexpectedly

Update: I fix it. Copy Role from a new phpBB Installation

User avatar
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by wkuzma » Mon Nov 03, 2014 12:20 am

first thank you for a great ext

Ok I did notice one flaw that you should be aware of
If you select no in the top page of the setting to the first 7 items (I was testing it)
you get this error when you go back to the board

[phpBB Debug] PHP Warning: in file [ROOT]/ext/robertheim/activitystats/event/main_listener.php on line 574: join() [function.join]: Invalid arguments passed
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)

If you select any one of the top seven items the error goes away.

User avatar
FrankiePlankie
Registered User
Posts: 9
Joined: Thu Oct 30, 2014 12:13 pm
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by FrankiePlankie » Mon Nov 03, 2014 4:01 pm

Nice extension, it's not counting bots (0 bots) ?
Do i something wrong?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by RMcGirr83 » Mon Nov 03, 2014 5:41 pm

wkuzma wrote:first thank you for a great ext

Ok I did notice one flaw that you should be aware of
If you select no in the top page of the setting to the first 7 items (I was testing it)
you get this error when you go back to the board

[phpBB Debug] PHP Warning: in file [ROOT]/ext/robertheim/activitystats/event/main_listener.php on line 574: join() [function.join]: Invalid arguments passed
https://github.com/RMcGirr83/phpbb3_1-e ... 3e74f664a5
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Mon Nov 03, 2014 8:35 pm

Hey RMcGirr83,
Thank you! merged =)

combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Mon Nov 03, 2014 8:36 pm

SeewolfPK wrote:Could not activate.
Error message: Die Berechtigungs-Rolle „ROLE_USER_STANDARD“ existiert unerwarteterweise nicht.

in english: "Role_user-Standard" does not exist unexpectedly

Update: I fix it. Copy Role from a new phpBB Installation
Thanks for report, will be fixed in next release, issue: https://github.com/RobertHeim/phpbb3_1- ... /issues/18

combuster
Registered User
Posts: 342
Joined: Sun Oct 26, 2008 11:58 pm

Re: [RC] Activity Stats (includes "who was here?")

Post by combuster » Mon Nov 03, 2014 8:46 pm

FrankiePlankie wrote:Nice extension, it's not counting bots (0 bots) ?
Do i something wrong?
Can you provide more information, e.g. screenshots and what would you expect?

User avatar
FrankiePlankie
Registered User
Posts: 9
Joined: Thu Oct 30, 2014 12:13 pm
Contact:

Re: [RC] Activity Stats (includes "who was here?")

Post by FrankiePlankie » Mon Nov 03, 2014 8:52 pm

combuster wrote:
FrankiePlankie wrote:Nice extension, it's not counting bots (0 bots) ?
Do i something wrong?
Can you provide more information, e.g. screenshots and what would you expect?
Problem already fixed, i think i was to fast, afther some time it was counting also the bots.
Thanks for youre reply, nice extension ;)

Locked

Return to “Abandoned Extensions”