Top 5 Stats

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

Top 5 Stats

Postby eman » 01 Oct 2008, 19:47

Hi

I want to request a mod

I want a mod shows: 5 last posts with their authors, 5 top active users with their posts count and 5 newest users with their posts count. All that appear in something like table below the index body page

Regards :thumbup:
Last edited by eman on 13 Jan 2015, 00:00, edited 2 times in total.
Reason: Changed Topic Icon

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

[Request] Top 5 Stats

Postby eman » 02 Oct 2008, 18:45

I see that you have already started the work on the mod

I am sooo happy :D

Thank you very much and good luck :thumbup:

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[Request] Top 5 Stats

Postby RMcGirr83 » 03 Oct 2008, 10:04

http://www.rmcgirr83.org/viewtopic.php?f=37&t=35

:)

Please let me know if you have any problems with the install. Shouldn't be too bad, you edit two files (three if subsilver2) and upload and that's it.

Good luck!!

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

[Request] Top 5 Stats

Postby eman » 03 Oct 2008, 10:07

Thank you so much :)

I will try it now :D

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

[Request] Top 5 Stats

Postby eman » 03 Oct 2008, 10:52

It works greaaaaaaaaaaaaaaaat :D :D :thumbup:

Thank you veeeery much :)

Regards
Last edited by eman on 03 Oct 2008, 15:38, edited 1 time in total.

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[Request] Top 5 Stats

Postby RMcGirr83 » 03 Oct 2008, 11:34

:mrgreen:

Good, good.

FWIW, I just updated the mod. Previously when clicking on the "Newest Topic" link you would be taken to the topic...now when you click on it, you will be taken directly to the newest post within that topic.

To update, re-download the zip and overwrite includes/top_five.php with that found in the zip download.

Seems to make more sense that way. :thumbup:

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

[Request] Top 5 Stats

Postby eman » 03 Oct 2008, 11:43

Hello

I will update it

This is a screenshot for the mod on my forum (arabic board)

[url=http://img67.imageshack.us/my.php?image=screenrj7.gif][img]http://img67.imageshack.us/img67/6889/screenrj7.th.gif[/img][/url][url=http://g.imageshack.us/thpix.php][img]http://img67.imageshack.us/images/thpix.gif[/img][/url]

Fantastic mod :D :thumbup:

Thank you agian RMcGirr83 :)

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

Re: [Request] Top 5 Stats

Postby eman » 03 Oct 2008, 22:52

Hi

I have some private forums on my board index, only administrator or moderators can see them, and I don't want the mod displays the topics or posts in that forums.

Is there any way to do that?

Thank you

Regards :)

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Request] Top 5 Stats

Postby RMcGirr83 » 04 Oct 2008, 09:48

Just fixed that part. Download the zip file and overwrite includes/top_five.php with the one found in the download also I made it so that the post count was searchable on the users so overwrite the html files with the ones found in the download as well to get this functionality.

eman
New member
New member
Posts: 14
Joined: 01 Oct 2008, 19:16
Location: Saudi Arabia
Contact:

Re: [Request] Top 5 Stats

Postby eman » 04 Oct 2008, 09:57

it is working

Thank you soooo much :)

Guru Kast
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] Top 5 Stats

Postby Guru Kast » 12 Nov 2008, 04:25

Check the template code in the download you provided. you have the incorrect request for the newest users
it should be
Joined: {top_five_newest.REG_DATE}

but you have
{L_POSTS}:{top_five_newest.POSTS}

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] Top 5 Stats

Postby RMcGirr83 » 12 Nov 2008, 13:08

:oops:

Yep, you're correct. Thanks!

Notam
New member
New member
Posts: 1
Joined: 12 Oct 2008, 14:15
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] Top 5 Stats

Postby Notam » 15 Jan 2009, 15:35

its not working for me getting some db error

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] Top 5 Stats

Postby RMcGirr83 » 15 Jan 2009, 16:39

You need to post what the error is for me to be able to try and assist you.

Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Top 5 Stats

Postby Sat01 » 24 Jan 2009, 16:11



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: Google [Bot] and 5 guests