Hard Light Productions Forums

Site Management => Site Support / Feedback => Topic started by: chief1983 on October 17, 2015, 09:17:42 am

Title: PM Popup
Post by: chief1983 on October 17, 2015, 09:17:42 am
So, when I open the site in Firefox and have a new pending personal message, it asks to open in a new window.  However, it seems that Firefox has made some changes that prevent the site from opening that new window, as it seems to get blocked, and I have to manually open my PM page instead.  This may be confusing for those less experienced with getting PMs on the forums if they don't know how to find them normally.  Is there a setting to change how it performs that action, or is this something SMF has fixed in an updated version, or a setting that can be adjusted in Firefox (the latter option is really just a workaround for those that find it a nuisance).
Title: Re: PM Popup
Post by: Fury on October 17, 2015, 12:41:11 pm
It's not a recent thing, been like that since forever.
Title: Re: PM Popup
Post by: AdmiralRalwood on October 17, 2015, 03:50:08 pm
a setting that can be adjusted in Firefox
Tools -> Options -> Content -> Pop-ups -> Exceptions
Title: Re: PM Popup
Post by: Phantom Hoover on October 17, 2015, 05:51:21 pm
Though HLP clearly shouldn't be using PM popups when they're blocked by every browser in existence.
Title: Re: PM Popup
Post by: chief1983 on October 20, 2015, 11:06:52 pm
Thanks Admiral, that does help me out, although Phantom Hoover understands the point I was trying to make I think.  Is there any more supported way to handle PM notifications that doesn't pretty much fail universally these days?  I'm guessing that if there is no option to handle them differently in SMF's configuration, then the only other possible solution would be found in an upgrade to SMF itself (if there is one), or perhaps an SMF plugin?
Title: Re: PM Popup
Post by: Goober5000 on October 21, 2015, 01:10:29 am
A mod for SMF is probably the way to go.  I did a quick search and this (http://custom.simplemachines.org/mods/index.php?mod=2283) was the favorite / only applicable result.  It looks like it's worth trying, and the mod is fairly simple.

It will take me a couple days before I have time to test this, but I'll install the mod and we'll see how it's received.
Title: Re: PM Popup
Post by: AdmiralRalwood on October 21, 2015, 01:57:54 am
That just changes the notification, not how it shows the PMs (trying to open a new window)...
Title: Re: PM Popup
Post by: jr2 on October 21, 2015, 09:49:31 am
Perhaps if that is the case then it could be changed to present a link to the user's inbox, which the user could then Ctrl+click on?  Or maybe open the user's inbox as a insertion of the current page somehow, (preserving whatever page the user was currently on) instead of a new page altogether.
Title: Re: PM Popup
Post by: Goober5000 on October 31, 2015, 01:04:31 pm
I've just installed the PM Popup mod.  It turns out that, in addition to changing the notification, it also changes the way the PM page is opened - from a Javascript window.open() to a standard clickable link.  I'm betting that Firefox just doesn't like the Javascript.

Chief1983, give this a try and see if it works any better.  Since it's a clickable link, we also have the option of using the _self parameter to open the link on the same page vs. the _blank parameter which opens it on a new page.
Title: Re: PM Popup
Post by: chief1983 on November 11, 2015, 09:54:28 am
Definitely works better.  However the dialog is tricky to close on mobile, and even ignoring it adds a click to your history requiring a double back-button click.  However it's a serious improvement on Firefox.