View Full Version : Info bar when new pm recieved.
Steven Gibbons
04-30-2006, 10:00 PM
You know in windows SP2 you have the yellow bar at the top telling you when a popup has been blocked, this is what this script does when one of your users has got a new private message and stays until they have read it.
Steven
sandrodz
05-01-2006, 03:22 PM
great idea!
I've seen that kind of bar when you are not registered, but pm thing is new! good idea indeed :D
basilrath
05-01-2006, 03:29 PM
cant open the file ...is it me ?
BuRuNDi
05-01-2006, 03:52 PM
It is not you, I think the zip is corrupted. :confused:
Rename to .rar and then open. Worked for me.
DementedMindz
05-01-2006, 04:04 PM
yeah it didnt upload all the way... corrupt..
Code Monkey
05-01-2006, 04:15 PM
The css file should go to /clientscript/vbulletin_css/ to conform to vBulletin standards.
Steven Gibbons
05-01-2006, 04:27 PM
Sorry if the mod didnt work, i made a mistake becuase i couldnt upload a rar file so i just changed the extension which didnt work, ive replaced with a working .zip file. If you like the idea and use it please install and also if you want the bar used for something different please contact me and i might be able to make one and release it. :)
Boofo
05-01-2006, 04:41 PM
I wish I had seen this before. I just installed one for ungistered members to register. ;)
Steven Gibbons
05-01-2006, 04:52 PM
I only made it yesterday as a few people told me somewhere that they would use it, im going to take some screenshots.
MagicMouse
05-01-2006, 05:37 PM
Thanks for this mod.
It looks great.
Steven Gibbons
05-01-2006, 05:58 PM
Thats ok, i hope you all enjoy, please see the screenshots i have included.
BeaLzeBuB
05-01-2006, 06:04 PM
looks good
installed
Tralala
05-03-2006, 03:46 AM
The warning.gif shows up in generic vbulletin style but not in my others... where should it be uploaded so the other styles can use it too?
Steven Gibbons
05-03-2006, 05:12 AM
Does the bar show up when you get a new private message or does nothing show up?
Tralala
05-03-2006, 05:40 AM
Does the bar show up when you get a new private message or does nothing show up?
The bar shows up, there's just no "warning" badge on the left side.
kurtbarker
05-03-2006, 06:43 AM
I get a warning badge, but it loads as a seperate image, not as a complete bar... so the badge may how up 10 - 20 seconds after the bar loaded [at least it did on mine].
However i'm wondering if the bar could be made like a distinct yellow oe something, as it's very bland at the moment and not that easy to see... it looks like it's a part of the address bar :|
Steven Gibbons
05-03-2006, 02:37 PM
If you tell me what colours you would like it and i can make it that colour/
Thanks for the feedback everyone.
AKapadia
05-03-2006, 03:24 PM
nice hack thanx.. click install i was wondering there was another hack just like this if user is not ragister it say to ragisteranyone know ?
Tralala
05-03-2006, 03:40 PM
The bar shows up, there's just no "warning" badge on the left side.
Never mind, I got this working after all, just had to move the snippet in my 3rd party header template to another section. Go figger.
I later did as JumpD suggested, moved the css file to /clientscript/vbulletin_css/ to conform to vBulletin standards.... and modified the snippet in headinclude so it would locate it properly.
Works great now! Thanks...
Tralala
05-03-2006, 03:52 PM
nice hack thanx.. click install i was wondering there was another hack just like this if user is not ragister it say to ragisteranyone know ?
Something like this (https://vborg.vbsupport.ru/showthread.php?t=99579) perhaps...?
AKapadia
05-04-2006, 12:31 PM
no not like that thanx tho
da420
05-04-2006, 03:06 PM
Really like the idea, but I cannot find this in my header template: <!-- logo -->
kurtbarker
05-04-2006, 03:20 PM
hey mate... maybe you installed a modification that removed that line, because it is in the header template... see below for my header code
<!-- logo -->
<if condition="$bbuserinfo['pmunread']">
<div id="infobar"><a href="http://www.commodorelife.com/forums/private.php"><p>You have an Unread Private Message, Click here to view. . .</p></a></div>
</if>
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<td align="$stylevar[right]">
<a href="goto.php?section=about$session[sessionurl]">$vbphrase[gtcustom_about_header]</a> | <a href="goto.php?section=privacy$session[sessionurl]">$vbphrase[gtcustom_privacy_header]</a> | <a href="goto.php?section=terms$session[sessionurl]">$vbphrase[gtcustom_terms_header]</a> | <a href="goto.php?section=sitemap$session[sessionurl]">$vbphrase[gtcustom_sitemap_header]</a>
</td>
<tr>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<div align="center">$phpAds_raw[html]</div>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$welcomeheaders
try inserting the required code at the very top of the header template, as that is where the <!-- logo --> line would be ;)
Smiry Kin's
05-09-2006, 05:18 AM
works but for some reason wen i want to add sound it doesnt work!
<if condition="$bbuserinfo['pmunread']">
<div id="infobar"><a href="http://www.mydomain.com/private.php"><p>You have an Unread Private Message, Click here to view. . .</p></a><embed src="infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</if>
now that works here:
https://vborg.vbsupport.ru/showthread.php?t=97150
oo actually found out it doesnt work in FF, but perfect in EI.. any help please??
Tralala
05-09-2006, 06:05 AM
i was wondering there was another hack just like this if user is not ragister it say to ragisteranyone know ?
Ah, the previous poster found what you are looking for. Like this? (https://vborg.vbsupport.ru/showthread.php?t=97150)
basilrath
05-11-2006, 11:03 AM
have to say i like the blinking pm ......works well and shows in box who has sent .........very nifty
https://vborg.vbsupport.ru/showthread.php?t=114233
Valter
05-11-2006, 07:28 PM
If you like the idea and use it please install and also if you want the bar used for something different please contact me and i might be able to make one and release it. :)
Maybe one to notice users that they have to read forum rules. The bar shows up until they click on it. In settings make field where admins will add url to forum rules. ;)
Suggestion/Question...its possible the bar follow the screen...??
vbreal
09-27-2006, 02:35 AM
great thanks!!
manutdvn
11-24-2006, 04:06 AM
It works for me. Thanks. Installed.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.