cBB Blockgets - problem with Topic Index block


no_avatar
leschek
 
Posts: 65
Joined: Sat Sep 08, 2012 10:08 pm
 Mon Mar 30, 2020 10:10 pm • via Web
I would like to see in this block last posts on forum. It is working in previous version of Blockgets (2.0.0), but after update to version 2.0.1 I have a few issues with this block:

1. It doesn't show number of topics I set in ACP. In block setting I set "Topics per page: 10", but it shows only 2 topics per page.
2. In setting "Order by:" I set "Last post date" Save it, but it always come back to "Topic title".

phpBB version: 3.3.0
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue Mar 31, 2020 10:47 am • via Web
Hi,

Download the file attached to this post and upload it to /ext/canidev/blockgets/blocks/ via ftp, overwriting the current file.
Attachments
topic_index_block.php
(8.85 KB) Downloaded 236 times
no_avatar
leschek
 
Posts: 65
Joined: Sat Sep 08, 2012 10:08 pm
 Tue Mar 31, 2020 9:22 pm • via Web
Thank you for the help. It seems it's working now.
no_avatar
leschek
 
Posts: 65
Joined: Sat Sep 08, 2012 10:08 pm
 Wed Apr 01, 2020 9:58 am • via Web
It seems there is another problem with this block.
In column "Comments" are numbers of comments in topic. Previously it was working as links to last post of topic. Now it works as link, but it goes to page, where the block is on. For example if block is on index.php page the link goes to https://www.mydomain.com/phpBB/index.php. On viewforum.php it goes to https://www.mydomain.com/phpBB/viewforum.php?f=37 and so on.

Who is online

Users browsing this forum: No registered users and 0 guests