Alert Box PM Notification [phpBB 3 version]

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Linxus
Registered User
Posts: 165
Joined: Sat Nov 15, 2008 6:02 am

Re: Alert Box PM Notification [phpBB 3 version]

Post by Linxus » Sun Dec 07, 2008 12:31 am

I tried the link instructoins same result, is the link's isntructions supposed to be for new users too? I'm a bit lost.

User avatar
woody2k4
Registered User
Posts: 441
Joined: Fri Jul 11, 2008 9:16 am
Location: Esesx, UK
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by woody2k4 » Sat Dec 13, 2008 11:16 am

Is this now working on a subsilver2 based theme now? i couldnt really tell from the previous posts

someone101
Registered User
Posts: 62
Joined: Thu Jan 31, 2008 3:37 pm
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by someone101 » Sat Dec 13, 2008 1:09 pm

woody2k4 wrote:Is this now working on a subsilver2 based theme now? i couldnt really tell from the previous posts
Yes...

User avatar
woody2k4
Registered User
Posts: 441
Joined: Fri Jul 11, 2008 9:16 am
Location: Esesx, UK
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by woody2k4 » Wed Dec 17, 2008 1:53 pm

how do i install for subsilver2 then?

is it find

Code: Select all

<!-- IF S_USER_PM_POPUP -->
   if ({S_NEW_PM})
   {
      popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
   }
<!-- ENDIF -->
then add the code? this is from reading prev posts?

User avatar
Manhattan
Registered User
Posts: 211
Joined: Fri Nov 28, 2008 7:55 pm

Re: Alert Box PM Notification [phpBB 3 version]

Post by Manhattan » Fri Jan 02, 2009 10:32 am

Hi
Thanks for your nice MOD! But is it possible that the alert message shown on the loaded index page not before it on the empty page?

ravingdjwilson
Registered User
Posts: 25
Joined: Sun Dec 28, 2008 5:22 pm

Re: Alert Box PM Notification [phpBB 3 version]

Post by ravingdjwilson » Tue Jan 06, 2009 5:15 pm

where do i upload the file once unzipped? can they pm me to let me no as i cant keep track of this forum lol

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17066
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by DavidIQ » Tue Jan 06, 2009 6:19 pm

Please see the Installing Modifications section.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

marksalehouse
Registered User
Posts: 268
Joined: Tue Dec 28, 2004 5:35 pm
Location: N.I.
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by marksalehouse » Thu Jan 08, 2009 1:48 pm

It appears to work for ordinary members/Mods on PHPBB304, ProSilver, but it does not show when logged in as Admin

M

ReptiGuy
Registered User
Posts: 15
Joined: Thu Dec 25, 2008 2:03 am

Re: Alert Box PM Notification [phpBB 3 version]

Post by ReptiGuy » Mon Jan 12, 2009 6:09 am

I know this is a stupid question but I just started to use phpBB.

How do I install this on my forum?

I'm not using the prosilver or subsilver theme.

marksalehouse
Registered User
Posts: 268
Joined: Tue Dec 28, 2004 5:35 pm
Location: N.I.
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by marksalehouse » Mon Jan 12, 2009 10:17 am

We all start somewhere, Reptiguy, so have a look here http://www.phpbb.com/mods/

There will be a file in the Mod folder which, when opened, will detail the changes - read it well, it is a simple step by step guide. Normally this is for one of the default schemes. In this case there are only two files you need to change. So, copy them from your server to your PC, back them up in case you need the originals to upload again. Always do a backup of your server files (from ACP or Cpanel) everytime. Then just change the coding as stated with a good text editor (NotePad++ is to be recommended - http://notepad-plus.sourceforge.net/uk/site.htm).

Once done, upload the changed files to your server. Go into ACP: On the first panel refresh the cache: Tab to Styles and refresh templates. Test it out.

Actually, because there are just a couple of files to amend this is a very good mod to dip your toe into the PGPBB stream. Think that's about it.

Good luck,

M

User avatar
mej284
Registered User
Posts: 1126
Joined: Fri Nov 02, 2007 11:38 am

Re: Alert Box PM Notification [phpBB 3 version]

Post by mej284 » Sun Jan 18, 2009 3:03 pm

Manhattan wrote:Hi
Thanks for your nice MOD! But is it possible that the alert message shown on the loaded index page not before it on the empty page?
I agree I to would rather it show up on what ever page that the use is looking at and not a blank white page.
I do not respond to unsolicited PM's

Skin-lab styles
SubMerged Style

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17066
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by DavidIQ » Sun Jan 18, 2009 6:59 pm

The only way would be to put the javascript at the bottom of the page, in overall_footer.html so that the page is practically already loaded though this might still produce undesired results. You could also manipulate the javascript so it shows the alert after a certain amount of time though I'm not sure if this is being done through the page header or elsewhere on the page.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
woody2k4
Registered User
Posts: 441
Joined: Fri Jul 11, 2008 9:16 am
Location: Esesx, UK
Contact:

Re: Alert Box PM Notification [phpBB 3 version]

Post by woody2k4 » Mon Feb 23, 2009 5:22 pm

can you add a sound when the pop up appears?

messnera
Registered User
Posts: 60
Joined: Fri Feb 20, 2009 7:12 pm

Re: Alert Box PM Notification [phpBB 3 version]

Post by messnera » Thu Feb 26, 2009 4:33 pm

Hi Everyone,

I hope that you guys can help me through this. The story is, I was installing mods through AutoMod and some through manual install and something got messed up, not sure what though, as a troubleshooting measure I uninstalled all of the mods that I could through Auto Mod, big mistake on my part because now none of them will install again, including this one. I did restore a back up of my entire phpbb3 forum directory thinking that might fix the problem, but I am still unable to install any mods. The quote below is what I get when I try to install Alert Box PM. I get similar errors when I was trying to reinstall popup layer, but trying to get help over in that forum is getting me nowhere. If anyone needs anymore info or code posted, I will gladyly give you what I can. Keep in mind, that I didn't have alert box and popup layer installed at the same time. So, if anyone can help, I would be greatfull.
styles/prosilver/template/overall_header.html
Find

<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
}
<!-- ENDIF -->

Replace With

<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var answer = confirm("{L_PM_ALERT_BOX}")
if (answer)
{
window.location = "{U_PRIVATEMSGS}";
}
}
<!-- ENDIF -->

The Find specified by the MOD could not be founds

User avatar
tim96120
Registered User
Posts: 20
Joined: Thu Feb 01, 2007 8:18 pm

Re: Alert Box PM Notification [phpBB 3 version]

Post by tim96120 » Fri Feb 27, 2009 2:41 pm

how can you change it that it is a default setting that people will get a notfication on a new pm?

so that if someone registrate it is automatically enabled that they get a notification on a new pm.

thanks

Locked

Return to “[3.0.x] MOD Database Releases”