vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - [kerk] AJAX Check Notes (https://vborg.vbsupport.ru/showthread.php?t=285017)

kotkerk 06-27-2012 10:00 PM

[kerk] AJAX Check Notes
 
1 Attachment(s)
AJAX Check Notes 2.0.0
When user receive a PM or other notification, in navbar appear small blinking icon and playing sound
Works without a page refresh
You can click on the icon to check notes manualy and click on loading icon to stop request

Notifications
  • unread PM count
  • picture comment notifications
  • picture comments awaiting approval
  • incoming friend requests
  • visitor message count
  • visitor message awaiting approval
  • group messages awaiting approval
  • requests social groups
  • invitations to join social groups

Install instructions in the archive
NOTE!: Original product in Russian language
archive contain English translation in the folder do_not_upload/Lang/EN
Instructions to install Eng. language also in the archive

Update 4.11.2013 v2.0.0
do not need to edit template
now window appear in left bottom corner of your browser (see screenshots)
update to version 2.x:
  1. revert edits in template navbar
  2. upload all files from archive to your server
  3. import product
  4. import Eng language from folder do_not_upload/Lang/En

tehPARADOX 08-13-2012 10:33 PM

Thanks, tagged for future use.

3raq4all 08-14-2012 04:57 AM

Thanks ....

Q-v-n-s-Q 08-16-2012 02:42 AM

thanks,

bookmarked for latter use

ChiNa 10-07-2012 11:55 PM

Not working on vB 3.8.6 and 3.8.7! The New PM icons are not visible! Not even when I put it in Theme Misc folder, or just the usualy Images/misc folder! No sound no notification at all..

kotkerk 10-12-2012 01:53 PM

Quote:

Not working on vB 3.8.6 and 3.8.7!
you're in the 3.8.x forum and i'm not promised that mod will work on vb 3.6
but on 3.8 works perfectly, this hack installed in many forums, check installation instructions

MaximG 10-20-2012 09:17 PM

Спасибо, Kerk! :)

ismaili 10-24-2012 07:03 AM

thanks

Xexiu 05-05-2013 09:13 PM

Is there a way to set the default interval to 1 min.?

So when a new user registers, the interval is set to 1min automatically...

Do know if I explain myself. Thank you.

kotkerk 11-04-2013 09:18 PM

Update - v2.0.0 - see first post
Now you can add your own notes to the notification window
Example
if you use Recent Thanks for [AJAX] Post Thank You Hack
in file krchecknotes.php find:
PHP Code:

      if($vbulletin->userinfo['socgroupinvitecount'] > 0)
      {
            
// invitations to join social groups
            
$totalnotes += $vbulletin->userinfo['socgroupinvitecount'];
            
$xml->add_tag('notifications'$vbphrase['invitations_to_join_social_groups'], array(
                  
'link' => 'group.php?do=invitations',
                  
'notescount' => $vbulletin->userinfo['socgroupinvitecount']
            ));
      } 

Add below:
PHP Code:

      if($vbulletin->userinfo['recent_thankcnt'] > 0)
      {
            
$totalnotes += $vbulletin->userinfo['recent_thankcnt'];
            
$xml->add_tag('notifications'$vbphrase['recent_thanks_newnotif'], array(
                  
'link' => 'recent_thanks.php',
                  
'notescount' => $vbulletin->userinfo['recent_thankcnt']
            ));
      } 

Legend:
$totalnotes - total notes received
$vbphrase['recent_thanks_newnotif'] - phrase to show in notes window
'recent_thanks.php' - link to page (recent thanks page for this case)
$vbulletin->userinfo['recent_thankcnt'] - notification count received

chefy 12-10-2013 08:03 PM

This is a very nice addon however it could be better. This is my feedback:
  • When you install this it's disabled by default in the user control panel. What's the point of installing this if it's going to be disabled by default for all users? You should change that behavior.
  • Also you should include a close icon button in the corner of the notification box ("X") so when you close the box then it doesn't appear anymore unless there is a new notification.
  • There should be an option (disabled by default) so members could choose if they want to hear the sound or not.
  • This mod appears to be looking for an image from images/misc/blinkpm.gif however that GIF isn't part of the stock vBulletin so maybe you should include the icon in your package?

dakotart.com 12-25-2013 12:46 AM

Can't seem to get this puppy to work. I have the Live Thread installed and it's working perfect so I know the AJAX is capable.

I followed the instructions and used both the UTP-8 and Windows products (switching back and forth when testing) and could not get it to work correctly.


All times are GMT. The time now is 06:25 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.01098 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete