[CDB] Mark Read Confirm

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
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

[CDB] Mark Read Confirm

Post by kasimi »

Extension Name: Mark Read Confirm

Author: kasimi

Description: Adds a confirmation box before forums and topics are marked as read.

Requirements:
  • PHP at least 5.4.7
  • phpBB at least 3.2.2
Screenshots:
Image

Download https://www.phpbb.com/customise/db/exte ... d_confirm/

Installation:
  1. Copy the contents of the archive to /ext/kasimi/markreadconfirm.
    Make sure the file /ext/kasimi/markreadconfirm/composer.json is present.
  2. Navigate to the ACP » Customise » Manage extensions page.
  3. Click Enable next to Mark Read Confirm in the Disabled Extensions section.
Changelog:
  • 2016-02-05 1.0.0 released
  • 2018-09-23 1.1.0 released
    • Require at least phpBB 3.2.2, at least PHP 5.4.7
    • Rewritten confirm logic to support all mark read modes (all forums, subforums of current forum, topics of current forum)
    • Only add language on pages with Mark Read link
    • Added ext.php for phpBB and PHP version checking
    • Lots of code cleanup
  • 2018-09-25 1.1.1 released
    • Added support for Mark read button on unread posts search page
Last edited by kasimi on Fri Feb 05, 2016 10:11 pm, edited 1 time in total.
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [BETA] Mark Forums Read Confirm

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. :ugeek:

Hard work to translate this. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [BETA] Mark Forums Read Confirm

Post by kasimi »

Tremendous effort indeed. :) Thanks!
Holger
Registered User
Posts: 1886
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Mark Read Confirm

Post by Holger »

Thanks a lot!
(I think this is missing in the core.)
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [3.2][RC] Mark Read Confirm

Post by kasimi »

Version 1.1.0 is now available. I have updated the extension to work with phpBB 3.2. In 3.1 it was half broken because of a missing JavaScript callback argument. This argument has been added to phpBB 3.2.2 which is now the minimum requirement.

For translators: Due to changes in the language file I deleted all extra languages. I would prefer to not include translations in the extension package, so please post them in this topic. Thanks! :)
User avatar
nou nou
Registered User
Posts: 677
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][RC] Mark Read Confirm

Post by nou nou »

Good extension - My only wish is that it would also confirm the Mark All Read on the Unread posts page... :)
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [3.2][RC] Mark Read Confirm

Post by kasimi »

Your wish has been fulfilled in 1.1.1, see first post. :)
User avatar
nou nou
Registered User
Posts: 677
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][RC] Mark Read Confirm

Post by nou nou »

Woohoo! :D

Works beautifully - thanks!
User avatar
nou nou
Registered User
Posts: 677
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][RC] Mark Read Confirm

Post by nou nou »

User feedback alert. Half of them love it, half of them hate it, all of them want a UCP setting :)
User avatar
pikachuturkey
Registered User
Posts: 337
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza

Re: [3.2][RC] Mark Read Confirm

Post by pikachuturkey »

Turkish (tr) language for "[3.2][RC] Mark Read Confirm" version 1.1.1

Code: Select all

<?php
/**
 *
 * @package phpBB Extension - Mark Read Confirm
 * @copyright (c) 2018 kasimi - https://kasimi.net
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = [];
}
$lang = array_merge($lang, [
	'MARKREADCONFIRM_FORUMS'	=> 'Tüm forumları okundu işaretle?',
	'MARKREADCONFIRM_SUBFORUMS'	=> 'Alt forumları okundu işaretle?',
	'MARKREADCONFIRM_TOPICS'	=> 'Bu forum için konuları okundu işaretle?',
]);
Sippan
Registered User
Posts: 177
Joined: Thu Jan 27, 2011 6:23 am

Re: [3.2][RC] Mark Read Confirm

Post by Sippan »

Hi...a tip it should not show any popup if there is nothing to Mark Read Confirm
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [3.2][RC] Mark Read Confirm

Post by kasimi »

This would require the extension to check on each page load if there is at least one topic to mark read, something that uses too many resources for too little benefit.
Sippan
Registered User
Posts: 177
Joined: Thu Jan 27, 2011 6:23 am

Re: [3.2][RC] Mark Read Confirm

Post by Sippan »

ok thx for info...
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [CDB] Mark Read Confirm

Post by kasimi »

Return to “Extensions in Development”