MyBB Community Forums

Full Version: MyAlerts v2.0.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Great plugin thank you for all the work!

Wondered if you could help me though, I recently upgraded my site to version 2.0.2 of your plugin (was on v1. something before) but now when I click on the alerts button it does 1 of two things:

1) if on our custom theme it just darkens the whole page and nothing happens

2) if on default theme it shows a loading spinner then shows the same page as is open below the current page (http://puu.sh/rd8jp/aef5a99c3a.png)

Please help?

EDIT: Messed around with the code a bit and on our theme if we change <div id="myalerts_alerts_modal" style="display: none;"></div> to remove the display=none part then the popup shows but right at the bottom of the page hardly visible (http://puu.sh/rd8tG/7cb48bd3d5.jpg)
Hi,

It sounds like you may have an outdated "alerts.php" file in the root folder of your forum. Please try the version found here: https://github.com/MyBBStuff/MyAlerts/bl...alerts.php
(2016-09-16, 12:32 PM)Euan T Wrote: [ -> ]Hi,

It sounds like you may have an outdated "alerts.php" file in the root folder of your forum. Please try the version found here: https://github.com/MyBBStuff/MyAlerts/bl...alerts.php

Sadly that did not change anything
(2016-09-16, 12:35 PM)tamaster92 Wrote: [ -> ]
(2016-09-16, 12:32 PM)Euan T Wrote: [ -> ]Hi,

It sounds like you may have an outdated "alerts.php" file in the root folder of your forum. Please try the version found here: https://github.com/MyBBStuff/MyAlerts/bl...alerts.php

Sadly that did not change anything

Would you mind PMing me your URL and details for a temporary admin account? I can't look right now as I'm at work, but will look later.
(2016-09-16, 12:51 PM)Euan T Wrote: [ -> ]
(2016-09-16, 12:35 PM)tamaster92 Wrote: [ -> ]
(2016-09-16, 12:32 PM)Euan T Wrote: [ -> ]Hi,

It sounds like you may have an outdated "alerts.php" file in the root folder of your forum. Please try the version found here: https://github.com/MyBBStuff/MyAlerts/bl...alerts.php

Sadly that did not change anything

Would you mind PMing me your URL and details for a temporary admin account? I can't look right now as I'm at work, but will look later.

Sent, thank you
(2016-09-15, 09:00 PM)Euan T Wrote: [ -> ]
(2016-09-15, 07:48 PM)aggelosQQ Wrote: [ -> ]Hello,
Whenever I put the plugin file (the main one) on my plugins directory, without enabling it, the entire forum stops working returning a 500 error, which is fixed when I delete the plugin (only the file that is supposed to be on the plugins directory). Any possible solution? PHP version 7.

Have you checked your server error log? It should report the error that is causing the Error 500.

Yeah, I found them.
http://pastebin.com/iszN5EFu
(2016-09-17, 04:16 PM)aggelosQQ Wrote: [ -> ]
(2016-09-15, 09:00 PM)Euan T Wrote: [ -> ]
(2016-09-15, 07:48 PM)aggelosQQ Wrote: [ -> ]Hello,
Whenever I put the plugin file (the main one) on my plugins directory, without enabling it, the entire forum stops working returning a 500 error, which is fixed when I delete the plugin (only the file that is supposed to be on the plugins directory). Any possible solution? PHP version 7.

Have you checked your server error log? It should report the error that is causing the Error 500.

Yeah, I found them.
http://pastebin.com/iszN5EFu

Interesting. I've never seen that one before, I'll have to look into it, thanks for the report.

Do you have any other plugins enabled that add alert types?
(2016-09-17, 05:52 PM)Euan T Wrote: [ -> ]
(2016-09-17, 04:16 PM)aggelosQQ Wrote: [ -> ]
(2016-09-15, 09:00 PM)Euan T Wrote: [ -> ]
(2016-09-15, 07:48 PM)aggelosQQ Wrote: [ -> ]Hello,
Whenever I put the plugin file (the main one) on my plugins directory, without enabling it, the entire forum stops working returning a 500 error, which is fixed when I delete the plugin (only the file that is supposed to be on the plugins directory). Any possible solution? PHP version 7.

Have you checked your server error log? It should report the error that is causing the Error 500.

Yeah, I found them.
http://pastebin.com/iszN5EFu

Interesting. I've never seen that one before, I'll have to look into it, thanks for the report.

Do you have any other plugins enabled that add alert types?

Yes, I have the Thank You/Like System one (just removed it completely from the forum, still gives me a 500 error).
Strange. I'll investigate this as soon as I can. I'm using PHP 7 myself on my own server, without any issues. It looks like the problem is the way I decode JSON for the extra details field.
(2016-09-18, 09:36 AM)Euan T Wrote: [ -> ]Strange. I'll investigate this as soon as I can. I'm using PHP 7 myself on my own server, without any issues. It looks like the problem is the way I decode JSON for the extra details field.

Alright, thanks!