[ABD] Notifications from administrator

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

[ABD] Notifications from administrator

Post by Alg » Tue Aug 04, 2015 7:57 pm

Extension Name:adminnotifications

Extension Description:: The extension allows to send notifications to users and groups for administrators of a board An administrator can compose and send notification. store it in archive, restore and delete from archive

1. Compose page
Image

2. Instruction
Image

3. Notifications view
Image


Requirements:
  • phpBB 3.1.5 or later
Development repository: https://github.com/alg5/adminnotifications
Download URL: Download button named "Download ZIP" can be found at the development repository page.
Installation: Extension files should be extracted to /ext/alg/adminnotifications folder. Then the extension should be enabled in ACP as usually.
Last edited by Alg on Tue Jul 19, 2016 7:28 pm, edited 1 time in total.

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [dev]Notifications from administrator

Post by martin123456 » Tue Aug 04, 2015 8:54 pm

Nice :D merge it with this activenotifications and it would be much nicer :lol:

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
optimusvault
Registered User
Posts: 108
Joined: Tue Jul 28, 2015 2:51 am
Name: Aaron

Re: [dev]Notifications from administrator

Post by optimusvault » Tue Aug 04, 2015 9:20 pm

Why is it that when I click on notifications I can't see the notification, but when I hover over it I can?

How do I make it so I can see it when I click on the notification list?

Image
Cheers,
Aaron

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [dev]Notifications from administrator

Post by Volksdevil » Tue Aug 04, 2015 9:30 pm

Awesome! 8-)
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

Re: [dev]Notifications from administrator

Post by Alg » Wed Aug 05, 2015 4:27 am

optimusvault wrote:Why is it that when I click on notifications I can't see the notification, but when I hover over it I can?

How do I make it so I can see it when I click on the notification list?
I don't know why. I see when I hover over and when I clicked. This ext use built-in mechanism of notifications

Miri4ever
Registered User
Posts: 409
Joined: Sat Mar 07, 2015 11:18 am

Re: [dev]Notifications from administrator

Post by Miri4ever » Wed Aug 05, 2015 1:16 pm

If I open the modul inside acp, I first got this errors at the top. Everything displays from the extension, just his errors at top of the page.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alg/adminnotifications/acp/acp_adminnotifications_module.php on line 35: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
Homepage: Terra Oceanica

Miri4ever
Registered User
Posts: 409
Joined: Sat Mar 07, 2015 11:18 am

Re: [dev]Notifications from administrator

Post by Miri4ever » Wed Aug 05, 2015 4:06 pm

Trying to disable this exenstion result this error and nothing is working anymore. Must activate to get everything working again. Without the boards no longer seems to work.

Code: Select all

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'The service definition "alg.adminnotifications.notification.type.fromadmin" does not exist.' in /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:871 Stack trace: #0 /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(478): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('alg.adminnotifi...') #1 /home/www/web477/html/FORUM/phpbb/notification/manager.php(905): Symfony\Component\DependencyInjection\ContainerBuilder->get('alg.adminnotifi...') #2 /home/www/web477/html/FORUM/phpbb/notification/manager.php(885): phpbb\notification\manager->load_object('alg.adminnotifi...') #3 /home/www/web477/html/FORUM/phpbb/notification/manager.php(228): phpbb\notification\manager->get_item_type_class('alg.adminnotifi...', Array) #4 /home/www/web477/html/FORUM/ in /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 871
Error: Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'The service definition "alg.adminnotifications.notification.type.fromadmin" does not exist.' in /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:871 Stack trace: #0 /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(478): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('alg.adminnotifi...') #1 /home/www/web477/html/FORUM/phpbb/notification/manager.php(905): Symfony\Component\DependencyInjection\ContainerBuilder->get('alg.adminnotifi...') #2 /home/www/web477/html/FORUM/phpbb/notification/manager.php(885): phpbb\notification\manager->load_object('alg.adminnotifi...') #3 /home/www/web477/html/FORUM/phpbb/notification/manager.php(228): phpbb\notification\manager->get_item_type_class('alg.adminnotifi...', Array) #4 /home/www/web477/html/FORUM/ at file /home/www/web477/html/FORUM/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php line 871
Homepage: Terra Oceanica

User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

Re: [dev]Notifications from administrator

Post by Alg » Fri Aug 07, 2015 7:22 pm

Yes, it was my mistake. This extension requires some methods in order to properly manage the
* notifications created by it when enabling, disabling or deleting this extension.
How to repair:
1. Remove the remaining notifications manually from DB

Code: Select all

delete n.*, nt.* FROM phpbb_notifications 
n inner join phpbb_notification_types nt on n.notification_type_id = nt.notification_type_id
WHERE nt.notification_type_name='alg.adminnotifications.notification.type.fromadmin'
2. Get fixed version from github

User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

Re: [dev]Notifications from administrator

Post by Alg » Fri Aug 07, 2015 7:27 pm

Miri4ever wrote:If I open the modul inside acp, I first got this errors at the top. Everything displays from the extension, just his errors at top of the page.
I couldn't restore this. Try new version, please

User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

Re: [dev]Notifications from administrator

Post by Alg » Fri Aug 07, 2015 7:51 pm

martin123456 wrote:Nice :D merge it with this activenotifications and it would be much nicer :lol:
why not, I think to create the same :)

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [dev]Notifications from administrator

Post by Volksdevil » Fri Aug 07, 2015 10:52 pm

Just updated, but I notice I have to refresh cache before I can use the extension in the extensions tab, nothing can be clicked until i refresh cache.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [dev]Notifications from administrator

Post by nero » Fri Aug 07, 2015 11:05 pm

Following this extension.

Miri4ever
Registered User
Posts: 409
Joined: Sat Mar 07, 2015 11:18 am

Re: [dev]Notifications from administrator

Post by Miri4ever » Fri Aug 07, 2015 11:41 pm

First I needed to find out how to delete those notifications and who ever developed this, that it is not possible to delete those. . . I needed to wait for 2 days until all got deleted by the server itself and so I could update and disable seems working not blocking myself as admin out again. But this error opening the message page still remains:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alg/adminnotifications/acp/acp_adminnotifications_module.php on line 35: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3899)
Homepage: Terra Oceanica

User avatar
david63
Registered User
Posts: 16408
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [dev]Notifications from administrator

Post by david63 » Sat Aug 08, 2015 7:26 am

I have not looked at the code for this extension but if an extension is disabled and data deleted then so should the notifications - there should be a ext.php file to handle the removal of the notifications
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

User avatar
Alg
Registered User
Posts: 76
Joined: Thu Aug 07, 2014 7:13 pm
Location: Israel
Contact:

Re: [dev]Notifications from administrator

Post by Alg » Sat Aug 08, 2015 7:59 am

david63, there is updated exp.php in the github

Locked

Return to “Abandoned Extensions”