Event for the notification lists

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
HanFox
Registered User
Posts: 12
Joined: Sat Jun 22, 2013 11:28 am

Event for the notification lists

Post by HanFox » Mon Jul 09, 2018 3:53 pm

What is the event for the dropdown at the top of the page and the page inside the ucp for managing notifications?

I've looked through the Event List on the wiki and the actual forum code and can't figure out which event I would use in an extension to modify the displayed data (chiefly the avatar).

Thanks for any help.

HanFox
Registered User
Posts: 12
Joined: Sat Jun 22, 2013 11:28 am

Re: Event for the notification lists

Post by HanFox » Fri Jul 20, 2018 6:21 pm

So, does no one know? Looks a bit wonky when certain areas have the correct avatars and the notifications don't.

Is this an event I'm going to have to request?

User avatar
3Di
Registered User
Posts: 12756
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Event for the notification lists

Post by 3Di » Sat Jul 21, 2018 2:38 am

HanFox wrote:
Fri Jul 20, 2018 6:21 pm
Looks a bit wonky when certain areas have the correct avatars and the notifications don't.
What's the issue with avatars in notifications? http://prntscr.com/k946m2
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

HanFox
Registered User
Posts: 12
Joined: Sat Jun 22, 2013 11:28 am

Re: Event for the notification lists

Post by HanFox » Sat Jul 21, 2018 10:43 am

3Di wrote:
Sat Jul 21, 2018 2:38 am
HanFox wrote:
Fri Jul 20, 2018 6:21 pm
Looks a bit wonky when certain areas have the correct avatars and the notifications don't.
What's the issue with avatars in notifications? http://prntscr.com/k946m2
I meant on my forum, using my theme.

Not everyone is content with prosilver.

I'm guessing this just isn't possible to change currently? Even though the avatar data seems to be freely available for every other part of the forum.

User avatar
david63
Jr. Extension Validator
Posts: 14563
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Event for the notification lists

Post by david63 » Sat Jul 21, 2018 10:52 am

HanFox wrote:
Mon Jul 09, 2018 3:53 pm
What is the event for the dropdown at the top of the page and the page inside the ucp for managing notifications?
HanFox wrote:
Sat Jul 21, 2018 10:43 am
I meant on my forum, using my theme.
As the default style displays avatars on notifications and your style does not then you would be better off asking your question at the place where you got your style
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

HanFox
Registered User
Posts: 12
Joined: Sat Jun 22, 2013 11:28 am

Re: Event for the notification lists

Post by HanFox » Sat Jul 21, 2018 10:57 am

I guess I haven't explained myself well.

I use a profile field to modify avatars under certain circumstances. Everywhere else the avatar is exposed in an event, but not for notifications.

My question is pretty simple, it's in the first post, is it possible to manipulate the data displayed in notifications via an event (just like in every other place on the forum), or not? If not, should I request an event be added, as that would, to me, make sense that notifications are on par with other parts of the software?

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24493
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Event for the notification lists

Post by Paul » Sat Jul 21, 2018 11:01 am

You will need to provide a lot more information (And preferbly code), unless the only thing we can do is guess what you are trying.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 2977
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: Event for the notification lists

Post by kasimi » Sat Jul 21, 2018 11:08 am

HanFox wrote:
Sat Jul 21, 2018 10:57 am
is it possible to manipulate the data displayed in notifications via an event
No, there is no event: https://github.com/phpbb/phpbb/blob/rel ... 4324-L4339

HanFox
Registered User
Posts: 12
Joined: Sat Jun 22, 2013 11:28 am

Re: Event for the notification lists

Post by HanFox » Sat Jul 21, 2018 11:11 am

kasimi wrote:
Sat Jul 21, 2018 11:08 am
HanFox wrote:
Sat Jul 21, 2018 10:57 am
is it possible to manipulate the data displayed in notifications via an event
No, there is no event: https://github.com/phpbb/phpbb/blob/rel ... 4324-L4339
Great, a response to the actual question and pointing at the relevant code. Thanks :)

That's really all I asked and everyone else seemed to fall over themselves a bit.

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests