[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!
Ideas Centre
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
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

[CDB] Top Five Mod

Post by RMcGirr83 »

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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11138
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [RC] Top Five Mod

Post by Raul [ThE KuKa] »

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 | Styles Queue Stats :warning:


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


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

Re: [RC] Top Five Mod

Post by Meis2M »

very useful ext. thanks RMcGirr83
phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [RC] Top Five Mod

Post by dmzx »

Thanks!
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
RAGEstacker
Registered User
Posts: 41
Joined: Sun Mar 23, 2014 11:46 am
Location: Italy

Re: [RC] Top Five Mod

Post by RAGEstacker »

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

Re: [RC] Top Five Mod

Post by Jessica »

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: 11138
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [RC] Top Five Mod

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. :wink:
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


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


User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Top Five Mod

Post by RMcGirr83 »

Thanks!
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [RC] Top Five Mod

Post by noth »

this is one of the best exts for the index page 8-)
leschek
Registered User
Posts: 858
Joined: Tue Jul 18, 2006 12:49 pm

Re: [RC] Top Five Mod

Post by leschek »

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
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Top Five Mod

Post by RMcGirr83 »

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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
leschek
Registered User
Posts: 858
Joined: Tue Jul 18, 2006 12:49 pm

Re: [RC] Top Five Mod

Post by leschek »

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 »

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 »

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

Re: [RC] Top Five Mod

Post by mr.ruf »

any conflict with recent topics extension ?

Return to “Extensions in Development”