AntzCode / ossn-theme-fakebook

Facebook theme for ossn-opensource-socailnetwork.org
3 stars 2 forks source link

Pagination not working in Private Messages view #2

Closed AntzCode closed 4 years ago

AntzCode commented 4 years ago

It is not a problem with the live chat, but with private messages.

In the topbar, click on the "messages" icon. Open any conversation that has quite a few messages, and there will be pagination at the top. When clicking on the pagination to load more messages, the page refreshes but it remains on page one with the same messages. Therefore there is no way to see all the conversation history.

The URL's seem to be working fine: /messages/message/username?offset=2

AntzCode commented 4 years ago

Notice auto-loading functionality in other themes: Social 5.1, GoBlue 4.4, Awesome 6.1. That is preferable to fixing the pagination. We don't want pagination if the messages can be automatically loaded.

AntzCode commented 4 years ago

Merged the file from the Awesome v6.1 theme at /plugins/default/pagination/view.php and that fixed it.