View Full Version : PM Alert (SIMPLE) NO IMAGE!
Ben Wilkins
08-18-2006, 10:00 PM
If you want to display:
You have a pm, waiting to be read.
when a user has a new private message:
Just add this to the bottom of your header template
<center>
<font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, waiting to be read.</if></font>
</center>
See the attachment for example
This mod works on all versions of VB
cheech4487
08-18-2006, 10:34 PM
just so happens I was lookin for this and I will give it a try, thanx!!
bobhonda
08-18-2006, 11:18 PM
very nice **installed** thanks
Scooterpig
08-18-2006, 11:41 PM
Short & Sweet, love it thank you..:)
Ya might just wanna add a .txt file for it to attach as per rules..:)
Selene
08-19-2006, 12:59 AM
nice hack! thanks
OziloZ
08-19-2006, 02:08 AM
Excellent
jdk10
08-19-2006, 03:06 AM
Could this be modified to change the background color of the Welcome Sprint area on the top right?
Baudman
08-19-2006, 03:35 AM
I hope you don't mid but I changed the code a bit so you can click it now when you see it. It will take you to your pm box.
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, waiting to be read.</if></font></a>
</center>
Change www.yourdomain.com to your sites address
Thanks this hack is great. :)
I should also add that you have to add /forums/ or what ever extention you have your forums in. Some people have http://www.yourdomain.com/forums/private.php for an example. if your site isn't set to direct to your forums like I have above (http://www.yourdomain.com/private.php) then change the path like this last example I gave. most people can change the green section to what ever they have.
I hope I have not confused to many poeple cause I don't normally add to things so I have no Idea how to get my point accross. lol
BETIServices
08-19-2006, 03:47 AM
Thanks for the hack, I love this hack specially with another hack that I already have it will display perfect.
The option to click is a plus !
Snake
08-19-2006, 10:16 AM
Nice idea. I like it.
Nice idea, may be better to move the font and center codes inside the condition - save bandwidth if there are no pm's :)
bolly.beats
08-23-2006, 06:43 PM
nicee bro installed :D :D :D :D
Brandon Sheley
08-24-2006, 04:00 AM
nice add-on :)
Staxed
08-25-2006, 10:41 AM
Ya might just wanna add a .txt file for it to attach as per rules..:)
yes...please
bongwater
08-25-2006, 12:00 PM
installed on my forum. thanks!
hotwheels
08-26-2006, 03:24 AM
That is very kewl..........
IAWBody
09-15-2006, 09:22 PM
Installed, thanks!
thablewprnt
09-16-2006, 06:08 PM
For some reason I only get the "You have a private message, waiting to be read"
I don't get the blinking one.....:cry:
Gizmo5h1t3
09-16-2006, 07:43 PM
For some reason I only get the "You have a private message, waiting to be read"
I don't get the blinking one.....:cry:
thatll be because thats what the hack does??
along the same lines, i dont get big silly red arrows on mine...pppfttt
thablewprnt
09-16-2006, 11:34 PM
Well that reply was about as usefull as a bent penny....Or was that an insult? sorry im a newb.....*smh and pishhh* get lost..
oberheimhaven
09-18-2006, 05:55 PM
Good Job click installed ;-) Like the fact u can click it and goright to pop up messge keep up t he great work everyone!!
3.6.0 installed!!!
MarkAnthony
rezapci
09-18-2006, 09:48 PM
so where is the New Privite Msg?
stigz
09-26-2006, 10:10 AM
thanks that was simple lol installed
Klaymen TK
09-27-2006, 07:29 PM
Installed. :)
Gsmmind
09-30-2006, 09:16 PM
Very Nice Hack Bro........;)
HAVOK USA
10-21-2006, 11:01 PM
Very Simple and Very Effective - thanks!
rareclownfish
11-05-2006, 12:59 PM
Maybe wroung forum but where can I get the other hack next to the one you showed in the pic NEW Private MSG.
Thanks
Tru2Chevy
11-13-2006, 03:19 PM
Maybe wroung forum but where can I get the other hack next to the one you showed in the pic NEW Private MSG.
Thanks
Yea, I saw that hack a while ago and can't find it again now. Would like to add both to my board, as several members on my site are a bit dense when it comes to seeing new PMs :)
- Justin
ByG SteAm
11-19-2006, 10:38 PM
Very nice
*installed*
P.S - for anyone were red text would look bad just replace with a differnt color like "Blue"
http://img137.imageshack.us/img137/6111/untitledqa6.jpg
odie3
03-26-2007, 04:23 AM
Cool - Thanks for the simple MOD.
Question: How do I get the underline to go way? Seem vB loves to underline stuff. :(
BadgerDog
03-27-2007, 08:06 PM
Very nice.... thank you .. :)
Is there a way to make it blink?
Regards,
Badger
Ben Wilkins
05-10-2007, 03:29 PM
Yes. Change it to this if you want a blink
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']"><blink>You have a private message, waiting to be read.</blink></if></font></a>
</center>
BadgerDog
05-11-2007, 09:41 AM
Yes. Change it to this if you want a blink
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']"><blink>You have a private message, waiting to be read.</blink></if></font></a>
</center>
Thanks Ben.... :)
I tried that, but it didn't seem to make IE6 blink. I remember someone saying somplace, that browsers no longer recognized that command as it was found to be extrememely annoying?
Regards,
Badger
Ben Wilkins
05-11-2007, 04:42 PM
Yes, it works in Firefox, and from what I've heard opera. It was found by Microsoft that it was putting the browsing users off, because it was like an advertisement keep on blinking.
I can figure out a way to make it attractive later tonight. Have any simple template change requests, then please PM me while i have time on my hands
BadgerDog
05-11-2007, 04:49 PM
Yes, it works in Firefox, and from what I've heard opera. It was found by Microsoft that it was putting the browsing users off, because it was like an advertisement keep on blinking.
I can figure out a way to make it attractive later tonight. Have any simple template change requests, then please PM me while i have time on my hands
I thought it was great the way you've done it Ben....
I can imagine that the blink would be annoying, but for something like being notifed that one has private messages, I would have thought most users wouldn't mind it, but I culd be wrong.... :)
Regards,
Badger
Smiry Kin's
05-15-2007, 10:49 PM
how u get the the pm alert thats below the arrow there?
SuperTaz
06-11-2007, 01:01 AM
How about this:
<center>
<font size="5" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a new private message!</if></font>
</center>
Would that work better?
Thanks Ben.... :)
I tried that, but it didn't seem to make IE6 blink. I remember someone saying somplace, that browsers no longer recognized that command as it was found to be extrememely annoying?
Regards,
Badger
It works with IE7. I have it working on my site
RMS-Chef
06-11-2007, 08:33 PM
I hope you don't mid but I changed the code a bit so you can click it now when you see it. It will take you to your pm box.
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, waiting to be read.</if></font></a>
</center> Change www.yourdomain.com to your sites address
Thanks this hack is great. :)
I should also add that you have to add /forums/ or what ever extention you have your forums in. Some people have http://www.yourdomain.com/forums/private.php for an example. if your site isn't set to direct to your forums like I have above (http://www.yourdomain.com/private.php) then change the path like this last example I gave. most people can change the green section to what ever they have.
I hope I have not confused to many poeple cause I don't normally add to things so I have no Idea how to get my point accross. lol
Or just use
$vboptions[bburl]/private.php
wolf32
06-11-2007, 09:28 PM
flawless *clicks installed*
rjmjr69
06-12-2007, 01:15 AM
I use this code it gets blinking blue centered.
<center>
<a href="http://www.yourforumaddress.com/forums/private.php" target="_blank"><font size="5" color="#0066cc" style="bold">
<if condition="$bbuserinfo['pmunread']"><blink>You have a NEW private MESSAGE, Please click here to read</blink></if></font></a>
</center>
Notice in the url field that its followed by /forums Thats how many people have forums setup on servers if your getting a 404 page error when clicking the link try using this code................
Awesome mod couldnt be any easier to install thanks
Adam21
06-16-2007, 07:22 AM
Here's the blinking red new PM text that was used by vb.org :)
kollam003
06-17-2007, 11:35 AM
just too good thanks :)
JadedSouls
07-21-2007, 07:21 PM
love it! :)
ragtek
07-21-2007, 07:33 PM
why not:
<if condition="$bbuserinfo['pmunread']"><center>
<font size="4" color="red" style="bold">
You have a private message, waiting to be read.</font>
</center></if>
mrghostno1
08-28-2007, 09:23 PM
Blink works fine with Opera 9
Wheezy
08-31-2007, 01:04 AM
I hope you dont mind me editing it a little bit, but I wanted to slightly personalize this awesome template edit. Basically I edited it into this:
<center>
<a href="http://www.mydomain.com/private.php" style="text-decoration:none"><font size="4" color="#E3170D" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message waiting to be read.</if></font></a>
</center>
Thanks for sharing! *marks as installed*
EDIT: Is there a way to correlate a number of private messages to the announcement" For example, if someone had 3 or 4 or 5 unread PMs, could the announcement read "You have 3/4/5 unread private messages" ???
momo2
09-06-2007, 04:05 PM
this works so great, in fact i use this code to this style so i can still be on my forum and yet still check mail and won't lose my work
<center>
<a href="http://www.yourdomain.com/forum/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, <blink>Click Here.</blink></if></font></a>
</center>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.