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)

Madpoodle 05-08-2011 09:37 AM

Quote:

Originally Posted by KaneR (Post 2193073)
A quick tip for any of you that want to have the box fade out instead of it constantly being there.

Does it pop back up when you change pages?

KaneR 05-09-2011 02:39 PM

Quote:

Originally Posted by Madpoodle (Post 2193243)
Does it pop back up when you change pages?

Yes but you can add a conditional so it only shows up on the index page. If you want to do so...

Find:-
Code:

<vb:if condition="$notifications_total">
Add above:-
Code:

<vb:if condition="THIS_SCRIPT == 'index'">
Find:-
Code:

</script>
</vb:if>

Add below:-
Code:

</vb:if>
Make sure the code changes are done within the '<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->' tags.

Or you could just replace the code with the following and adjust the text to your liking...
Code:

<!-- Begin TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
<vb:if condition="THIS_SCRIPT == 'index'">
<vb:if condition="$notifications_total">
<script type="text/javascript">
$.jGrowl('{vb:raw notifications_menubits} <br />This box will disappear in 5 seconds.' , { sticky: true, header : 'New Notification(s)' } );
</script>
</vb:if>
</vb:if>
<!-- End TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->


TITAN-UZ 05-09-2011 11:08 PM

1 Attachment(s)
How to fix this problem :(

tdkmatt 05-10-2011 10:07 AM

adding this removed the password box?

maxlink 05-13-2011 05:37 PM

It only show when i click the link to private.php above header. How can i fix this ?

raagaswaram 06-07-2011 06:41 AM

the scripts runs if only one jquery script execute,if i add the latest threads jquery mod then this disappears what can be done?.

ALBCODERS 06-07-2011 05:14 PM

nice idea ! thanks

Filgga 06-07-2011 07:59 PM

I would like to get the notification box that is customizable like the one being used by Digitalpoint

sdodd35 06-07-2011 08:41 PM

Works perfectly!!! Thanks :up:

glen290 06-11-2011 06:25 PM

Quote:

Originally Posted by bulldog51981 (Post 2164861)
After installing this, you may want to disable this option for everyone since you will now have a notification on the screen anyway. If you would like to disable the "Display Pop Up Notification When New Private Message Is Received", go to:

AdminCP > Maintenance > Execute SQL Query > Automatic Queries

To disable it for future registrations, go to:

AdminCP > User Registration Options

Hope this helps someone else.

Says im not authorised to execute sql queries, any ideas ? :confused:


All times are GMT. The time now is 04:35 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.01150 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (3)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