Page 1 of 3

[CDB] TPOTM 1.0.3 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 1:17 pm
by 3Di
Extension Name: Top Poster Of The Month
Author: 3Di
A MOD of mine created for phpBB2 and phpBB3, now ported as Extension for phpBB3.1.

Requirements:
  • phpBB 3.1.3 or higher
  • PHP 5.3.3 or higher
Status of the Master Branch: Image - Note: this branch is WIP (Work In Progress)

Status of the 1.0.3 RC4 Branch: Image

Extension Description:
Have a Top Poster of the Month to show on your phpBB except for Founder, Admins and Moderators.
The very last poster with the max number of posts made into the current month's lapse of time, wins.
Cached data management works accordingly with the - who is online time span - (native).
The TPOTM's profile link works accordingly with the - can view profile - permission (native).

Extension Version: 1.0.3 RC4

Extension Download: branch RC4 - .zip

Changelogs:
* RC3 to RC4

--- cache time configured by the native view online time span
--- code reviewed for the sake of the validation process and of me
--- all admins and mods are properly catched.
--- username link works under native perms
--- SQL query catches the very last top poster
----- (in case of number of posts and last time posted are equivalent between multiple users the higher post's ID rules.)
--- English language updated (3Di)
--- Italian language updated (3Di)
--- Arabic language removed because is not up to date and I can't maintain it.
--- has been re-submitted to the CDB
--- tested on phpBB 3.0.2-a2

* RC2 to RC3

--- Plural Rules ready
--- code improved and cleaned up
--- Version-check ready (Points to the CDB though)
--- Template moved to prosilver specific

* RC1 to RC2

--- added cache (15 minutes)
--- code cleaning
--- Italian language added (3Di)
--- Arabic language added (halitary)
Installation:
1. clone

Clone (or download and move) the repository into the folder ext/threedi/tpotm (create it if not already exists).

Code: Select all

cd phpBB3
git clone https://github.com/3D-I/tpotm.git ext/threedi/tpotm/
2. activate

Go to admin panel -> tab Customise -> Manage extensions -> Top Poster Of The Month: enable

Update instructions:

Go to you phpBB-Board > Admin Control Panel > Customise > Manage extensions > Top Poster Of The Month: disable
Delete all files of the extension from ext/threedi/tpotm
Upload all the new files to the same locations
Go to you phpBB-Board > Admin Control Panel > Customise > Manage extensions > Top Poster Of The Month: enable

Purge the board cache
Extension Issues and Features request tracker: Issues tracker

Extension Master Repository: Master branch at github -WIP

Pay attention please: This extension is in development.
Installation is only recommended for testing purposes, not yet on production boards.

[RC4] TPOTM 1.0.3 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 1:23 pm
by 3Di
Available/to be updated translations and their respective Authors.

EN-en - 3Di - packaged - up to date
IT - it - 3Di - packaged - up to date
AR-ar - alhitary . posted here - obsolete
PT-br - null2 - posted here - up to date
ES-es - null2 - posted here - up to date
RU-ru - Anv@r.all - posted here - obsolete

Screenshots v1.0.3 RC4:

Image

Image

Image

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 2:02 pm
by uruguayito
tested and works fine

thanks

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 3:43 pm
by Mess
Nice, ill try this out. :)

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 7:49 pm
by alhitary

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 8:05 pm
by travel
3Di wrote:Clone (or download and move) the repository into the folder ext/3D-I/tpotm
I have done.
I don't see this ext in ACP.
Why?

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 8:22 pm
by lopoto
I don't see too :?

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Wed Sep 09, 2015 8:45 pm
by 3Di
Clone (or download and move) the repository into the folder ext/threedi/tpotm

Sorry for the mistake, I'm somehow a nHub. ;)

/me going to edit the topic starter.

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Thu Sep 10, 2015 8:52 pm
by travel
3Di wrote:lone (or download and move) the repository into the folder ext/threedi/tpotm
Sorry for the mistake, I'm somehow a nHub. ;)
Thanks.
3Di wrote:Founder, Admins and Global Moderators aren't included.
Global Moderator is counted on my test-board... :|

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Thu Sep 10, 2015 9:25 pm
by 3Di
travel wrote:
3Di wrote:Founder, Admins and Global Moderators aren't included.
Global Moderator is counted on my test-board... :|
Sounds strange to me.
If you have access to your DB have a look to the USERS_TABLE (i.e. phpbb_users) and check if the user belongs to the group_id 4.

Code: Select all

		// group_id 5 = administrators
		// group_id 4 = global moderators
		// this groups belong to a Vanilla 3.1.x board

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Fri Sep 11, 2015 3:33 am
by scorpiors
I am also using Portal extension. How can I show the "Top poster of the Month" in a block of portal mod? I also want to change the font size.

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Fri Sep 11, 2015 4:23 am
by 3Di
scorpiors wrote:I am also using Portal extension. How can I show the "Top poster of the Month" in a block of portal mod? I also want to change the font size.
3Di wrote:Extension Issues and Features request tracker: Issues tracker

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Fri Sep 11, 2015 12:18 pm
by travel
3Di wrote:Sounds strange to me.
If you have access to your DB have a look to the USERS_TABLE (i.e. phpbb_users) and check if the user belongs to the group_id 4.

Code: Select all

      // group_id 5 = administrators
      // group_id 4 = global moderators
      // this groups belong to a Vanilla 3.1.x board
I have got: administrators group_id 116, moderators group_id 115.
Should I change/edit 5 to 116 and 4 to 115?

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Fri Sep 11, 2015 12:24 pm
by 3Di
travel wrote:
3Di wrote:Sounds strange to me.
If you have access to your DB have a look to the USERS_TABLE (i.e. phpbb_users) and check if the user belongs to the group_id 4.

Code: Select all

      // group_id 5 = administrators
      // group_id 4 = global moderators
      // this groups belong to a Vanilla 3.1.x board
I have got: administrators group_id 116, moderators group_id 115.
Should I change/edit 5 to 116 and 4 to 115?
PM me please the link to your board, I do not need any kind of test-account nor access.
I am just curious to watch a thing.

Re: [RC1] TPOTM 1.0.0 - Top Poster Of The Month

Posted: Sat Sep 12, 2015 7:49 pm
by travel
I have sent PM.