[CDB] Mark Post Unread

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!
Scam Warning
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)
didou116
Registered User
Posts: 42
Joined: Wed Jul 22, 2015 3:16 pm

Re: [BETA] Mark Post Unread

Post by didou116 »

Ok, no problem ;)

I didn't know that it was supposed to be included in 3.1.7... Good to know.

Maybe by this time you will have changed your mind about the option to mark PM as unread :mrgreen:
spello
Registered User
Posts: 126
Joined: Sat May 28, 2011 11:12 am

Re: [BETA] Mark Post Unread

Post by spello »

didou116 wrote:the option to mark PM as unread :mrgreen:
I like that idea too :D
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Mark Post Unread

Post by Holger »

spello wrote:
didou116 wrote:the option to mark PM as unread :mrgreen:
I like that idea too :D
+1!
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [RC] Mark Post Unread

Post by kasimi »

Marking PMs unread requires numerous new core events to be added for which I currently have no time to look into. But again, I'm definitely not against adding this, so if someone else wants to contribute, I'm happy to merge PRs. :)

Meanwhile, there's v1.0.2, see first post. The 'Mark all posts read' link has been removed from this extension and we're on RC status now. I'm still hoping to get some more feedback if everything is working ok though.
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [RC] Mark Post Unread

Post by kasimi »

There was a syntax error in the JavaScript code preventing the "Unread posts" link in the quick links menu from updating. v1.0.2 has been updated, please download again.
didou116
Registered User
Posts: 42
Joined: Wed Jul 22, 2015 3:16 pm

Re: [RC] Mark Post Unread

Post by didou116 »

I don't have time to test it for the moment but I'll give you a feedback as soon as I can ;)

Thanks for the new update ;)
didou116
Registered User
Posts: 42
Joined: Wed Jul 22, 2015 3:16 pm

Re: [RC] Mark Post Unread

Post by didou116 »

Hi, I've updated my test forum to 3.1.7-PL1 and updated your extension too.

I've tested it quickly (I don't have time right now to test it more) and it seems to work correctly ;) Thanks!

But I don't have the "Mark all posts read" link on the search results page anymore...

If I understood things correctly, I think you said that it should be included in phpBB 3.1.7 and that was the reason why you removed it from your extension... ?

So, is it normal that I don't have the link anymore, knowing that my forum version is 3.1.7-PL1 ?
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: [RC] Mark Post Unread

Post by kasimi »

Thanks for testing this, glad it works for you!

You most likely haven't updated your style to 3.1.7, specifically you're missing this edit: https://area51.phpbb.com/code-changes/3 ... .html.html If you use prosilver and haven't applied any customizations, grab a fresh copy from the full phpBB 3.1.7PL1 download package and copy it over your existing prosilver style. If you use a custom style, you should make the style's author aware of those changes and hope for an update, or apply the changes manually.
didou116
Registered User
Posts: 42
Joined: Wed Jul 22, 2015 3:16 pm

Re: [RC] Mark Post Unread

Post by didou116 »

Thanks for your answer ;)

You're right, I had forgotten to update my style.

I've just done it and the link does appear now ;)
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11148
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [RC] Mark Post Unread

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. :wink:

Best regards.
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
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [RC] Mark Post Unread

Post by pierredu »

Hello,

I tested this extension under 3.2.0.RC1 and the square appears in the line, but is empty (no picture).
samare
Registered User
Posts: 4
Joined: Thu Jul 14, 2016 5:11 pm

Re: [RC] Mark Post Unread

Post by samare »

Hi Kasimi!

Thanks for this extension, i have 2 questions.

1) i see the zip contains one extra file "core.php" which is not in the github, so which one to use?

2) After enabling this extension all looks fine but when clicking the star button i get
Fatal error: Call to undefined method phpbb\controller\helper::message() in /forum/ext/kasimi/markpostunread/controller/controller.php on line 55

Is there anything i can do to fix this?

Thanks
didou116
Registered User
Posts: 42
Joined: Wed Jul 22, 2015 3:16 pm

Re: [RC] Mark Post Unread

Post by didou116 »

Hi Kasimi,

Are you still working on this extension ?

Is there a chance for it to be submitted to validation one day ?

Thanks for your answer ;)
User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [RC] Mark Post Unread

Post by martin123456 »

pierredu wrote:Hello,

I tested this extension under 3.2.0.RC1 and the square appears in the line, but is empty (no picture).
ext\kasimi\markpostunread\styles\prosilver\template\event\viewtopic_body_post_buttons_before.html

change the code to this

Code: Select all

<!-- IF postrow.S_MARKPOSTUNREAD_ALLOWED -->
	<a href="{postrow.U_MARKPOSTUNREAD}" title="{L_MARKPOSTUNREAD_MARK_UNREAD}" class="button button-icon-only"><i class="icon fa fa-star" aria-hidden="true"></i><span class="sr-only">{L_MARKPOSTUNREAD_MARK_UNREAD}</span></a>
<!-- ENDIF -->

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [RC] Mark Post Unread

Post by pierredu »

Thanks for the solution.
My message was more for Kasimi, to help him preparing the 3.2.x transition.

Return to “Extensions in Development”