[CDB] Top Poster Of The Month (reloaded)

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!
Get Involved
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
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

bug-i wrote:
Sun Oct 01, 2017 3:17 pm
awesome work! Thanks!
Thanks. :)

FOUNDERS are not included hence if those "admins" are fouders as well ..will not be shown.

During these days across this two months I did a lot of tests and code fixing.
All of the glitches (many) have been dealth with, including those you have already spotted.
Later on tonight/tomorrow the new version will be here available. ;) Regards.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

3Di wrote:
Sun Oct 01, 2017 5:08 pm
bug-i wrote:
Sun Oct 01, 2017 3:17 pm
awesome work! Thanks!
Thanks. :)

FOUNDERS are not included hence if those "admins" are fouders as well ..will not be shown.

During these days across this two months I did a lot of tests and code fixing.
All of the glitches (many) have been dealth with, including those you have already spotted.
Later on tonight/tomorrow the new version will be here available. ;) Regards.
is there a way to include founders as well? maybe just removing some code in my installation?
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

Yes, but I don't support/provide hacks, sorry.
I will see if I have time to code another option in ACP prior to release it though.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

3Di wrote:
Sun Oct 01, 2017 5:28 pm
I will see if I have time to code another option in ACP prior to release it though.
This would be perfect! :)
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

v1.1.0-rc5 released. See first 3 posts.

Changes Log since v1.1.0-rc4(PL1)

º Feature: Founders selectable via ACP as well
ª Bug: 2 more divisions by zero discovered and 2 more prevented (End)
º Bug: monthly Board's total posts report not updated in syncro
º Bug: Not unique CSS classes name interfere with other ext
º Bug: MAX('post_time') not considered in the Hall's SQL
º Bug: Show statistics only if posts > 1 (1 wasn't included)
º Bug: Avatar logic not in syncro
º Task: Finalize Avatar code for DAE compatibility
º Task: Move HTML to template files where is possible
º Task: Remove redundant code
º Task: Styling enhancements

Update Extension: disable / delete data & files / upload new files / re-enable
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

Once again: Thanks! Founders feature: works.

You are finally there :mrgreen: , but unfortunately I found some bugs (at my installation)

Styling: Hall of Fame - Trophy or Avatar slightly out of frame (to the left). I am using standard prosilver and cant remember having done any manual changes to the theme.

Hall of Fame: Userpics are working great, but not all other users without userpic do have the trophy. Some have and some dont. As far as I can see this might be related to the individual rank of a user. All my users that have a picture within their rank show the trophy, users without rank-picture do not have the trophy.

Hall of Fame / Mini Avatar at index page: Userpic is not shown constantly. If I hit F5/reload than after each reload the userpic switches to the trophy and otherwise. This is related only to the top poster in hall of fame/index page, not to the list of Top Posters ever

Calculation: After updating (and proper deleting work-data) the calculation partly does not work anymore. The top poster is calculated correct, but the number is not shown in hall of fame/Index page.
I have right now: "At the present time is [Userpic] not yet available out of 90 ( 0%)
Clearing cache in the acp solves this for the moment, but after F5/reload the bug appears again..
EDIT: this is definitely a caching issue. When I switch of caching in the ACP then it works perfect, but of course slows down page loading

Idea / feature request:
I think it would be nice to show the username additional to the logo for the tpotm in the hall of fame. There is enough space for that. I know that a click at the logo links to the user profile, but why not showing additionally the name like in top posters ever?
EDIT: forget about that. This is related to the calculation bug mentioned above. After Clearing cache the name ist shown, but after F5 I have "not yet available" another F5 does not bring back the username - "not yet available" stays there, but then the bug mentioned 2 above comes up (userpic is switching with trophy)


Just say if you need additional information...
User avatar
takufner
Registered User
Posts: 216
Joined: Mon Oct 23, 2006 10:39 am
Location: Rio de Janeiro - Brasil
Name: Prof. Caju
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by takufner »

Hello 3Di,

Thanks for the help.

Just installed RC5 and could get it working just fine. It had some high load at the beginning, but ended up on the track.

Playing with the settings, I could spot that when I use Time To Live = 0, the top user shows up correctly.

But, when I set Time To Live =5 or 10, or anything different than 0, the top user shows up as not yet available on the index page.

Kind regards,
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

takufner wrote:
Mon Oct 02, 2017 2:48 am
...but, when I set Time To Live =5 or 10, or anything different than 0, the top user shows up as not yet available on the index page.
.. same thing happens at my board, see my longer post above yours ;)
Hint for the solution: When I return to the board after the calculation time is up - then the correct username shows up, do I once more return before the next calculation time periode is up then I once again have "not yet available"
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

