Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Spuds on November 22, 2009, 08:12:26 PM

Title: Enhanced PM Popup
Post by: Spuds on November 22, 2009, 08:12:26 PM



Enhanced PM Popup 1.0.1
Replace the PM popup with a nice CSS Styled box.
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2283) | Comment On This Mod (http://www.simplemachines.org/community/index.php?action=post;topic=349640)

Author: Spuds (http://custom.simplemachines.org/mods/index.php?action=profile;u=11359)
Type: Theme Enhancements (http://custom.simplemachines.org/mods/index.php?action=search;type=3)
Available since: November 21 2009
Latest version: 1.0.1 (June 27 2011)
Compatible with: SMF 2.0
Available languages:
(http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/swedish.gif) (http://www.simplemachines.org/site_images/lang/french.gif) (http://www.simplemachines.org/site_images/lang/romanian.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/portuguese_pt.gif) (http://www.simplemachines.org/site_images/lang/portuguese_brazilian.gif) (http://www.simplemachines.org/site_images/lang/italian.gif) (http://www.simplemachines.org/site_images/lang/arabic.gif)




What does it do?
Enhanced PM Popup will replace the alert box that popups on a new PM (If enabled through the profile) to a nicer box made with CSS and HTML.
See screenshot for a preview.

How to use
To use Enhanced PM Popup, download the package from the SMF customization site (http://custom.simplemachines.org/mods/index.php?mod=****), and install it via your Package Manger (http://docs.simplemachines.org/index.php?topic=95).
All users who have enabled the PM popup through their profile will now see the new box when they recieve a new personal message.

Support & comments
If you have a problem with this mod, want to comment, or have any question, please post to the modification support topic (http://www.simplemachines.org/community/index.php?action=post;topic=349640) and I will reply as soon as possible.

Other information
Translation of this mod
o I am always happy to get translations of my work so that more users can use it. If you have translated this modification, please post the translation in the support topic (http://www.simplemachines.org/community/index.php?action=post;topic=349640).
Please make sure you have translated everything, and that there are no spelling misstakes etc.
Also, please post both a non-UTF8 version and a UTF8 version.


Title: Re: Enhanced PM Popup
Post by: drhamza on November 22, 2009, 10:02:38 PM
awesome, will test it now :D
Title: Re: Enhanced PM Popup
Post by: islam2hamy on November 22, 2009, 10:44:26 PM
Nice One.

Arabic Translation :

Quote<file name="$languagedir/Modifications.arabic-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
$txt['pm_popup'] = 'لديك رسائل شخصية جديدة';
$txt['pm_popup_close'] = 'إغلاق';

]]></add>
        </operation>
    </file>   

Quote<file name="$languagedir/Modifications.arabic.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
$txt['pm_popup'] = 'لديك رسائل شخصية جديدة';
$txt['pm_popup_close'] = 'إغلاق';

]]></add>
        </operation>
    </file>   
Title: Re: Enhanced PM Popup
Post by: MATTEK on November 22, 2009, 11:17:54 PM
Awsome mod. Looks very nice.
Title: Re: Enhanced PM Popup
Post by: Eliana Tamerin on November 22, 2009, 11:28:20 PM
Good idea. How about a check box to disable the Popup message on a Yes/No click. So that new members who want to remove it don't have to dig in their profile options.
Title: Re: Enhanced PM Popup
Post by: Nibogo on November 23, 2009, 11:11:34 AM
Looks great, really nice idea Nas ;)
Title: Re: Enhanced PM Popup
Post by: -=[Vyorel]=- on November 23, 2009, 11:24:24 AM
Very nice mod.

Romanian Translation

</file>
<file name="$languagedir/Modifications.romanian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[

$txt['pm_popup'] = 'Ai primit un Mesaj Privat';
$txt['pm_popup_close'] = 'Inchide';

]]></add>
</operation>
</file>


