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)

LifesGreatestGift 11-26-2010 11:28 PM

Quote:

Originally Posted by Destron (Post 2126174)
Here is my spanish header translation if anyone is interested :D

Thanks, link added to mod.

seeson 11-27-2010 12:46 AM

Works perfectly. Thank you!

Juggernaut 11-27-2010 12:51 AM

Quote:

Originally Posted by FF|Skyrider (Post 2126151)
Yea, that's the problem.. I don't know how to target specific usergroups XD

You can use a conditional for that, I used a conditional to exclude an admin who didn't like the new notifications, but the rest of my members love it.

basilrath 11-27-2010 02:17 PM

Strange this works when in the private.php

but not when on the forumhome?

so if you go into the inbox or to the private.php it shows bottom left but then return to forumhome still nothing

any ideas?

basilrath 11-27-2010 02:52 PM

Update

works on the index page on cms but not the forumhome page

Skyrider 11-27-2010 03:51 PM

Quote:

Originally Posted by Destron (Post 2126205)
You can use a conditional for that, I used a conditional to exclude an admin who didn't like the new notifications, but the rest of my members love it.

Yea, I also did that. Works good then. Would be great if users can enable/disable this in their control panel.

LifesGreatestGift 11-27-2010 05:11 PM

Quote:

Originally Posted by basilrath (Post 2126359)
Update

works on the index page on cms but not the forumhome page

Registered, couldn't find the mod in use.

Skyrider 11-27-2010 10:32 PM

For those who prefer not that the messages are being displayed while reading your PM list or while reading a PM, use this code:

Code:

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

$.jGrowl('{vb:raw notifications_menubits} <br />Debes ver tus notificaciones para que este mensaje desaparezca.' , { sticky: true, header : 'Aviso del foro' } );

</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) --></vb:if>

I've only added
Code:

<vb:if condition="THIS_SCRIPT != 'private'"></vb:if>
To prevent the pop-up being shown while in private.php (the PM list & messages).. If there is something wrong with this code, please let me know.. I never actually used this before and it works fine for me.

Would be great if a modification is being made of this. So an option can be set to use the advanced (this one) pop-up or the original. Also would be nice if you can actually close the pop-up and won't appear again until you get a new PM.

LifesGreatestGift 11-27-2010 11:09 PM

Thats fine. No problem with me. I leave my code as is incase there are friend requests, visitor messages etc, the user can then jump to those notifications right from PM.

basilrath 11-28-2010 09:10 AM

ill re- add the mod today and you can see what i mean ................:)

Many thanks


All times are GMT. The time now is 04:52 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.01252 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)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