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)

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!!


All times are GMT. The time now is 01:59 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.01319 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete