Recent Topics

New releases : 2.1.3 in CDB Queue + 2.2.0-RC3 - Recent Topics

New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Sajaki » Mon Jan 23, 2017 1:31 pm

hi all,

there are new versions available:
  • v2.1.3 for phpBB 3.1 (in Validation queue) 2.1.3
  • v2.2.0-RC3 for phpBB 3.2 2.2.0-RC3
Changelog
  • 2.2.0 (22/01/2017)
    • [UPD] Update for phpbb 3.2.0
    • [FIX] #20 Adjust 3.2 pagination css
  • 2.1.3 (22/01/2017)
    • [UPD] new language files ar/es/es-x-tu/pt/ru
    • [FIX] fixed placement post status-icons. parent li should be relative.
    • [FIX] #17 #18 fixed permission issues
    • [NEW] Added a user preference resetbutton in ACP.
    • [CHG] 2.1.3 migration resets all positions to top.
    • [NEW] add support for pre:fixed extension from imkingdavid. using a new event paybas.recenttopics.modify_topictitle, and fallback if no listener was found
    • [FIX] fixed code review issues
Sajaki
Registered User
Posts: 1314
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by SalazarAG » Mon Jan 23, 2017 2:32 pm

Excellent work, Sajaki, congratulations.

I updated and tested. Happy to implement compatibility with [pre] fixed.

However, I noticed a bug. Inkingdavid prefixes can be formatted with BBcodes, and in recent topics the prefixes do not appear formatted with bbcodes. Instead, the BBcode code appears. :(

See
1111.png
1111.png (8 KiB) Viewed 327 times
I'm sorry for my English. Google Translator does a bad job. :D
User avatar
SalazarAG
Registered User
Posts: 664
Joined: Mon Mar 30, 2015 10:48 am
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Sajaki » Mon Jan 23, 2017 3:11 pm

Imkingdavid should add a listener to handle the "paybas.recenttopics.modify_topictitle" event.

In the meantime I added a temporary code to retrieve the prefixes anyway but this does not take into account bbcode handling within the prefixes.

core/recenttopics.php line 437 -> 450.

Code: Select all

if ($this->prefixed !== null)
{
	// pre:fixed extension
	$prefix_instances = $this->prefixed->get_prefix_instances();
	foreach($prefix_instances as $key1)
	{
		if ($row['topic_id'] == $key1['topic'])
		{
			$prefixes = $this->prefixed->get_prefixes();
			$prefix = '[' . $prefixes[$key1['prefix']]['title'] . '] ';
		}
	}
}
so maybe you'd better off removing this bit until word from imkingdavid.
Sajaki
Registered User
Posts: 1314
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by SalazarAG » Mon Jan 23, 2017 3:15 pm

I got, Sajaki! Thank you very much!!!
I'm sorry for my English. Google Translator does a bad job. :D
User avatar
SalazarAG
Registered User
Posts: 664
Joined: Mon Mar 30, 2015 10:48 am
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Marty05 » Mon Jan 23, 2017 5:24 pm

Hi. 2.2.0 RC3 - where to set recent topics pages? I see only checkbox enable/disable. Thanks.
Marty05
Registered User
Posts: 3
Joined: Mon Jan 23, 2017 5:17 pm
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Sajaki » Mon Jan 23, 2017 5:42 pm

Pagination is enabled by default, unless you click to disable it.
Bildschirmfoto 2017-01-23 um 18.41.10.png
Bildschirmfoto 2017-01-23 um 18.41.10.png (10.73 KiB) Viewed 322 times
Sajaki
Registered User
Posts: 1314
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Marty05 » Mon Jan 23, 2017 5:49 pm

Yes, and number of pages? :)
Marty05
Registered User
Posts: 3
Joined: Mon Jan 23, 2017 5:17 pm
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Sajaki » Mon Jan 23, 2017 5:52 pm

hmm, i changed the textbox to a checkbox, because if you wanted to disable the pagination the number had to be set to 0, which isn't handy. however, i forgot to re-add a control to set the number of pages.
Sajaki
Registered User
Posts: 1314
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by remoss » Tue Jan 24, 2017 6:54 am

RC3 works fine here, thanks for this plugin :)

Any chance of this one in a next release?:
Image
Last edited by remoss on Fri Jan 27, 2017 6:05 am
User avatar
remoss
Registered User
Posts: 72
Joined: Wed Jul 08, 2015 2:12 pm
Location: The Netherlands
Name: René
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Saint_hh » Tue Jan 24, 2017 7:03 am

remoss wrote:Any chance of this one in a next release?:
+1
It's very handy, especially on small screens / mobile devices. It has been clickable in the old versions.

But beside that, RC3 is looking very good, thank you very much! 😊👍
Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by Exabot » Tue Jan 24, 2017 10:46 am

v2.1.3 not working "Excluded topics: The IDs of topics to exclude, seperated by "," (Example: 7,9)"
Exabot
Registered User
Posts: 50
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by knarfboy » Tue Jan 24, 2017 5:23 pm

in german language ( de ) for 3.2 RC3 and 2.1.3 , info_acp_recenttopics.php , on the bottom 3 lines missing
'RT_RESET_DEFAULT' , 'RT_RESET_DEFAULT_EXP' and 'RT_NICKVERGESSEN_NEWSPAGE'

Change it like:

'RT_PARENTS_EXP' => 'Übergeordnete Foren in der Liste der aktuellen Themen anzeigen.',
'RT_RESET_DEFAULT' => 'Resetet Benutzer Einstellungen.',
'RT_RESET_DEFAULT_EXP' => 'Resetet Benutzer Einstellungen auf default Werte.',

//Enable for extensions
'RT_NICKVERGESSEN_NEWSPAGE' => 'Support fuer NewsPage Erweiterung',
'RT_VIEW_ON' => 'Aktuelle Themen anzeigen auf:',

)
knarfboy
Registered User
Posts: 13
Joined: Sun Jan 08, 2017 2:48 am
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by cipry15 » Tue Jan 24, 2017 5:30 pm

Please add an option:
Allow guests to see Recent Topics: Yes / No

much needed for my forum..
thanks again for you hard work.
cipry15
Registered User
Posts: 3
Joined: Tue Jan 24, 2017 5:27 pm
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by remoss » Wed Jan 25, 2017 8:28 am

It's allready there:
Image
User avatar
remoss
Registered User
Posts: 72
Joined: Wed Jul 08, 2015 2:12 pm
Location: The Netherlands
Name: René
Contact:

Re: New releases : 2.1.3 in CDB Queue + 2.2.0-RC3

by remoss » Fri Jan 27, 2017 6:10 am

On Github you wrote:
Sajaki wrote:they are already clickable, but only when the topic is unread. this is phpbb default behaviour.
But unlike default PHPBB behaviour, the UNread icons are NOT clickable!
remoss wrote:RC3 works fine here, thanks for this plugin :)

Any chance of this one in a next release?:
Image
User avatar
remoss
Registered User
Posts: 72
Joined: Wed Jul 08, 2015 2:12 pm
Location: The Netherlands
Name: René
Contact:


cron