Thank you guys for the appreciation and valuable feedback, that's very important!

Well, let's talk a bit about the dev,on purpose I installed a fresh 3-2.1 pre-polulated with
Total posts 20889 • Total topics 5952 • Total members 501

Installed 29-sep-2017 22:21 so I had time the days across the end and begin of months to watch the behaviour of the timegaps which did perfectly work - at the last second. That helped me to find the 4 more division by zero fixed here. During the dev phase I kept the TTL (time to live) sat to 0 ofcourse, cause I need to no wait to see the results in the realtime, everything works just fine here in my localhost (which is just slower than a real server (mooore). I used the cache just sometimes to watch if it works and saved a lot of queries (almost all). The avatar code can be optimized more I know, I just wait before to create a new session of coding to get something to work together with.

All of this being said I presume I am not able (I try) to reproduce your issue so I ask for a PM with a link and credentials to conduct some test myself without interfering with the Board's life. :geek:
Edit: I am able to reproduce the issue now. :geek:

Will be fixed nextly. Thx. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

bug-i wrote:
Mon Oct 02, 2017 1:55 am
Styling: Hall of Fame - Trophy or Avatar slightly out of frame (to the left). I am using standard prosilver and cant remember having done any manual changes to the theme.
A pic pls? What browser are you using? Thx.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

BUG fix patch file to apply to v1.0.0-RC5, overwrite the existing file.
No need to disable the extension (if you do the better) :geek:

º Fix BUG: Avatars not synchronized while the Cache TTL is ON.
3Di_tpotm_100_rc5_FIX.zip
Last edited by 3Di on Fri Oct 06, 2017 11:32 pm, edited 1 time in total.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

* Fix applied, but after F5/Reload I still receive "not yet available", another F5 brings back the user :?

* Still missing trophy for some users (Dont know if the fix already contained that)
Image

* Here is a pic to show what I mean with "out of frame", no matter which browser (Firefox or IE at desktop, Firefox mobile
Image
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

bug-i wrote:
Tue Oct 03, 2017 5:33 am
* Fix applied, but after F5/Reload I still receive "not yet available", another F5 brings back the user :?
* Still missing trophy for some users (Dont know if the fix already contained that)
https://image.ibb.co/nmVXQb/2017_10_03_ ... page_2.png
Did you try to disable/delete data and upload the new file in place? Here is all right. :|
Image
bug-i wrote:
Tue Oct 03, 2017 5:33 am
* Here is a pic to show what I mean with "out of frame", no matter which browser (Firefox or IE at desktop, Firefox mobile
https://image.ibb.co/kGaSrG/2017_10_03_ ... page_1.png
That's not a bug, I coded it that way.
The Trophy has a transparent background, try with a normal avatar and you will see the pretty.
Image
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
bug-i
Registered User
Posts: 132
Joined: Fri Feb 17, 2017 12:45 pm

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by bug-i »

Thats exactly what i mean :) Isnt it supposed to be that way:

Suggestion: Trophy/Userpic inside the frame (sorry for my crappy paint-skills)
Image

instead of this:
Image


But back to the major issue: No changes after uploading your fix-file including clearing cache/session data/browsercache/work data of the extension :( Lets wait for takufner, and if it works for him

Here are some preferences, maybe this helps:
Datenbank-Server: MySQL(i) 10.1.21-MariaDB
PHP-Version: 7.1.8
Version des Boards: 3.2.1
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Post by 3Di »

bug-i wrote:
Tue Oct 03, 2017 7:12 am
Thats exactly what i mean :) Isnt it supposed to be that way:

Suggestion: Trophy/Userpic inside the frame (sorry for my crappy paint-skills)
It is because I luuv it so much to be that way :)
Every soul could arrange it to fit their own needs amending the CSS file. ;) (Opensource)
bug-i wrote:
Tue Oct 03, 2017 7:12 am
But back to the major issue: No changes after uploading your fix-file including clearing cache/session data/browsercache/work data of the extension :( Lets wait for takufner, and if it works for him
Perhaps I forgot something to include in the package (everything is possible).
I will put online a new version with other enhancements too (style and avatars) as soon as I have time.
May be today may be not. Here is 5.6.19 due to phpBB 3.2.1/3.1.11 compatibility.

I will do some test also on PHP 7.etc. before.
Tested on PHP 7.0.4 = no probs.

Thanks for feedback as usual, appreciated. 8-)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Locked

Return to “Extensions in Development”