PDA

View Full Version : Lack of Pagination on Party Chat/Scheduling Pages...



HoloGnome
July 2nd, 2014, 01:04
Can page control be added to the FG party/scheduling pages or is there already a slated revision? Currently, the party chat content is being rolled off the bottom of the page with no way to view the prior conversations. There are some simple php widgets out there to pull/paginate content from a mysql db - would probably be a simple change. Just curious. Thx.

ddavison
July 2nd, 2014, 01:59
Can you point me to the campaign suffering from this problem? It's probably a quick fix.

jasonisop
July 2nd, 2014, 02:54
I am guessing he is talking about mine. And yeah it would be nice if messages did not disappear

https://www.fantasygrounds.com/calendar/?id=1164

HoloGnome
July 4th, 2014, 12:32
@ddavison: possible to add a pagination widget?

HoloGnome
July 8th, 2014, 20:22
https://code.google.com/p/phppaginator/

...or take your pick: https://www.hotscripts.com/search/php/pagination

Any thoughts on this one?

ddavison
July 8th, 2014, 21:48
Okay, I copied over the largest campaign's messages to a test calendar entry so I could replicate the issue and saw how it was behaving. Performance wasn't bad when displaying everything, so I just left it wide open. Let me know if that proves problematic down the road. Let me know if you have any additional problems.

HoloGnome
July 9th, 2014, 00:45
Thanks. Is pagination possible at some point in the future?

ddavison
July 9th, 2014, 00:48
It's definitely possible, just not sure it is needed for most campaigns. I tested it with a campaign with 975 messages and it displayed in around 1 sec.

HoloGnome
July 9th, 2014, 02:41
Sounds good. Thx. Gotta love php/mysql. ;-)