Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: N3RVE on June 05, 2008, 09:53:55 PM

Title: PM Popup - Uses Active Window
Post by: N3RVE on June 05, 2008, 09:53:55 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1203)



PM Popup - Uses Active Windowv1.3
By [n3rve] (http://www.simplemachines.org/community/index.php?action=profile;u=139801)


Introduction
If appropraite settings are configured, users get a pop up with the following message when they receive new personal messages:

"You have received one or more new personal messages.
View them now (in a new window)?

Certain Clients on your forum may render this feature useless if their browser's Popup Blocker is set to high. This mod changes behaviour so the active window is used upon clicking the "ok" button.

Compatibility
o 1.1.4
o 1.1.5
o 1.1.6
o 2.0 Beta 3 Public
o 2.0 Beta 3.1/4 Public

Installation (SMF 1.1x Users)
Theme modifications aren't required!
This mod changes a line in the Subs.php Source file and a language string.


Installation (SMF 2.0 Users)
They were little changes between SMF 1.1x and 2.0 for opening PM windows, therefore; Custom Theme Edits are required. Upload and parse this mod using the Package Parser (http://modparser.oxynerve.net) for manual edits. This mod will install on the Default, Classic and Babylon Theme.

Languages
Supports the following languages:

o English/english-utf8
o English_british/english_british-utf8
o Greek/Greek-utf8 support (Thanks Go to MinasC)
[Greek is Supported on only v1.0]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 06, 2008, 09:08:32 AM
i am usin smf 1.1.4 and this mod installed without any problem but it didnt work ?...are there any setting to activate this mod
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 08, 2008, 02:24:09 PM
Quote from: keshav on July 06, 2008, 09:08:32 AM
i am usin smf 1.1.4 and this mod installed without any problem but it didnt work.

Glad, multiple forums use this and it works perfectly with your version of SMF as stated on the mod site.

Quote from: keshav on July 06, 2008, 09:08:32 AM
are there any setting to activate this mod

Currently, they're none - v1.4 will :)

Quote from: keshav on July 06, 2008, 09:08:32 AM
but it didnt work ?...

With 200+ downloads, your the first having an issue with this.
Perhaps, the changes were not made.

These are the 1.1.4 modifications (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1203;attach=57746;smf_version=1.1.4)

Please attach:
./Sources/Subs.php
./Themes/default/languages/index.english.php

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 09, 2008, 09:18:39 AM
i have done what that post said ..sitl its not working i am attacting the file u asked for
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 09, 2008, 09:26:26 AM
Have you enabled the pop up?

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 09, 2008, 09:28:42 AM
Quote from: [n3rve] on July 09, 2008, 09:26:26 AM
Have you enabled the pop up?

-[n3rve]

where to enable popup?
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 09, 2008, 09:44:53 AM
In the Admin CP -> Themes and Layout -> Reset Options tab ->
"Reset all members current options for this theme" (this would be your theme)
-> "Show a popup when you receive new messages?" ->
Pull up change, check the box and apply changes.

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 09, 2008, 09:51:25 AM
Quote from: [n3rve] on July 09, 2008, 09:44:53 AM
In the Admin CP -> Themes and Layout -> Reset Options tab ->
"Reset all members current options for this theme" (this would be your theme)
-> "Show a popup when you receive new messages?" ->
Pull up change, check the box and apply changes.

-[n3rve]


thank  you very much now its working without any problem :)
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 26, 2008, 03:03:33 AM
hi i got  a new error when a admin or staff members receives a pm this works but when some regular user receives a message there is no notification :((
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 26, 2008, 06:46:35 AM
Quote from: keshav on July 26, 2008, 03:03:33 AM
hi i got  a new error when a admin or staff members receives a pm this works but when some regular user receives a message there is no notification :((

Follow the Instructions above, Reset all members current options for this theme, then create a test account and test it .

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on July 26, 2008, 09:07:22 AM
Quote from: [n3rve] on July 26, 2008, 06:46:35 AM
Quote from: keshav on July 26, 2008, 03:03:33 AM
hi i got  a new error when a admin or staff members receives a pm this works but when some regular user receives a message there is no notification :((

Follow the Instructions above, Reset all members current options for this theme, then create a test account and test it .

-[n3rve]

this leads me to another problem  i ma using the theme overview and it doesnt show in  Reset Options :d ...help  me
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 26, 2008, 11:44:44 AM
Quote from: keshav on July 26, 2008, 09:07:22 AM
Quote from: [n3rve] on July 26, 2008, 06:46:35 AM
Quote from: keshav on July 26, 2008, 03:03:33 AM
hi i got  a new error when a admin or staff members receives a pm this works but when some regular user receives a message there is no notification :((

Follow the Instructions above, Reset all members current options for this theme, then create a test account and test it .

-[n3rve]

this leads me to another problem  i ma using the theme overview and it doesnt show in  Reset Options :d ...help  me

I believe you are using SMF 1.1.x right?
This was working initially, what happened? Can you attach the current files the mod makes changes to?

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: God Of Mana on July 29, 2008, 04:05:01 PM
Works great!
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on July 29, 2008, 04:06:38 PM
Quote from: God Of Mana on July 29, 2008, 04:05:01 PM
Works great!

Glad ;)

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: bran8464 on August 02, 2008, 08:21:22 AM


Quotethis leads me to another problem  i ma using the theme overview and it doesnt show in  Reset Options :d ...help  me

me too. 1.1.5, default
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on August 03, 2008, 02:54:46 PM
Quote from: bran8464 on August 02, 2008, 08:21:22 AM
Quotethis leads me to another problem  i ma using the theme overview and it doesnt show in  Reset Options :d ...help  me
me too. 1.1.5, default

Can you  provide additional information?
Did you get any errors when installing the mod? It doesn't alter the Admin.template.php file so the reset options button should be there.

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: forumer on August 08, 2008, 03:35:54 AM

I installed this mod on 2.0 Beta 3.1 Public successfully,
but when i test it on my own pc by sending a pm from test account to admin account,
i didn't get a notification, what should i do to make this mod take effect on smf 2.0 Beta 3.1 Public?

please help me, because i like this feature very much
thanks
Title: Re: PM Popup - Uses Active Window
Post by: malcomxar on August 08, 2008, 10:24:28 PM
Can you post a few screenshots to see how it is?

Many thanks!
Title: Re: PM Popup - Uses Active Window
Post by: slackerpunk on August 19, 2008, 02:19:19 AM
isn't this feature built-in to smf already under Profile > Private Message Options
Title: Re: PM Popup - Uses Active Window
Post by: ddarrell on September 14, 2008, 07:09:45 AM
--thanks for a great mod!

we have had members that never knew that they had received a PM, due to their browser killing pop-ups.  using the active window for the 'you have a  PM' message solves this problem.

ddarrell

(installed on 1.1.6 with no errors)
Title: Re: PM Popup - Uses Active Window
Post by: BlackXBOX on September 21, 2008, 10:49:16 PM
Doesn't work.

I'm using 1.1.5, installed it, and it doesn't work!
Title: Re: PM Popup - Uses Active Window
Post by: lazanya on October 08, 2008, 12:03:21 AM
Package has been downloaded successfully

PM Popup - Uses Active Window

___________________________________

The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

After I had applied the mod, I got this  message. I downloaded the version for SMF 2.0 Beta 4
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on October 08, 2008, 06:30:55 AM
Sorry, Sorted ;)

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: DareDevil1990 on December 18, 2008, 07:24:29 AM
i have a strange problem when i receive a pm i get the popup but when i registered as a new user i didnt get any pm popup notification as i have also intalled pm on registration mod :(...can u tell me whats the problem ???
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on December 19, 2008, 03:30:00 PM
I'll have time to investigate the reason for that over weekend, I can't say, Pm on registration is possibly conflicting with this mod, although, strange as mine makes just a little change in source file(s).

-[n3rve[
Title: Re: PM Popup - Uses Active Window
Post by: ɔɔɔɔɔɔuɥoɾ on January 10, 2009, 06:32:16 PM
Hi, im having a problem installing this mod

I have SMF 2.0 BETA 4

i get this error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i noticed the installer info for smf 2.0 beta 4 is missing from the xml file

any idea's?
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on January 11, 2009, 08:25:42 AM
I'll update the module tomorrow.

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: ɔɔɔɔɔɔuɥoɾ on January 11, 2009, 02:11:47 PM
Quote from: [n3rve] on January 11, 2009, 08:25:42 AM
I'll update the module tomorrow.

-[n3rve]

Thanks! :)
Title: Re: PM Popup - Uses Active Window
Post by: McDaZzA on February 05, 2009, 12:53:22 PM
Quote from: [n3rve] on January 11, 2009, 08:25:42 AM
I'll update the module tomorrow.

-[n3rve]

Any update?
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on February 05, 2009, 02:21:05 PM
Works now?

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: Dark-Master on February 05, 2009, 11:37:45 PM
No Apply Mod button in my SMF2.0 RC1
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on February 06, 2009, 02:18:02 AM
Meh :P Okay, I'll get to it when I return to a PC.

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: McDaZzA on February 06, 2009, 12:29:00 PM
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF." Using 2.0 Beta4 :'( :'( :'(
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on February 06, 2009, 12:50:10 PM
I just updated it, sorry ;)

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: McDaZzA on February 06, 2009, 05:52:47 PM
Works great now. thanks  8) 8) 8)
Title: Re: PM Popup - Uses Active Window
Post by: Eyesman on February 09, 2009, 07:51:07 AM
Can we change the domain to something else? e.g. the name of the forum.

<domain.com>

From: username
Subject: test
 
New personal Message(s).
View them now (in active window)?


thanx.
Title: Re: PM Popup - Uses Active Window
Post by: N3RVE on February 09, 2009, 09:56:13 AM
I don't understand, change what domain?

-[n3rve]
Title: Re: PM Popup - Uses Active Window
Post by: Eyesman on February 09, 2009, 02:30:30 PM
On the pop up it says:

<domain.com>

From: nick
Subject: test
 
New personal Message(s).
View them now (in active window)?

The domain of the forum. Look at the bold letters above (domain.com) that one.. can it be changed to the Forum name instead of the forums domain?
Title: Re: PM Popup - Uses Active Window
Post by: chadon on March 31, 2009, 11:51:47 AM
The PM code for SMF 2.0 RC1  on index.template.php has changed from:

  window.open("' . $scripturl . '?action=pm"); 

to:

         window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : '', '

Did I get it right with the following mod?

         window.location = smf_prepareScriptUrl(smf_scripturl) + "action=pm" ;' : '', '

Edit:  I received a PM from a member and the code worked.
Title: Re: PM Popup - Uses Active Window
Post by: aw06 on March 23, 2010, 05:44:12 AM
Will this be updated for rc3 ?
Title: Re: PM Popup - Uses Active Window
Post by: Sabre™ on May 21, 2010, 03:41:54 AM
[n3rve] is a very busy man, and since I have this running on my own site, I'll share the RC3 package I have until the official package is updated, or as soon as [n3rve] instructs me to remove it.
Title: Re: PM Popup - Uses Active Window
Post by: MoreBloodWine on August 28, 2010, 03:22:59 AM
Quote from: Sabre™ on May 21, 2010, 03:41:54 AM
[n3rve] is a very busy man, and since I have this running on my own site, I'll share the RC3 package I have until the official package is updated, or as soon as [n3rve] instructs me to remove it.
Thx ;-)
Title: Re: PM Popup - Uses Active Window
Post by: AMoon on March 31, 2011, 12:50:40 PM
Just found this mod - am getting bolder about using packages :D

Just wanted to give kudos and thanks for it!