News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

ENotify

Started by SMFHacks.com Team, October 18, 2009, 04:40:06 PM

Previous topic - Next topic

GohighVoltage

How safe is it to use the development build?  Is it easy to upgrade from RC3?

vbgamer45

Easy to upgrade I have used them on some of my sites. Generally they are fine to use since right now it is mostly just bug fixes.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venex

Hey!

Any ideas of how to display special characters in the notifications???

Special characters such as: ¡¿áéíóúüñ and so forth... it just displays a question mark (firefox) or a box (Internet Explorer)...

Any ideas?

Propaganistas

Hi,

I'm getting this in my error log:

Quote
http://www.site/index.php?amp;action=enotify
8: Undefined index: href
File: SITE/public_html/Themes/default/Login.template.php (body_above sub template - eval?)
Line: 451

Quote
http://www.site/index.php?amp;action=enotify
8: Undefined index: title
File: SITE/public_html/Themes/default/Login.template.php (body_above sub template - eval?)
Line: 452

Any idea how to fix this? It's kinda spamming the log :)

Thanks!

seelie

Hi there

I installed the mod and gave it a whirl and then uninstalled when members mentioned they were not fond of it.  Something I noticed is that after uninstallation, "Who's Online" came up with constant "Unknown Action" that referred to 'enotify'.  I reinstalled it, but turned it off, and "Who's Online" behaves normally again.

I'm using SMF 2.0 rc3

Any ideas on what to do?

vbgamer45

Sounds like it didn't uninstall completely the first time I would check all the code that it adds and remove any traces of enotify
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

seelie

Yeah ... I thought I'd done that after re-installing and re-uninstalling to make sure the behaviour was what I was seeing.

I'll comb though it again.

Grim Line

This mod works great! However! I do get problems when i add the following to my custom theme;

   // Enotify
   echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/jquery.jgrowl.css" />
   <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/enotify.js"></script>
   <script type="text/javascript">
      (function($){
         $(document).ready(function(){
        $.getJSON("', $scripturl, '?action=enotify",
                function(data){
                  $.each(data.items, function(i,item){
                    $.jGrowl(item.message, { header: item.title, life: ', $modSettings['enotify_life'], ' });
                  });
                });
            setInterval( function() {
          $.getJSON("', $scripturl, '?action=enotify",
                  function(data){
                    $.each(data.items, function(i,item){
                      $.jGrowl(item.message, { header: item.title, life: ', $modSettings['enotify_life'], ' });
                    });
                  });     
            } , ', $modSettings['enotify_refresh'], ' );
         });
      })(jQuery);
   </script>';

   
         


All my ajax related items stop working. My slide out menu (Them related), My awards mod/alternate user mod dont display the drop down predictive username your typing in aswell as if i send a PM to someone and begin to type their name it doesnt drop down and predict either.

vbgamer45

Tested the pm someone dropdown menu on my test forum with enotify works ok.

The other scripts might break depending if you are using other javascript frameworks such as mootools or other versions of jquery.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Grim Line


distante


XerraX

I think there is a need to set some limits for replies, like:

do not show replies of topics older than X days
only show X replies at once

and so on
ReAliTy iS JuST a DrEAm. HaCk ThE PLaNet!

rocknroller

Hi, this is great mod, thank you for it. but i have problem with same.

sometimes mod going crazy and start shoving old post. -that is annoying.

do u have ideas what that happens?

voythas

Quote from: Nick; on September 04, 2010, 06:32:45 AM
This mod works great! However! I do get problems when i add the following to my custom theme;

All my ajax related items stop working.

Same here! Nneonneo's shoutbox just stopped working. It uses mootools. What should we do then?

vbgamer45

Mootools and jquery do not mix that is the issue.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

voythas

Are you planning to release the mootools edition of your modification? Would be great.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

voythas

#297
Too bad, because almost every DzinerStudio theme uses mootools.

I found this: http://davidwalsh.name/jquery-mootools and I'll try to use it with your modification.

Good luck on future mods!

Regards.

Edit//It works, I just added this:
jQuery.noConflict();
after:
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/enotify.js"></script>
<script type="text/javascript">

vbgamer45

The mod works fine with jQuery.noConflict(); ? If so I will add this at once.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

voythas

So far I don't see any problems with mootools after adding jQuery.noConflict();
Shoutbox works.

Advertisement: