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

electricwildflower

#740
Came across this today must admit it's fantastic i love it. did a test with my test forum works like a charm and then installed it in my main forums which i have yet to see it in action. Exactly the type of thing that is perfect for my website & forums.

Quick question.

My forum is built into my website using SSI. Is there anyway i could show the notifications on my php files that include SSI like my index.php, radio.php, about.php files. As it would feel much more integrated into my site if i could and users wouldnt have to keep going to the forums to get notified.

quick idea for you is there any chance of getting notification sounds added so when we get a notify it bleeps or something. nor sure if it's already added or not but would be a cool feature.

Cheers again for fantastic mod.

littlenicki

Fomer SMF user. Switched to Invision Power Board and VBulletin

vbgamer45

Community Suite for SMF - Grow your forum with 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

littlenicki

Fomer SMF user. Switched to Invision Power Board and VBulletin

vbgamer45

Community Suite for SMF - Grow your forum with 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

live627

Hey vb, I'm not sure this mod works properly.

Shouldn't unique database index enot_item_id also cover id_member so that each member can get a notification to the same topic?

vbgamer45

Will double check the indexes on the mod remind me if I forget.
Community Suite for SMF - Grow your forum with 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

bilbo32

I've had this installed for some time, and I want to remove it. No offence to the mod at all, it's just not really needed and I have a chat bar which is more useful and active for my members which is polling away too. Anyway, that's kind of irrelevant....

The point is, I can't quite remember why but I had to manually install it way back when I put it on. Possibly theme related, I'm not sure, it was a while ago. I've been through and reversed all the mod parse info in the various files, but when I did, login on the forum stopped working all together.

I've tried simply removing just the inline js bit, the theory being if it wasn't there then the enotify calls wouldn't happen so it would be as good as uninstalled from that perspective. But even doing that somehow interfered with the login. I've had to put it all back in just so the forum can be used.

Any ideas how I can remove it and not break the most important function of any member driven forum?

vbgamer45

To uninstall visit the mod still for uninstall instructions
Or upload the mod to http://www.smfhacks.com/smf-package-parser.html and reverse the install instructions to uninstall.
Community Suite for SMF - Grow your forum with 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

bilbo32

Sadly, the steps detailed are precisely those which I have tried numerous times. However, the very instant that the js which is added to $context in load.php is removed, login ceases to function. For some reason, once that's removed, submitted login details are redirected to the forum home page without the login being processed.

hannes_kann_es

Sadly, this mod doesn't work properly. Only one user gets notified about replies. (Checked with several accounts)

Improvement: Don't call the ajax-request for guest-users. Would reduce server load, right?

littlenicki

Fomer SMF user. Switched to Invision Power Board and VBulletin

hannes_kann_es

Just an example to make things clear:
User1, User2 and User3 discuss in Thread1. User2 and 3 reply to User1. User 2 get's a notification -> enotify sets status to "read" and User3 won't get the notification.

luuuciano

Quote from: TiPsY on July 22, 2013, 07:39:39 PM
Is there any way to re-locate the floating notification from the top right to the lower left?

This is your friend https://github.com/stanlemon/jGrowl
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

live627


Game.ruler

my users (including me) are getting notifications for only pms not replies??

it was working great before but from few weeks they're not getting notifications for post replies..

bahgheera

I installed this mod a few days ago. I just noticed today that the error log filled up rapidly (over 800 million errors) and almost every error was related to enotify. So I cleared the error log and within five minutes it was back up to around 10,000 errors. So, it's related to something I've done in index.template.php in my custom theme. Here's the errors I get:

http://www.theflipsideforum.com/index.php?action=enotify
8: Undefined offset: 1
File: /home5/theflips/public_html/Themes/FLipside Dark III/index.template.php
Line: 324

http://www.theflipsideforum.com/index.php?action=enotify
8: Use of undefined constant linktree - assumed 'linktree'
File: /home5/theflips/public_html/Themes/FLipside Dark III/index.template.php
Line: 324


This is between enotify and a line of code that I put in referencing $context[linktree], but I don't know 1) why enotify has a problem with that 2) why it's still happening after I uninstalled enotify.

Any insight would be greatly appreciated - please let me know what other info you'd need to know.

This is SMF 2.0.4 with a custom theme based on Curve, at http://www.theflipsideforum.com.

Thanks!

bilbo32

What's the 5 lines before and after 324 in that template file?

bahgheera


', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="align_right">' . $settings['site_slogan'] . '</div>', '

                </div>
                <div id="spacer">
                </div>';
        if (!$context[linktree][1] || $context[linktree][1][url] === "http://www.theflipsideforum.com/index.php?page=portal") {
          echo '
<div id="upper_section" class="middletext"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>

<div id="slider_div">
                            <ul id="slider">


bilbo32

Firstly, the reason that's happening is enotify is polling your site every so many seconds x however many people are online. That depends on your settings, but if you've removed it fully it shouldn't be doing it at all.

I suspect you probably have bits of it left in Sources/Load.php, which is where it injects the javascript. Open that file, search for "// enotify" and put "/*" just before it, then find "// end enotify"  and put "*/" just after it.

Check the logs again for errors, and your site overall for functionality, specifically logging in. I'm still having a nightmare with logins after trying to remove enotify, I don't understand why it's not working if I remove it.

If all is well after that, you can delete that whole chunk of code between and including /* .....*/

Advertisement: