Highlight unread posts broken in 3.3.1

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
Holger
Registered User
Posts: 1838
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Highlight unread posts broken in 3.3.1

Post by Holger »

Hi there,
I am using this Ext: viewtopic.php?f=456&t=2280826
It is great and it worked well until phpBB 3.2.10.
With 3.3.1 I get:
Undantag: The file "/customers/6/6/0/sjofart.net/httpd.www/ext/wolfsblvt/highlightunreadposts/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @config").

#0 /customers/6/6/0/sjofart.net/httpd.www/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/customers/6/6/...')
#1 /customers/6/6/0/sjofart.net/httpd.www/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /customers/6/6/0/sjofart.net/httpd.www/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /customers/6/6/0/sjofart.net/httpd.www/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /customers/6/6/0/sjofart.net/httpd.www/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /customers/6/6/0/sjofart.net/httpd.www/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /customers/6/6/0/sjofart.net/httpd.www/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /customers/6/6/0/sjofart.net/httpd.www/phpbb/di/container_builder.php(212): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /customers/6/6/0/sjofart.net/httpd.www/common.php(115): phpbb\di\container_builder->get_container()
#9 /customers/6/6/0/sjofart.net/httpd.www/adm/index.php(23): require('/customers/6/6/...')
#10 {main}
Would anyone be able to fix this great Ext?

/Holger
User avatar
P_I
Registered User
Posts: 1247
Joined: Tue Mar 01, 2011 8:35 pm
Location: Staying home - Calgary
Contact:

Re: Highlight unread posts broken in 3.3.1

Post by P_I »

First things first, that extension is marked as Abandoned so I'd question why anyone would have it installed and enabled on a production board.

Second, you might be able to fix it yourself using the information provided from phpBB • [3.2][3.3][RC] Extension .yml check.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
Holger
Registered User
Posts: 1838
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Highlight unread posts broken in 3.3.1

Post by Holger »

P_I wrote:
Sat Aug 15, 2020 2:05 pm
First things first, that extension is marked as Abandoned so I'd question why anyone would have it installed and enabled on a production board.

Second, you might be able to fix it yourself using the information provided from phpBB • [3.2][3.3][RC] Extension .yml check.
Well, I did not bother to check if it is abandoned or not. It worked very well for several updates, but not for 3.3.1. That might happen. No problem, so I asked because maybe someone sees the possibility to check the code and might publish an update.

Thanks for the link! I will take a look!
Holger
Registered User
Posts: 1838
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Highlight unread posts broken in 3.3.1

Post by Holger »

P_I wrote:
Sat Aug 15, 2020 2:05 pm
Second, you might be able to fix it yourself using the information provided from phpBB • [3.2][3.3][RC] Extension .yml check.
That gives me server error 500 after activating the Ext
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26852
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Highlight unread posts broken in 3.3.1

Post by Paul »

To receive extension support please visit our Extensions Database and post in the specific extension's designated support area. The link to the support area for each released extension is also available in the first post of each released extension listed in the [3.2.x] Extension Database Releases forum. For extensions still in development (not recommended for a live board) support is in that extensions's topic in the Extensions in Development forum.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
User avatar
DTMWC
Registered User
Posts: 375
Joined: Tue Jan 16, 2018 6:17 am

Re: Highlight unread posts broken in 3.3.1

Post by DTMWC »

P_I wrote:
Sat Aug 15, 2020 2:05 pm
First things first, that extension is marked as Abandoned so I'd question why anyone would have it installed and enabled on a production board.
A lot of people use abandoned extensions, some extensions are simple and the chances of bugs popping up are very slim.


If the OP fancies making unread posts glow without using an extension, like the image below...

Image


Simply add the below code to the bottom of the Prosilver colours.css style sheet.

Code: Select all

.post.unreadpost {
	animation-name: glow-unread-post;
	animation-duration: 3s;
	animation-delay: 3s;
	animation-iteration-count: infinite;
	border: 1px solid transparent;
}

@keyframes glow-unread-post {
	50% {
	border-color: #E49F9F;
	background-color: #DF0D0D14;
	}
}
If you use CodePen... Give @SMKS's Thank You NHS pen a like.
Holger
Registered User
Posts: 1838
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Highlight unread posts broken in 3.3.1

Post by Holger »

Thanks, will try that. I just liked that the ABD Ext just put a simple frame.
Holger
Registered User
Posts: 1838
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: Highlight unread posts broken in 3.3.1

Post by Holger »

Holger wrote:
Sat Aug 15, 2020 2:32 pm
P_I wrote:
Sat Aug 15, 2020 2:05 pm
Second, you might be able to fix it yourself using the information provided from phpBB • [3.2][3.3][RC] Extension .yml check.
That gives me server error 500 after activating the Ext
Ok, I got the YML-check-extension working, and found the problem with the Highlight New Posts Ext.
Now everything works!
Thanks!
Post Reply

Return to “Extension Requests”