vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - Sound Notification (https://vborg.vbsupport.ru/showthread.php?t=261441)

TheInsaneManiac 04-04-2011 10:00 PM

Sound Notification
 
1 Attachment(s)
This will play You've Got Mail when a new notification is received. You can also replace the mail.mp3 file with your own sound to play upon a new notification.

I ask that you not remove the branding as it helps support me. Without support I will not continue making modifications.


Features:
Global Enable/Disable
Only Alert Once (Uses Cookies)
Index Only Option [PRO]
Cookie Resets After All Unread Messages Have Been Read [PRO]
Usergroup Permissions [PRO]
UserID Permissions [PRO]


No Branding Version:
For a premium no-branding version which has additional features and lifetime updates, please visit my Products & Services page.


Installation:
Upload mail.mp3 to root of vB directory
Install product-soundnotification.xml
Mark Installed
Done


Upgrading:
Import the product and select Allow Overwrite.


Changelog:
1.1 - Recoded for 4.2.2

1.0 - Release

TheInsaneManiac 04-04-2011 11:05 PM

----Reserved----

Disasterpiece 04-05-2011 12:12 AM

Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

TheInsaneManiac 04-05-2011 12:17 AM

Quote:

Originally Posted by Disasterpiece (Post 2180945)
Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

Before you judge, maybe you should ask what the premium features are. I've seen a few mods that are just two lines of copied javascript, but their premium counterparts... they are always better.

Mr_Running 04-05-2011 12:37 AM

I am no expert but I think the code needs to be mark as code. So non-members can't see it.

and this part of the code can be found in the header template not the navbar :confused:

6.) In the template navbar find:

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>

TheInsaneManiac 04-05-2011 03:50 AM

If the above code is found in your header template, you will need to change the modification.

Find:
Code:

vB_Template::preRegister('navbar',array('soundnotification' => $soundnotification));

Replace:
Code:

vB_Template::preRegister('header',array('soundnotification' => $soundnotification));
I really dislike the way 4.0 does vars... Makes things more difficult. I'll fix this in the new version.

Sforums 04-05-2011 11:30 AM

Quote:

Originally Posted by Mr_Running (Post 2180956)
I am no expert but I think the code needs to be mark as code. So non-members can't see it.

and this part of the code can be found in the header template not the navbar :confused:

6.) In the template navbar find:

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>

No such codes either in navbar or header on my side....4.1.0.PL2
Anyone so far have this thing working?

Uninstalled and rated accordingly.

Disasterpiece 04-05-2011 11:49 AM

I wasn't judging you or your mod. I clicked on the link to the premiumfeatures above, saw that I had to register, closed the window and moved along.

I'm interested in this mod, but a linkback for this? no way. If I might suggest something: List the premium features where people can read them without registering somewhere else. Including prices and a comparison what you can do with free/paid version.

Tom Kagan 04-05-2011 12:08 PM

Quote:

Originally Posted by Disasterpiece (Post 2180945)
Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

Perhaps because you and others are too lazy to do the work and prefer to wait for a hack, then have fun throwing peanuts at it from the gallery?

gamerscms 04-05-2011 02:58 PM

Tried and uninstalled, sort the code out and then worry about trying to make $$$ from it.

Rushed wasted project.

UNINSTALLED


All times are GMT. The time now is 07:03 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.01042 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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