<file name="$languagedir/Modifications.romanian.php">
<operation>
<search position="end" />
<add><![CDATA[

$txt['pm_popup'] = 'Ai primit un Mesaj Privat';
$txt['pm_popup_close'] = 'Inchide';

]]></add>
</operation>
</file>
Title: Re: Enhanced PM Popup
Post by: drhamza on November 23, 2009, 12:28:11 PM
ok, here's the problem, there is an overlap between the menu bar (messages, home, forum,....) and the popup, any explanation for that?
Title: Re: Enhanced PM Popup
Post by: 4Kstore on November 23, 2009, 07:51:19 PM
Great mod!! Thanks!


Spanish Translation:
   <file name="$languagedir/Modifications.spanish_latin.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
$txt['pm_popup'] = 'Usted Tiene Nuevos Mensajes Privados';
$txt['pm_popup_close'] = 'Cerrar';

]]></add>
        </operation>
    </file>    [code]
Title: Re: Enhanced PM Popup
Post by: Joe N on November 24, 2009, 03:14:28 AM
Very Good Mod. Will Use This!!
Title: Re: Enhanced PM Popup
Post by: searchgr on November 29, 2009, 03:14:54 PM
Quote from: drhamza on November 23, 2009, 12:28:11 PM
ok, here's the problem, there is an overlap between the menu bar (messages, home, forum,....) and the popup, any explanation for that?

Any fix for this?
Title: Re: Enhanced PM Popup
Post by: MATTEK on November 29, 2009, 04:08:15 PM
Quote from: drhamza on November 23, 2009, 12:28:11 PM
ok, here's the problem, there is an overlap between the menu bar (messages, home, forum,....) and the popup, any explanation for that?
I do not have this issue.
Title: Re: Enhanced PM Popup
Post by: Arantor on November 29, 2009, 06:05:43 PM
searchgr: Please provide a screenshot showing the exact problem and also confirm what browser you're on.
Title: Re: Enhanced PM Popup
Post by: bombasa on November 30, 2009, 06:24:03 AM
Thank you.

French translation

    <file name="$languagedir/Modifications.french-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
           
$txt['pm_popup'] = 'Vous avez de nouveaux messages personnels';
$txt['pm_popup_close'] = 'Fermer';

]]></add>
        </operation>
    </file>


<file name="$languagedir/Modifications.french.php">
<operation>
<search position="end" />
<add><![CDATA[

$txt['pm_popup'] = 'Vous avez de nouveaux messages personnels';
$txt['pm_popup_close'] = 'Fermer';

]]></add>
</operation>
</file>
Title: Re: Enhanced PM Popup
Post by: Plantsman on December 01, 2009, 09:37:57 AM
On installing the message pop up mod I find  the top dark blue area is transparent - as can be seen from the image. Can this be made non-transparent.

