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)

DjEddie 03-28-2011 02:28 PM

Hi, really want to use this mod .. but I think it will conflict with the Header Rework V4 which is here: https://vborg.vbsupport.ru/showthread.php?t=257261

Would someone be able to help with what code should be replaced in the header for me to get this to work please ..

Thank you :)

wipedout 03-28-2011 03:43 PM

Quote:

Originally Posted by DjEddie (Post 2178347)
Hi, really want to use this mod .. but I think it will conflict with the Header Rework V4 which is here: https://vborg.vbsupport.ru/showthread.php?t=257261

Would someone be able to help with what code should be replaced in the header for me to get this to work please ..

Thank you :)

This for me aswell, have this but i dont get anything running cus of this rewrite. (my guess)

Gemma 03-28-2011 08:25 PM

Quote:

Originally Posted by DjEddie (Post 2178347)
Hi, really want to use this mod .. but I think it will conflict with the Header Rework V4 which is here: https://vborg.vbsupport.ru/showthread.php?t=257261

Would someone be able to help with what code should be replaced in the header for me to get this to work please ..

Thank you :)

Quote:

Originally Posted by wipedout (Post 2178391)
This for me aswell, have this but i dont get anything running cus of this rewrite. (my guess)

I'll assume you've installed the Header Rework mod. Back-up first but this should work

In your header template search for:
Code:

<vb:if condition="$notifications_total">
                                                {vb:raw notifications_menubits}
</vb:if>
<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>

Replace it with the header template edit for this mod;
Code:

<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
<vb:if condition="$notifications_total">
<script type="text/javascript">

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

</script>
</vb:if>

<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->

Install the rest of this mod.

DjEddie 03-29-2011 11:11 AM

Gemma u star..thank you ..works perfectly now :) ..

insanewhip 04-21-2011 08:37 PM

looks Great i cant wait to install!

literatestylish 04-29-2011 04:08 PM

Nevermind*

Lestat_ 05-01-2011 01:13 PM

installed, works like a charm, and is really beautiful ! thanks mate :)

boffin_adi 05-02-2011 01:31 AM

Hi Buddy

I tried installing it on my website: www.FaaDoOEngineers.com (I use VB 4.1.3)

It worked for a couple of days and then it stopped working!

Please let me know how to make it work as my users really liked it.

Longcat 05-06-2011 11:56 PM

amazing hack! thank you so much!

installed on: vb 4.1.3

KaneR 05-07-2011 06:31 PM

A quick tip for any of you that want to have the box fade out instead of it constantly being there.

1. Open jquery.jgrowl.js found in jscripts/tw7s_notifications.

2. Find... Line 304
Code:

startup:        function(e) {
3. Below add...
Code:

/* BEGIN FADE */
                        var fade_out = function() {
  $("#jGrowl").fadeOut (XXX);
}

setTimeout(fade_out, 5000);
                        /* END FADE */

Replacing the XXX with a number such as 600 will determine how long it takes for the notification box to fade out. And changing the number 5000 will change how long the box stays visible for before disappearing. 5000 = 5 Seconds.

4. Re-upload the file to your forum. :)


All times are GMT. The time now is 09:07 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.01303 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
  • (4)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)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