vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Private Messages Enhancements - TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) (https://vborg.vbsupport.ru/showthread.php?t=254231)

andreamarucci 12-06-2010 06:18 PM

It work but it seems to conflict with the popup notification of new messages function that is built in VB. Anyone know how to disable this option for all the vb users?

synseal 12-10-2010 12:58 PM

It wasn't showing on the forumhome but working fine everywhere else until I placed this code

Code:

<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
    <script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script>
    <link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->

in headerinclude_bottom rather than headinclude

Now it shows everywhere.

Thanks for this mod :up:

Yaung Sein 12-14-2010 11:11 AM

Quote:

Originally Posted by synseal (Post 2131869)
It wasn't showing on the forumhome but working fine everywhere else until I placed this code

Code:

<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
    <script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script>
    <link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->

in headerinclude_bottom rather than headinclude

Now it shows everywhere.

Thanks for this mod :up:

Thanks you, Synseal and original creator of this Modification of Template. :)

It will be better if can disable pop up for PM notification.

LifesGreatestGift 12-15-2010 01:41 AM

Disable it in your UserCP and in AdminCP for future users. Don't know the SQL code to run to disable it for current registered members. Make a thread about how to disable it.

adwolf1 12-15-2010 04:07 PM

when i insert:
<script type="text/javascript">
$.jGrowl('test...', {sticky: true, header : 'New Notification(s)' });
</script>

the box pops up properly with 'test' shown.

when i insert:
$.jGrowl('{vb:raw notifications_menubits} <br />You must view your notification(s) before this box will disappear.', {sticky: true, header : 'New Notification(s)' });

No box appears.

When I just put
{vb:raw notifications_menubits}

in the template, out pops:
2 Unread Private Messages

So I know the template variable is indeed correct.

Any ideas?

adwolf1 12-15-2010 04:12 PM

Quote:

Originally Posted by adwolf1 (Post 2134314)
when i insert:
<script type="text/javascript">
$.jGrowl('test...', {sticky: true, header : 'New Notification(s)' });
</script>

the box pops up properly with 'test' shown.

when i insert:
$.jGrowl('{vb:raw notifications_menubits} <br />You must view your notification(s) before this box will disappear.', {sticky: true, header : 'New Notification(s)' });

No box appears.

When I just put
{vb:raw notifications_menubits}

in the template, out pops:
2 Unread Private Messages

So I know the template variable is indeed correct.

Any ideas?

Solved my own problem --
"Add Template Name in HTML Comments" MUST be off or else this script won't work.

thanks

literatestylish 12-16-2010 06:37 AM

Words GREAT on Firefox and Chrome, but it completely disables the forum on IE.

Edit: fixed it. As per step 3, don't remove the entire section it tells you to remove. Simply remove the part that pertains to the notification dropdown.

andreamarucci 12-16-2010 10:14 AM

A little annoyance. Since my forum is a pay one, I've noticed that when the payment date approach, the little grey box show up and stay there until the forum payment is done. Problem is that some users told me that their forum quota is ending the 27 of december and the box is out now and there's no way to make it disappear...

Konsolenheld 12-16-2010 11:16 AM

Is it possible to center this Box?

basilrath 12-16-2010 11:19 AM

You can put it where you like providing you change the css coding


All times are GMT. The time now is 11:04 AM.

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.01180 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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