(http://pic20.picturetrail.com/VOL1364/11129867/22756284/378673967.jpg)
Title: Re: Enhanced PM Popup
Post by: Costa on December 01, 2009, 06:36:04 PM
portuguese_pt
// Enhanced PM Popup
// Translated by Costa
$txt['pm_popup'] = 'Você tem novas Mensagens';
$txt['pm_popup_close'] = 'Fechar';


portuguese_brazilian
// Enhanced PM Popup
// Translated by Costa
$txt['pm_popup'] = 'Você tem novas Mensagens';
$txt['pm_popup_close'] = 'Fechar';


portuguese_pt-utf8
// Enhanced PM Popup
// Translated by Costa
$txt['pm_popup'] = 'Voc&#234; tem novas Mensagens';
$txt['pm_popup_close'] = 'Fechar';


portuguese_brazilian-utf8
// Enhanced PM Popup
// Translated by Costa
$txt['pm_popup'] = 'Voc&#234; tem novas Mensagens';
$txt['pm_popup_close'] = 'Fechar';
Title: Re: Enhanced PM Popup
Post by: Bigguy on December 01, 2009, 06:52:30 PM
Quote from: Plantsman on December 01, 2009, 09:37:57 AM
On installing the message pop up mod I find  the top dark blue area is transparent - as can be seen from the image. Can this be made non-transparent.

(http://pic20.picturetrail.com/VOL1364/11129867/22756284/378673967.jpg)

Same thing happens on my forum.
Title: Re: Enhanced PM Popup
Post by: Arantor on December 01, 2009, 06:55:51 PM
What browser?
Title: Re: Enhanced PM Popup
Post by: Plantsman on December 01, 2009, 07:19:02 PM
IE7 for me Arantor. I didn't know my browser would have any influence over my board  - just goes to show we need you chaps to enlighten us. :)
Title: Re: Enhanced PM Popup
Post by: Arantor on December 01, 2009, 07:20:45 PM
Each of the browsers does things slightly differently; it works as expected in Chrome for example (otherwise I wouldn't have approved it.

Nas should see this shortly and get a fix out hopefully.
Title: Re: Enhanced PM Popup
Post by: Bigguy on December 01, 2009, 09:28:45 PM
FF 3.0.15 for me
Title: Re: Enhanced PM Popup
Post by: drhamza on December 01, 2009, 10:59:07 PM
yup, me too, i use FF 3.5.5
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 02, 2009, 03:02:57 AM
Uh, that's odd. I'll look at it.
Title: Re: Enhanced PM Popup
Post by: Plantsman on December 02, 2009, 03:54:00 AM
Thanks Arantor and Nas
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 02, 2009, 04:17:54 AM
This should now be fixed, simply download and install the new package at the mod site.

Also, thanks to Arantor for helping me reproducing the error. :)
Title: Re: Enhanced PM Popup
Post by: Plantsman on December 02, 2009, 04:44:09 AM
Thanks - all OK now.

Plantsman
Title: Re: Enhanced PM Popup
Post by: Arantor on December 02, 2009, 04:49:18 AM
Plantsman: Great to know :)

Slightly weird error this one, only presents itself if you don't have the window full screen so that the popup overlays the menu - neither I nor Nas do that normally, which is why neither of us spotted it originally.
Title: Re: Enhanced PM Popup
Post by: Beagleboys on December 03, 2009, 08:24:50 AM
italian translation:
$txt['pm_popup'] = 'Hai un nuovo messaggio personale';
$txt['pm_popup_close'] = 'Chiudi';
Title: Re: Enhanced PM Popup
Post by: shumilica on December 05, 2009, 03:27:44 AM
Great mod Nas!

I have a little suggestion:  what do you think to make the corners rounded so that it will feat the core theme?

Thanks!
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 05, 2009, 03:31:59 AM
Actually, they were rounded early on during development. However, if you look at Curves main_block.png you'll notice that the edges on each "block" are white, meaning that if I'd be to use them in the popup, it'd be more like a square still, but an awful square, with white edges. :P
Title: Re: Enhanced PM Popup
Post by: Arantor on December 05, 2009, 04:43:13 AM
You could do it rounded if you were to create your own images though, and be very careful about the layout/markup used.
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 05, 2009, 04:57:44 AM
Well yeah, I was thinking the same, but that means that said images would have to be customized for each theme to fit in.
Title: Re: Enhanced PM Popup
Post by: shumilica on December 05, 2009, 09:13:00 AM
If you'll use .png transparent I think it will not be necessary a customization for each theme. If I would be a designer I would help you with the images, but I'm really not...
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 05, 2009, 09:30:27 AM
Yes, it will. Curve is blue. Imagine someone wanting to use this mod on a red theme. The popup stays blue. That won't look good.
I can do the images, it's simple, but it'd make the mod less user friendly.
Title: Re: Enhanced PM Popup
Post by: DarkLite on December 14, 2009, 01:59:30 PM
Really useful and great-looking!

One question, however; is it possible to make the box "follow" you down the page? So that if you scroll down the forums, the box will follow you and won't stay at the top out of sight?
Title: Re: Enhanced PM Popup
Post by: shumilica on December 14, 2009, 02:12:09 PM
The box is following me! I don't know why it isn't working for you... maybe it doesn't like you sufficiently to follow you :o
Title: Re: Enhanced PM Popup
Post by: DarkLite on December 14, 2009, 02:35:50 PM
Quote from: shumilica on December 14, 2009, 02:12:09 PM
The box is following me! I don't know why it isn't working for you... maybe it doesn't like you sufficiently to follow you :o

Bah, must be Chrome doing it :/
Title: Re: Enhanced PM Popup
Post by: Arantor on December 14, 2009, 04:22:30 PM
What version of Chrome?
Title: Re: Enhanced PM Popup
Post by: DarkLite on December 21, 2009, 01:59:20 PM
3.0.195.38.
Title: Re: Enhanced PM Popup
Post by: Arantor on December 21, 2009, 02:45:52 PM
Ah, see when I tested this I was using the 4.0 branch (and you can't make them co-exist)

But it works fine in 4.0.x.
Title: Re: Enhanced PM Popup
Post by: DarkLite on December 22, 2009, 05:42:13 AM
Quote from: The Grinch on December 21, 2009, 02:45:52 PM
Ah, see when I tested this I was using the 4.0 branch (and you can't make them co-exist)

But it works fine in 4.0.x.

Bah, my Chrome says it's up to date. Will update manually ASAP, didn't realise a 4.x branch existed yet.

Title: Re: Enhanced PM Popup
Post by: Arantor on December 22, 2009, 05:59:53 AM
4.0 is the beta branch, 3.0 is the current stable branch.
Title: Re: Enhanced PM Popup
Post by: Xenmorph on February 03, 2010, 09:33:46 PM
How would I make this Mod the default setting for All current / New members with the Option being to Disable it instead of Enable.

Thanks......
Title: Re: Enhanced PM Popup
Post by: MrCreatoR on February 07, 2010, 10:18:02 AM
I am trying to install this mod to SMF 2.0 RC1.2, and i got two errors in index.template.php:

can not find this:
var fPmPopup = function ()
{
if (confirm("' . $txt['show_personal_messages'] . '"))
window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");
}


and the second error, can not find this one:
echo !empty($settings['forum_width']) ? '

these lines are really not found, i've checked. Well, the first one is there but just without the «var fPmPopup = function ()» part, but the second is'nt.
Title: Re: Enhanced PM Popup
Post by: Arantor on February 07, 2010, 10:29:39 AM
That's probably one of the things that changed in the theme since 2.0 RC1.2 - this isn't available for 2.0 RC1.2 as far as I know... given that it was published two weeks after RC2 debuted...
Title: Re: Enhanced PM Popup
Post by: MrCreatoR on February 07, 2010, 10:44:51 AM
Arantor
Can you maybe tell me where the replaced lines should be in the index.template.php? perhaps the mod should search for other lines... i can send you the copy of index file if needed, so you can see where it should be added?
Title: Re: Enhanced PM Popup
Post by: Arantor on February 07, 2010, 10:46:51 AM
I really don't have the energy or inclination to backport an RC2 mod to the quite different code in 2.0 RC1.2, sorry :(
Title: Re: Enhanced PM Popup
Post by: MrCreatoR on February 07, 2010, 10:55:37 AM
Quote from: Arantor on February 07, 2010, 10:46:51 AM
I really don't have the energy or inclination to backport an RC2 mod to the quite different code in 2.0 RC1.2, sorry :(
:(
Perhaps you can please just send me the index file from RC2? i will look at it and try to figure out where i should add the lines...
Title: Re: Enhanced PM Popup
Post by: Arantor on February 07, 2010, 10:58:53 AM
It's in the RC2 download from the downloads page.
Title: Re: Enhanced PM Popup
Post by: MrCreatoR on February 07, 2010, 11:08:18 AM
Thanks.
Title: Re: Enhanced PM Popup
Post by: smp420 on February 18, 2010, 11:53:04 PM
I think it is time for you to upgrade. Great mod Nas it looks way better and now I can actually open my pm's in a new page without it getting blocked.
Title: Re: Enhanced PM Popup
Post by: bobster on February 23, 2010, 12:33:12 PM
Nice PM, just a little modification to get it to work with another theme.
Thanks

I just wanted to ask a question regarding PM notification, in the profile there is an option to select for an email to be sent when a PM has been received.
It doesn't work on the forum that I use, is that a known problem or is there a fix for it?
Title: Re: Enhanced PM Popup
Post by: luuuciano on March 08, 2010, 01:38:33 PM
hi! very nice mod! Im using it

Here you have the lines for
Modifications.spanish_latin-utf8.php
Modifications.spanish_latin.php
and
Modifications.spanish-utf8.php
Modifications.spanish.php

$txt['pm_popup'] = 'Tienes nuevos mensajes privados';
$txt['pm_popup_close'] = 'Cerrar';
Title: Re: Enhanced PM Popup
Post by: Eclipse16V on March 15, 2010, 02:23:36 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Enhanced PM Popup
Post by: drhamza on March 15, 2010, 08:04:37 AM
eclips, emulation for RC2 worked fine with me
Title: Re: Enhanced PM Popup
Post by: MATTEK on April 29, 2010, 10:56:19 PM
Transparency issue here. Check it.

Title: Re: Enhanced PM Popup
Post by: ~DS~ on April 29, 2010, 10:58:20 PM
Quote from: MATTEK on April 29, 2010, 10:56:19 PM
Transparency issue here. Check it.
Clear the forum cache?
Title: Re: Enhanced PM Popup
Post by: Arantor on April 30, 2010, 03:23:34 AM
Using mod version 1.0.1? This was fixed ages ago.
Title: Re: Enhanced PM Popup
Post by: RacingETR on June 16, 2010, 03:29:45 PM
For more than send me PM, I never showing anything as if did not work.

PLEASE HELP
Title: Re: Enhanced PM Popup
Post by: RacingETR on July 17, 2010, 04:40:10 PM
Hola, instale este mod (muy bueno e importante) se instala sin error alguno. Pero cuando me envian Pm no me marca nada =(


¿Que creen que sea?

---------------ENGLISH--------------------------

Hello, install this mod (very good and important) is installed without error. But when I send Pm me not showing anything.

What do you think it?
----------------------------------------------------

si saben español me lo escriben. Mi ingles es algo malo :3

Saludos
Title: Re: Enhanced PM Popup
Post by: pjn on August 17, 2010, 12:36:52 PM
how can i instaaled it on theme core?

it's not work :(
Title: Re: Enhanced PM Popup
Post by: Marcus Forsberg on December 23, 2010, 09:43:03 AM
This works on RC4 without any edits.
Title: Re: Enhanced PM Popup
Post by: luuuciano on January 03, 2011, 09:21:34 PM
Some themes uses a big menu z-index value
For example actualism, by crip, uses 1000... and the pm div was hidden behind it

I had to change the #pm_popup z-index value to 2000 (for example)


(just for the records, and maybe someone will have the same issue)
Title: Re: Enhanced PM Popup
Post by: dsbhbzx2k on February 18, 2011, 10:57:53 AM
I've installed the mod, but I realize all members will have to go to their profile and choose to enable this feature. I've searched high and low through the admincp, and maybe i've missed it but does anyone know of a way to enable this feature for all my existing members. I have over 3k and don't want to have to newsletter the whole site about something as small as this.
Title: Re: Enhanced PM Popup
Post by: Spuds on February 18, 2011, 11:54:30 PM
Quote from: dsbhbzx2k on February 18, 2011, 10:57:53 AM
I've installed the mod, but I realize all members will have to go to their profile and choose to enable this feature. I've searched high and low through the admincp, and maybe i've missed it but does anyone know of a way to enable this feature for all my existing members. I have over 3k and don't want to have to newsletter the whole site about something as small as this.
Thats a theme setting ... admin->configuration->themes and layout->member options .... find your theme and edit settings for all members ... find "Show a popup when I receive new messages.", check it and select change in the dropdown and save.
Title: Re: Enhanced PM Popup
Post by: ironhide1 on March 25, 2011, 08:46:30 AM
Great Mod!
Just D/L and am really liking this MOD running RC5 and really needed no manual fixes Thanks!
Question I have is: Using IE8 the pop up does not seem to be working. It works in Firefox, Safari, Chrome Is there some type of an IE issue that I'm missing somewhere?

Thanks for any help.
Title: Re: Enhanced PM Popup
Post by: lttung on August 23, 2011, 06:59:08 AM
I have error when install, can not find to replace: index.template.php (My theme)

Code: (Find) [Select]
echo !empty($settings['forum_width']) ? '


SMF 2.0
Title: Re: Enhanced PM Popup
Post by: luuuciano on August 23, 2011, 09:35:20 AM
You will have to add that section "by hand", in your template...
Try after the <body> tag

As allways, do a file backup first
Title: Re: Enhanced PM Popup
Post by: MoreBloodWine on October 08, 2011, 11:01:03 PM
Most browsers use tabs now, that I've seen, any way... will this open in new tabs or a new window ?
Title: Re: Enhanced PM Popup
Post by: Spuds on October 09, 2011, 01:03:54 PM
Neither ... its a popup, just like the default SMF pm notification popup, but this one has some specific styling vs browser default.  Why would you want to be notified of a new PM in a new browser tab, just curious.
Title: Re: Enhanced PM Popup
Post by: MoreBloodWine on October 09, 2011, 02:41:45 PM
Quote from: Spuds on October 09, 2011, 01:03:54 PM
Neither ... its a popup, just like the default SMF pm notification popup, but this one has some specific styling vs browser default.  Why would you want to be notified of a new PM in a new browser tab, just curious.
I meant when it asks if you want to open the PM inbox in a new window vs the existing one.
Title: Re: Enhanced PM Popup
Post by: luuuciano on October 09, 2011, 07:34:45 PM
It is not a pop up like the SMF... it is a div, that looks like a popup... (the message)

MoreBloodWine, I think that depends on browser configuration... most of them will open a new tab I think (when you clic on the link message)
Title: Re: Enhanced PM Popup
Post by: remingtone on October 10, 2011, 07:49:37 PM
russian:

$txt['pm_popup'] = 'Новые непрочитанные сообщения';
$txt['pm_popup_close'] = 'Закрыть'; 
Title: Re: Enhanced PM Popup
Post by: remingtone on October 10, 2011, 07:55:40 PM
Quote from: pjn on August 17, 2010, 12:36:52 PM
how can i instaaled it on theme core?

it's not work :(

paste this code

// If we have new PMs...
if($context['show_pm_popup'])
echo '
<div id="pm_popup" class="windowbg">
<h5 class="catbg">
<span class="floatright"><a href="#" onclick="closefPmPopup()"><img src="', $settings['images_url'], '/icons/quick_remove.gif" alt="', $txt['pm_popup_close'], '" /></a></span>
', $txt['pm_popup'], ' [', $context['user']['unread_messages'], ']
</h5>
<p class="content">
', str_replace('\n', '<br />', $txt['show_personal_messages']), '<br /><br />
<a href="', $scripturl, '?action=pm" target="_blank" onclick="closefPmPopup()"><img src="', $settings['images_url'], '/icons/package_installed.gif" alt="" /> ', $txt['yes'], '</a> &nbsp;&nbsp;&nbsp; <a href="#" onclick="closefPmPopup()"><img src="', $settings['images_url'], '/icons/package_old.gif" alt="" /> ', $txt['no'], '</a>
</p>
</div>';


before this ;)

echo '
<div id="mainframe"', !empty($settings['forum_width']) ? ' style="width: ' . $settings['forum_width'] . '"' : '', '>


see the pic. luck!
Title: Re: Enhanced PM Popup
Post by: DragoN_PT on October 19, 2011, 07:38:31 AM
Can I change the box to fit the theme colours? And, can I add some small image to that box?
Title: Re: Enhanced PM Popup
Post by: Spuds on October 19, 2011, 09:30:09 AM
The box uses the themes windowbg css style, so if the theme changed that style the popup will follow.  There are a few items specific to the popup, those are added to the bottom of the main index.css files and that would have to be tweaked to your liking (e.g. border color)
Title: Re: Enhanced PM Popup
Post by: DragoN_PT on October 20, 2011, 04:11:54 AM
Tyvm Spuds for your time..

I will give it a try.


EDIT:

Well, after a few trys i could make it work in the theme im using.. The box its quite cool, really.  :)

Just a few more questions, if you want to answer:

- How can i make the box go to the lower right corner? And if possible make it with animation ( appearing down moving to the final position)
- How can i set it to keep poping (every page refresh/change) until the user read the message?
- How can i add a small sound to it?


Sorry for my EN and ty for all the help.

Title: Re: Enhanced PM Popup
Post by: DragoN_PT on October 23, 2011, 07:51:40 PM
No one..?
Title: Re: Enhanced PM Popup
Post by: luuuciano on October 24, 2011, 10:24:51 AM
Thats like buying a house and adding 3 more levels...
Title: Re: Enhanced PM Popup
Post by: DragoN_PT on October 24, 2011, 01:28:55 PM
Lol Luciano..  ;D

Ive made it to go it the lower right corner, but only that.. Ive asked cause I a similar PM popup in another site and thought that wouldnt be soo hard. Look like it is.

And only the sound? Is it a "full level" or can be made with just some lines..?  ::)

Title: Re: Enhanced PM Popup
Post by: kenng on October 25, 2011, 04:40:46 AM
anyone have this problem? it happen with chrome not my ff
Title: Re: Enhanced PM Popup
Post by: Spuds on October 27, 2011, 08:59:37 PM
Nope .. thats a new one ... what version of chrome are you running ?  As a first thought it would appear to be a css overwite of some sort but don't know why you would only see it in chrome.
Title: Re: Enhanced PM Popup
Post by: wizzie on December 22, 2011, 09:06:13 AM
Hi guys
I've installed the mod, but get a problem in the top left hand corner as per the screen shot
I'm using a template called TotallyBlue, smf 2.0.1, firefox 8.0

My site is Link To My Site (http://www.valehosting.co.uk/forums)

Thanks
Graham
Title: Re: Enhanced PM Popup
Post by: Spuds on December 22, 2011, 09:36:37 AM
Looks like you got it fixed ?
Title: Re: Enhanced PM Popup
Post by: luuuciano on December 22, 2011, 01:21:13 PM
It looks like your Modifications.english.php is not well formed (or the language file you are using)
Attach it here
Title: Re: Enhanced PM Popup
Post by: simon36 on April 17, 2012, 06:44:15 PM
Quote from: luuuciano on January 03, 2011, 09:21:34 PM
Some themes uses a big menu z-index value
For example actualism, by crip, uses 1000... and the pm div was hidden behind it

I had to change the #pm_popup z-index value to 2000 (for example)


(just for the records, and maybe someone will have the same issue)

Hi, would you mind explaining how I change that value as I use Actualism theme and can't get this mod to work.

Thank you.
Title: Re: Enhanced PM Popup
Post by: luuuciano on April 19, 2012, 10:42:50 PM
Look at
$themedir/css/index.css

the z-index value for #pm_popup is 2000?

maybe you have another problem, and not that....
Title: Re: Enhanced PM Popup
Post by: simon36 on April 20, 2012, 09:43:36 AM
Hi thanks luuuciano, I don't think this can be installed on the actualism theme, it fails on index.template and the edits required do not fit with that index.template.
Title: Re: Enhanced PM Popup
Post by: luuuciano on April 20, 2012, 10:11:39 PM
Well... I used it, long time ago... do not remember how to, maybe I added that codes by hand
Title: Re: Enhanced PM Popup
Post by: live627 on April 21, 2012, 12:49:12 AM
Quote from: simon36 on April 20, 2012, 09:43:36 AM
Hi thanks luuuciano, I don't think this can be installed on the actualism theme, it fails on index.template and the edits required do not fit with that index.template.
Then you'll need to do all the failed edits manually. It failed on every custom theme I have installed (3).
Title: Re: Enhanced PM Popup
Post by: simon36 on April 23, 2012, 01:51:28 PM
Thanks, I think actualism changes too much and I have looked and I don't think the edit is possible to install.
Title: Re: Enhanced PM Popup
Post by: Biology Forums on August 10, 2013, 05:05:09 PM
Does this work when you're in WAP/WAP2 mode?
Title: Re: Enhanced PM Popup
Post by: Arantor on August 10, 2013, 06:39:46 PM
No, it won't. The standard template is not used in WAP/WAP2 mode.
Title: Re: Enhanced PM Popup
Post by: FamilyWeb on May 04, 2014, 06:46:12 PM
I have installed the Enhanced PM Popup.  I have went in both my profile as well as the Theme settings (Havvo) in the Admin and enabled Showing of popups on receipt of new messages.
During a test, I received the plain looking browser (Chrome Version 34.0.1847.131 m) popup alert telling me that I had received a new message, would I like to open new window and view my messages. Upon clicking OK, the mod did nothing. The Popup alert disappeared. It never opened a new window and took me to my new messages.

The second thing I need to know is, where (what files) do you edit to customize the look of the popup?

The first issue is my most important one.

Also note: I tried to uninstall this mod and cannot, due to massive errors from a previous mod called Highslide
I uninstalled Highslide in order to uninstall the Enhanced PM popup mod. I then received a notice from the SMF software's package manager stating that the mod Enhanced PM Popup was either never installed or has already been uninstalled and cannot be uninstalled now.

I hope there is someone out there that can assist with this issue.
Title: Re: Enhanced PM Popup
Post by: Biology Forums on May 04, 2014, 07:16:48 PM
Have you tried installing it manually?
Title: Re: Enhanced PM Popup
Post by: FamilyWeb on May 04, 2014, 10:18:15 PM
I have finally gotten the Enhanced PM Popup working  ;D
I had to manually edit the files to get it uninstalled after removing Highslide.
I then re-installed it via the package manager and made certain everything to do with PM popups was enabled.
It works very well now.

Now onto the second part of my question, and that is customization.
Where or What file(s) do I need to edit change the boring look of the popup?

Thanks for any help you can provide.
Title: Re: Enhanced PM Popup
Post by: Biology Forums on May 04, 2014, 11:53:01 PM
Go to: /Themes/default/css/index.css

Find:

/* Personal message popup */



Title: Re: Enhanced PM Popup
Post by: RSI on March 05, 2015, 01:21:48 PM
I like this mod and the popup matches the current default curve theme really well.

One bug though, when it pops up and you click yes it doesn't reset your unread message count. What I mean is say you get one new message and you click on the popup to read it, then when you go back to the main index page it still says My Messages (1) in the menu. Even if you refresh the page it still says My Messages (1) .

Is there anyway to correct this? It looks like something that was just overlooked.
Title: Re: Enhanced PM Popup
Post by: RSI on March 05, 2015, 03:44:25 PM
Oh, it looks like its a cache issue and probably not this mod.

I turned off the SMF file based caching and cleared it and now the problem is gone. My Messages (1) changes to just My Messages after reading a PM now via the pop up.

Title: Re: Enhanced PM Popup
Post by: Yoksven on November 13, 2020, 07:39:46 AM
Doesn't seem to work on 2.0.17.

No serious errors during the install (the only error is for "core theme", which i don't use anyway), but nothing happens when new pm is sent. Just a number at the top as usual.
Title: Re: Enhanced PM Popup
Post by: Yoksven on November 13, 2020, 09:51:56 AM
The modder hasn't been here since 2014 and I can't even pm them (I get "User 'Spuds' has blocked your personal message"). So there isn't much hope for him to return to fix this.

Maybe someone could try to help me to figure out how to make this thing work in 2.0.17?
Title: Re: Enhanced PM Popup
Post by: Yoksven on November 27, 2020, 12:52:09 AM
I guess the answer is no. Oh well. I guess we'll have to live with the default.
Title: Re: Enhanced PM Popup
Post by: Bigguy on December 06, 2020, 05:39:25 PM
Parse the mod on the mod site and install it manually....or try to install it and any part that does fail, just do those edits manually. It should work fine.