View Full Version : Private Messages Enhancements - GTPrivate Message Alert Popup
Princeton
06-12-2007, 10:00 PM
NEW 1.0.3 VERSION (download pm_new_alert_popup103.zip)
GTPrivate Message Alert Popup replaces the javascript private message alert popup. It is similar to the one here on vbulletin.org except that the style is different.
The one supplied here is a standard vBulletin style. Below is a screenshot of how it looks like.
Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).
Show your support and click Mark As Installed, Nominate For MOTM, or Support Developer.
All you have to do is upload the product via the Plugin system.
I know somebody will end up asking me so ..
If you are having problems:
Make sure that your vBulletin Options / Instant Messaging Support - Check for New Private Messages is enabled.
Make sure that the receiver of message has Show New Private Message Notification Pop-up checked.
Test by sending private message to another user (not yourself).
Duplicate alerts in navbar? Remove $pmmessage from navbar template.
Prefer to have alert in header template? Manually add $pmmessage to the bottom of your header template and change $gtpmmessage = true; to $gtpmmessage = false; in "Replace PM Popup" pluginNOTE: This modifciation works similar to the alert popup. It will only display 1 time.
History:
v1.0.3 Fixed quote issue - title with quotes would appear with slashes eg. \"title\"
v1.0.3 there's no need to add $pmmessage
v1.0.2 Added missing phrases
v1.0.1 Added missing template to xmlRecently Released Modifications:
GTPrivate Messages Enhanced Listing (preview message) (https://vborg.vbsupport.ru/showthread.php?t=149710)
GTHighlight Unread Announcements (https://vborg.vbsupport.ru/showthread.php?t=149780)
vbulletin.org Info Footer Panel (https://vborg.vbsupport.ru/showthread.php?t=149651)
Other modifications (https://vborg.vbsupport.ru/member.php?u=925)..
rjmjr69
06-13-2007, 09:52 PM
Doesnt work for me
I had to import the product twice for it to set both my styles but no results.
Distance
06-13-2007, 10:24 PM
Nice work. What happens if there are multiple pms in the users message box.
Also.. You said that its similar to the one here, but I have never seen one?
Distance
Cobro
06-13-2007, 10:54 PM
is this plugin only for default style ? i have approx3.6.5.. I cant see this.Darn:(
could some one help
RickB
06-13-2007, 11:16 PM
Didn't work for me. I tried to install the plug-in twice and it changed all styles. Still don't see it though.
:confused:
Mr_Snob
06-13-2007, 11:55 PM
same also don't work anyway thank you Joe :D
Joe where are templates you haven't included templates into this product :)
Princeton
06-13-2007, 11:57 PM
For this to work, the receiver of message must have Show New Private Message Notification Pop-up checked
Princeton
06-14-2007, 12:01 AM
here's a screenshot of how it looks like here (vbulletin.org)...
Mr_Snob
06-14-2007, 12:01 AM
Joe I checked into product code
I have seen 'gtpm_pm_popup_script' template but doesn't included this template in this product why?
Princeton
06-14-2007, 12:04 AM
LOL .. I'll get a new xml up in a minute. :D
Mr_Snob
06-14-2007, 12:05 AM
azuhahahaha :D:D:D
thank you Joe I have now Installed great product :D
Princeton
06-14-2007, 12:11 AM
azuhahahaha :D:D:D
thank you Joe I have now Installed great product :D
good catch Mr_Snob .. THANK YOU :up:
Mr_Snob
06-14-2007, 12:32 AM
good catch Mr_Snob .. THANK YOU :up:
No Problem Joe I Like Your Hacks :D:up:
Shazz
06-14-2007, 12:35 AM
That looks sweet, Testing it :)
rjmjr69
06-14-2007, 12:38 AM
Still can't get it to work.
sonichero
06-14-2007, 02:55 AM
Is there any way to add a simple code to make it have a different effect for an infraction/warning?
... i dont know why but it only works on my User CP page that I have found...
Murty
06-14-2007, 04:46 AM
Well this also does not work for me...
RickB
06-14-2007, 04:58 AM
Yup, still not working for me. I've installed it about 4 times already, both versions.
Hornstar
06-14-2007, 07:40 AM
looks nice, thanks for sharing your great hacks :)
Snake
06-14-2007, 10:04 AM
Thanks for the release. I've been looking for something like this. :)
ammoskumar
06-14-2007, 02:03 PM
NOP:D not working
Subah
06-14-2007, 02:19 PM
Thanks cool , i will install it when i hace same free time :)
Princeton
06-14-2007, 04:19 PM
new xml file .. please redownload (file was missing phrases)
When testing, send a message to another account .. not yourself.
Also make sure that recipient has UserCP / Edit Options / Private Messaging / Show New Private Message Notification Pop-up ... checked
Princeton
06-14-2007, 05:15 PM
nebu,
please provide me a test account for your site (via pm)
RickB
06-14-2007, 05:15 PM
I uploaded your new version and it worked sort of. The PM notification image only shows up on my CP page. It doesn't appear on the homepage.
Princeton
06-14-2007, 05:17 PM
PM notification image?? what exactly do you mean?
RickB
06-14-2007, 05:20 PM
PM notification image?? what exactly do you mean?
The notification box of a new PM. The way your mod is supposed to works.
Princeton
06-14-2007, 05:24 PM
This modification works similar to the alert popup. It will only display 1 time. The difference is that it does not require javascript.
You can run a test here on vbulletin.org. Just make sure you have the Show New Private Message Notification Pop-up checked.
RickB
06-14-2007, 05:33 PM
This modification works similar to the alert popup. It will only display 1 time. The difference is that it does not require javascript.
You can run a test here on vbulletin.org. Just make sure you have the Show New Private Message Notification Pop-up checked.
The problem is it only shows up on my CP screen and no other screens. And yes, the CP pop-up box is checked
Great idea for a mod, but I just can't get it to work the way its supposed to.
Thanks.
Princeton
06-14-2007, 05:39 PM
Can you send (via pm) an admin test account where I can check this out?
Princeton
06-14-2007, 05:45 PM
ahh, I know what it is ..
add $pmmessage to the bottom of your navbar template
Masiello
06-14-2007, 06:32 PM
Don't work for me too.
Princeton
06-14-2007, 06:55 PM
masiello,
make sure you add $pmmessage to your navbar template
sonichero
06-14-2007, 08:30 PM
ya know, I was waiting for something like that.
Thank you.
Is there any way I can make it have a different image for infraction or can i just use <if condition="$post[infraction]">, and will it work?
puertoblack2003
06-14-2007, 09:31 PM
thanks princeton it works great!!! Just curious i sthere a way to add an image on the side like an envelope image thanks like the icon images...
rjmjr69
06-14-2007, 11:05 PM
Sorry still doesnt work for me.
Also when you post a new xml can you post it without the zip file? please
rjmjr69
06-14-2007, 11:20 PM
ok I got it to work. Thanks Good one
The only problem is it appear twice
Quantnet
06-14-2007, 11:43 PM
ok I got it to work. Thanks Good one
The only problem is it appear twice
Same here. Twice, one under another
And if I refresh the page or change to another style and change back, the PM notification box disappear. Is it supposed to show only ONCE ? I haven't even clicked on the box yet.
Princeton
06-15-2007, 12:22 AM
thanks princeton it works great!!! Just curious i sthere a way to add an image on the side like an envelope image thanks like the icon images...
already displays an image - pm_new.gif ($stylevar[imgdir_statusicon]) ... you can change the image by editing the gtpm_have_new_pm_popup_x_y phrase
Same here. Twice, one under anotherif you manually entered $pmmessage in navbar remove it ...
Is it supposed to show only ONCE ?
yes, it should only appear once
Murty
06-15-2007, 12:35 AM
Nice work! Didnt need to do a thing except upload the product! Well done! :)
b6gm6n
06-15-2007, 12:46 AM
seems to work great apart from i see no message, i get the box under the navbar everything seems good, i see the icon then colon : then nothing? - thats on my vBadvanced page... haven't tried anywhere else...WAIT, it works on forumhome, but not on my vBadvanced front page which is my sites main starting point... any global variables to add perhaps to my vbadvanced settings?
Also... would it be possible to include some styeling? like an option to colour the bar to highlight a new message or perhaps an option to show more information like time/date or whatever...pretty cool already though cheers
-b6
puertoblack2003
06-15-2007, 01:31 AM
already displays an image - pm_new.gif ($stylevar[imgdir_statusicon]) ... you can change the image by editing the gtpm_have_new_pm_popup_x_y phrase
if you manually entered $pmmessage in navbar remove it ...
yes, it should only appear once
thanks it worked......love it
Braders
06-15-2007, 01:38 AM
Works a treat. Thanks.
Braders
06-15-2007, 01:51 AM
Nice work. What happens if there are multiple pms in the users message box.
I sent mutiple PM's (3 to be exact) from another username numbering them 1, 2, & 3 only '3' showed up below the navbar, to read the others I had to open the PM as per usual. I've installed this on my test forum, but my members would be up in arms, unless the '1 time popup' was titled '3 new messages' or something similar.
Masiello
06-15-2007, 05:19 AM
masiello,
make sure you add $pmmessage to your navbar template
Thanks Princeton, strange it now works very good without adding at the Botton the $pmmessage variable.
Nice hack, thanks for sharing :)
If you sharing too the vb.org style I like too hehehe
Princeton
06-15-2007, 11:42 AM
Thanks Princeton, strange it now works very good without adding at the Botton the $pmmessage variable.
good, that's cause I updated the xml file
If you sharing too the vb.org style I like too hehehe
don't hold your breadth :D
Nathan2006
06-15-2007, 06:40 PM
Thank you very much Princeton
Install :)
Is there anyway to have this stay active until the messages have been read?
Princeton
06-15-2007, 06:46 PM
Thank you very much Princeton
Install :)
Is there anyway to have this stay active until the messages have been read?
No, it will require more code ..
There's 2 ways to accomplish this: add 1 query globally or edit your global.php file .. neither one I like.
Nathan2006
06-15-2007, 06:53 PM
No, it will require more code ..
There's 2 ways to accomplish this: add 1 query globally or edit your global.php file .. neither one I like.
Thanks for your reply :)
how would I be able to add a query globally? also is it easy?
eczantrik
06-16-2007, 07:55 PM
thank you very much thats a great mod :)
but i ve a problem
at default theme everything is normal but
my another theme
the user name and subject of the message didn't shown :(
can you help about this
Princeton
06-18-2007, 12:00 PM
thank you very much thats a great mod :)
but i ve a problem
at default theme everything is normal but
my another theme
the user name and subject of the message didn't shown :(
can you help about this
most likely caused by another product/plugin installed on your site .. check any plugin that alters $newpm[username] and $newpm[title]
b6gm6n
06-18-2007, 12:34 PM
it's good...but not great, i'm sticking with my other one, cheers
da_judge
06-18-2007, 09:11 PM
Installed... great plugin... top draw... just need it 2 stay all the time till read... im gonna look at this
Cheers
RedGTiVR6
06-20-2007, 08:58 PM
installed, works a charm!
Thanks for this mod and your other mods as well...they all are great additions!
child_abadan200
06-20-2007, 10:01 PM
Thanks
Silvio
06-21-2007, 07:47 AM
No, it will require more code ..
......omissis.....
lol:erm: is out there any 'gentle-soul' that would like to write that kind of code?:rolleyes::p
ty so much Princeton for your great works all of them are really superiors.
take care
ciao
Dannyloski
07-05-2007, 01:46 PM
Nice Add-on, I will not install, but I'll subscribe to this thread in case anyone will add the code so that it shows all the time until it has been read by the user. At that point, I would then install, but great job on this :up:
Mr. Burns
08-04-2007, 11:07 PM
Installed! Very sa~Weet hack! Had some installation issues until I added $pmmessage as you said to do!
Mr. Burns
08-04-2007, 11:42 PM
P.S. I agree with Dannyloski's suggestion btw.
Nathan2006
08-08-2007, 03:49 PM
Nice Add-on, I will not install, but I'll subscribe to this thread in case anyone will add the code so that it shows all the time until it has been read by the user. At that point, I would then install, but great job on this :up:
Me too :D
Endurer
08-11-2007, 10:16 PM
Great job, Installed. :)
Popups annoy me a lot so I have them disabled for myself. This hacks makes me want to enable em again and I am sure my members will love it too.
dicegame
08-12-2007, 08:44 AM
Doesn't work for me, i don't even get anything shown. :(
nnjj.net
08-12-2007, 09:03 AM
is it working for 3.6.8?
Default placement $pmmessage after installed is under navbar,if I want move it to other place where I modify it.
I try added $pmmessage code under header but now I have 2 popup notification under header and under navbar,I would like to remove popup notification under navbar.
By the way great mod.
Princeton
08-16-2007, 01:09 PM
Default placement $pmmessage after installed is under navbar,if I want move it to other place where I modify it.
I try added $pmmessage code under header but now I have 2 popup notification under header and under navbar,I would like to remove popup notification under navbar.
By the way great mod.
you have 2 notifications now because you have 2 $pmmessage .. you can remove the one in navbar
you have 2 notifications now because you have 2 $pmmessage .. you can remove the one in navbar
Yes you right but where I can found default $pmmessage,i try search on navbar template but I cant found it.
coolnikin
08-29-2007, 04:58 PM
will this work on 3.6.2 ?
nickypoooo
09-11-2007, 09:10 PM
Works great on 3.6.8, thank you
yoyoyoyo
09-18-2007, 03:51 AM
it doesn't work for me (3.6.8) - I sent a test message to myself, and there was no alert. I made sure that I had Show New Private Message Notification Pop-up checked, and manually added $pmmessage to the bottom of my navbar template. no luck - any ideas? any known conflicts with other hacks?
chatzworld
10-21-2007, 10:54 AM
it doesn't work for me (3.6.8) - I sent a test message to myself, and there was no alert. I made sure that I had Show New Private Message Notification Pop-up checked, and manually added $pmmessage to the bottom of my navbar template. no luck - any ideas? any known conflicts with other hacks?
I also have the same problem have ensured all settings are setup but still dose not work!
Princeton
10-31-2007, 06:54 PM
UPDATE:
Fixed quote issue - title with quotes would appear with slashes eg. \"title\"
there's no need to add $pmmessageHaving Problems?
Make sure that your vBulletin Options / Instant Messaging Support - Check for New Private Messages is enabled.
Make sure that the receiver of message has Show New Private Message Notification Pop-up checked.
Test by sending private message to another user (not yourself).
Duplicate alerts in navbar? Remove $pmmessage from navbar template.
Prefer to have alert in header template? Manually add $pmmessage to the bottom of your header template and change $gtpmmessage = true; to $gtpmmessage = false; in "Replace PM Popup" plugin
fatal1980
11-02-2007, 07:58 AM
Awesome. Thanks for the update. After editing the plugin 'Replace PM Popup' and setting "$gtpmmessage = false;". I was able to add $pmmessage to vbAdvanced global output variables and to the adv_portal template and now the notification shows properly under the vbadvance portal.
Princeton
11-02-2007, 01:08 PM
Awesome. Thanks for the update. After editing the plugin 'Replace PM Popup' and setting "$gtpmmessage = false;". I was able to add $pmmessage to vbAdvanced global output variables and to the adv_portal template and now the notification shows properly under the vbadvance portal.
thanks for the update :up:
CoryNickerson
11-05-2007, 02:26 AM
is there a way to make the message actually pop up in a new little mini screen? o.O
Red Spider
11-06-2007, 05:46 PM
Cool, Thanks :)
cagbaazee
11-07-2007, 04:31 AM
it does not work for me.. i hv sent the message .. but no pop -up only new message recd. what is the problem. Thaks
GrendelKhan{TSU
11-07-2007, 08:21 AM
great mod!! :D
question: is anyway to change the color (like to yellow like here) for i? same color as rest of forum makes it hard to see.
BadgerDog
11-14-2007, 01:43 PM
Installed.... :up:
Very nice... :)
Regards,
Badger
bc3tech
11-19-2007, 07:58 PM
Awesome. Thanks for the update. After editing the plugin 'Replace PM Popup' and setting "$gtpmmessage = false;". I was able to add $pmmessage to vbAdvanced global output variables and to the adv_portal template and now the notification shows properly under the vbadvance portal.
thanks for the info mang, i was just about to uninstall this until i saw your post. trying it now.
henners
11-20-2007, 10:36 AM
Is this optimised for 3.6.8, or could it be backwards compatible (say, for 3.6.0) ? Great mod though even if not :)
Princeton
11-27-2007, 12:34 PM
Is this optimised for 3.6.8, or could it be backwards compatible (say, for 3.6.0) ? Great mod though even if not :)
it may work for earlier versions ..
ncangler
12-04-2007, 02:41 PM
Thank you for this! I am using the vBadvanced CMPS for my home page and the alert shows up but the link is not correct as it is missing the /forums path. What template do I edit to add this? Thank you.
BelMaseto
12-04-2007, 05:12 PM
great mod!! :D
question: is anyway to change the color (like to yellow like here) for i? same color as rest of forum makes it hard to see.
same here...
Great mod! Insalled.
MrPHD
01-07-2008, 01:22 PM
Hi, whit me on only one template works. Regards
Boofo
01-31-2008, 05:25 PM
Joe, thank you for this mod, sir. ;)
Oh, and I got your template figured out and installed, sir. ;)
Snookieboy
02-25-2008, 10:57 PM
Great mod, cheers :)
Is there any way to make the new message bit stay on the page until they view it?
Members like the new system better, but if they miss the new message reminder many then don't realize they have new messages?
Cheers! :)
RedGTiVR6
02-27-2008, 06:02 PM
Will this work on 3.7?
Chadi
03-01-2008, 02:29 AM
I have this strange issue where it displayed once. What I did was send a test pm and refreshed, but this time it did not appear. Is this once display setup per cookie session? Can you please explain how to modify it so it appears every time on unread private messages?
Thanks
BadgerDog
03-01-2008, 10:23 AM
I have this strange issue where it displayed once. What I did was send a test pm and refreshed, but this time it did not appear. Is this once display setup per cookie session? Can you please explain how to modify it so it appears every time on unread private messages?
Thanks
I have this same problem ..... :up:
I'm not sure why the message dissappears when it does. Now that you mention the cookie thing, I think that's exactly the way it behaves on my system. It's not really that valuable to us when it works that way, particularly if people log in at the vBA home page first, so I was just about to uninstall it.
Perhaps I'll wait and see what answer you get first....
Other than that, very nice mod....
Regards,
Badger
Will this work on 3.7?
no, it will not work.
i think that Princeton will upadate it with the first stable version of 3.7 (not beta)
Boofo
03-05-2008, 10:53 PM
no, it will not work.
i think that Princeton will upadate it with the first stable version of 3.7 (not beta)
I have it working fine on 3.7. Have you even tried it?
I have it working fine on 3.7. Have you even tried it?
yes now it's working..
i've installed it but i haven't followed the tips on the first post (Make sure that your vBulletin Options...) :D
MissKalunji
03-13-2008, 06:01 PM
it may work for earlier versions ..
Yeah works on 3.6.4
how do you set Show New Private Message Notification Pop-up so its default to all new forum sign ups?
MissKalunji
03-16-2008, 04:28 PM
how do you set Show New Private Message Notification Pop-up so its default to all new forum sign ups?
you can set it in ur admincp under registration option
Boofo
05-25-2008, 07:31 PM
How would I go about changing the colors in this?
mikkitine
05-26-2008, 12:44 AM
Thank you for this! I am using the vBadvanced CMPS for my home page and the alert shows up but the link is not correct as it is missing the /forums path. What template do I edit to add this? Thank you.Anybody know how to handle this one?
eddo82
10-06-2008, 01:27 PM
I got this working on vbadvanced and vbulletin 3.7. Pretty sure these aren't the best directions to do get this work, but I'm just sharing what I did to get it working.
My setup:
vbadvanced: www.yourdomain.com
vbulletin: www.yourdomain.com/forums
Before installing, I edited the xml file. I added the URL to the forums where it says private.php. There are 2 places to edit.
If you already, installed the mod, I would uninstall and make the following changes.
Before:
<phrase 1="private.php?$session[sessionurl_q]">$vbphrase[gtpm_new_private_message]</phrase>
After:
<phrase 1="http://www.yourdomain.com/forums/private.php?$session[sessionurl_q]">$vbphrase[gtpm_new_private_message]</phrase>
----------
Before:
<phrase 1="$newpm[username]" 2="$newpm[title]" 3="private.php?$session[sessionurl]do=showpm&pmid=$newpm[pmid]" 4="$stylevar[imgdir_statusicon]">$vbphrase[gtpm_have_new_pm_popup_x_y]</phrase>
After:
<phrase 1="$newpm[username]" 2="$newpm[title]" 3="http://www.yourdomain.com/forums/private.php?$session[sessionurl]do=showpm&pmid=$newpm[pmid]" 4="$stylevar[imgdir_statusicon]">$vbphrase[gtpm_have_new_pm_popup_x_y]</phrase>
----------
1) Install the mod.
2) Go to: vbulletin admin control panel -> vBa CMPS -> Default Settings -> Main Options
In "Portal Output Global Variables", add: newpm
3) Click save.
That should be all.
C2Systems
10-08-2008, 03:07 AM
always showing a new unread pm's would be rad!
also, a list of all new unread pm's too, or the last 3? ... not just a link to the last one
I like it tho!!
jacko_162
09-21-2009, 09:31 AM
tested and working on 3.8.3 :)
is there anyway to get the background in the cell with "New private Message:" to flash?
linuxututs
10-18-2009, 02:44 AM
This Mod still works GREAT on new vB 3.8.4 board.
Thanks,
P.S. You have to manually put " $pmmessage " in all your navbar templates. ( I placed mine at the end of all my navbar templates and works like a treat ! :)
Cheers,
MegaSpecter
11-12-2009, 02:32 PM
Does this mod work with 3.8? - EDIT: Yes, I just installed it and it works great. Only downside to this system is that the alert goes away once the user sees it for the first time.
Can anybody create an update where the alert does not go away until the user views the new PM?
Ghostt
11-25-2009, 07:20 PM
Does this mod work with 3.8? - EDIT: Yes, I just installed it and it works great. Only downside to this system is that the alert goes away once the user sees it for the first time.
Can anybody create an update where the alert does not go away until the user views the new PM?
you are fully right MegaSpecter!! it should be shown permanently until the PM is readed. because many users jus even see it while fast scrolling or something else...
is it possible? PLEASE add this great little feature
Ghostt
11-28-2009, 10:35 AM
isn'T it possible? or this mod have no sense no user just see that little alert witch do not pop up!!
Ghostt
11-30-2009, 12:48 PM
omg no support -.-
athlon64bit
01-24-2010, 09:28 PM
Does this work on vb 4? Any plans to update it to vb 4? :)
Manoel J?nior
06-04-2011, 04:18 PM
Does not work 3.8.7
adwade
06-12-2011, 07:22 PM
I just installed it on v3.8.6 and it works fine. As has been said, to test it you need to send a PM to another account not your own. I could not figure out how to change the colors, but I did edit the product-gtpm_popup.xml file from:
...border="0" width="100%" align="center">
to
...border="0" width="50%" align="center">
and then re-imported the product w/overwrite=ON
That helps make it somewhat more noticeable, for users since it's not the same WIDTH as the rest of the page.
JesWhite
01-25-2016, 01:18 PM
Does this work on vb 4? Any plans to update it to vb 4? :)
i'm waiting too..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.