PDA

View Full Version : PM Alert (SIMPLE) NO IMAGE!


Ben Wilkins
18 Aug 2006, 23:20
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
18 Aug 2006, 23:34
just so happens I was lookin for this and I will give it a try, thanx!!

bobhonda
19 Aug 2006, 00:18
very nice **installed** thanks

Scooterpig
19 Aug 2006, 00:41
Short & Sweet, love it thank you..:)

Ya might just wanna add a .txt file for it to attach as per rules..:)

Selene
19 Aug 2006, 01:59
nice hack! thanks

OziloZ
19 Aug 2006, 03:08
Excellent

jdk10
19 Aug 2006, 04:06
Could this be modified to change the background color of the Welcome Sprint area on the top right?

Baudman
19 Aug 2006, 04:35
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
19 Aug 2006, 04:47
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
19 Aug 2006, 11:16
Nice idea. I like it.

Nxs
19 Aug 2006, 12:08
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
23 Aug 2006, 19:43
nicee bro installed :D :D :D :D

Brandon Sheley
24 Aug 2006, 05:00
nice add-on :)

Staxed
25 Aug 2006, 11:41
Ya might just wanna add a .txt file for it to attach as per rules..:)

yes...please

bongwater
25 Aug 2006, 13:00
installed on my forum. thanks!

hotwheels
26 Aug 2006, 04:24
That is very kewl..........

IAWBody
15 Sep 2006, 22:22
Installed, thanks!

thablewprnt
16 Sep 2006, 19:08
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
16 Sep 2006, 20:43
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
17 Sep 2006, 00:34
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
18 Sep 2006, 18:55
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
18 Sep 2006, 22:48
so where is the New Privite Msg?

stigz
26 Sep 2006, 11:10
thanks that was simple lol installed

Klaymen TK
27 Sep 2006, 20:29
Installed. :)

Gsmmind
30 Sep 2006, 22:16
Very Nice Hack Bro........;)

HAVOK USA
22 Oct 2006, 00:01
Very Simple and Very Effective - thanks!

rareclownfish
05 Nov 2006, 13:59
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
13 Nov 2006, 16:19
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
19 Nov 2006, 23:38
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
26 Mar 2007, 05:23
Cool - Thanks for the simple MOD.

Question: How do I get the underline to go way? Seem vB loves to underline stuff. :(

BadgerDog
27 Mar 2007, 21:06
Very nice.... thank you .. :)

Is there a way to make it blink?

Regards,
Badger

Ben Wilkins
10 May 2007, 16:29
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
11 May 2007, 10:41
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
11 May 2007, 17:42
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
11 May 2007, 17:49
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
15 May 2007, 23:49
how u get the the pm alert thats below the arrow there?

SuperTaz
11 Jun 2007, 02:01
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
11 Jun 2007, 21:33
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
11 Jun 2007, 22:28
flawless *clicks installed*

rjmjr69
12 Jun 2007, 02:15
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
16 Jun 2007, 08:22
Here's the blinking red new PM text that was used by vb.org :)

kollam003
17 Jun 2007, 12:35
just too good thanks :)

JadedSouls
21 Jul 2007, 20:21
love it! :)

ragtek
21 Jul 2007, 20:33
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
28 Aug 2007, 22:23
Blink works fine with Opera 9

Wheezy
31 Aug 2007, 02:04
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
06 Sep 2007, 17:05
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>