vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Info bar when new pm recieved. (https://vborg.vbsupport.ru/showthread.php?t=114514)

Steven Gibbons 04-30-2006 10:00 PM

Info bar when new pm recieved.
 
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:

C_P 05-01-2006 03:55 PM

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

Quote:

Originally Posted by Steven Gibbons
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

Quote:

Originally Posted by Tralala
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

Quote:

Originally Posted by AKapadia
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 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

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>
        &nbsp;
    </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!

PHP Code:

<if condition="$bbuserinfo['pmunread']">
<
div id="infobar"><a href="http://www.mydomain.com/private.php"><p>You have an Unread Private MessageClick 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

Quote:

Originally Posted by AKapadia
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?

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

Quote:

Originally Posted by Steven Gibbons
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. ;)

rmxs 05-28-2006 06:04 AM

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.


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01242 seconds
  • Memory Usage 1,779KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete