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)

m!dn!ght 11-29-2010 08:21 AM

hi
there is a problem with IE
if you have notifaction you can't browse pages

basilrath 11-29-2010 10:01 AM

Which IE - Im using 8 and seems ok?

m!dn!ght 11-29-2010 02:04 PM

i found what is the problem
in step 3 i don't need replace codes, just add TW7S codes in top of header and now working in IE

LifesGreatestGift 11-29-2010 11:11 PM

The replacing of the codes is what disables the default dropdown.

FReeSTER 11-30-2010 12:29 AM

Ok, i have done all the edits and upload the files, if you want can take a look at my site, is not working :(

chuckhodson 11-30-2010 04:26 AM

Awesome works great thanks.

horussjr 12-01-2010 10:28 AM

not working. i found why but i dont know what to do. i have steam profile integration (the newest version) and have this code in headinclude at the end

PHP 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) -->

<
script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<
script type="text/javascript" src="steamprofile/steamprofile.js"></script

in this order steamprofile is working. to make the notification work i have to put the code at the bottom but than steamprofile doesn't work any more. i have to use the steam profile but i also like your mod. what to do?

basilrath 12-01-2010 12:14 PM

Whats the steamprofile script?

Krusty1231 12-01-2010 02:02 PM

It fails to work for me either. I can follow instructions - did and done - and nothing. I think perhaps my forum is called home.php and not forum.php - do you think that is the issue?

Seems like a nice addon and I would really like to get it to work.

Any insights?

horussjr 12-01-2010 03:15 PM

search for steamprofile integration. but it's not the vbulletin version. it's the last version directly from the developer

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

Konsolenheld 12-16-2010 11:31 AM

Code:

/** Normal Style Positions **/
div.jGrowl {
        position:                        absolute;

This part?

LifesGreatestGift 12-16-2010 05:28 PM

Why change position of box? Its translucent and meant to be "in the way" so the member will have no choice but read the notification.

basilrath 12-16-2010 08:17 PM

Choice ?

Lets face it we al dont like red pants ? :)

Mellow 12-17-2010 11:37 AM

How easy is it to change the color of the box? I'd like it to be a light yellow w/black text just to stand out more.

Thanks!

basilrath 12-17-2010 08:04 PM

its in the css file

Mellow 12-17-2010 08:35 PM

Quote:

Originally Posted by basilrath (Post 2135546)
its in the css file

Duh.. thanks! Sometimes obvious questions deserve obvious answers.

Yaung Sein 12-24-2010 01:01 PM

Quote:

Originally Posted by literatestylish (Post 2134701)
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.

I have still error in IE. Can you show me how do you fix it?

whitedd 12-25-2010 11:33 AM

...Croatian translation...

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 />Morate pregledati poruku(e) kako bi ova obavijest nestala.' , { sticky: true, header : 'Nova poruka(e)' } );

</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) -->


Yaung Sein 12-26-2010 12:11 PM

Quote:

Originally Posted by Yaung Sein (Post 2138608)
I have still error in IE. Can you show me how do you fix it?

Any help to fix it? Anyone?

basilrath 12-26-2010 12:17 PM

When you say error what exactly do you mean ?

Expand so we have something to work with :)

finsat 12-26-2010 07:47 PM

how can i show it every where?same as main forum pages?

Yaung Sein 12-27-2010 04:20 AM

Quote:

Originally Posted by Yaung Sein (Post 2138608)
I have still error in IE. Can you show me how do you fix it?

Quote:

Originally Posted by basilrath (Post 2139201)
When you say error what exactly do you mean ?

Expand so we have something to work with :)

Forum was disabled in IE.

basilrath 12-27-2010 09:17 AM

Quote:

Forum was disabled in IE.
The problem with it is you will have a script conflict so the only way around this is to look for where the conflict is on your board.

Quote:

how can i show it every where?same as main forum pages?
The developer would have to answer that question with a work around although there are other ways to do this.

Yaung Sein 12-27-2010 02:06 PM

http://img715.imageshack.us/img715/6...plateerror.gif

That's error I faced. :(

OldSchoolDSL 12-27-2010 08:07 PM

Installed & Working

4.1 PL2

NOTE: To make fully compatible with Internet Explorer (tested with IE9) & Opera Browser (tested with 11)

Do not add the following code to headerinclude
Rather add to headerinclude_buttom



HTML 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) -->

Before replacing your header code....

Advised that you make a backup of your full header (save it in notepad... Save, not just copy & paste). This will make for a quick restore, should anything go wrong for you.

Yaung Sein 12-28-2010 10:33 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2139762)
Installed & Working

4.1 PL2

NOTE: To make fully compatible with Internet Explorer (tested with IE9) & Opera Browser (tested with 11)

Do not add the following code to headerinclude
Rather add to headerinclude_buttom



HTML 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) -->

Before replacing your header code....

Advised that you make a backup of your full header (save it in notepad... Save, not just copy & paste). This will make for a quick restore, should anything go wrong for you.

Not work with IE8. I have tested.

OldSchoolDSL 12-28-2010 12:03 PM

Quote:

Originally Posted by Yaung Sein (Post 2140058)
Not work with IE8. I have tested.


1) There must be some kind of Mod on your community conflicting

---- OR ----

2)

There has to be something wrong with your browser. A plug-in, a pop-up blocker, toolbar, spyware, adware.... Something.....

This was tested and works on Internet Explorer 7, 8, and 9. I even had one member who seems to refuse to update from Internet Explorer 6, who says this works (though not so well for them as IE6 is 10 years old and obsolete ).

basilrath 12-28-2010 02:45 PM

Its a script conflict

leclownos 01-01-2011 11:00 AM

Thanks ! very good

Noser 01-02-2011 12:46 AM

Transalted to german

installed very nice 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 />Sie m?ssen sich die Nachrichten ansehen bevor die Box verschwindet.' , { sticky: true, header : 'Neue Nachricht(en)' } );

</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) -->



All times are GMT. The time now is 01:01 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.01617 seconds
  • Memory Usage 1,841KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (11)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
  • (40)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