[ABD] Who Visited This Topic

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.
Locked
FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [RC] Who Visited This Topic

Post by FomenkoAndrey » Sat Mar 14, 2015 10:13 pm

Brunino, can u comment this post plz viewtopic.php?p=13998946#p13997896

User avatar
tamarin
Registered User
Posts: 117
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [RC] Who Visited This Topic

Post by tamarin » Sat Mar 14, 2015 11:57 pm

Bloodsoul wrote:German translation:

Code: Select all

<?php
/**
*
* @package Who Visit This Topic
* @copyright (c) 2014 brunino
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
if (!defined('IN_PHPBB'))
{
        exit;
}
if (empty($lang) || !is_array($lang))
{
        $lang = array();
}
$lang = array_merge($lang, array(
        'WVTT_TITLE'                    => 'Wer hat diesen Beitrag besucht?',
        'WVTT_PROFILE'                  => 'Letzte besuchte Beitr&auml;ge',
        'EXTENSION_BY'                  => 'Erweiterung durch',
        'ACL_U_WVTT'                    => 'Kann sehen, wer einen Beitrag besucht hat',
        'ACL_U_WVTT_POPUP'              => 'Kann sehen, wann ein Beitrag von einem Benutzer besucht wurde',
        'ACL_U_WVTT_COUNT'              => 'Kann sehen, wie oft ein Beitrag von einem Benutzer besucht wurde',
        'ACL_U_WVTT_PROFILE'            => 'Kann im Profil eines Benutzers sehen, welche Beitr&auml;ge zuletzt besucht wurden'
));
I think, the word "Beitrag/Beiträge" is not correct.
This is right:

Code: Select all

<?php
/**
*
* @package Who Visit This Topic
* @copyright (c) 2014 brunino
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
if (!defined('IN_PHPBB'))
{
        exit;
}
if (empty($lang) || !is_array($lang))
{
        $lang = array();
}
$lang = array_merge($lang, array(
        'WVTT_TITLE'                    => 'Wer hat dieses Thema besucht?',
        'WVTT_PROFILE'                  => 'Zuletzt besuchte Themen',
        'EXTENSION_BY'                  => 'Erweiterung von ', 
        'ACL_U_WVTT'                    => 'Kann sehen, wer ein Thema besucht hat',
        'ACL_U_WVTT_POPUP'              => 'Kann sehen, wann ein Thema von einem Benutzer besucht wurde',
        'ACL_U_WVTT_COUNT'              => 'Kann sehen, wie oft ein Thema von einem Benutzer besucht wurde',
        'ACL_U_WVTT_PROFILE'            => 'Kann im Profil eines Benutzers sehen, welche Themen zuletzt besucht wurden'
));
Thank you for understanding.

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Sun Mar 15, 2015 8:03 am

Татьяна5 wrote:Alorse MOD adds a lot of records in the database. Because of this, it starts working very slowly (when became records more 5 millions).
I processed this mod to accelerate of its work (download mod). Maybe, it would be useful for this extension
Yes, I've seen it but when I saw I didn't downloaded it. Now I cannot download, as soon as possible I'll see it. Tanks

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Mon Mar 16, 2015 10:38 am

Татьяна5 wrote:Alorse MOD adds a lot of records in the database. Because of this, it starts working very slowly (when became records more 5 millions).
I processed this mod to accelerate of its work (download mod). Maybe, it would be useful for this extension
I didn't understand what it does.

MadButcher
Registered User
Posts: 8
Joined: Mon Mar 16, 2015 10:25 am

Re: [RC] Who Visited This Topic

Post by MadButcher » Mon Mar 16, 2015 11:14 am

thanks :D

User avatar
Татьяна5
Registered User
Posts: 136
Joined: Wed Feb 13, 2013 5:30 pm
Name: Tatiana

Re: [RC] Who Visited This Topic

Post by Татьяна5 » Wed Mar 18, 2015 11:21 am

Brunino wrote:I didn't understand what it does.
This correction code replaces numerous records from each viewing themes for each user of Alorse MOD to a single record in the database, in which one single line for each subject for each user. In line written views of the topic this user. With this revision the number of queries to the database increases, but decreases processing time, and the amount of data in the database is reduced by an order. The processing speed of the page with the data output is reduced by 0.25 - 0.60 seconds. A heavy-forums is a great relief! In your code too many records and data, which in principle are not needed in this volume.

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] Who Visited This Topic

Post by RMcGirr83 » Wed Mar 18, 2015 4:31 pm

Massive queries on viewtopic probably due to this query within a loop

I wouldn't install this extension as it is written today.
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

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Wed Mar 18, 2015 5:12 pm

RMcGirr83 wrote:Massive queries on viewtopic probably due to this query within a loop
The file which you linked is the popup code, not the viewtopic code

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] Who Visited This Topic

Post by RMcGirr83 » Wed Mar 18, 2015 5:33 pm

Well then it is this one then https://github.com/bruninoit/wvtt/blob/ ... r.php#L149

It's one of them because with the extension enabled queries on viewtopic jumped to ~50 and without it installed dropped to ~20.
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

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Wed Mar 18, 2015 5:42 pm

Ok thanks... this problem there is because there's a query every user, that I can probably delete...

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [RC] Who Visited This Topic

Post by FomenkoAndrey » Tue Apr 07, 2015 11:16 am

the number of queries to the database in the subject 75 (!), page generation time 1.2s (!) - a bit too much.
shut down this extension - the number of queries = 45, page generation time 0.38s.

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Sat Apr 11, 2015 6:14 am

FomenkoAndrey wrote:the number of queries to the database in the subject 75 (!), page generation time 1.2s (!) - a bit too much.
shut down this extension - the number of queries = 45, page generation time 0.38s.
Thanks for tthe report... I know this problem which I've fixed in next version, but I don't have time to test and release it.

User avatar
draky
Registered User
Posts: 247
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [RC] Who Visited This Topic

Post by draky » Mon Apr 13, 2015 8:43 am

Maybe just release a ZIP file and ask for test here :)

User avatar
donsenilo
Registered User
Posts: 303
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [RC] Who Visited This Topic

Post by donsenilo » Tue Apr 21, 2015 11:36 am

is it possible to see who many guests have visited a topic ?

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [RC] Who Visited This Topic

Post by Bruninoit » Wed Apr 22, 2015 12:07 pm

New version 0.1.0-RC3

With this version, all bug are fixed! (I hope)

Locked

Return to “Abandoned Extensions”