[3.2][3.3][BETA] Popup PM

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
TheButcher2
Registered User
Posts: 1034
Joined: Tue May 13, 2014 11:38 pm

Re: [3.2][3.3][BETA] Popup PM

Post by TheButcher2 »

HI I am using PHPBB version 3.3.4 and PHP version: 7.4.26 on my forum https://www.sponsorchat.com/forum/

I installed the extension, when I enable

Enable Popup new PM: Yes

Enable title blink: Yes

I get this error, can you please advise.

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'popuppm_enable_popup' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('popuppm_enable_popup', 1, 0)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 195
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 161
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/ext/tatiana5/popuppm/functions/acp_module_helper.php
LINE: 145
CALL: phpbb\config\db->set()

FILE: [ROOT]/ext/tatiana5/popuppm/functions/acp_module_helper.php
LINE: 101
CALL: tatiana5\popuppm\functions\acp_module_helper->set_config()

FILE: [ROOT]/ext/tatiana5/popuppm/functions/acp_module_helper.php
LINE: 71
CALL: tatiana5\popuppm\functions\acp_module_helper->submit_form()

FILE: [ROOT]/ext/tatiana5/popuppm/acp/popuppm_module.php
LINE: 22
CALL: tatiana5\popuppm\functions\acp_module_helper->main()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: tatiana5\popuppm\acp\popuppm_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()




Peace

Dave
User avatar
TheButcher2
Registered User
Posts: 1034
Joined: Tue May 13, 2014 11:38 pm

Re: [3.2][3.3][BETA] Popup PM

Post by TheButcher2 »

and now my forum is messed up when I disable the extension. The only thing that works is to enable the extension not to turn on the 2 buttons to yes, how can I delete the extension without messing up my forum please.



Fatal error: Uncaught Twig\Error\LoaderError: There are no registered paths for namespace "tatiana5_popuppm" in "overall_header.html" at line 73. in /home/nfvltd/public_html/sponsorchat.com/forum/vendor/twig/twig/src/Loader/FilesystemLoader.php:227 Stack trace: #0 /home/nfvltd/public_html/sponsorchat.com/forum/phpbb/template/twig/loader.php(135): Twig\Loader\FilesystemLoader->findTemplate('@tatiana5_popup...', true) #1 /home/nfvltd/public_html/sponsorchat.com/forum/vendor/twig/twig/src/Loader/FilesystemLoader.php(150): phpbb\template\twig\loader->findTemplate('@tatiana5_popup...') #2 /home/nfvltd/public_html/sponsorchat.com/forum/vendor/twig/twig/src/Environment.php(299): Twig\Loader\FilesystemLoader->getCacheKey('@tatiana5_popup...') #3 /home/nfvltd/public_html/sponsorchat.com/forum/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('@tatiana5_popup...') #4 /home/nfvltd/public_html/sponsorchat.com/forum/phpbb/template/twig/environment.php(292): Twig\Environment->loadTemplate('@tatiana5_popup... in /home/nfvltd/public_html/sponsorchat.com/forum/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 227
User avatar
TheButcher2
Registered User
Posts: 1034
Joined: Tue May 13, 2014 11:38 pm

Re: [3.2][3.3][BETA] Popup PM

Post by TheButcher2 »

Update it works now, I disabled it, enabled it again, checked off just the one of the 2 boxes all seems fine.

Peace
User avatar
Sniper_E
Registered User
Posts: 1196
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.2][3.3][BETA] Popup PM

Post by Sniper_E »

Move the date and add the message. Just some ideas...
popuppm.gif
I really like what you have done with this popup.
You do not have the required permissions to view the files attached to this post.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][3.3][BETA] Popup PM

Post by HaioPaio »

Tatiana

I like your extension very much.
How can I display the envelope some seconds longer. It disappears too fast in my opinion.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][BETA] Popup PM

Post by 3Di »

HaioPaio wrote: Wed Dec 08, 2021 10:46 am How can I display the envelope some seconds longer. It disappears too fast in my opinion.
I have never tried this extension but I think is all due to CSS transitions, reading the code.

https://github.com/Tatiana5/popuppm/search?q=transition

Try changing all 1s ease-in-out .3s to something else like all 2s ease-in-out .8s and purge the cache. Not tested.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][3.3][BETA] Popup PM

Post by HaioPaio »

I need to correct my initial post.
For some reason, the extension was probably in an incorrect state while I tested it.
After purging board cache and browser cache, the envelope now stays persistent until either closed by the X mark or the PM's being read.
I have no clue what happened. If I remember correctly, it worked normal directly after installation. Soon thereafter, the envelop started disappearing after approx. 1 sec after login.
After that, I changed the transition settings without success. However I forgot to purge the board cache.
Then I restored all changed transition settings back to normal, purged board cache and browser cache and the problem was gone.

I apologise for the false alarm.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][BETA] Popup PM

Post by 3Di »

Strange, here the Docs (official)
https://developer.mozilla.org/en-US/doc ... transition

Compatibility: https://caniuse.com/?search=transition

Tricks: https://css-tricks.com/almanac/properties/t/transition/

Edit: it could be the JS here
https://github.com/Tatiana5/popuppm/blo ... after.html
rules it all. No time to investigate it further though.
Last edited by 3Di on Wed Dec 08, 2021 12:37 pm, edited 1 time in total.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][3.3][BETA] Popup PM

Post by HaioPaio »

3DI
There is no doubt that your suggestion was correct.
Only my fault description was incorrect and led to the assumption that the transform statements need changes. However, the extension has no problem. The problem is sitting in front of my keyboard and types that message.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][BETA] Popup PM

Post by 3Di »

See my above edit.

Edit:
Lol, I realised it late! :lol: Thanks for the laugh.
HaioPaio wrote: Wed Dec 08, 2021 12:36 pm ... The problem is sitting in front of my keyboard and types that message.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Татьяна5
Registered User
Posts: 192
Joined: Wed Feb 13, 2013 5:30 pm
Name: Tatiana

Re: [3.2][3.3][BETA] Popup PM

Post by Татьяна5 »

3Di wrote: Wed Dec 08, 2021 10:50 am Try changing all 1s ease-in-out .3s to something else like all 2s ease-in-out .8s and purge the cache. Not tested.
This is the speed at which a letter appears from an envelope
User avatar
Sniper_E
Registered User
Posts: 1196
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [3.2][3.3][BETA] Popup PM

Post by Sniper_E »

I like the speed just fine. I've been restyling it though. Removed the bg image from css and use class .bg1 on the letter. This makes it style dependent on the colors. I've made a few other envelope colors for other styles if anyone needs some.

Here's a screenshot of my popup.
popuppm.gif
You do not have the required permissions to view the files attached to this post.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][3.3][BETA] Popup PM

Post by HaioPaio »

Hi Tatiana

I got this Message on top of the forum header after login:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/tatiana5/popuppm/event/listener.php on line 132: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
After a page refresh, the error disappeared. The function of the ext. was not compromised.
phpbb335, php7.4
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
Татьяна5
Registered User
Posts: 192
Joined: Wed Feb 13, 2013 5:30 pm
Name: Tatiana

Re: [3.2][3.3][BETA] Popup PM

Post by Татьяна5 »

HaioPaio wrote: Mon Dec 13, 2021 5:41 pm

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/tatiana5/popuppm/event/listener.php on line 132: Division by zero
Someone has an avatar set but its height is zero. This cannot be, this is an error in the database.
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][3.3][BETA] Popup PM

Post by HaioPaio »

I will check. Which table should I investigate.
www.der-räuchertreff.de phpBB 3.3.x php 7.4

Return to “Extensions in Development”