[BETA] [3.2] Prime Notify

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)
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Janvitus wrote: Wed Feb 05, 2020 12:54 pm Yes, but i recommend reviewing the script a bit, i had to change "memory_limit = -1" to enable or disable the extension.

Tnx.
What kind of database do you use, and how big are the tables phpbb_notifications and phpbb_notification_types?
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
Janvitus
Registered User
Posts: 20
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

primehalo wrote: Thu Feb 06, 2020 4:36 pm
Janvitus wrote: Wed Feb 05, 2020 12:54 pm Yes, but i recommend reviewing the script a bit, i had to change "memory_limit = -1" to enable or disable the extension.

Tnx.
What kind of database do you use, and how big are the tables phpbb_notifications and phpbb_notification_types?
Postgresql, and the db is about 11 GiB.
User avatar
Hippie459MN
Registered User
Posts: 964
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by Hippie459MN »

Awesome! Just updated to the master on your GitHub and so far no errors in phpBB 3.3.0 Thats again!!! :D
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Janvitus wrote: Sun Feb 09, 2020 10:27 am
primehalo wrote: Thu Feb 06, 2020 4:36 pm
Janvitus wrote: Wed Feb 05, 2020 12:54 pm Yes, but i recommend reviewing the script a bit, i had to change "memory_limit = -1" to enable or disable the extension.

Tnx.
What kind of database do you use, and how big are the tables phpbb_notifications and phpbb_notification_types?
Postgresql, and the db is about 11 GiB.
I just updated to hopefully fix the postgresql related error. I don't know if that also fixes the memory thing or not. I don't have postgres or a large database so I can't really test it.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
Stoertie
Registered User
Posts: 68
Joined: Mon Aug 24, 2015 5:58 am
Location: Europe/Germany
Name: Michael

Re: [BETA] [3.2] Prime Notify

Post by Stoertie »

Hi all,

I just installed it at a 3.2.8 version and it works.

Here are the missing German language files:

[The extension php has been deactivated and can no longer be displayed.]

[The extension php has been deactivated and can no longer be displayed.]


Just copy the files to the folder "ext/primehalo/primenotify/language/de" at your server

regards
Michael
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Thanks!
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
Stoertie
Registered User
Posts: 68
Joined: Mon Aug 24, 2015 5:58 am
Location: Europe/Germany
Name: Michael

Re: [BETA] [3.2] Prime Notify

Post by Stoertie »

primehalo wrote: Fri Jun 19, 2020 6:56 pmThanks!
My pleasure! ;)

One short question, maybe you can help...

For my forum I made some little changes in the text of the emails. Now I'm missing mutated vowel(?) I mean the typical German characters like "ä,Ä,ö,Ö,ü,Ü and ß" must I use the html code for these ( for example "Ä") or is that a server setting problem ?

The text looks like this:

Code: Select all

Wenn du das Forum nicht weiter beobachten m chtest, dann klicke im oben genannten Forum auf den "Schraubensch ssel" und w hle "Abonnement des Themas beenden", oder nutze einfach den folgenden Link:
https://forum.z1-nordlichter.de/viewforum.php?uid=X&f=X&unwatch=forum
For example the words
"m chtest" in text above shall look like this: "möchtest"
"Schraubensch ssel" in text above shall look like this: "Schraubenschüssel" and
"w hle" in text above shall look like this: "wähle"

I made the changes in the php-files with PSPad...

Regards
Michael
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Strange... you shouldn't have to use HTML codes. It should work exactly the same as as phpBB's default emails which use those characters just fine. My code simply extends the default code to select a different template file and insert a couple variables, otherwise it should work the same. If you disable the extension so the board uses the default phpBB email templates do you get the same results?
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
Stoertie
Registered User
Posts: 68
Joined: Mon Aug 24, 2015 5:58 am
Location: Europe/Germany
Name: Michael

Re: [BETA] [3.2] Prime Notify

Post by Stoertie »

Sorry for my late reply...

I just tested to use the HTML-codes (for example "ü") but then I got exactly this in the email. :-(

The good thing is, that we can also use "ue" instead of "ü"... so I will go that way, because it's the easiest way... :mrgreen:

Regards
Michael
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

Re: [BETA] [3.2] Prime Notify

Post by Mike-on-Tour »

What coding did you use for saving the language file? Using UTF-8 (without BOM!!) should work just fine.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Stoertie
Registered User
Posts: 68
Joined: Mon Aug 24, 2015 5:58 am
Location: Europe/Germany
Name: Michael

Re: [BETA] [3.2] Prime Notify

Post by Stoertie »

Hi Michael,

hmmm.... I'm not the PHP-Expert, but the editor PSPad, I used, was set to ANSI (see Screenshot )
Screenshot.jpg
I will set it to Unicode UTF-8 no BOM now and try again, after that I will report what happend. ;)

Regards
Michael
Stoertie
Registered User
Posts: 68
Joined: Mon Aug 24, 2015 5:58 am
Location: Europe/Germany
Name: Michael

Re: [BETA] [3.2] Prime Notify

Post by Stoertie »

Moin Michael,

that solved the Problem - now it works. :)

Thanks a lot!

Regards from the north of Hamburg
Michael
User avatar
Mike-on-Tour
Registered User
Posts: 462
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael
Contact:

Re: [BETA] [3.2] Prime Notify

Post by Mike-on-Tour »

Moin
if you ever had difficulties with German "Umlaute" you know where to look ;)

Regards from eastern Lower Saxony
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [BETA] [3.2] Prime Notify

Post by Midway »

Code: Select all

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "primehalo.primenotify.notification.type.post". in /home/clients/04bba139eb5e41020ef875068f42a5f4/web/vendor/symfony/dependency-injection/ContainerBuilder.php:1060 Stack trace: #0 /home/clients/04bba139eb5e41020ef875068f42a5f4/web/vendor/symfony/dependency-injection/ContainerBuilder.php(620): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('primehalo.prime...') #1 /home/clients/04bba139eb5e41020ef875068f42a5f4/web/vendor/symfony/dependency-injection/ContainerBuilder.php(588): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('primehalo.prime...', 1) #2 /home/clients/04bba139eb5e41020ef875068f42a5f4/web/phpbb/notification/manager.php(883): Symfony\Component\DependencyInjection\ContainerBuilder->get('primehalo.prime...') #3 /home/clients/04bba139eb5e41020ef875068f42a5f4/web/phpbb/notification/manager.php(857): phpbb\notification\manager->load_object('prim in /home/clients/04bba139eb5e41020ef875068f42a5f4/web/vendor/symfony/dependency-injection/ContainerBuilder.php on line 1060
Since yesterday I've had this mistake not having access to the forum I went through the database in phpbb_ext and I set primenotify to zero to disable it but nothing can be done I still have this error even if I go through the stk.

On the other hand by not being connected I don't get this error, I only get it when I try to connect.
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Weird. Check if this file still exists and is the same as the one in the ZIP file: /ext/primehalo/primenotify/notification/type/post.php

If it got deleted or edited somehow then that could cause the error.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
Post Reply

Return to “Extensions in Development”