3.1.x Extensions Database 3.1 / 3.2Top Stats

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

stockton88
Users
Users
Posts: 8
Joined: 08 May 2015, 17:51
    Mac OS X Chrome

Re: Top Stats

Post by stockton88 »

If I would like to translate the files.

Only the config.file need to be translated?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Top Stats

Post by dmzx »

stockton88 wrote:If I would like to translate the files.

Only the config.file need to be translated?
Copy / Paste the en folder in notifyadmin\language and change the folder name to the other languages you use.

User avatar

cristian
Users
Users
Posts: 31
Joined: 12 Jun 2015, 21:16
    Windows XP Firefox

Re: Top Stats

Post by cristian »

Very nice thanks


dazbobaby
    Windows 7 Firefox

Re: Top Stats

Post by dazbobaby »

The links are broken on my forum and I cant see where to fix it.
The Mess Hall - Index page
404 Not Found

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Top Stats

Post by dmzx »

dazbobaby wrote:The links are broken on my forum and I cant see where to fix it.
The Mess Hall - Index page
404 Not Found
Is this only with the 10 Most viewed topics :question:


dazbobaby
    Windows 7 Firefox

Re: Top Stats

Post by dazbobaby »

It is, all the other top stats are fine, just the top 10 most viewed.
example:
Working Link -

Code: Select all

http://mess-hall.co.uk/viewtopic.php?f=93&t=2328
Not working link (top stats formatting) -

Code: Select all

http://mess-hall.co.uk/viewtopic.?f=93&t=&view=unread#unread

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Top Stats

Post by dmzx »

Can you check these lines in listener.php

topstats/listener.php at master · dmzx/topstats · GitHub


dazbobaby
    Windows 7 Firefox

Re: Top Stats

Post by dazbobaby »

Sorted DMZX - Many thanks to you :)
looks like this was the issue?

Code: Select all

(($row['forum_id'])


mine:

Code: Select all

$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . (($row['forum_id']) ? $row['forum_id'] : $forum_id) . '&t=' . $topic_id . '&view=unread') . '#unread' ;
$view_first_poster = append_sid("{$this->phpbb_root_path}memberlist.$this->phpEx", 'mode=viewprofile' . '&u=' . $row['topic_poster']);
$view_last_poster = append_sid("{$this->phpbb_root_path}memberlist.$this->phpEx", 'mode=viewprofile' . '&u=' . $row['topic_last_poster_id']);
Github:

Code: Select all

$view_topic_url = append_sid("{$this->phpbb_root_path}viewtopic.$this->phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id']);
$view_first_poster = append_sid("{$this->phpbb_root_path}memberlist.$this->phpEx", 'mode=viewprofile' . '&u=' . $row['topic_poster']);
$view_last_poster = append_sid("{$this->phpbb_root_path}memberlist.$this->phpEx", 'mode=viewprofile' . '&u=' . $row['topic_last_poster_id']);

User avatar

teevee22
Users
Users
Posts: 3
Joined: 02 Sep 2015, 19:35
    Windows 7 Chrome

Re: Top Stats

Post by teevee22 »

Thank you so much for this extension. The scrolling recent topics was something our forum was really missing when we upgraded to 3.1.

I do have a request...either as an addition to the extension or perhaps just a bit of code addition that I can make--I'd like to be able to tell on the scrolling recent topics when there are unread posts in the topic. It can be a topic icon change or a topic title color change, or even adding the word "unread" to the end of the topic title in the scroll box.

Is this something that could be done without too much work on your end?

-edited- Oops, I think perhaps I should have posted this on the Question forum. Sorry about that!
Last edited by teevee22 on 01 Oct 2015, 16:53, edited 1 time in total.

User avatar

teevee22
Users
Users
Posts: 3
Joined: 02 Sep 2015, 19:35
    Windows 7 Chrome

Re: Top Stats

Post by teevee22 »

Sorry to be such a pain, but would it be better if I repost this request in the "Questions" forum? :question:

Or is this request just not possible with this extension? :cry:

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Top Stats

Post by dmzx »

teevee22 wrote:Sorry to be such a pain, but would it be better if I repost this request in the "Questions" forum? :question:

Or is this request just not possible with this extension? :cry:
For now this is not possible and I will "add" it to the to do list to be checked if possible.

User avatar

teevee22
Users
Users
Posts: 3
Joined: 02 Sep 2015, 19:35
    Windows 7 Chrome

Re: Top Stats

Post by teevee22 »

dmzx wrote:
teevee22 wrote:Sorry to be such a pain, but would it be better if I repost this request in the "Questions" forum? :question:

Or is this request just not possible with this extension? :cry:
For now this is not possible and I will "add" it to the to do list to be checked if possible.
Thanks so much for your reply and for putting it on your list.

Perhaps you can get together with this extension author and come up with the best of both...the wonderful scroll AND unread topic icons!
https://www.phpbb.com/customise/db/exte ... _topics_2/

User avatar

themission
Donator
Donator
Posts: 19
Joined: 10 Dec 2014, 14:58
    Windows 7 Firefox

Re: Top Stats

Post by themission »

Hi, Do you know how i would add an Avatar next to the most viewed topics ? have got Top 5 working with an avatar but empty at the mo on most viewed ?
Untitled-1.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Null
Users
Users
Posts: 125
Joined: 09 Oct 2015, 06:03
    Windows 7 Chrome

Re: Top Stats

Post by Null »

In 10 recent active topics, "Replies" colum is wrong:

Image

Should be 0/0/27 or "replies" column should be called "Posts" column.
Last edited by Null on 22 Nov 2015, 18:21, edited 3 times in total.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Top Stats

Post by dmzx »

Posts will be better indeed.

Post Reply Previous topicNext topic