[CDB] Top Five Mod

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

[CDB] Top Five Mod

Post by RMcGirr83 » Mon Oct 27, 2014 11:58 am

Extension Name: Top Five
Author: RMcGirr83

Description:
This is a phpBB3 Extension that displays newest posts, newest users and most active users. Entries in ACP Extension module allow the changing of the number to display as well as to include or exclude inactive users, administrators and moderators and board founders.

Version: 1.0.0

Download: https://github.com/RMcGirr83/phpbb-3.1- ... master.zip

Installation:
  1. Copy the entire contents of the repository to phpBB/ext/rmcgirr83/topfive
  2. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  3. Click Enable.
Github Repository: https://github.com/RMcGirr83/phpbb-3.1-ext-topfive

NOTES: When installed if not logged in will look odd (login box is directly above mod on index page). New template event has been requested at area51 to circumvent this.

Image
Last edited by RMcGirr83 on Sat Feb 07, 2015 10:09 am, edited 2 times in total.
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

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

Re: [RC] Top Five Mod

Post by Raul [ThE KuKa] » Mon Oct 27, 2014 12:49 pm

Nice!!! :D

Welcome to home RMcGirr83 ;)

Thanks.
Last edited by Raul [ThE KuKa] on Mon Oct 27, 2014 1:17 pm, edited 1 time in total.
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:



User avatar
Meis2M
Translator
Posts: 874
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [RC] Top Five Mod

Post by Meis2M » Mon Oct 27, 2014 12:53 pm

very useful ext. thanks RMcGirr83
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

User avatar
dmzx
Registered User
Posts: 768
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [RC] Top Five Mod

Post by dmzx » Mon Oct 27, 2014 12:54 pm

Thanks!
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
RAGEstacker
Registered User
Posts: 41
Joined: Sun Mar 23, 2014 11:46 am
Location: Italy
Contact:

Re: [RC] Top Five Mod

Post by RAGEstacker » Mon Oct 27, 2014 2:07 pm

Very good
I'm from Italy

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Top Five Mod

Post by Jessica » Mon Oct 27, 2014 2:18 pm

Nice!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

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

Re: [RC] Top Five Mod

Post by Raul [ThE KuKa] » Mon Oct 27, 2014 8:18 pm

"PR" Spanish translation ready. :wink:
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:



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] Top Five Mod

Post by RMcGirr83 » Mon Oct 27, 2014 9:19 pm

Thanks!
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

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [RC] Top Five Mod

Post by noth » Mon Oct 27, 2014 9:23 pm

this is one of the best exts for the index page 8-)

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

Re: [RC] Top Five Mod

Post by leschek » Mon Oct 27, 2014 10:53 pm

Nice extension.
It looks a bit strange (especially in case of top active users) when titles of columns are aligned to the center and content of columns is aligned to the left.

EDIT: I did some testing and it seems that after changing settings (I tried "How Many" and "Include Admins and Mods") I had to manually purge the cache to see changes on the board index ("Newest Posts" changed without purging the cache, but user's columns didn't).

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] Top Five Mod

Post by RMcGirr83 » Tue Oct 28, 2014 3:59 pm

leschek wrote: EDIT: I did some testing and it seems that after changing settings (I tried "How Many" and "Include Admins and Mods") I had to manually purge the cache to see changes on the board index ("Newest Posts" changed without purging the cache, but user's columns didn't).
That's fixed already ;) I am also trying to get VSE's topic preview extension to work with this one.

To update, uninstall the extension, delete it then go to the git hub page (link in first post), re-download and re-install. Then any change that has to do with caching (newest users and top posters in this case) will be reflected without having to purge the cache.
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

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

Re: [RC] Top Five Mod

Post by leschek » Tue Oct 28, 2014 4:51 pm

RMcGirr83 wrote:That's fixed already ;)
Unfortunately I can't confirm it, because it still behave the same as before. After setting change I still have to purge the cache manually. BTW I uninstalled (disabled extension, deleted data and files on server), downloaded and installed it again twice.

Rimesia
Registered User
Posts: 25
Joined: Sat Jul 12, 2014 4:31 pm

Re: [RC] Top Five Mod

Post by Rimesia » Tue Oct 28, 2014 9:24 pm

Thank you :D

Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [RC] Top Five Mod

Post by Cable Player » Fri Oct 31, 2014 4:26 pm

Hi Rich, I get this error when toggling "Ignore Inactive Users"

Code: Select all

General Error
SQL ERROR [ mysqli ]

[0]

SQL

No values specified for SQL IN comparison

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 536
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 441
CALL: phpbb\db\driver\driver->sql_in_set()

FILE: [ROOT]/ext/rmcgirr83/topfive/core/functions_topfive.php
LINE: 212
CALL: phpbb\db\driver\factory->sql_in_set()

FILE: [ROOT]/ext/rmcgirr83/topfive/event/listener.php
LINE: 41
CALL: rmcgirr83\topfive\core\functions_topfive->topposters()

FILE: (not given by php)
LINE: (not given by php)
CALL: rmcgirr83\topfive\event\listener->main()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 40
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()

FILE: [ROOT]/index.php
LINE: 198
CALL: phpbb\event\dispatcher->trigger_event()

Edit:

When it is set to "yes" and there are inactive members, the error shows.
When it is set to "yes" and there are not any inactive members, the error does not show.
When it is set to "no" and there are inactive members, the error does not show.
When it is set to "no" and there are not and inactive members, the error shows.

It displays when going to the index page.

Update: I confused myself with what I posted above RE when it shows and when it doesn't, so used it to base the settings to double check I was correct. It appears the error shows no matter what the settings are, but it doesn't show all of the time. Very confusing!

User avatar
mr.ruf
Registered User
Posts: 136
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [RC] Top Five Mod

Post by mr.ruf » Wed Nov 05, 2014 6:55 pm

any conflict with recent topics extension ?

Locked

Return to “Extensions in Development”