Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2198)
ENotify is an ajax driven notifications mod which allows you to view incoming pms or new replies without refreshing your page in a leet way. It kind of looks like facebook notifications and uses JGrowl for the user interface.
It has 5 settings that can be customized through the admin panel. It's compatible with both SMF 2.0.x (aka curve release) and SMF 1.1.x
Enjoy and post any bugs you encounter
Wow ^^ Nice one Eren :)
Hehe thanks, I had seen people requesting something like this for a while now :)
Can you make a version for SMF 1.1?
looks great but it works with versions 1.1.x ?
Nice!
Really original, useful and pretty mod
/*This mod reminds me the Ubuntu Notification System*/
I think really nice one, but not for me?
mean: I am using 1.1.10, have you any future plan for SMF 1.1.10 Version?
If possible please do it!
Awesome mod. :D
Very nice! :D
Very nice mod Eren! Congrats!
Thanks for the good comments everybody :) Unfortunately I'm not planning to port it back to 1.1, anyway the mod will probably function with the 2.0 Final without any modifications, it already is compatible with SMF 2 RC2 (Curve Theme).
Mod has been updated, a bug has been corrected that caused the mod not to function on some systems. Credit goes to hhy89 (http://www.simplemachines.org/community/index.php?action=profile;u=160298)
does this mod work on other themes... i'm using the ds-natural theme (Dziner studio) and i'm getting nothing till now :(
by the way, very awesome mod man, thumbs up
This installed fine for me, but I cannot see it working. Someone PM'ed me and posted a new reply to a post... but nothing shows up. Any Ideas?
SMF 2.0 RC1.2
Me too. Same SMF version.
Can you send me a link please?
mod of the month nomination
seems not to be showing on my forum as well, i will wait and see the solutions
A new version has been uploaded with the bug fixes that affected several SMF configurations. The problem is hopefully fixed for those who were experiencing mod to not function atll all (those who have sent me a pm).
It's also recommended that you remove the contents of the cache folder in your smf root directory after upgrading the mod (its recommended that you uninstall the earlier version before installing the new one).
I wanted something that replaces the pop-up java message window that tells me i have a pm, so I only checked the pm notification and the time to stay to 1 hour, but if the user goes to another page than the one he been notified the notification disappears. I know it is not a bug, but this is how I would imagine it working for me. Do you think you can add an option to do this?
Thanks!
Quote from: forsakenlad on October 20, 2009, 01:56:01 PM
A new version has been uploaded with the bug fixes that affected several SMF configurations. The problem is hopefully fixed for those who were experiencing mod to not function atll all (those who have sent me a pm).
Thanks forsakenlad! It works like a charm now. :)
it works!!! :D
thanks a lot man, you're a genius
i'm having this little problem with arabic names, they're appearing as "???????"
can you help me please?
Excellent mod. Good Start up.
Quote from: drhamza on October 20, 2009, 11:29:03 PM
it works!!! :D
thanks a lot man, you're a genius
i'm having this little problem with arabic names, they're appearing as "???????"
can you help me please?
I believe you aren't using UTF8 charset? What is the default charset for Arabic?
yup, i guess so
by the way, the whole forum is in english, but the members have their names in arabic
i guess this mod is slowing the forum :(
One more question for you forsakenlad, I can see the Enotify fine as admin. But in the test account it doesn't show up. Is there a permission somewhere for it that I am missing?
Oops.... I forgot to clear my cache per install directions.... my bad.
hi, I'm using the SMF 2.0 RC1.2, the log errors system report the thousands of line:
http://www.mydomain.net/index.php?action=enotify
2: Invalid argument supplied for foreach()
File: /home/xxx/yyy/Themes/default/ENotify.template.php (eval?)
Line: 16
and
http://www.mydomain.net/index.php?action=enotify
2: end() [<a href='function.end'>function.end</a>]: Passed variable is not an array or object
File: /home/xxx/yyy/Themes/default/ENotify.template.php (eval?)
Line: 14
please help me fix them.
thanks
Which version of the mod are you using?
hi forsakenlad,
I'm using ENotify 1.05.
I work around to solve this: every hour, go to admin panel to clear logs, hope you help me soon!
thanks,
-saosangmo
Great mod, i'm sorry couse you are not planning to make it for 1.1.10 version...
Quote from: Dzonny on October 23, 2009, 05:45:08 PM
Great mod, i'm sorry couse you are not planning to make it for 1.1.10 version...
Me too - this is the best mod ever!
Looks like a good idea. A few issues going over the code though:
- install.php should use SMF 2.0 database functions ($smcFunc['db_create_table']() and $smcFunc['db_insert']()). Settings insert could use updateSettings() as well.
- I would say 'ms' in settings function is a hardcoded text.
- Adding code to end could use position="end" instead.
- Leaving comment lines from ModifyGeneralModSettings() could cause conflicts for mods adding code using those generic comment lines.
- $config_vars is never empty, thus extra code in settings function.
- install.xml seems to be missing XML start tag and DOCTYPE definition.
- Instead of die() in ENotifyMain(), obExit(false) could fit better.
- Your editor seems to be converting tabs into spaces.
Looking forward to see more customizations from you. ;)
Quote from: wilsy on October 24, 2009, 04:21:45 AM
Quote from: Dzonny on October 23, 2009, 05:45:08 PM
Great mod, i'm sorry couse you are not planning to make it for 1.1.10 version...
Me too - this is the best mod ever!
+100000
anyway to make this work on a user specific basis? as in a enable or disable checkbox in a users profile?
Another suggestion: Limit the amount of notification displayed at once
Great mod a i must say.. Seems to working fine majority of the time, but sometimes it spazes out and starts flooding me with tons of older notifications.. Anyone else had this?
Im using it on a fresh source smf 2.0 rc2, but mydb structre could possibly somthin todo with it as its fairly large forum, and its been through alota upgrades over the yr, it culd be slightly different to a standard fresh database.
The mod is funktioning but since i installed it, my unreaded PMs counter tell me that there are some unreaded messages. If iy recount all statistics etc. then is the counter again on 0 but after a short time is ther the ghost PMs again :)
Hi,
thanks for this Mod, perfect for my forum!
One question ( sorry for my english):
how can i put the notify at the center of the page ?
How i must change this values?
/** Normal Style Positions **/
body > div.jGrowl { position: fixed;}
body > div.jGrowl.top-left { left: 0px; top: 0px;}
body > div.jGrowl.top-right { right: 0px; top: 0px;}
body > div.jGrowl.bottom-left { left: 0px; bottom: 0px;}
body > div.jGrowl.bottom-right { right: 0px; bottom: 0px;}
body > div.jGrowl.center { top: 0px; width: 50%; left: 25%;}
Thanks!
Antonio
Putting it in the centre of the screen very likely would irritate users rather than help them; imagine you'll be reading a topic or posting one, then in the middle of you typing/reading, up pops the box.
Quote from: Arantor on November 18, 2009, 06:47:35 AM
Putting it in the centre of the screen very likely would irritate users rather than help them; imagine you'll be reading a topic or posting one, then in the middle of you typing/reading, up pops the box.
Ah....ok! :D
EDIT: But how i can modify the values? :)
Quote from: smldmr on November 15, 2009, 10:03:09 AM
The mod is funktioning but since i installed it, my unreaded PMs counter tell me that there are some unreaded messages. If iy recount all statistics etc. then is the counter again on 0 but after a short time is ther the ghost PMs again :)
Can you elaborate it please I didn't understand what exactly is happening :)
very nicely done. fun mod!
Foresakenlad et al, I am new to SMF and recently took over an existing forum. Shortly after doing so, I had looked at the mods available for something like eNotify and found nothing, that would have been around August of this year. Not having checked back since, I assumed nothing like this existed and went out to learn enough about PHP and SMF to write something. I have done development in ASP.net and other programming languages but never PHP.
Anyway, in a couple of hours, I wrote some javascript and PHP that does much the same thing as eNotify but was for my v.1.1.9 install, not SMF2. It's not completely integrated with SMF from a mod perspective. All of the code it written and works but I don't know enough about SMF yet to make it a true mod package. I posted it on the custom coding board recently (http://www.simplemachines.org/community/index.php?topic=349303.0) to ask for some help or feedback on getting the code better integrated with SMF. Aranator recommended that I contact you to see if you would be interested in porting your code to v.1.1.x.
I welcome you or other members to take what I have written (source has been provided) and use it. Likewise, if you choose to port to v.1.1.x, please let me know.
Thanks!
I like this mod, but it still randomly spazes out, and notifies users of old topics that havent been posted to in 8 months, it also gets stuck in loop an decided to notify you of every reply ever made, making over 300 notifys.
Somthings not right with it.
After awhile it will stop and run ok, and will actualy notify you of new ones, but then it will spaz out again... ajax mods are mysql intensive enough without this issue lol... Imagine 300 users all getting entire forums content notified to them.
I guess this hasnt been testing on enough bigger forums yet. i have 90,000 members.
Interesting mod. Would this replaxce the PM pop up? Or would I my members get a pop up and then the ENotify window?
You would want to turn pop up off. this mod allows you to recieve reply notifications ad pm notifications... You could watch your site all day without a click or refresh and each notify will appear. Like facebook
i was wondering if it can be applied to new topics as well (unread topics)
and how about making it more facebook-like, i mean having two icons, one for the pm.s the other for the replies, beside each of which is the number of pms or replies, respectively.. pressing on it shows a menu (list) of the new messages....
Hey, great mod - Thanks!
Is it possible to include a way, in the next release, for users to toggle this feature on or off via their "look & layout" or "notifications" pages?
Thanks!
This mode if AWESOME!
Just i'm getting some erros in log, hope you will fix them in next update :)
Cheers!
Quote from: lexa90 on December 28, 2009, 01:52:35 PM
This mode if AWESOME!
Just i'm getting some erros in log, hope you will fix them in next update :)
Cheers!
Might be useful to say *what* the errors are?
The errors are made by my. I just reinstalled it, and found out that i messed up some code.
Now it works like a charm.
Sorry, my mistake!
:)
Cheers
Forsakenlad ,
LogInOut.php Error :
http://wwwxxxxforum/index.php?action=login2;sa=check;member=38640
8: Undefined index: login_url
File : /home/xxxx/public_html/forum/Sources/LogInOut.php
Line : 136
==>136:
if (strpos($_SESSION['login_url'], 'enotify') || empty($_SESSION['login_url']))
Thanks for the report will look into it.
Feature request: get notifications of new topic created, like this:
"New Topic created by Dismal Shadow,
Happy new years guys"
Bump ;D
Any chance of an RC2 Version?
i'm a bit buzy now, but if you checked the previous posts i guess there is an RC2 version... please don't hate me if you don't find it, but i recall that i've installed it on my rc2
Have you got one this mod? There isn't it mods page.
I love how this mod is listed as the "featured mod" on SMF yet they seem to have removed the actual mod and download.
Fail.
O_O what the ...?
Quote from: NIBOGO on October 18, 2009, 11:45:48 PM
Nice!
Really original, useful and pretty mod
/*This mod reminds me the Ubuntu Notification System*/
Or Fedora, like at my gpas house.
/me loves this mod!
Lol thanks, guys it has been put back up, sorry :)
Thanks Eren, please update RC2,
Tr: RC2 de çalışır mı?
It works, yes. Çalışıyor evet.
Very very thanks it is great thing...
''It works'' good voice I hear this night....
/me is glad it works for you!
It gives error index.template.php:
(http://i47.tinypic.com/2nlzqlv.png)
I was told to contact the author because this was causing a "unknown action" in the forum.
So does this work on 2.0 RC2? Because it said it's compatible with: 2.0 RC1.2 only.
@Dismal Shadow, just installed on my forum a few mins ago, 2.0RC2, and it works for me!
I was able to install it without any problems and as I'm aware a lot of other people as well. Are you trying to install the theme to some other theme akbora? Or have you made direct modifications to the default template?
Quote from: Dismal Shadow on December 30, 2009, 11:02:45 PM
Feature request: get notifications of new topic created, like this:
"New Topic created by Dismal Shadow,
Happy new years guys"
Any news on this Eren?
Well actually I'm planning to hand over the development of the mod to someone else. I just don't have the enthusiasm to work on it anymore and I think it can be improved in a lot of ways and made a better mod :)
Yes I installed it finally...
Eren thanks again, can we change black colour? Where?
In the stylesheets, jgrowl.css as far as I remember.
Tr: (I have to ) Uyarı çıkıyor hemen kayboluyor çok az kalıyor süresi artamaz mı?
Black is challenging no problem...
Admin panelinden değiştirebilirsin kalma süresini. Daha değiştirebileceğin birçok şey daha var panelde.
Yes I have found it, setting panel. Thanks again and again....
/me thinks there needs to be a language string added to Who.{language}.php for $txt['whoall_enotify'].
Quote from: Arantor on January 30, 2010, 07:38:52 PM
/me thinks there needs to be a language string added to Who.{language}.php for $txt['whoall_enotify'].
Well enotify as far as I remember is excluded from registering.
Nope, I know at least one user who had a flurry of 'Unknown Action' due to this mod. Anything that triggers from an action= will be flagged in Who's Online, and I know at least one earlier version did that, as thought it was still the case.
Well I might not have it included it then, I remember doing it for the login url so it doesn't redirect to that page or after logout. I might have to fix it.
Now using this on my RC2 forum and it works fine (so far) :)
Quote from: Arantor on January 31, 2010, 11:23:38 AM
Nope, I know at least one user who had a flurry of 'Unknown Action' due to this mod. Anything that triggers from an action= will be flagged in Who's Online, and I know at least one earlier version did that, as thought it was still the case.
Noticing that more users are showing as doing unknown action as well...
Eren, is it possible to add recent posts?
TR: Bu özelliğe acaba son atılan herhangi mesajları da ekleyebilir myiiz. O zaman nefis olur?
Thank you....
So what causes this and how do I fix it?
(http://img35.imageshack.us/img35/2752/unknowny.jpg)
I love the mod and I'll keep it around until you do, but it does render user actions as 'unknown'
Quote from: Stigmartyr on February 04, 2010, 09:12:22 PM
So what causes this and how do I fix it?
(http://img35.imageshack.us/img35/2752/unknowny.jpg)
I love the mod and I'll keep it around until you do, but it does render user actions as 'unknown'
Yeah that's how it all begun with this mod, and you are not the first nor are the last. Everyone is affected whoever uses this mod so even if you uninstall it...it won't go away. :-\
Quote from: Dismal Shadow on February 04, 2010, 09:15:39 PM
Quote from: Stigmartyr on February 04, 2010, 09:12:22 PM
So what causes this and how do I fix it?
(http://img35.imageshack.us/img35/2752/unknowny.jpg)
I love the mod and I'll keep it around until you do, but it does render user actions as 'unknown'
Yeah that's how it all begun with this mod, and you are not the first nor are the last. Everyone is affected whoever uses this mod so even if you uninstall it...it won't go away. :-\
Holy masturbating mammals, Batman!
I guess it's a good thing I installed Arantor's book of unknown action :P
I am weather unsure if it broke the string in modifications.english.php or related to the database
BTW...you forget to censor those ip address. :o
OOp, there - I fixt it if you want to update ur post :P Thx for the heads up.
Pssst... add this before the closing ?> in Themes/default/languages/Who.english.php (and Who.english-utf8.php if you have it)
$txt['whoall_enotify'] = 'Checking to see if new events have occurred.';
Then clear the file cache from Admin > Maintenance > Routine.
Quote from: Arantor on February 05, 2010, 02:09:48 AM
Pssst... add this before the closing ?> in Themes/default/languages/Who.english.php (and Who.english-utf8.php if you have it)
$txt['whoall_enotify'] = 'Checking to see if new events have occurred.';
Then clear the file cache from Admin > Maintenance > Routine.
Is this the fix to remove the unknown action caused by this mod? Or do I need to have this mod installed to use this?
This fixes the unknown action issue with this mod.
Quote from: Arantor on February 05, 2010, 02:16:48 AM
This fixes the unknown action issue with this mod.
Jesus Christ...that seem to fix the the whole "unknown action" issue. I have been waiting for this fix for a long time until this moment. Thank you Arantor, god bless. Any particular reason why this happening and the cause of this, not to mention even uninstalling it, it still show "unknown action". It somehow broke the code in Who.english.php. Hope this give the author the fix for the next update.
So, Arantor...it's safe to install again, no?
Simple - the mod uses index.php?action=enotify but the mod doesn't specify a language string to display.
If it's messed up the language file that would suggest it wasn't added properly.
That is not the right way to do it. Since the mod will be pinging that url every few seconds, everyone will appear as viewing notifications in the end. I'll have it so that action isn't logged at all.
Quickest route for that is to not use action= anything.
Well then, get 'er done!
you know what would be totally bad ass is if this could somehow tell you when someone logs into the forum ;D ;D ;D
Quote from: sattninja on February 07, 2010, 04:32:32 PM
you know what would be totally bad ass is if this could somehow tell you when someone logs into the forum ;D ;D ;D
"Dismal Shadow had just logged in"
"Dismal Shadow had just logged out"
:o ;D
I hope this have a permission which allow user to enable or disable enotify.
thanks for the mod. where change the background color,black, for other? thanks
I must say the feedback I've gotten from users about this mod has been overwhelmingly positive. So I'll let them speak for me ;)
One question I had that I've had a few people ask is how to make the notification persistent. If they get a list of notifications, and click on, the untouched slides just disappear, infact when the page is refreshed or navigated from the notifications are gone until the next update.
Is there a way to make the unread notifications more persistent? I like the default time limit to show them, but within this time frame it would be nice if they could stay up there..
Or... what if.... WHAT IF there was a way to retrieve a list of recent notifications? Like a button somewhere.. Just like you can do on FB.
PLEASE HOW DO I INSTALL ON SMF 2.0RC2???
Quote from: derby on February 10, 2010, 01:13:55 PM
PLEASE HOW DO I INSTALL ON SMF 2.0RC2???
If/when the author updates it for RC2.
Quote from: Arantor on February 10, 2010, 01:33:33 PM
Quote from: derby on February 10, 2010, 01:13:55 PM
PLEASE HOW DO I INSTALL ON SMF 2.0RC2???
If/when the author updates it for RC2.
i need it on RC2 Oh cos i love this mod
I am using it on RC2, and it seems to work fine.
ca someone help me here i have uninstalled this mod went through all the parsing and made sure it is gone i still cant see anything in whos online even with adding the line of code given earlier in this thered also i no longer receive emails from my site nor does any other member i used to get emails when i would get a pm but no longer is there something this mod has done to the database or something please help
ok i got the email working i apologize it was actually a problem with my hos however i have completely uninstalled this mod even went through the parsing and made sure all files were removed and i still get unknown action in who's online i added that line of code mentioned earlier in this thread but all that does is change unknown action to checking for new events how can i get it back to the way it was before when it showed where people were
wow no one i did find this
else
$data[$k] = $txt['who_unknown'];
replace with
else
$data[$k] = $txt['who_unknown'].
($user_info['is_admin'] ? (
(isset($actions['action']) ? ' <span class="smalltext">('.$txt['who_action'].': '.$actions['action'].
(isset($actions['sa']) ? ' -> '.$actions['sa'] : '').')</span>' : '')) : '');
that changed it to
(http://i48.tinypic.com/28lazy0.jpg)
no one can tell me how to repair the code that was broken when i iinstalled this mod i cant believe that there has got to be a way to repair it i have removed this mod
What is "broken", exactly?
im sorry i cannot be any clearer since installing enotify my who's online list tells me unknown action for everyone i have tried the edit that was mentioned earlier in this thread and all that did was change unknown action to checking for new events sorry but that is pretty much the same as unknown action it doesn't tell you anything before i installed enotify i could go to who's online and it would tell me exactly where the users were what topics they were viewing etc. so i uninstalled enotify went through the parser and made sure all was deleted however i still only see unknown action so i searched and found that edit in my post above it changed it to unknown action action=enotify as in the picture there is something enotify changed that i cannot find cause it is not listed in the parser i just want my who's online list back to the way it was before installing enotify
It won't until people refresh their browsers. Because they still have tabs open calling for refreshes.
thanks for the assist but that is incorrect im afraid it doesnt matter it never changes from unknown action doesnt matter it used to say like viewing the portal,sending a message,viewing the forum,viewing topic now it sayd unknown action on all users all the time
Yes, because users are still calling for the update to be made.
Some of the code MUST still be present, calling your forum's action=enotify
exactly it is like no matter what they are doing it is defaulting to enotify but like i said i looked 3 times through all the modifications enotify made and made sure they were deleted i do not know where this is controlled or in what file i have numerous backups of my forum from before i installed the mod but i dont want to upload a old backup i wiuld like to know what it changed and what is the default sode so i can replace it so it goes back to the way it was before i installed the mod
Do a search of your files for action=enotify.
Also, check the mod page itself and use the Parse option to see what code it changes.
i think i got it i did find some code in a theme that i wasnt even using and it seems to be working now
sorry,how change the background color?
i have since uninstalled it and i dont really remember to be honest but i think it was in the enotify .css file i just changed the code for the color
edit i just looked and it was in the jgrowl.css there are codes for colors like#fff change that
make a backup of the file first it is in there and there arent too many places in there that have color code it is easy to find
Quote from: Dismal Shadow on February 07, 2010, 04:40:05 PM
Quote from: sattninja on February 07, 2010, 04:32:32 PM
you know what would be totally bad ass is if this could somehow tell you when someone logs into the forum ;D ;D ;D
"Dismal Shadow had just logged in"
"Dismal Shadow had just logged out"
:o ;D
I hope this have a permission which allow user to enable or disable enotify.
I know this is off-topic, but...
Dismal Shadow: You used past tense and it should be present tense "has"...
Guys there are some really cool ideas that can be easily integrated into the mod :) But unfortunately I've decided that I won't be developing this mod anymore :( I will however give all of the rights of the mod to some customizer here so it still exists to serve your needs and is improved.
thanks for heads up man :) :)
We will be waiting. :)
Quote from: Stigmartyr on February 10, 2010, 03:15:06 PM
I am using it on RC2, and it seems to work fine.
please how did u install it on RC2?
Look thru the thread there is a post with a link to the file for rc2
Interesting, vbgamer45 now own this mod. Thank you for keeping this alive.
I've transferred all my rights to him for free, he is a great mod author afterall.
Eren, so is arantor, but he isn't doing it anymore and might leave SMF for good eventually! Hope not! But if he was still active and a team member, he would be a great choice, he has made over 40 mods he told me on a thread...
Just installed on RC2 & works like a dream - Many thanks
Question is there anyway to change the black background?
cant find any link for RC2
Find the CSS for it! I don't remember the file it is in though...
Quote from: welshbikers on February 17, 2010, 12:14:59 PM
Just installed on RC2 & works like a dream - Many thanks
Question is there anyway to change the black background?
Be warned...there will be some errors in the log. The "Who's Online" show up with "Unknown Action"
I would rather wait for a update version.
This mod is wonderful but blocks working of redirect logon/out mod. For example when a member enters to the site member goes to the forum. Enotify is active a member goes the portal... Thanks
Quote from: Dismal Shadow on February 17, 2010, 12:20:17 PM
Quote from: welshbikers on February 17, 2010, 12:14:59 PM
Just installed on RC2 & works like a dream - Many thanks
Question is there anyway to change the black background?
Be warned...there will be some errors in the log. The "Who's Online" show up with "Unknown Action"
I would rather wait for a update version.
Thanks ill check in the css
No errors but your right about the "unknown action" its not a big deal for me anyway but thanks for the heads up
RC2 Curve. Installed (one part I had to do manually).
Nothing happened.
Too bad, this mod looked really cool.
very good news I hear, vbgamer is active developer member.
I want him to add a feature to this mod: Recent Topics. It shows all new message like recent topics.. Thanks.
Quote from: Arantor on January 30, 2010, 07:38:52 PM
/me thinks there needs to be a language string added to Who.{language}.php for $txt['whoall_enotify'].
This won't solve the problem
the problem with unkown actions is simple.
Because the last action logged for the user is
$actoion=="enotify";
enotify is not defined in language files but the solution to add the string to language files is not enough.
Because this action happens a lot, it will be the only one on the who.php page.
Imagine every 10 seconds this actions is trigged you will be lucky to see any user doing something else.
The solution should address the idea of not logging the action or assign the $action var to the action before the enotify action
Yes it should be made so the action is not registered in the log.
Quote from: Eren Yaşarkurt on February 21, 2010, 07:34:01 AM
Yes it should be made so the action is not registered in the log.
Awesome. Anyone handy with that function?
Well you better PM vbgamer, I've given the mod over to him and won't be here much longer I'm afraid.
Quote from: Eren Yaşarkurt on February 21, 2010, 02:20:08 PM
Well you better PM vbgamer, I've given the mod over to him and won't be here much longer I'm afraid.
I did...he doesn't have time either I am afraid. Probably will be giving away to someone else.
There are a lot of errors over 200.000 ......goes billions
Invalid argument supplied for foreach()
==>38: foreach ($context['enot']['pms'] as $enot)
2: end(): Passed variable is not an array or object
==>36: $last_item = end($context['enot']['pms']);
These errors both of them big problem for me... Please help me...
Quote from: Croco on February 20, 2010, 12:59:35 PM
Quote from: Arantor on January 30, 2010, 07:38:52 PM
/me thinks there needs to be a language string added to Who.{language}.php for $txt['whoall_enotify'].
This won't solve the problem
the problem with unkown actions is simple.
I did know that, but as a workaround until such a thing could be added...
Hi guys
Ive look in the css file to change the colour of the pm background but cant seem to find it
Anyone got any clues?
Quote from: welshbikers on February 22, 2010, 09:47:38 AM
Hi guys
Ive look in the css file to change the colour of the pm background but cant seem to find it
Anyone got any clues?
Open ./Themes/default/css/jquery.jgrowl.css with an advanced editor and find:
background-color: #000;
Change #000.
Fix for "Invalid argument supplied for foreach()" and "2: end(): Passed variable is not an array or object":
Find in ./Themes/default/ENotify.template.php:
$last_item2 = end($context['enot']['replies']);
Add before:
if (!empty($context['enot']['replies'])) {
Find:
ENotifySetRead($enot['id']);
Add after:
}
Find:
$last_item = end($context['enot']['pms']);
Add before:
if (!empty($context['enot']['pms'])) {
Find:
ENotifySetRead($enot['id']);
Add after:
}
I can't get it to work on SMF 1.1 (most recent version)
Only works with SMF 2.0 RC2
Quote from: Alpay on December 28, 2009, 03:08:59 PM
Forsakenlad ,
LogInOut.php Error :
http://wwwxxxxforum/index.php?action=login2;sa=check;member=38640
8: Undefined index: login_url
File : /home/xxxx/public_html/forum/Sources/LogInOut.php
Line : 136
==>136:
if (strpos($_SESSION['login_url'], 'enotify') || empty($_SESSION['login_url']))
Is there a fix for this ?
I am also receiving the same error as above.
also any update on a permanent solution for the "Who on-line list" issue this Mod generates ?
Think the mod is great just what Ive been looking for in my Site revamp but would like to clear this up before letting my Member loose on the New site.
Quote from: vbgamer45 on February 26, 2010, 12:08:04 AM
Only works with SMF 2.0 RC2
It's an awesome looking mod. Makes things look loads more streamlined and whatnot. It is unfortunate that it's not available for the 1.1 series, but I can understand the possible reasons why.
I'd use it, but don't want to go through the process of switching board versions from 1.1.11 to 2.0RC1.2 just to use one option.
I have seen it in action on other boards running 2.0, and it does look nice.
I can probably port it to SMF 1.1.x for a donation of $25 to $30
Before porting it I'd strongly advise you correct the two bugs (one filling the error log and the other one showing up as unknown action)
This made my host add a .disabled to the end of my index.php as I took up so much of the server CPU! lol.
Quote
Hello,
We are writing to inform you that we have had to disable a folder on your account after it was causing extremely high system load on the shared server Foundation, where it is hosted. The folder disabled was ./iphone/, which was disabled with an .htaccess file denying all incoming connections. I have attached to this ticket a snapshot of the connections which were taking place to your account at the time it was disabled. Note that this is only a snapshot showing concurrent connections at a single moment, the total number of connections over time was extremely high. Furthermore, please see the below resource usage statistics for your account:
CPU% 17.65
MEM% 19.85
SQL% 2.3
Top Process %CPU 40.0 /usr/bin/php /home/****/public_html/iphone/index.php
Top Process %CPU 36.0 /usr/bin/php /home/****/public_html/iphone/index.php
Top Process %CPU 28.0 [php]
As a reference point, consider that the vast majority of shared accounts consume 1.00% or less of CPU/MEM/SQL. With this in mind you can see how extremely high your account's resource usage was on the server. Please make adjustments to your site in order to reduce the strain it places on the server, or consider upgrading to a Dedicated hosting solution where your site could run in its present state without affecting other customers. If you have any questions or issues regarding this matter please let us know and we'll be happy to assist you.
Thank You!
--
Kyle Hammond
-----------------------------------------------------
-----------------------------------------------------
Hello,
We have once again found your account consuming the majority of server resources as a result making the server almost unresponsive. Please find usage details as below:
Top Process:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16920 20 0 20872 10m 4328 R 7.2 0.3 0:00.22 /usr/bin/php /home/****/public_html/iphone/index.php
16921 **** 19 0 20204 10m 4320 R 6.5 0.3 0:00.20 /usr/bin/php /home/****/public_html/iphone/index.php
16935 **** 18 0 0 0 0 Z 6.2 0.0 0:00.19 [php]
16925 **** 19 0 19188 9508 4272 R 4.6 0.2 0:00.14 /usr/bin/php /home/****/public_html/iphone/index.php
16934 **** 16 0 18824 8604 3888 R 3.9 0.2 0:00.12 /usr/bin/php /home/****/public_html/iphone/index.php
16936 **** 17 0 18896 8920 3976 R 3.9 0.2 0:00.12 /usr/bin/php /home/****/public_html/iphone/index.php
16922 **** 18 0 18416 8224 3868 R 3.6 0.2 0:00.11 /usr/bin/php /home/****/public_html/iphone/index.php
16949 **** 17 0 16320 6028 3776 R 1.6 0.1 0:00.05 /usr/bin/php /home/****/public_html/iphone/index.php
16942 **** 17 0 14468 4372 3368 R 1.0 0.1 0:00.03 /usr/bin/php /home/****/public_html/iphone/index.php
16944 **** 16 0 14060 1640 1368 R 0.7 0.0 0:00.02 /usr/bin/php /home/****/public_html/iphone/index.php
Usage:
CPU% 21.83
MEM% 20.66
SQL% 2.1
**** ihackmyi.com 21.83 20.66 2.1
Top Process %CPU 41.0 [php]
Top Process %CPU 40.0 /usr/bin/php /home/****/public_html/iphone/index.php
Top Process %CPU 34.0 /usr/bin/php /home/****/public_html/iphone/index.php
As such we have been forced to rename the script /home/****/public_html/iphone/index.php to /home/****/public_html/iphone/index.php.disabled. This is a shared environment and we can not allow one user to utilize the majority of the resources on a server as it affects all users adversely. If you require a higher usage then allowed on shared servers you might want to try a dedicated plan.
Details on dedicated plans can be found here:
Dedicated Plan http://www.lpdedicated.com
I hope this information is helpful.
Kind Regards,
Er. Tarik Klair
JSA-I System Administrator Team
Red Hat Certified Engineer.
Yes, and that's unfortunately by design. In order for the forum to check for new updates, it has to call every few seconds. For every user on the site.
That's also the cause of your 'Unknown Action' oddity in your other thread.
Quote from: Arantor on March 08, 2010, 10:04:00 AM
Yes, and that's unfortunately by design. In order for the forum to check for new updates, it has to call every few seconds. For every user on the site.
That's also the cause of your 'Unknown Action' oddity in your other thread.
Lol remember talking about it in the team boards way back then? You'd said that this would probably very resource consuming on big forums :D
*nods* Just as an AJAX shoutbox is. If you're making regular repeated lookups every few seconds for every active user, it's gotta come back and get you sometime.
You gonna to update this to RC3, vbgamer45?
Updated to SMF 2.0 RC3!
Includes Yağız... for the error log issue.
Also added code to prevent it from appearing in the online log. Which will fix the unknown action issue. Along with helping performance by not doing unneeded database queries.
Quote from: vbgamer45 on March 09, 2010, 02:39:35 PM
Updated to SMF 2.0 RC3!
Includes Yağız... for the error log issue.
Also added code to prevent it from appearing in the online log. Which will fix the unknown action issue. Along with helping performance by not doing unneeded database queries.
Whooo yay!. Hope this does not takes much resources.
It's still going to take resources by querying the server every few seconds for every user - but it will be a bit better.
Quote from: vbgamer45 on March 09, 2010, 02:39:35 PM
Includes Yağız... for the error log issue.
Euuuhhh, I think you have made a mistake. I said before and you have added after :P
Quote from: Arantor on March 09, 2010, 03:01:20 PM
It's still going to take resources by querying the server every few seconds for every user - but it will be a bit better.
Will it add more resources if more requests were made upon this mod?
Like this request for example?
http://www.simplemachines.org/community/index.php?topic=343151.msg2492057#msg2492057
Quote from: Yağız... on March 09, 2010, 03:04:16 PM
Quote from: vbgamer45 on March 09, 2010, 02:39:35 PM
Includes Yağız... for the error log issue.
Euuuhhh, I think you have made a mistake. I said before and you have added after :P
Ok think I got it now.
Dismal: Yup. Everything you add for it to look up will slow it down. The only countermeasure there is to have it call less frequently.
Quote from: Arantor on March 09, 2010, 03:17:09 PM
Dismal: Yup. Everything you add for it to look up will slow it down. The only countermeasure there is to have it call less frequently.
Detection? Like a Welcome Topic and birthday mod?
I'm not sure I follow what you mean. But simply put, when it goes to check for an update, it does that update every few seconds. The more work it does every few seconds, the worse it is for the server.
Quote from: Arantor on March 09, 2010, 04:34:42 PM
I'm not sure I follow what you mean. But simply put, when it goes to check for an update, it does that update every few seconds. The more work it does every few seconds, the worse it is for the server.
Yes, I know that, how does it goes for Welcome Topic and your birthday mod? Does it check for update every few seconds as well? These mods AFAIK does not use ajax while Enotify does.
You're right, they don't. They're built in the scheduled tasks system, which actually does something not totally dissimilar; they run a query periodically (one per page load, max) to see if anything needs to be done.
But that's once for the life of the page.
Let's say you open a big big thread. Scheduled-task query fires once during page start up. Meanwhile this mod is doing an update every 10 seconds while you're reading the thread, and doing minimum of 4 queries per page load, but frequently more. So while you're reading that big thread, scheduled tasks has run once and only once, while you're generating multiple queries every few seconds - for every person who is reading that page.
A typical thread+quick reply might be 2 minutes. That's 120 seconds = 12 roundtrips to get data, generating 50+ database queries, versus the one for scheduled tasks checking.
In other word, this is really bad, bad for big forum with numbers of members online at once.
Yup in every sense of it, just as an AJAX shoutbox is.
Quote from: Arantor on March 09, 2010, 05:34:15 PM
Yup in every sense of it, just as an AJAX shoutbox is.
On SP's shoutbox isn't that bad because you have the optional to change how it refreshs. Mine is set by default on 50 secs. Hope this can be done the same for Enotify.
There is a setting in enotify for this.
Quote from: vbgamer45 on March 09, 2010, 05:46:42 PM
There is a setting in enotify for this.
LOL, I overlooked this one. :P
In order to avoid resource hog it's best to be set to 30 secs, no?
That would help.
Now for the request, I will summary what was said on the othe pages.
QuoteYou know what would be totally bad ass is if this could somehow tell you when someone logs into the forum ;D ;D ;D
Log in/out notification
"Dismal Shadow has just logged in"
"Dismal Shadow has just logged out"
Topic notification
"New Topic created by Dismal Shadow,
Happy new years guys"
Ability to change the color of the notifications.
I hope this have a permission which allow user to enable or disable enotify and even the sets of notifications. And of course admin override permission to disable notifications that the admin do not want to prevent server overloaded.
;D
There is a list of who's online, but no list of 'events' of people logging in/out. It could be added but the DB gets bigger.
Quote from: vbgamer45 on March 03, 2010, 10:25:53 AM
I can probably port it to SMF 1.1.x for a donation of $25 to $30
I just may take upon that offer to do so. I'm willing to pay for such an option, since I don't want to switch board versions for it.
I'm in the works of getting my VPS set up and ready soon. So I can be off shared hosting, and straight onto VPS. Since my current host has a thing about running stuff that uses AJAX, that run up the load on the server, even with a refresh rate adjustment setting.
So, once I get my VPS, I will go about getting into details with you on this for 1.1.x
Hi, this is the best mod ever...
I've installed and it works fine, but is incompatible whit my nneo's shoutbox.
It block the "shout"
I have cancelled only for this :(
Unfortunate that users logging in can't easily be supported. That'd be slick.
I've gotten really positive feedback on this from my test forum, so I might be looking to incorporate this for real. One question, though: the notifications from ENotify seem independent of threads you've actually set "Notify" on? For example, ENotify will notify you with popups for replies to a thread you've started even if you've got "Notify" turned off on that thread?
If that's really the case and I'm not just misunderstanding, then I'd like to suggest having it tied to "Notify" so that ENotify only notifies the user to the threads they've requested. And/or, simply a setting allowing users to turn ENotify on/off for their profile.
A user who has started numerous threads doesn't necessarily want constant spam from ENotify for all of them. ;)
Quote from: Alpay on December 28, 2009, 03:08:59 PM
Forsakenlad ,
LogInOut.php Error :
http://wwwxxxxforum/index.php?action=login2;sa=check;member=38640
8: Undefined index: login_url
File : /home/xxxx/public_html/forum/Sources/LogInOut.php
Line : 136
==>136:
if (strpos($_SESSION['login_url'], 'enotify') || empty($_SESSION['login_url']))
Same problem on RC3
Hi,
This is a great mod but apparently does not work with Persian language. I installed the mod on my forum which is a Persian forum. The problem I'm having is that the user names and topic titles that are is Persian are not showed in the message that pops up on the screen. Instead I can only see "?" characters for every character that is in Persian. I'm using Persian UTF-8. I think Arabic UTF-8 would have the same issue.
Would you please try to resolve this problem?
VB, this mod seem to have affect the redirect issue.
http://www.simplemachines.org/community/index.php?topic=371642.0
Is there a walkaround or fix on this.
I might uninstall this mod as there is no support here.
very nice mod!
thanks for making and sharing it...
a little question... I am translating it to spanish, but I do not fully inderstand the meaning of "Expiration duration of log items:"
Can you explain me that? wich is the use of that value in hour format?
(to make a better translation)
wel, I set it up to 15 seconds... and my server do no liked it LOL
I will have to uninstall it... :(
Yeah will use a lot of resources if you have a lot of people
vbgamer45, what about an option to just running it only when the page load/reload?
(just 1 time)
Kind of defeats the purpose of the mod then.
Nothing happens on mine. I have it installed on RC3 and id doesnt show a pop up, When using firebug i can see that it reloads but it doesnt show anything.
Hi I removed this mod and I'm getting the error jQuery Undefined
Webpage error details
Message: 'jQuery' is undefined
Line: 504
Char: 6
Code: 0
Problem Is I dont know where this is....
I removed all the lines of code in each script..
Even Index.template for my custom theme
But I'm still getting this error..
Also because of this error all javascript on my website is no longer working..
I cant make the Post pox bigger..
Or many other little thing that use javascript.....
Please can some one help me with this..
Im using SMF 2.0 RC2
if you have 20 tabs/windows opened, the same browser, the same IP, etc..... you will have 20 queries every X amount of time too?
yes
Quote from: aljo1985 on April 17, 2010, 09:58:39 PM
Hi I removed this mod and I'm getting the error jQuery Undefined
Webpage error details
Message: 'jQuery' is undefined
Line: 504
Char: 6
Code: 0
Problem Is I dont know where this is....
I removed all the lines of code in each script..
Even Index.template for my custom theme
But I'm still getting this error..
Also because of this error all javascript on my website is no longer working..
I cant make the Post pox bigger..
Or many other little thing that use javascript.....
Please can some one help me with this..
Im using SMF 2.0 RC2
Is anyone willing to help me with this. As my forums is not working as it should... All javascript is not working.. Because there is an error
with jquery
can you provide an url to see/check?
Anyone that can help me?
Quote from: luuuciano on April 18, 2010, 01:24:36 PM
can you provide an url to see/check?
yeah here.. If you look the shoutbox buttons dont work.. The post resive box dont work.. all javascript dont work..
www.uniquez-home.com
Thanks
so... all those scripts needs jquery, and you have deleted it...
for example: http://www.uniquez-home.com/v2/Themes/default/scripts/jquery-1.3.2.min.js
I didn't delete it.. I uninstalled Enotify.... So your telling me that .. All these pages need this file?
I don't think I ever had that file?
Where is it from? How would I get this file again?
O.K. I googled the file and downloaded it added it to that directory it fixed that issue.. I dunno if i ever used that file though lol..
Thanks :)
it is in your html code... you will have to check those mods... and add whatever they need
how can o modify the look of notifier... i want to change the white color of text , black background color and width ...
For some reason, this piece of the code appears to be screwing up my Admin pannel -- I can't access "Core Features", etc.
// ENotify
function ENotify($return_config = false)
{
global $txt, $scripturl, $context, $settings, $sc, $modSettings;
loadLanguage('ENotify');
$config_vars = array(
array('check', 'enotify_replies'),
array('check', 'enotify_pms'),
array('int', 'enotify_refresh', 'postinput' => 'ms'),
array('int', 'enotify_life', 'postinput' => 'ms'),
array('int', 'enotify_exp', 'postinput' => $txt['hours']),
);
if ($return_config)
return $config_vars;
$context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=enotify';
$context['settings_title'] = $txt['enotify_admin'];
// No removing this line you, dirty unwashed mod authors. :p
if (empty($config_vars))
{
$context['settings_save_dont_show'] = true;
$context['settings_message'] = '<div class="centertext">' . $txt['modification_no_misc_settings'] . '</div>';
return prepareDBSettingContext($config_vars);
}
// Saving?
if (isset($_GET['save']))
{
checkSession();
$save_vars = $config_vars;
// This line is to help mod authors do a search/add after if you want to add something here. Keyword: FOOT TAPPING SUCKS!
saveDBSettings($save_vars);
// This line is to help mod authors do a search/add after if you want to add something here. Keyword: I LOVE TEA!
redirectexit('action=admin;area=modsettings;sa=enotify');
}
// This line is to help mod authors do a search/add after if you want to add something here. Keyword: RED INK IS FOR TEACHERS AND THOSE WHO LIKE PAIN!
prepareDBSettingContext($config_vars);
}
I have no idea why. The other mods I have installed are:
1. MultiForum Mod 1.1
2. EzPortal 0.3.9b
3. Justify BBCode 2.3.1
4. ENotify 1.0.7 [ Install Mod ]
5. Custom Form Mod 1.6
6. Member Color Link 3.0.8
7. Add IP2Location to Track IP 1.3
8. Display Name On Registration 2.0
Quote from: Eclipse16V on March 22, 2010, 06:27:54 AM
Quote from: Alpay on December 28, 2009, 03:08:59 PM
Forsakenlad ,
LogInOut.php Error :
http://wwwxxxxforum/index.php?action=login2;sa=check;member=38640
8: Undefined index: login_url
File : /home/xxxx/public_html/forum/Sources/LogInOut.php
Line : 136
==>136:
if (strpos($_SESSION['login_url'], 'enotify') || empty($_SESSION['login_url']))
Same problem on RC3
I'm getting this too.
In LogInOut.php find that line and replace it like this:
if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url']))
Thanks Eren updated with the fix.
First of all, friggin' awesome! Thank you for this! Do you know if there is any way to link this with Ajax chat (to notify you when someone has entered the chat)?
Again, awesome. Thanks!
Yes it could be done but would take time to implement as it would require some new functions to be written and an extra table in the database.
Thanks :D
Quote from: Eren Yaşarkurt on May 09, 2010, 05:46:01 PM
Yes it could be done but would take time to implement as it would require some new functions to be written and an extra table in the database.
Just thought of an idea around this:
Since Ajax Chat is so easy to customize, would it be possible to add another container with a list of current members online on the forum? Then clicking an "invite" link next to their name could send them an automated PM that would just say like "Invite to Chat".
The one thing I'm unsure about is the online list, because there would have to be a way to make it refresh with the chat. Would this eat up tons of server memory?
I tried to install this mod (which worked fine) but it broke another mod. ResizeImagestoFitScreen http://custom.simplemachines.org/mods/index.php?mod=1769 (http://custom.simplemachines.org/mods/index.php?mod=1769) stops working when ever I enable this mod.
This is the error I get:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.1; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Wed, 19 May 2010 19:36:02 UTC
Message: Object doesn't support this property or method
Line: 34
Char: 7
Code: 0
This is what is on Line 34: jQuery("#forumposts").imagefit();
Looks like both mods are using JQuery. I'm not to familiar with coding, but maybe there's a conflict of some sort?
I have a suggestion... Idk if this mod waste too much bandwidth or not but i noticed that when a person is not active in the forum after X amount of minutes, the forum doesn't show them up in the online list... but, they will still get the notifications. So, if a forum has 100 people online, that will be 100+ notification plus the ones that inactive people will get... so my suggestion is that after X amount of minutes, the MOD stops working so people can save bandwidth.
@vbgamer45 are you using this? http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widget
(I just saw it today, it looks nice... and have many options, look demo)
@venex it would be a nice idea, to save server resources... and "serving" just one enotify by ip/user, or something else... if you have an interesting amount of users enotify is a nice way to test it against DoS attacks, lol
Enotify stopped working for me so I uninstalled and reinstalled the mod.
Now when I go click "Modification Settings" I get
QuoteFatal error: Cannot redeclare enotify() (previously declared in /homepages/46/d274007555/htdocs/Sources/ManageSettings.php:2287) in /homepages/46/d274007555/htdocs/Sources/ManageSettings.php on line 2339
However the mod works. I just need access to other misc mod settings and can't because of this.
Looks like it was installed twice on that file. I would modify the Sources/ManageSettings and remove a duplicate version of function enotify
Ok so I should just open the file search for Enotify and remove all mentions of the mod?
Sorry for the noob questions. I'm still learning. :P
Just remove duplicate mentions of the same code
Great and Fantastic Notification Highlight. Congts.
Glad you enjoy it
hey m using this freat mod for loong time..and m enjoing it...
just wanna ask that is there any possiblity to integrate it with other mods..like social network,arcade or any other mod..??
thanks
You can code it but I don't plan to at this time.
ohh it is possible..thats good... i hope u will soon do it...
Not likely don't have time working on too many projects
Quote from: vbgamer45 on June 10, 2010, 05:21:18 PM
Looks like it was installed twice on that file. I would modify the Sources/ManageSettings and remove a duplicate version of function enotify
I'm sorry gamer. My skills are good enough to properly do this. U uninstalled the mod and checked managesetting.php. There was some enotify stuff there so I removed it - no problem. Reinstalled and I still get the error when I click "Modification Settings".
Quote from: MATTEK on June 11, 2010, 01:25:23 AM
Quote from: vbgamer45 on June 10, 2010, 05:21:18 PM
Looks like it was installed twice on that file. I would modify the Sources/ManageSettings and remove a duplicate version of function enotify
I'm sorry gamer. My skills are good enough to properly do this. I uninstalled the mod and checked managesetting.php. There was some enotify stuff there so I removed it - no problem. Reinstalled and I still get the error when I click "Modification Settings".
Still looking for a hand. O:)
If anyone is willing to help me out here is the file that's giving me the error. :-\
Hey everyone. Sorry for being a pest, but I really like this mod and would like to have it working again if possible. Any help would be appreciated. Thaank you!
I just need the enotify stuff removed so I can reinstall the mod.
Still looking for help.
Hi there. I love this plugin, my users seem to like it as well, except for one problem. When you log in, you get a row of many many notifications from posts that are years old. Is there any way to fix this? It's the same problem Ryan had back on page 3 of this thread.
Thanks!
I've had this mod installed for awhile and haven't noticed anything pop up yet, so there must be a problem. Any solutions? ???
@Boricua - try uninstalling and re-installing. When you reinstall, make sure you install it into the theme(s) you're using.
Quote from: bahgheera on June 23, 2010, 02:41:04 AM
@Boricua - try uninstalling and re-installing. When you reinstall, make sure you install it into the theme(s) you're using.
Ah, well it works on the default theme fine now. This is a noob question, but to install it on my other themes i want would i have to manually edit the files of those themes?
Quote from: Boricua012 on June 23, 2010, 03:06:51 AM
Quote from: bahgheera on June 23, 2010, 02:41:04 AM
@Boricua - try uninstalling and re-installing. When you reinstall, make sure you install it into the theme(s) you're using.
Ah, well it works on the default theme fine now. This is a noob question, but to install it on my other themes i want would i have to manually edit the files of those themes?
Yep
Quote from: Dismal Shadow on June 23, 2010, 03:10:57 AM
Quote from: Boricua012 on June 23, 2010, 03:06:51 AM
Quote from: bahgheera on June 23, 2010, 02:41:04 AM
@Boricua - try uninstalling and re-installing. When you reinstall, make sure you install it into the theme(s) you're using.
Ah, well it works on the default theme fine now. This is a noob question, but to install it on my other themes i want would i have to manually edit the files of those themes?
Yep
Thanks! ;D
No! Why would you manually edit the files? When you go to install the mod, at the bottom you will notice 'Install in other themes'. Open that up and select which themes you want to install to. It's really very simple.
Not if he already installed it otherwise he would have to uninstall and reinstall it again...this time with 'Install in other themes'
No one wants to help? :(
@Mattek - have you completely uninstalled and reinstalled? I looked at your managesettings.php and it looks ok, no duplicate stuff that I can see.
@Dismal Shadow - I thought that's exactly what I said?
Quote from: bahgheera on June 23, 2010, 08:21:50 PM
@Mattek - have you completely uninstalled and reinstalled? I looked at your managesettings.php and it looks ok, no duplicate stuff that I can see.
@Dismal Shadow - I thought that's exactly what I said?
Yup. And every time I reinstall it goes through fine, but when I click on the Modification Settings option in my Admin CP it gives that parse error in managesettings.php.
Currently, with it uninstalled, I go to Modification Settings and there is an ENotify tab that refreshed my current page.
Quote from: MATTEK on June 23, 2010, 09:48:57 PM
Quote from: bahgheera on June 23, 2010, 08:21:50 PM
@Mattek - have you completely uninstalled and reinstalled? I looked at your managesettings.php and it looks ok, no duplicate stuff that I can see.
@Dismal Shadow - I thought that's exactly what I said?
Yup. And every time I reinstall it goes through fine, but when I click on the Modification Settings option in my Admin CP it gives that parse error in managesettings.php.
Currently, with it uninstalled, I go to Modification Settings and there is an ENotify tab that refreshed my current page.
did you happen to have multi-forum mod installed?
Ok, I believe what you need to do is, with the plugin uninstalled, edit your managesettings.php to remove the block that contains the enotify code. Save it and upload it back to the correct directory on your server. Then try reinstalling. I bet that will fix it.
Important: Make sure you take backups of all the files on your site before you do any of this. ;)
Quote from: bahgheera on June 24, 2010, 02:45:25 AM
Ok, I believe what you need to do is, with the plugin uninstalled, edit your managesettings.php to remove the block that contains the enotify code. Save it and upload it back to the correct directory on your server. Then try reinstalling. I bet that will fix it.
Important: Make sure you take backups of all the files on your site before you do any of this. ;)
Thank you. I would love to do this, but editing php files is not my thing. I suck at it. I need someone to do it for me to tell you the truth. And I'm pretty sure the file I attached earlier was with the plug-in uninstalled.
Ok, well I'll tell you what. Just to be sure, go ahead and uninstall the plugin. Reattach managesettings.php here, and I'll fix it for you. Then you can upload the file back to your server, and THEN reinstall the plugin, installing it to your theme like I said above. ;)
Quote from: bahgheera on June 24, 2010, 11:14:45 PM
Ok, well I'll tell you what. Just to be sure, go ahead and uninstall the plugin. Reattach managesettings.php here, and I'll fix it for you. Then you can upload the file back to your server, and THEN reinstall the plugin, installing it to your theme like I said above. ;)
Alright dude. I'll do this as soon as I get home. Thank you so much.
Here bro. Thanx.
Ok, here's the fixed file. Upload this file right back to your server, before installing enotify. If it asks you to overwrite, choose yes. Once you have this file back on your server, then go into SMF and install Enotify. Make sure this time you install it into your other theme. That should get you going.
Good luck!
Quote from: bahgheera on June 29, 2010, 11:35:40 AM
Ok, here's the fixed file. Upload this file right back to your server, before installing enotify. If it asks you to overwrite, choose yes. Once you have this file back on your server, then go into SMF and install Enotify. Make sure this time you install it into your other theme. That should get you going.
Good luck!
Thank you! I'll let you know how it goes. Won't be home until tomorrow.
Thank you man.
Wasnt sure if it was already up there butttt, I noticed that once the mod is installed it seems to now want me to maneuver through my forums. The package makes the dropdown menus some reason not work properly, it makes the lettering smaller then it should be and this makes no sense i think
Quote from: bahgheera on June 29, 2010, 11:35:40 AM
Ok, here's the fixed file. Upload this file right back to your server, before installing enotify. If it asks you to overwrite, choose yes. Once you have this file back on your server, then go into SMF and install Enotify. Make sure this time you install it into your other theme. That should get you going.
Good luck!
Everything's running smooth. Thank a lot man.
No problem!
thanks for the mod, i love it! :)
it works perfectly...
just a thing: i notice that when the post title has some characters (à, è and similars) the growl notification appears with some errors... how can it be solved?
thanks
...how come this mod solved my custom page problem.......?
Quote from: Yoshi2889 on July 12, 2010, 03:43:25 AM
...how come this mod solved my custom page problem.......?
Possibly added a bit of coding that was missing previously? I'm not entirely sure but that would be my guess.
Quote from: MATTEK on July 12, 2010, 03:20:34 PM
Quote from: Yoshi2889 on July 12, 2010, 03:43:25 AM
...how come this mod solved my custom page problem.......?
Possibly added a bit of coding that was missing previously? I'm not entirely sure but that would be my guess.
Could be. I'm not sure either.
keep getting this error since this mod install. Any ideas?
http://www.gohighvoltage.com/forum/index.php?amp;action=enotify
2: require(/forum/cache/data_a7250958f1d6b8bcba920bdf7d1fe4fa-SMF-AdSellerSettings.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory
File: /html/forum/Sources/Load.php
Line: 2635
Quote from: GohighVoltage on July 22, 2010, 11:07:34 PM
keep getting this error since this mod install. Any ideas?
http://www.gohighvoltage.com/forum/index.php?amp;action=enotify
2: require(/forum/cache/data_a7250958f1d6b8bcba920bdf7d1fe4fa-SMF-AdSellerSettings.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory
File: /html/forum/Sources/Load.php
Line: 2635
The file it is trying to load isn't found. I think you uninstalled an other mod before installing this one.
AdSeller (pro) maybe?
I uninstalled and reinstalled ad seller pro, and this error still returns. I wonder why
I think it is a bug with SMF should be fixed in the next RC for 2.0
Quote from: vbgamer45 on July 23, 2010, 09:50:13 AM
I think it is a bug with SMF should be fixed in the next RC for 2.0
Or a bug with the package...
what package?
Not a bug with Ad Seller Pro he has it uninstalled and still occurs.
Error is with SMF's caching system there was a bug reported and was fixed for SMF 2.0 RC4
Actaully I never had ad seller uninstalled. I just uninstalled and reinstalled ad seller to make sure it installed properly.
I guess I can totally uninstall ad seller to see if error comes up again
Hey there, we get some errors with the eNotify Thing. It gives us thoose messages in the errorlog:
http://www.desbl.de/index.php?action=enotify
8: Undefined index: unread_topics_visit_none
Datei: /var/www/web18/html/Sources/Recent.php
Zeile: 667
http://www.desbl.de/index.php?action=enotify
8: Undefined index: unread_replies
Datei: /var/www/web18/html/Sources/Recent.php
Zeile: 658
http://www.desbl.de/index.php?action=enotify
8: Undefined index: unread_replies
Datei: /var/www/web18/html/Sources/Recent.php
Zeile: 464
Can someone help us?
Greetings
Ok, uninstalled ad seller pro for 2 days now. No errors yet. Wondering if there is a error due to ad seller pro. Will see in the next day or so. Before I would get the errors every day.
Hm.
When opening "/index.php?action=enotify" it shows:
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Any solution?
That's how it supposed to be. The mod grabs data from action=notify via javascript
Quote from: vbgamer45 on July 25, 2010, 03:45:38 PM
That's how it supposed to be. The mod grabs data from action=notify via javascript
Ow, then it is right :P
Ok, well it's been 3 days, still no errors. Any chance the ad seller pro could cause this? Since I uninstalled it, it hasn't returned.
No chance I still firmly believe it is a bug with SMF caching system that was fixed in RC4 basically it was a race condition.
Cool, when is RC4 Avail?
Not sure but hopefully soon!
Thanks very much
Heads up charter members have developer builds now so might be fixed in those!
so rc4 WILL happen. Hopefully GOLD after! (then I will suggest SOME (a few (and I mean a few)) features to add into SMF 3)
Ok, its been 4 or 5 days now since I uninstalled Ad Seller Pro, and no more errors. has to be related some how.
As I said before either try the development builds or wait till RC4
Oh, I understand, No problem here. Just giving updated reports. I like your mods, and think they are awesome. I am just trying to figure out some errors.
Where do I get the development builds?
For charter members
http://www.simplemachines.org/community/index.php?topic=392498
Remember you will need to reinstall all mods if used and no support given for development builds
How safe is it to use the development build? Is it easy to upgrade from RC3?
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.
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?
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!
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?
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
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.
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.
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.
So what should i do? :\
nice mod!
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
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?
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?
Mootools and jquery do not mix that is the issue.
Are you planning to release the mootools edition of your modification? Would be great.
No not planning
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">
The mod works fine with jQuery.noConflict(); ? If so I will add this at once.
So far I don't see any problems with mootools after adding jQuery.noConflict();
Shoutbox works.
New version released!
Version 2.0!
+Works better on all themes now!
+Fixed conflict with mootools. Should now work better with other mods that use their own javascript libraries.
2 things:
1) italian translation for you
<?php
// ENotify Language 1.0
// Frontend strings
$txt['notification_feed'] = 'Vedi le notifiche';
$txt['notification_generator'] = 'ENotify Mod per SMF';
$txt['notification_pm_sent'] = 'ti ha inviato un messaggio personale:';
$txt['notification_pm_new'] = 'Nuovo Messaggio Personale';
$txt['notification_reply_sent'] = 'ha risposto a questo post:';
$txt['notification_reply_new'] = 'Nuova Risposta al tuo Post';
// Backend strings
$txt['enotify_admin'] = 'Pannello di amministrazione di ENotify';
$txt['enotify_replies'] = 'Abilita le notifiche delle risposte ai topic?';
$txt['enotify_pms'] = 'Abilita le notifiche dei messaggi personali?';
$txt['enotify_refresh'] = 'Intervallo di refresh per le notifiche:<div class="smalltext"><strong>Importante:</strong> Impostare questo valore troppo basso può causare conflitti con il tuo server! (Default: 10000 ms {dieci secondi})</div>';
$txt['enotify_life'] = 'Durata della notifica sullo schermo:';
$txt['enotify_exp'] = 'Tempo di scadenza dei log delle notifiche:';
?>
i attached for you the files already modified and working...
2) when enotify works, and the title of the topic that in notified appears, if the title has this characters inside "à, è, é, ò, ù" they appears in a strange manner... as if they weren't correctly read by php or html...
Hello
Thanks for this work
French translation
Thanks for all the translations!
Is it compatible to smf 2.0 rc2?
It maybe but you would have to install it manually
I have to admit that I'm not terribly happy about the copyright line added because of this mod, especially since that was not noted in the description of the mod.
i install the mod,
but the porblem with the "????!!???"
and other uknown characters still remains.......
So if i cannot fix the problem,
i must take this out, as it does not help as it should be.
Try converting your database tables for enotify to utf8 in phpmyadmin
Quote from: vbgamer45 on September 28, 2010, 01:51:02 PM
Try converting your database tables for enotify to utf8 in phpmyadmin
this is a great risk.....
O:)
Shouldn't be since it wasn't working before
Quote from: vbgamer45 on March 03, 2010, 10:25:53 AM
I can probably port it to SMF 1.1.x for a donation of $25 to $30
Please send me info who to pay, I need it to 1.1.x
Thanks.
PM sent
Updated and now works with SMF 1.1.x
Some issues...
Doesn't support titles with non-english characters.
The notification appears to everyone, but not to me. I don't know if is because i'm using ff. But I suppose not. Other users with firefox works great. I try with a test account, and it works, with my account, nothing shows... lol
For non English character support you need to convert the two enotify tables to UTF8 using phpmyadmin
Quote from: vbgamer45 on October 12, 2010, 04:38:40 PM
For non English character support you need to convert the two enotify tables to UTF8 using phpmyadmin
Ok, can u help me with that?
I suppose this code, can do the work. What are the tables name?
ALTER TABLE table_name CHARACTER SET utf8;
Tables names log_enotify_pms And log_enotify_replies
Something strange.
I've topics in the unread link, and none notification have appear in my screen... What could be wrong?
The notifications happen really fast so if you not watching for a split second they could disappear.
Quote from: vbgamer45 on October 12, 2010, 06:14:55 PM
The notifications happen really fast so if you not watching for a split second they could disappear.
I've understand that. And I've defined the time to show the notifications to 40000ms (40 seconds). And nothing appear. This mod doesn't have nothing to do with the notifications options in the profile? Its really strange, in my test account, the notifications had appear, in my default account hadn't...
When I try to access to the link forum.com/index.php?action=enotify it gives me this message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'morcego'','1285307597','forum.com/index.php?topic=16837.msg278' at line 4
File: /home/maistraf/public_html/comunidade/Sources/ENotify1.php
Line: 70
Copy this file to your sources folder and see if it fixes that mysql error.
Quote from: vbgamer45 on October 12, 2010, 07:21:02 PM
Copy this file to your sources folder and see if it fixes that mysql error.
Its working! thanks a lot for your time and help.
are there any tips on how to fix the utf-8 issue? characters show up as question marks.
i'm sure i can do it myself, but i can't seem to find the "bottle neck".
thanks...
Quote from: shahraam on March 26, 2010, 11:21:42 PM
Hi,
This is a great mod but apparently does not work with Persian language. I installed the mod on my forum which is a Persian forum. The problem I'm having is that the user names and topic titles that are is Persian are not showed in the message that pops up on the screen. Instead I can only see "?" characters for every character that is in Persian. I'm using Persian UTF-8. I think Arabic UTF-8 would have the same issue.
Would you please try to resolve this problem?
IdanC you need to convert the two database tables to utf8 look up a couple posts for said to the last guy
Quote from: ormuz on October 12, 2010, 04:48:10 PM
Quote from: vbgamer45 on October 12, 2010, 04:38:40 PM
For non English character support you need to convert the two enotify tables to UTF8 using phpmyadmin
Ok, can u help me with that?
I suppose this code, can do the work. What are the tables name?
ALTER TABLE table_name CHARACTER SET utf8;
This solution doesn't work. Any more ideas?
I don't know if that is the same as changing the table type to utf8?
Quote from: vbgamer45 on October 13, 2010, 09:34:08 AM
IdanC you need to convert the two database tables to utf8 look up a couple posts for said to the last guy
worked like a charm! ;D
for the replies -
ALTER TABLE `smf_log_enotify_replies` CHANGE `enot_title` `enot_title` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE `smf_log_enotify_replies` CHANGE `enot_sender` `enot_sender` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
for the pms -
ALTER TABLE `smf_log_enotify_pms` CHANGE `enot_title` `enot_title` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE `smf_log_enotify_pms` CHANGE `enot_sender` `enot_sender` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
Hi, vbgamer45. :)
I'm helping a member with his 1.1.11 forum (Custom theme "Reference" but this is also happening in default):
QuoteHacking attempt...
INSERT IGNORE INTO smf_log_enotify_replies
(enot_item_id,enot_title,enot_time,enot_link,enot_sender,enot_sender_link,id_member)
VALUES
('28351','Re: Nice things you can't get','1286646164','http://www.website.com/forum/index.php?topic=1681.msg28351;topicseen#msg28351','Jean','http://www.website.com/forum/index.php?action=profile;u=423','745')
File: /mnt/target02/348462/377604/www.website.com/web/content/forum/Sources/ENotify1.php
Line: 70
Not a bonafide "hacking attempt", right? Have you seen this happen before? (ENotify was working fine, then suddenly stopped and this is what's filling up the error log.)
Not sure why it would do that looks escaped
Change
// This is our query we use ignore to make sure we don't get an error if the record exists (unique field defined to avoid the extra select query)
db_query("INSERT IGNORE INTO {$db_prefix}log_enotify_replies
(enot_item_id,enot_title,enot_time,enot_link,enot_sender,enot_sender_link,id_member)
VALUES
('" .$topic['last_post']['id'] . "','" . mysql_escape_string($topic['last_post']['subject']). "','" . $topic['last_post']['timestamp'] . "','" . $topic['last_post']['href'] . "','" . $topic['last_post']['member']['name'] . "','" . $topic['last_post']['member']['href'] . "','" . $ID_MEMBER . "')
", __FILE__, __LINE__);
To
// This is our query we use ignore to make sure we don't get an error if the record exists (unique field defined to avoid the extra select query)
db_query("INSERT IGNORE INTO {$db_prefix}log_enotify_replies
(enot_item_id,enot_title,enot_time,enot_link,enot_sender,enot_sender_link,id_member)
VALUES
('" .$topic['last_post']['id'] . "','" . htmlspecialchars($topic['last_post']['subject'],ENT_QUOTES). "','" . $topic['last_post']['timestamp'] . "','" . $topic['last_post']['href'] . "','" . $topic['last_post']['member']['name'] . "','" . $topic['last_post']['member']['href'] . "','" . $ID_MEMBER . "')
", __FILE__, __LINE__);
Thanks, I've edited the file and I'm just watching now to see if anything else shows up.
;)
EDIT: That's sorted it and thanks!
I had to uninstall because of a theme and then reinstall. I now have two enotify links at the bottom of the page. Can you tell me where I have to look to remove one of them please?
I recently installed also this mod from vbgamer and get strange question marks instead of my öäü. I don't have UTF-8 in my german forum.
Quote from: flutter on November 07, 2010, 04:36:09 AM
I had to uninstall because of a theme and then reinstall. I now have two enotify links at the bottom of the page. Can you tell me where I have to look to remove one of them please?
Check Sources/Subs.php
Quote from: petesky on November 07, 2010, 10:37:40 AM
I recently installed also this mod from vbgamer and get strange question marks instead of my öäü. I don't have UTF-8 in my german forum.
Check that the tables for the tagging system are set to utf8.
Thanks, Spuds fixed it for me, among other things
I converted like in this thread: http://www.simplemachines.org/community/index.php?topic=343151.msg2818947#msg2818947
...but still have question marks when getting the popup.
Hi vbgamer !
Is it possible, that encoding problems in notify window with my german threads where öüä are wrong encoded has to do with encoding in JS and not collation of database ?! Because your js is minified i cannot read :-) but AFAIK there is an option to set setRequestHeader along with charset=UTF-8 ?!
hello
i install mod ENotify i have problem with arabic i see arabic like this ? ? ? ? ? ? ? ? ? ? ?
Quote from: alsaka on November 25, 2010, 02:50:51 PM
hello
i install mod ENotify i have problem with arabic i see arabic like this ? ? ? ? ? ? ? ? ? ? ?
You have converted your database to UTF-8?
If yes then it's the mods fault.
Read up a couple posts there is a couple users that have it working on utf8 after making the changes above
UTF-8 is not the problem afaik.
Quote from: petesky on November 26, 2010, 03:20:40 AM
UTF-8 is not the problem afaik.
Well, indeed it is.
If you don't convert your database and stuff to UTF-8 you don't have support for things like áéíóú etc.
what is new from 1.0.8?
Can anyone explain me what the last option stands for?
Expiration duration of log items:
I already converted as described some threads ago. No change - i assume that ajax is talking in wrong encoding.
if i may, ajax doesn't "talk". it just passes the values in the db.
take a look for a second inside the mentioned tables, see how the data is stored there. if the text is scrambled (as i expect it to be), it means you haven't really changed the encoding.
Quote from: IdanC on November 29, 2010, 11:04:34 AM
if i may, ajax doesn't "talk". it just passes the values in the db.
It talks to the appropriete script by using either
header ("Content-Type: text/html; charset=iso-8859-1");
or
xmlHttp2.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
..but i'm sure you know this much better rather then me.
Quote from: IdanC on November 29, 2010, 11:04:34 AM
take a look for a second inside the mentioned tables, see how the data is stored there. if the text is scrambled (as i expect it to be), it means you haven't really changed the encoding.
So enotify fetches the entries from the forum database, the values have to be passed by js (ajax) to the script. This may cause the problem with encoding and not the database kollation itself. But anyway all my tabels except the ones in this thread are latin1_general_ci
It's not scrambled in the database bzw.
No New Posts 8: Undefined index: viewer_text
File: /home/www/forum.bezvrska.com.mk/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 134
i get this error on my forum .. i dunno what to do i use smf 1.1.12 can u please he lp me p.s if u need to look at it yourself here is a link forum.bezvrska.com
I like the 2.0 but i don't like this at the bottom of my forum: Enotify by CreateAForum.com
http://www.smfhacks.com/copyright_removal.php
Please update this mod to add the option for any member to disable enotify in his/her forum profile. Some of my forum members do not want the enotify feature on their screens, so how to disable it only for those members? I think an option in the member profile under the section "Notifications and Email" would be ideal. Thank you in advance. In the meantime, i will have to remove this mod to avoid alienating my members.
For the option "Expiration duration of log items:" is that relative to the number of hours or minutes or days?? By default its value is 48.
I also found a problem, as i had to ban a spammer from my forum and my error log filled up to 20 pages of this error:
http://www.sharks.com/smf/index.php?action=enotify
Sorry bannedmember, you are banned from using this forum!
I don't understand what enotify has to do with the banning process...???
I also noticed that the time between each error from my error log is at logged at exactly 10 seconds intervals.
I clicked on the error link: http://www.sharks.com/smf/index.php?action=enotify
I get this error on a white page:
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
My users are very pleased with this MOD. However, is there a way to set the notify's to display a few seconds longer than they currently are set to by default?
One thing I notice in my Admin Control panel. The Features and Options location has the ENotify link, but when I click the link it doesnt take me away from the Basic Features page. I'm using the default template version 1.1.12.
Just curious if this mod has any support considering no responses? No big deal if it doesnt.
Support really depends on my schedule if I don't see a bug I won't respond. feature requests are low priority at this point.
How do I move it to the bottom of the page? Love the mod, but I think it would be more efficient coming from the bottom right than the top right.
Quote from: vbgamer45 on December 07, 2010, 10:22:53 AM
Support really depends on my schedule if I don't see a bug I won't respond. feature requests are low priority at this point.
Isnt the eNotify link that is added supposed to take me to a control panel for the mod? If so the link doesnt work for me.
Quote from: w0lfman on December 09, 2010, 07:20:57 PM
Quote from: vbgamer45 on December 07, 2010, 10:22:53 AM
Support really depends on my schedule if I don't see a bug I won't respond. feature requests are low priority at this point.
Isnt the eNotify link that is added supposed to take me to a control panel for the mod? If so the link doesnt work for me.
No.
Admin > Configuration > Modification Settings > eNotify
Yoshi, I think I see the problem. I dont have Admin > Configuration > Modification Settings > eNotify
Below is the view of my admin panel...
Its not there in 1.1.x
But from your screenshot I see a tab for enotify on the same page for edits features and otpiosn.
This is a nice mod, but i think it would not be honest of me not to warn all other users of this mod... my host just suspended my account due to high server resource usage due to this mod, as they showed me the log and the last requests came from this mod. I uninstalled it and my forum used much less server resource. I just wanted to leave feedback about this and hopefully this can be optimized for future releases. This will particularly affect busy/large forums.
Quote from: sharks on December 11, 2010, 11:36:43 AM
This is a nice mod, but i think it would not be honest of me not to warn all other users of this mod... my host just suspended my account due to high server resource usage due to this mod, as they showed me the log and the last requests came from this mod. I uninstalled it and my forum used much less server resource. I just wanted to leave feedback about this and hopefully this can be optimized for future releases. This will particularly affect busy/large forums.
You right, I've paid vbgamer for the conversion to v1.1.x, and the mod is useless in big foruns... With this mod, my server load go from a 7 to a 18.
Maybe vbgamer can add another option to this mod, such that only posts for the concerned member is notified, instead of notifying ALL new posts by ALL members for every single member, which is currently the case. The same PM option algorithm should be used for the new posts/replies, as it relates to the user's posts only instead of monitoring the entire forum's updates.
Quote from: sharks on December 11, 2010, 09:51:45 PM
Maybe vbgamer can add another option to this mod, such that only posts for the concerned member is notified, instead of notifying ALL new posts by ALL members for every single member, which is currently the case. The same PM option algorithm should be used for the new posts/replies, as it relates to the user's posts only instead of monitoring the entire forum's updates.
Maybe he can also make an option to only apply it to a certain board (or boards), like announcements.
Quote from: Yoshi2889 on December 14, 2010, 02:21:07 PM
Maybe he can also make an option to only apply it to a certain board (or boards), like announcements.
That would also help to reduce the load on the server, by limiting the number of queries.
Honestly, i love this mod for being practical, but it's just too resource hungry!! :(
Just wanted to follow up to see if anyone knew why I dont have a Modification Settings as an option whenthis mod is installed. Its being installed on the default template SMF 1.1.12
Errormessage below when I click on the eNotify tab in my control panel
Fatal error: Call to undefined function ENotify() in /home/mmmm/public_html/12thman/Sources/ModSettings.php on line 206
Quote from: Bob Marley on December 25, 2010, 09:54:13 PM
I have uninstall this modification (no problems in uninstall) from my smf 1.1.12 forum but at the bottom there is still Enotify by CreateAForum.com where can i find this and remove it? (All ready done searching index.template.php and nothing there)
Help pls.
Check out QueryString.php
Quote// enotify
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><span class="smalltext">Enotify by <a href="http://www.createaforum.com" title="Forum Hosting">CreateAForum.com</a></span>', $buffer);
// End enotify
Here it is! Thx vbgamer45
Trying to install enotify on smf1.1.12 theme pdx-dk 1.1.9
Getting error message :
./Sources/ModSettings.php test failed.
I couldnt dare to go further. What might be the cause ? Thanks in advance.
Packages attached.
Other mods modified the same code so it is no longer can find it. You would have to install it manually at this point
Thanks for the info.
Click the little pencil icon before the error, and it should give you instructions :)
Sorry, I missed your update.
here is the output of enotify after apply , but there is no pencil icon before the error.
Quote from: teos55 on December 29, 2010, 12:17:40 PM
Sorry, I missed your update.
here is the output of enotify after apply , but there is no pencil icon before the error.
Expand the spoiler (clicking the little arrow before the error) and then click the pencils on all errors you get, to get installation info :)
Sorry but I see no little arrow or pencil in whole panel. I treid both english/turkish and default theme/pdx-dk. Maybe I miss something. Spoiler is not expandable. The output is as I attached before.
Quote from: teos55 on December 29, 2010, 03:22:44 PM
Sorry but I see no little arrow or pencil in whole panel. I treid both english/turkish and default theme/pdx-dk. Maybe I miss something. Spoiler is not expandable. The output is as I attached before.
I guess the 1.X series don't have that option.
Parse it online.
Wicked mod, thank you vbgamer45. I've noted the server load issues others have reported so I have increased the refresh interval setting from 10 seconds to 60 seconds to prevent this. So far it hasn't been a noticible change in load with up to 100 users online, still less than 0.5 on my dedi.
Glad you enjoy it!
Of course I have a few members who don't like it so I've added a Profile option to disable it.
Profile.template.php, find:
</tr><tr>
<td colspan="2">
<input type="hidden" name="default_options[view_newest_pm_first]" value="0" />
<label for="view_newest_pm_first"><input type="checkbox" name="default_options[view_newest_pm_first]" id="view_newest_pm_first" value="1"', !empty($context['member']['options']['view_newest_pm_first']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['recent_pms_at_top'], '</label>
</td>
Add after:
</tr><tr>
<td colspan="2"><label for="profile_enotify_disable">Enotifications</label>
<select name="default_options[profile_enotify_disable]" id="profile_enotify_disable">
<option value="0"', empty($context['member']['options']['profile_enotify_disable']) ? ' selected="selected"' : '', '>Enabled</option>
<option value="1"', !empty($context['member']['options']['profile_enotify_disable']) ? ' selected="selected"' : '', '>Disabled</option>
</select>
</td>
And in Load.php, find:
// enotify
global $settings, $modSettings, $scripturl;
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/jquery.jgrowl.css" />
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/enotify.js"></script>
<script type="text/javascript">
jQuery.noConflict();
(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>';
//end enotify
Replace with:
// enotify
global $settings, $modSettings, $scripturl, $options;
$options['profile_enotify_disable'] = !isset($options['profile_enotify_disable']) ? 0 : $options['profile_enotify_disable'];
if ($options['profile_enotify_disable'] == 0):
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/jquery.jgrowl.css" />
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/enotify.js"></script>
<script type="text/javascript">
jQuery.noConflict();
(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>';
endif;
//end enotify
There's probably a better way than using the $options as a global.
Edited to correct undefined index.
Nice edit great idea!
Hopefully, this can be added in the next release of this mod.
Forum version: 1.1.12
Theme: Reference
Enotify: 2.0
Looks like Enotify doesnt work fine with me. Sometimes it appears and sometimes it doesnt. And sometimes it appears when no one even replied or posted to threads.
help?
Amazing mod mate.
Great stuff!
I hope I'll be able to make a donation sometime.
Quote from: Sir Kaos on January 04, 2011, 09:10:14 AM
Forum version: 1.1.12
Theme: Reference
Enotify: 2.0
Looks like Enotify doesnt work fine with me. Sometimes it appears and sometimes it doesnt. And sometimes it appears when no one even replied or posted to threads.
help?
anyone experiencing this issue?
enotify is conflicting with SA Facebook connect mod..
anyone experienced the same problem??
Quote from: Sir Kaos on January 04, 2011, 09:10:14 AM
Forum version: 1.1.12
Theme: Reference
Enotify: 2.0
Looks like Enotify doesnt work fine with me. Sometimes it appears and sometimes it doesnt. And sometimes it appears when no one even replied or posted to threads.
help?
I notice that the notifications appear for me until I've read the thread or marked everything as read, have you tried this?
Quote from: purplepaisley68 on January 16, 2011, 05:45:20 PM
Quote from: Sir Kaos on January 04, 2011, 09:10:14 AM
Forum version: 1.1.12
Theme: Reference
Enotify: 2.0
Same for me, I had to uninstall it, because of users complaints.
Looks like Enotify doesnt work fine with me. Sometimes it appears and sometimes it doesnt. And sometimes it appears when no one even replied or posted to threads.
help?
I notice that the notifications appear for me until I've read the thread or marked everything as read, have you tried this?
Quote from: !RFAN on January 07, 2011, 09:40:53 AM
enotify is conflicting with SA Facebook connect mod..
anyone experienced the same problem??
this error:
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
I'm getting an error message - Execute Modification ./Sources/ModSettings.php Test failed
1.1.12 - SMF Default Theme -Core
^^ you must have rcvd error notification during installation?
now you can manually edit your modsettings.php file
Working great on my forum at www.geeksoup.net, thank you ;)!
I wish it worked great for me.....sometimes it's right on the money & other times 20 of them come thru at once???
http://bootlegtunzworld.org/communityarea/ is where it's installed if you wanna take a look? maybe I have conflicting mods installed?
really like the idea & hope the bugs get worked out
thanks for the mod & good luck with it
I just installed this on SMF 1.1.12, and I also have SA Facebook Connect installed. It seems to not work at all when that is enabled. When it is disabled, it works randomly. I'm just testing it with PMs from one account to another.
Anyone know what is going on and/or have a fix? I have nothing in the forum error logs or server error logs.
Quote from: Abavagada on February 02, 2011, 10:11:49 AM
I just installed this on SMF 1.1.12, and I also have SA Facebook Connect installed. It seems to not work at all when that is enabled. When it is disabled, it works randomly. I'm just testing it with PMs from one account to another.
Anyone know what is going on and/or have a fix? I have nothing in the forum error logs or server error logs.
http://www.simplemachines.org/community/index.php?topic=343151.msg2917443#msg2917443
Compatibility Issue Found with: http://custom.simplemachines.org/mods/index.php?mod=2714
When I asked the above mentioned mod owner about why I couldn't install his mod with yours his reply was he didn't know how eNotify worked so....
On the 3rd of (3) edits to ./Sources/LogInOut.php the 'Remember Position' mod is looking for:
if (empty($_SESSION['login_url']))
redirectexit();
....I'm asking you guys. ./Sources/LogInOut.php is already modified by eNotify that causes it to break.
What it wants to do is replace the above code with:
if (empty($_SESSION['login_url']))
{
//Let's see if the REFERER is empty if it's no, take the next step
if (!empty($_SERVER['HTTP_REFERER']))
{
//verify if we are in the login page or some other place.
if ($_SERVER['HTTP_REFERER']==$boardurl.'/index.php?action=login' or $_SERVER['HTTP_REFERER']==$boardurl.'/login/')
{
redirectexit(); //Let's go to the main page!
}
else
{
redirectexit($_SERVER['HTTP_REFERER']); //Go back to the page where we login
}
}
else
{
redirectexit(); //There's no HTTP_REFERER, go to the main page.
}
}
ANY INSIGHT into making that work with eNotify??
I removed the SA Facebook mod, and now Enotify works fine.
I have my forum integrated with a site, however, and would like Enotify to appear on the rest of it. I copied the main index header that loads the proper .js and creates some script. This works fine, but it only appears on window/tab if I have multiple windows/tabs open on the site.
Why does it only appear on one, and how does it decide which one to appear on?
Great mod!
I cannot recommend this mod.
First it installs an ad-link in the copyright line. No other mod I've ever installed did this an I don't think it's appropriate.
Then it hits the server like an iron gloved fist, sending requests every 10 seconds for every member who's online. As Arantor has observed, this isn't even a mistake but by design. Just to give you an impression: In 5 days this mod amassed as many page views as we'd had in the whole last year. And chances are your host will kick you out swiftly just for the dent this makes in server memory and computing power.
But the real fun starts, after you uninstall it, as you sooner or later will: Because it doesn't uninstall completely. I ran into the same problem described by others above. I have now around 30 guests with "unknown action" in the online list. Considering guests should at no point be able to use Enotify, this is a bit weird. But I looked them up in the database (Table: smf_log_online) and sure enough these guests do call Enotify, example: a:2:{s:6:"action";s:7:"enotify";s:10:"USER_AGENT";s:112:"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)";}
At this point I have replaced all files Enotify touches from backup and searched all files from the sources and themes folders for the word "enotify" and there's nothing there. I have also deleted 2 tables in the database that Enotify left behind (smf_log_enotify_pms & smf_log_enotify_topics).
I did all of this yesterday, so it's unlikely that 30 guests still have a tab open, not even mentioning they shouldn't have been able to call Enotify in the first place.
If this mod sounded too good to be true to you, you got it right the first time. Unless you like a big resource hog screwing up your forum permanently, keep your hands off it.
QuoteAs Arantor has observed, this isn't even a mistake but by design.
I should note that I raised this with its original author during its original review prior to approval. There isn't a way to directly avoid it if you want current notifications, at least not on a stock Apache server (since the sanest way is to implement Comet notifications not AJAX, but that's not viable on Apache+PHP)
As for the uninstall issue, the problem is likely that there's fragments of code in your custom theme that aren't uninstalled (either due to SMF not being able to apply it to custom themes, or due to a bug in some versions of 2.0 that meant it didn't remove from custom themes anyway even when it was supposed to), but it *can* be caused by not having a page refresh so the code is still firing as you've indicated (or having some kind of cached content)
As for guests calling enotify, no idea why that happens. I can't remember if the original version I saw did or not, though.
I understand that asynchronously pushed notifications do need some sort of time scale. And it can even be set in the options of the mod.
But it's a lose-lose situation this mod puts you in: Either you set it to some extremely long interval, which makes the mod pointless (instant notifications aren't instant anymore) or you beat the server to pulp with Enotify's constant requests.
As I've said I have searched the entire "Themes" folder for any files containing the word "enotify", so that includes my custom theme. The only file I found is a false positive: Profile.Template.php contains a function "populateNotifyTemplate".
The thing with this mod is that it seems to address an actual problem of SMF: Regular SMF does a poor and confusing job of guiding users to new posts (PM notifications are fine). It requires a user to check 3 pages:
1. New Replies
2. New Posts since your last visit
3. Unread posts since forever
With 1. it is left unexplained what exactly counts as a " new reply". Is that any post in a thread I've started? Any post in a thread I've posted in? Or just the post that comes right after mine in some thread? Or is it when someone clicks the REPLY button in my post?
Yeah, who knows.
2. and 3. are obviously aimed at large forums. In a small forum you will just want to read all that's new and mark as read what does not interest you, instead of missing posts again that you missed on your last visit.
SMF's depiction of new posts on the boards is even worse: As soon as you've visited a forum's message index that has new posts, the forum is not flagged as containing new posts anymore, whether you read them or not.
And if you come in from any other place than the message index and read all new posts in a forum (eg via RSS links), then the forum is still flagged as containing new posts, although you read them all.
I have actually discussed this here before and was told this was intentional behaviour, despite it resulting in completely unreliable "unread" indicators.
That's why I was interested in Enotify. But in the end it doesn't solve this problem and adds its own more severe problems on top. So I'm cured for now.
Well, for 1. the default text is 'view unread replies to your posts' which while it might be vague it does at least imply that it's all of your posts, not just in your topics.
It is intentional if not entirely desirable behaviour.
I think this is a really good mod. I've already made some modifications so it also works with MonoTiz's SMF Social Network Pro. There are two suggestions I would make for future versions:
1) A way for members to control what they get notifications for, like some may want PM notifications, but not post replies.
2) A page, possibly popup, that lists the most recent notifications, even if they have been read. FB has a drop down menu that shows you the most recent. This way, if you missed one that came in, you can review it.
As for the problems that been mentioned here, if a person could turn off the post notifications, that could ease that issue. Also, as to the strain on the server.. just change the frequency to a higher delay. I don't think people will really notice a difference between something like 10 seconds and 2 minutes. Is it "instant" then? No. But will it matter? Not really.
Thanks for this mod.
Hello
Install the mod eNotify manually, using the parse (http://custom.simplemachines.org/mods/index.php?action=parse;mod=2198;attach=169074;smf_version=1.1.11), but I'm not getting notifications.
What is the reason the rpoblema?
I can create some tables in database? How?
Log:
Visitante Hoy a las 03:27:34
Aplicar filtro: Mostrar solamente los mensajes de error de esta dirección IP 186.124.55.154 Aplicar filtro: Mostrar solamente los mensajes de error de esta sesión 18b9107cfedb4aef6f27a94c83588ac0
Aplicar filtro: Mostrar solamente los mensajes de error de este URL http://aportesydescargas.com.ar/foro/index.php?action=enotify
Aplicar filtro: Mostrar solamente los mensajes de error con el mismo mensaje
8: Undefined index: default_username
Archivo: /home/martin/domains/aportesydescargas.com.ar/public_html/foro/Themes/default/Login.template.php
Línea: 101
Theme default
version 1.1.11
www.aportesydescargas.com.ar
Just to warn people that are going to install this mod:
The mod is great. Neat, clean, and useful, but for the first time ever, i got my account cancelled because of it.
I've changed the interval to 45 seconds, and even with a relatively small forum (11000 registered members) i got shut down in less than 24 hours.
Think twice before installing this.
Quote from: FragaCampos on February 17, 2011, 05:11:28 PM
Just to warn people that are going to install this mod:
The mod is great. Neat, clean, and useful, but for the first time ever, i got my account cancelled because of it.
I've changed the interval to 45 seconds, and even with a relatively small forum (11000 registered members) i got shut down in less than 24 hours.
Think twice before installing this.
Thanks for the info.
Mod off for not having received support from the author of the mod.
Now that i got my forum back and uninstalled the mod i noticed that enotify doesn't erase it's entries in the database.
I managed to delete smf_log_enotify_pms & smf_log_enotify_topics but i have a doubt:
how can i restore only certain tables instead of the entire database?
Quote from: Kolya on February 07, 2011, 07:31:53 AM
But the real fun starts, after you uninstall it, as you sooner or later will: Because it doesn't uninstall completely. I ran into the same problem described by others above. I have now around 30 guests with "unknown action" in the online list. Considering guests should at no point be able to use Enotify, this is a bit weird. But I looked them up in the database (Table: smf_log_online) and sure enough these guests do call Enotify, example: a:2:{s:6:"action";s:7:"enotify";s:10:"USER_AGENT";s:112:"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)";}
At this point I have replaced all files Enotify touches from backup and searched all files from the sources and themes folders for the word "enotify" and there's nothing there. I have also deleted 2 tables in the database that Enotify left behind (smf_log_enotify_pms & smf_log_enotify_topics).
This mod is very proo! but can you put something like notification bar? if they didn't check the thread, it keeps adding and adding? and once they click the notification bar, it will show un-read threads by the owner.
Quote from: aerolite on March 04, 2011, 07:03:18 AM
This mod is very proo! but can you put something like notification bar? if they didn't check the thread, it keeps adding and adding? and once they click the notification bar, it will show un-read threads by the owner.
If I understand your question correctly, when a notification is given, it won't be given again. If someone posts another new thing, it will give a new notification (I am assuming).
My concern was that if a person misses a notification (like they weren't looking at the screen during the 5 seconds it was there), how can they see if they missed any? So I built in a Notifications box, like on FB, that shows the recent notifications.
Question - I just installed the mod after upgrading to RC5. Seems to be working fine, but every once in a while I'll get like 13 notifications from posts made months ago. Any one know why?
Has a new reply been added to them?
Not sure what would would it then unless it is erroring out if you see the same topics over and over again.
Quote from: vbgamer45 on March 15, 2011, 08:20:45 PM
Not sure what would would it then unless it is erroring out if you see the same topics over and over again.
It
s not the same topics. It's random. For instance I just had a notification, clicked on it and it brought me to a post made on March 1st.
I had to parse one of the database changes manually and I found an error. Here is what is displayed on the mod site.
INSERT IGNORE INTO {db_prefix}settings
(variable, value)
VALUES ('enotify_life', '5000'),
('enotify_refresh', '10000'),
('enotify_pms', '1'),
('enotify_replies', '1'),
('enotify_exp
And it should be the following correct? The last line got some things cut off.
INSERT IGNORE INTO {db_prefix}settings
(variable, value)
VALUES ('enotify_life', '5000'),
('enotify_refresh', '10000'),
('enotify_pms', '1'),
('enotify_replies', '1'),
('enotify_exp', '48');
Quote from: Kolya on February 07, 2011, 07:31:53 AM
But the real fun starts, after you uninstall it, as you sooner or later will: Because it doesn't uninstall completely. I ran into the same problem described by others above. I have now around 30 guests with "unknown action" in the online list. Considering guests should at no point be able to use Enotify, this is a bit weird.
Has anyone found a way to end this behaviour?
I just deleted the enotify entries in my database. Everything is fine now.
Is there a way of putting the [ X ] on top as opposed to on the bottom?
Another excellent mod from vbgamer!
Perfect! Smooth installation and not problem even in a highly customized theme. Thank you.
Is there a way to change the notification color? My forum is dark and the notifications look a little unmatching.
Also Is there a way to add a sound too? I think that would be cool.
or like every member can adjust their own settings would be the best.
Hi there is there A way members can view a list of the notifications?
Not at this time.
tnx for the reply :) ;)
Quote from: Sheree on May 03, 2011, 06:55:39 PM
Hi there is there A way members can view a list of the notifications?
I wanted the same, so made my own.
I have taken out some of the specializations and hopefully got it down to a more generic form.
Save it as a .php file in your forum root path. It's meant to be called using a pop up window.
Hope it helps someone.
<? require("SSI.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en">
<head>
<title>ENotifications</title>
<style type="text/css">
.enotify_list_holder { width: 400px; height: 400px; }
.enotify_top_cell { background-color: #990404; }
.enotify_list_div { height: 330px; overflow-x: hidden; overflow-y: scroll; border: 1px solid #999999; }
.enotify_list_table { width: 100%; border-collapse: collapse; }
.enotify_list_table td { vertical-align: top; }
.enotify_list_table2 { width: 100%; border-collapse: collapse; }
.enotify_list_table2 td { font-size: 12px; vertical-align: top; line-height: 100%; apadding: 4px; }
.enotify_center_cell { text-align: center; font-size: 120%; padding: 4px; font-weight: bold; }
</style>
</head>
<body>
<?
require('Sources/ENotify1.php');
ENotifyLoad(1);
function get_userid_from_link($tlink) {
$p1 = strpos($tlink, ';u=');
if ($p1 !== false) {
$uid = (substr($tlink, $p1 + 3));
} else { $uid = -1; }
return $uid;
}
function create_entry($enot) {
global $txt;
$estrarr = array ('Post Reply', 'Private Message');
$etype = $enot['etype'];
$uid = get_userid_from_link($enot['sender-href']);
echo '<tr><td style="padding: 4px;">
<table class="enotify_list_table2">
<tr><td colspan="2"><b>'.$estrarr[$etype].'</b></td></tr>
<tr><td><a href="'. $enot['sender-href']. '" target="_blank">'. $enot['sender']. '</a></td>
<td style="text-align: right;">'. date('d-m-Y',$enot['time']) .'</td></tr>
<tr><td colspan="2"><a href="'. $enot['href']. '" target="_blank">'. $enot['title']. '</a></td></tr>
</table></td></tr>
';
}
$allnotes = array();
if (isset($context['enot']['replies'])) {
foreach ($context['enot']['replies'] as $enot) { $enot['etype'] = 0; array_push($allnotes, $enot); }
}
if (isset($context['enot']['pms'])) {
foreach ($context['enot']['pms'] as $enot) { $enot['etype'] = 1; array_push($allnotes, $enot); }
}
for ($i=0; $i < sizeof($allnotes); $i++) {
$date1 = $allnotes[$i]['time'];
for ($j=$i; $j < sizeof($allnotes); $j++) {
$date2 = $allnotes[$j]['time'];
if ($date2 > $date1) {
$temp = $allnotes[$i];
$allnotes[$i] = $allnotes[$j];
$allnotes[$j] = $temp;
$date1 = $date2;
}
}
}
?>
<div class="enotify_list_holder">
<table class="enotify_list_table">
<tr><td class="enotify_top_cell enotify_center_cell"><? echo $txt['enotifications'] ?><a href="javascript:self.close();" style="float: right;">[close]</a></td></tr>
<tr><td><div class="enotify_list_div"><table class="enotify_list_table">
<?
foreach ($allnotes as $enot) {
create_entry($enot);
}
?>
</table></div></td></tr>
<tr><td class="enotify_center_cell"><input type="button" value="Reload" onclick="window.location = '<? echo $PHP_SELF ?>'" /></td></tr>
</table></div>
</body>
</html>
I installed it and like it for what it does...
However, like the people above, my members complain that if there are many replies, they will not get to click on a 'show all notifications' page like in Facebook. There is also no numerical notifier on the pages (again, like in Facebook).
Yeah, we're Facebook-spoiled. :P
I like the mod a lot though, but I've had some people asking me to uninstall it, which leads me to my question...
...I cannot seem to uninstall it! When I tried to, SMF kicks up a "Test Failed" on Modsettings. I'm now afraid of removing it lest a problem happens to the board.
"4. Execute Modification ./Sources/ModSettings.php Test failed"
I'm using SMF 1.1.13
EDIT: I took a look at the response with the custom notifications page. Where would I add that so that it adds this functionality?
Quote from: Jorge D. Fuentes on May 05, 2011, 02:30:20 PM
EDIT: I took a look at the response with the custom notifications page. Where would I add that so that it adds this functionality?
Save that code as a file in the forum directory, like "enotifications.php", then put in a link wherever you want to be able to open it from:
<a href="javascript:openWindow('enotifications.php', 'enotifications', 400, 400);">ENotifications</a>
and put this javascript code into a linked in js file:
function openWindow(url, name, width, height, options) {
width = width ? width : 800;
height = height ? height : 600;
options = options ? options : 'resizable=no,location=0';
name = name ? name : 'openWindow';
window.open(url, name, 'screenX=' + (screen.width - width) / 2 + ', screenY=' + (screen.height - height) / 2 + ', width=' + width + ', height=' + height + ', ' + options);
}
Is there a way of putting the (X) [Closed notifications] as the first thing that pops up and then everything else follows? Currently it's the opposite way around :-[
Just installed it, seems to work fine but I'm having some issues with my Admin panel and can't find it. Could someone give me the direct link to its options?
Thanks!
It should be in features and it should have its own tab.
Quote from: shuban on May 10, 2011, 12:55:28 PM
It should be in features and it should have its own tab.
Thanks - but as I said, I can't find it, can you give me the link to it?
Features Options -> Enotify
Quote from: vbgamer45 on May 10, 2011, 01:28:23 PM
Features Options -> Enotify
Maybe I'm not clear enough :) I'm not asking for the path I need to take; I'm asking for the relative URL to it!
index.php?action=featuresettings;sa=enotify
Thanks! That's it. Unfortunately it goes back to the forum homepage, but that's probably something to do with my whole config... thanks again.
Yeah probably a missing edit in the Admin.php or Subs.php depending on your SMF version
Can someone show me how to do this?
Is there a way of putting the (X) [Closed notifications] as the first thing that pops up and then everything else follows? Currently it's the opposite way around
Quote from: vbgamer45 on May 10, 2011, 02:09:39 PM
Yeah probably a missing edit in the Admin.php or Subs.php depending on your SMF version
Actually, I found the problem. Each edit was done twice in each file, probably due to a failed installation, and this caused ALL kinds of problems with the Admin panel... Thanks for the idea!
Great mode!! Thanks.
I have a question, what is this for? "Expiration duration of log items: 48" 48 months?
Thanks!!
48 seconds?
Indeed it's a great mod but I really disagree with the footer it inserts to index.template.php. Imagine if every mod inserted its own footer, we'd have a page three feet long!
It can be removed in sources/querystring.php
But this mod is not always working, dunno why...
I answer myself: 48 is 48 hours.
This mod is not working fine in SMF 1.1.13
Let's say there are 3 users, A, B and C.
Everyone wrote something in one particular topic, then A answer to this topic but only one of the others can see the notification, once its viewed by B, C will not see it. :(
Quote from: purplepaisley68 on January 03, 2011, 02:57:53 PM
Of course I have a few members who don't like it so I've added a Profile option to disable it.
Profile.template.php, find:
</tr><tr>
<td colspan="2">
<input type="hidden" name="default_options[view_newest_pm_first]" value="0" />
<label for="view_newest_pm_first"><input type="checkbox" name="default_options[view_newest_pm_first]" id="view_newest_pm_first" value="1"', !empty($context['member']['options']['view_newest_pm_first']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['recent_pms_at_top'], '</label>
</td>
Add after:
</tr><tr>
<td colspan="2"><label for="profile_enotify_disable">Enotifications</label>
<select name="default_options[profile_enotify_disable]" id="profile_enotify_disable">
<option value="0"', empty($context['member']['options']['profile_enotify_disable']) ? ' selected="selected"' : '', '>Enabled</option>
<option value="1"', !empty($context['member']['options']['profile_enotify_disable']) ? ' selected="selected"' : '', '>Disabled</option>
</select>
</td>
And in Load.php, find:
// enotify
global $settings, $modSettings, $scripturl;
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/jquery.jgrowl.css" />
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/enotify.js"></script>
<script type="text/javascript">
jQuery.noConflict();
(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>';
//end enotify
Replace with:
// enotify
global $settings, $modSettings, $scripturl, $options;
$options['profile_enotify_disable'] = !isset($options['profile_enotify_disable']) ? 0 : $options['profile_enotify_disable'];
if ($options['profile_enotify_disable'] == 0):
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/jquery.jgrowl.css" />
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/enotify.js"></script>
<script type="text/javascript">
jQuery.noConflict();
(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>';
endif;
//end enotify
There's probably a better way than using the $options as a global.
Edited to correct undefined index.
Which version does this apply to?
Can the ability for each user to enable/disable ENotify be made available for RC5?
The members of my forum have brought up to my attention some issues similar, if not identical, to the questions/comments people are posing.
Because of this, I've decided to remove eNotify... except I can't. It gives me a failure to remove a few key files (I think I mentioned it before).
Can anyone help me remove this? I'm on SMF 1.1.13. :)
Quote from: DHC on May 14, 2011, 03:05:59 PM
Which version does this apply to?
I'm on SMF 1.1.13 with Enotify 2.0.
Is this mod going to be fixed?
Is there a way of putting the (X) [Closed notifications] as the first thing that pops up and then everything else follows? Currently it's the opposite way around
No response, huh...
I don't know what to do. I really need to get this thing uninstalled, but I don't want to wreck my forum because of it.
If anyone knows what modifications I need to do to remove the error here:
4. Execute Modification ./Sources/ModSettings.php Test failed
please let me know.
hy
nice mod
but why my users getting again and again same notification
sometimes me got the notification of 6 months old reply of post
plz help
Quote from: Dr.IT on May 25, 2011, 10:35:36 AM
hy
nice mod
but why my users getting again and again same notification
sometimes me got the notification of 6 months old reply of post
plz help
Same problem here.
It would be my guess that for some reason those old posts are still marked as unread in the database because this mod checks that, does anyone try Mark All Posts Read? Are those posts being notified for appearing in the unread posts page? Typically when my users have read/unread issues I tell them to delete their cookies, mark all posts as read, and it fixes the problem. If not that, then try check/repairs on the database.
most of My members including me dont really use that button. So that may be the problem i donno. But it is definetely a wierd problem.
Hello,
I just found out that, with the mod installed login is not working perfectly. Enotify's is the only modification that I see in /sources/LogInOut.php, that's why I think it's the mod's fault.
What happens is that after logging in the user is not redirected to the last page he was reading (HTTP referral) but instead goes to the forum's main page...
Any help?
Thanks!
Quote from: Gryzor on June 07, 2011, 06:25:21 AM
Hello,
I just found out that, with the mod installed login is not working perfectly. Enotify's is the only modification that I see in /sources/LogInOut.php, that's why I think it's the mod's fault.
What happens is that after logging in the user is not redirected to the last page he was reading (HTTP referral) but instead goes to the forum's main page...
Any help?
Thanks!
Posted an update let me know if it helps
Nice :)
does the member also have option to enable / disable?
I can imagine that the member would like to have notification for the email... but maybe not for the forum part..
No member options at this time
Quote from: vbgamer45 on June 07, 2011, 06:53:59 AM
Quote from: Gryzor on June 07, 2011, 06:25:21 AM
Hello,
I just found out that, with the mod installed login is not working perfectly. Enotify's is the only modification that I see in /sources/LogInOut.php, that's why I think it's the mod's fault.
What happens is that after logging in the user is not redirected to the last page he was reading (HTTP referral) but instead goes to the forum's main page...
Any help?
Thanks!
Posted an update let me know if it helps
That was fast!!
Could you tell me what change you did so I can do it manually? Thanks!!
Made a change to Subs.php check the file .xml file for details
Quote from: vbgamer45 on June 07, 2011, 09:44:28 AM
Made a change to Subs.php check the file .xml file for details
I guess the change is action=viewsmfile-->action=entofiy so that the "remember URL' section reads:
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=entofiy') === false
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
Is this a typo? But even correcting entofiy to enotify makes my forum unable to load... can anyone else confirm?
What about the other issues? Are you planning to fix them?
Quote from: Jorge_CS_ on June 07, 2011, 10:16:38 AM
What about the other issues? Are you planning to fix them?
No. Not aware of anything else.
Can I ask if the latest version works for you - typo or no typo?
Haven't tried just made that quick change typo?
Quote from: vbgamer45 on June 07, 2011, 10:23:18 AM
Quote from: Jorge_CS_ on June 07, 2011, 10:16:38 AM
What about the other issues? Are you planning to fix them?
No. Not aware of anything else.
Really? a lot of people is getting the same error, and i explained an huge bug. Here it is...
Quote from: Jorge_CS_ on May 11, 2011, 06:28:54 PM
This mod is not working fine in SMF 1.1.13
Let's say there are 3 users, A, B and C.
Everyone wrote something in one particular topic, then A answer to this topic but only one of the others can see the notification, once its viewed by B, C will not see it. :(
Quote from: vbgamer45 on June 07, 2011, 11:37:02 AM
Haven't tried just made that quick change typo?
Well, it broke my forum altogether... :(
With package manager? If so I will check it.
No, I did it manually; I don't see much point in installing the whole mod just for one tiny change. I find the package manager very inadequate and a weak part of the software since more often than not it will throw errors... a user can't really hope to have lots of mods installed without manual intervention.
But what difference would it make, if I did it with the manager or not?
Nobody has posted a way to help me uninstall this mod... :(
Should I just try and uninstall anyway, even though the Package Manager is coughing up a "TEST FAILED" on the modsettings file?
Hi, can you make a mod to has this function? It was a function in IPB board where the user are in a topic, whenever someone reply a post in the topic, i will pop out a message in the topic only(if the user was still viewing the topic) that someone has posted something. Just like in the attachment.
Quote from: Jorge D. Fuentes on June 14, 2011, 10:26:07 PM
Nobody has posted a way to help me uninstall this mod... :(
Should I just try and uninstall anyway, even though the Package Manager is coughing up a "TEST FAILED" on the modsettings file?
Same problem here.
./Sources/ManageSettings.php Test failed
I tried to remove other mods before trying to uninstall ENotify, but it didn't work. I can't risk uninstalling the mod this way and I need your help. If you have an idea about how to solve this problem, I would be grateful.
It's my view that the SMF package manager sucks big, pure and simple. It only works until you install the first modification, after that it's all up to luck. It's very unfortunate and, lately, I've been installing mods manually because the manager just screws things up.
You can do the uninstall, nothing will be hurt, really, but you need to go into the files by hand and remove the mod's edits yourself.
Has anyone else been getting various error messages in the log file from this mod? The reference page is "...forum/index.php?action=enotify" and the errors are varied on things that do work. It only lists for "Guest", which means it's probably a bot trying to access the enotify system directly.
Any ideas?
For those with issues uninstalling, I personally run an exact duplicate of my live site (code/templates) for development/testing, you can then try the mod install/uninstall or manual edits without having to worry about borking your live site.
Quote from: Abavagada on June 16, 2011, 10:13:37 AM
Has anyone else been getting various error messages in the log file from this mod? The reference page is "...forum/index.php?action=enotify" and the errors are varied on things that do work. It only lists for "Guest", which means it's probably a bot trying to access the enotify system directly.
Yes, when I had this mod installed a whole bunch of bots started constantly accessing enotify, despite the fact they shouldn't even be able to see it since checking for new posts and PMs is obviously a members only feature. I wrote about this and other downsides of enotify (server overload by design, impossible uninstall) here before. (http://www.simplemachines.org/community/index.php?topic=343151.msg2943213#msg2943213)
vbgamer45, can you tell me how to place the [X] (close button) as the first button that pops up?
Quote from: shuban on June 20, 2011, 01:13:22 PM
vbgamer45, can you tell me how to place the [X] (close button) as the first button that pops up?
Yeah i need that too. i think that change would be very useful.
Quote from: PLAYBOY on June 20, 2011, 05:51:22 PM
Quote from: shuban on June 20, 2011, 01:13:22 PM
vbgamer45, can you tell me how to place the [X] (close button) as the first button that pops up?
Yeah i need that too. i think that change would be very useful.
Bump for this option :-\
Fatal error: Cannot redeclare enotify() (previously declared in /home/mwhead/public_html/Sources/ManageSettings.php:2163) in /home/mwhead/public_html/Sources/ManageSettings.php on line 2755
With Enotify installed with no Test Failures, I get this message when I try to access Admin -> Core Features, Admin -> Features and Options, and Admin -> Misc.
Please help!
Looks like was installed twice recheck your files you the package parser to find which files were modified and remove the duplicate code
I don't know what a package parser is....
Go on the modsite and find the manual install instructions for this mod then edit the files in reverse
Frick this is way too hard!!!
I get this error in my error log only from one of my members.
QuoteWrong value type sent to the database. Integer expected. (enot_time)
Any ideas? Solutions? Reasons?
Do you have a line number/file
Sorry i removed all of my errors to see if im gonna get the same errors again. But this is what i could find out when i clicked on "Back Button"
Ask me if you need any translation.
http://www.site.com/forum/index.php?action=enotify
Filtreyi Uygula: Sadece aynı iletiye ait hata iletilerini görüntüle
Wrong value type sent to the database. Integer expected. (enot_time)
Function: ENotifyUpdateUnreadReplies
Filtreyi Uygula: Sadece bu dosyaya ait hataları göster
Dosya: /home/site/public_html/forum/Sources/ENotify.php
Satır: 70
I seem to get an error for one perticular user:
Quote
http://forum.sevenstring.pl/index.php?action=enotify8:
Undefined index: id_member
File: forum.sevenstring.pl/Sources/Security.php
Line: 231
Do you have any ideas what could cause this error?
What's the edit to remove the copyright. The copyright has nothing to do with this MOD being installed.
EDIT:
Just decided to uninstall. I'd always give credit for a MOD author, but not a backlink to a site for advertisement :P
I really like this mod, and have enhanced it a bit to work more completely with the rest of my site. However, I have had to disable it, and will have to remove it if the constant errors from "Guests" accessing the forum issue isn't fixed. As it's been mentioned before, a Guest shouldn't even be able to access ENotify.
Everyone seems to like this mod (on our site) but also getting a lot of error messages - 600 this evening.
This is from logged in users but they have permission restrictions until they complete their membership;
http://#######.com/events/index.php?action=enotify
No valid boards were selected!
My servere deactivated my site due to overload.
I have been running a thread here: http://www.simplemachines.org/community/index.php?topic=441509.0;all
Someone pointed out this thread here http://www.simplemachines.org/community/index.php?topic=420223.msg2938099#msg2938099
where there was an issue with enotify
Eveything looked okay in my settings.php so I next thought enotify could be the problem. I uninstalled it and deleted it. A couple minutes later I got an enotify pop-up notice? Huh...I'd just deleted it--after uninstalling. My host activated me just so I could uninstall it and see if that was the issue.
The overload issue is continuing, but I am not certain that enotify is not the problem since I still had activity from it.
So I don't know what to do now?
Sorry, but I wasn't liking enotify anyway--it was constantly sending notices from threads I had posted on months ago and it was notofying me of months-old responses. And there were tons of notices--since it was going back months I guess there would be tons.
So did enotify change something in my other files that I need to fix?
What can I do now?
DO NOT INSTALL THIS MOD, IT BRINGS A TERRIBLE HEADACHE!!!
Quote from: Jorge_CS_ on July 13, 2011, 11:10:18 AM
DO NOT INSTALL THIS MOD, IT BRINGS A TERRIBLE HEADACHE!!!
Why?
Maybe you missed that several people in this thread had their websites closed down due to the massive abuse of resources by this mod.
Or the fact that this mod provably opens up access to member functions for bots.
And that it doesn't uninstall correctly as noted by a lot of people in this thread.
Not to mention the link to an advertising site that it places in the forum footer.
Resources is not the issue at all as long as you have high timeouts. That is poor hosting otherwise this is mod is without any issues.
When people can run SMF without problems and then get kicked by their host after installing this mod, it's not poor hosting.
By default Enotify requests and then displays the PMs and new messages of every member online every 10 seconds. That by itself is a massive increase of resource usage.
And my other points stand. I have proven in this thread before that Enotify gets accessed by guests and bots which further increases the resource needs and calls in question the security of this mod, as these are member functions.
Many others have described how Enotify doesn't uninstall correctly and they continue to have problems with bots accessing Enotify after uninstallation.
I'll give you that the advertising link is an ethical question which might be arguable.
The least you could do is put up a warning on the Enotify mod page that this mod significantly increases resource usage and should preferably be used on a self-hosted site to avoid problems with hosts, like the ones we've seen.
Quote from: Kolya on July 13, 2011, 03:06:23 PM
When people can run SMF without problems and then get kicked by their host after installing this mod, it's not poor hosting.
By default Enotify requests and then displays the PMs and new messages of every member online every 10 seconds. That by itself is a massive increase of resource usage.
People need to learn to research mod's and RTFM (including comments) before installing.
QuoteAnd my other points stand. I have proven in this thread before that Enotify gets accessed by guests and bots which further increases the resource needs and calls in question the security of this mod, as these are member functions.
In the day of context sensitive advertising and endless browser add-ons, in page links ( to enotify) is passed to bots for many reasons and is not exclusive to enotify.
QuoteMany others have described how Enotify doesn't uninstall correctly and they continue to have problems with bots accessing Enotify after uninstallation.
Any mod can have issues uninstalling, if people use modules they need to learn how to do it manually.
QuoteI'll give you that the advertising link is an ethical question which might be arguable.
You must be joking, countless themes include copyright links, and several modules. You can pay a donation to remove some of them.
QuoteThe least you could do is put up a warning on the Enotify mod page that this mod significantly increases resource usage and should preferably be used on a self-hosted site to avoid problems with hosts, like the ones we've seen.
99% of people won't read it anyway.
I love this mod, it's slick. With the correct settings, it didn't negatively affect my resources and it increased the amount of time my users were spending on the site which = increased ad revenue. Thank you vbgamer.
QuoteDO NOT INSTALL THIS MOD, IT BRINGS A TERRIBLE HEADACHE!!!
I love this mod. It keeps the members in the forum and keep them active. Yes it pushes the resources a bit but its not because of this mod is bad, its because we are cheap and our shared hosting companies are crappy. If we had a nice VPS this mod is sooo cool!
QuoteResources is not the issue at all as long as you have high timeouts.
Which timeouts and how do you increase it?
Adding something like this to this mod...
(http://img263.imageshack.us/img263/222/immiyfscreenshot1.png)
would be a very nice feature. So we can write stuff for the visitors and put a link for registering.
i second u^^
I also like this mod, and have added my own customizations.
However, until it stops being activated by bots, I've had to disable it. The bot access causes the log file to fill with errors because pages are accessed improperly and thus many variables are not defined.
Has anyone else that is praising it found this problem?
Quote from: PLAYBOY on July 15, 2011, 01:47:53 AM
Adding something like this to this mod...
(http://img263.imageshack.us/img263/222/immiyfscreenshot1.png)
would be a very nice feature. So we can write stuff for the visitors and put a link for registering.
You can parse it and add the code needed
http://custom.simplemachines.org/mods/index.php?mod=3107
(if you want to use that feature now)
QuoteYou can parse it and add the code needed
http://custom.simplemachines.org/mods/index.php?mod=3107
(if you want to use that feature now)
Adress is broken. There is no mod in the adress.
Thats pretty odd... where you get the screenshot then?
Its used in that mod (not aproved yet, but I guess it is visible with a warning)
Edit: it looks like only the autor can see it... lol... anyway where you found the screenshot??
I got the shot from one of the espanol topics :D
No habla espanol :D
Therefore i just got the picture and put it here :)
Quote from: PLAYBOY on July 15, 2011, 01:50:49 PM
I got the shot from one of the espanol topics :D
No habla espanol :D
Therefore i just got the picture and put it here :)
Ohh, I see, hehehe... http://www.simplemachines.org/community/index.php?topic=418697.0
There you can download the file and watch the code/files, it is not too complicated to install (if you are using enotify do not add the jquery library call again).
The latest/better is version 0.2.2 (0.2 for smf < 2.0 gold)
I dont even understand what is the topic about there? Therefore i wouldnt really want to download and install the file. But if there is a mod will be coming up, i can definetely check that out. Just lemme know the link when its approved.
So right now i have 3 issues about this mod if somebody help me about them i would be very grateful...
1- How to place the [X] (close button) as the first button that pops up? so like on the top instead of bottom.
2- adding this to enotify would be very nice and useful.
(http://img263.imageshack.us/img263/222/immiyfscreenshot1.png)
3- I "still" get lots of this error in my error log.
http://www.site.com/forum/index.php?action=enotify
Wrong value type sent to the database. Integer expected. (enot_time)
Function: ENotifyUpdateUnreadReplies
Filtreyi Uygula: Sadece bu dosyaya ait hataları göster
Dosya: /home/site/public_html/forum/Sources/ENotify.php
Line: 70
This is the part of the ENotify.php
It maybe useful
// This is our query we use ignore to make sure we don't get an error if the record exists (unique field defined to avoid the extra select query)
$smcFunc['db_insert']('ignore',
'{db_prefix}log_enotify_replies',
array('enot_item_id' => 'int', 'enot_title' => 'string-255', 'enot_time' => 'int', 'enot_link' => 'text', 'enot_sender' => 'string-255', 'enot_sender_link' => 'text', 'id_member' => 'int'),
array($topic['last_post']['id'], $topic['last_post']['subject'], $topic['last_post']['timestamp'], $topic['last_post']['href'], $topic['last_post']['member']['name'], $topic['last_post']['member']['href'], $context['user']['id']),
array('id_enot')
); <<<< LINE 70
}
}
}
Any help?
I need help especially for the issue #1
Quote from: Jorge_CS_ on May 11, 2011, 06:28:54 PM
This mod is not working fine in SMF 1.1.13
Let's say there are 3 users, A, B and C.
Everyone wrote something in one particular topic, then A answer to this topic but only one of the others can see the notification, once its viewed by B, C will not see it. :(
What about this vbgamer?
I don't know busy at the moment may look at it in a couple weeks
Quote from: PLAYBOY on July 16, 2011, 10:30:57 PM
So right now i have 3 issues about this mod if somebody help me about them i would be very grateful...
1- How to place the [X] (close button) as the first button that pops up? so like on the top instead of bottom.
see http://stanlemon.net/projects/jgrowl.html (position?)
Quote from: PLAYBOY on July 16, 2011, 10:30:57 PM
2- adding this to enotify would be very nice and useful.
(http://img263.imageshack.us/img263/222/immiyfscreenshot1.png)
Until vbgamer have more time you may want to watch the files that I have pointed you before: http://www.simplemachines.org/community/index.php?topic=418697.0
It is not too dificult to implement by your own adding a few codes and files
(I have no idea when the smf team will aprove that mod)
Quote from: luuuciano on July 18, 2011, 07:29:21 PM
Quote from: PLAYBOY on July 16, 2011, 10:30:57 PM
So right now i have 3 issues about this mod if somebody help me about them i would be very grateful...
1- How to place the [X] (close button) as the first button that pops up? so like on the top instead of bottom.
see http://stanlemon.net/projects/jgrowl.html (position?)
Quote from: PLAYBOY on July 16, 2011, 10:30:57 PM
2- adding this to enotify would be very nice and useful.
Until vbgamer have more time you may want to watch the files that I have pointed you before: http://www.simplemachines.org/community/index.php?topic=418697.0
It is not too dificult to implement by your own adding a few codes and files
(I have no idea when the smf team will aprove that mod)
Cool... Thank you...
Now my major problem is the X... Do you think you can help me out on how to put the X(Close) button come up on the top, instead of bottom?
(http://www.smfturk.net/forum/index.php?action=dlattach;topic=6841.0;attach=913)
I would really appreciate... if you can do this.
Now my major problem is the X... Do you think you can help me out on how to put the X(Close) button come up on the top, instead of bottom?
I really need this also, many members are starting to complain :-\
Can anybody tell me why this mod doesn't work in Firefox or Safari?
I use firefox and it works fine - maybe your security setting and popup rules.
QuoteHow to place the [X] (close button) as the first button that pops up? so like on the top instead of bottom.
I found the solution guys!
add this
div.jGrowl:first-child {
margin-top: 18px;
}
div.jGrowl div.jGrowl-closer {
position: fixed;
top: 0;
}
at the end of jquery.jgrowl.css
Thas it!
Can somebody please tell me how to add an option for each member to turn off this feature?
This is very critical for me!
Quote from: PLAYBOY on July 25, 2011, 02:32:45 AM
Can somebody please tell me how to add an option for each member to turn off this feature?
This is very critical for me!
I posted 1.x code for the member option here:
http://www.simplemachines.org/community/index.php?topic=343151.msg3044440;topicseen#msg3044440
How do i modify this into 2.0? Codes are different.
I uninstalled and delted the mod. I was just trying a few mods to see if we liked them. I may not have had the settings right and don't know how to use it. But no one likes it.
The problem is, it is still functioning. My people don't like the black boxes popping up all the time and want it gone--but technically it should be gone.
What do I do?
Quote from: PLAYBOY on July 25, 2011, 02:27:04 AM
QuoteHow to place the [X] (close button) as the first button that pops up? so like on the top instead of bottom.
I found the solution guys!
add this
div.jGrowl:first-child {
margin-top: 18px;
}
div.jGrowl div.jGrowl-closer {
position: fixed;
top: 0;
}
at the end of jquery.jgrowl.css
Thas it!
No it actually didnt work.
Can somebody help about this please? I just want to move the X (closing div) to top.
This is the related code in themes/default/jquery.jgrowl.css
div.jGrowl div.jGrowl-closer {
height: 15px;
padding-top: 4px;
padding-bottom: 4px;
cursor: pointer;
font-size: 11px;
font-weight: bold;
text-align: center;
}
and this is the related code in themes/default/enotify.js
(function($){$.jGrowl=function(m,o){if($('#jGrowl').size()==0)$('<div id="jGrowl"></div>').addClass($.jGrowl.defaults.position).appendTo('body');$('#jGrowl').jGrowl(m,o);};$.fn.jGrowl=function(m,o){if($.isFunction(this.each)){var args=arguments;return this.each(function(){var self=this;if($(this).data('jGrowl.instance')==undefined){$(this).data('jGrowl.instance',$.extend(new $.fn.jGrowl(),{notifications:[],element:null,interval:null}));$(this).data('jGrowl.instance').startup(this);}
if($.isFunction($(this).data('jGrowl.instance')[m])){$(this).data('jGrowl.instance')[m].apply($(this).data('jGrowl.instance'),$.makeArray(args).slice(1));}else{$(this).data('jGrowl.instance').create(m,o);}});};};$.extend($.fn.jGrowl.prototype,{defaults:{pool:0,header:'',group:'',sticky:false,position:'top-right',glue:'after',theme:'default',corners:'10px',check:250,life:3000,speed:'normal',easing:'swing',closer:true,closeTemplate:'×',closerTemplate:'<div>[ X ]</div>',log:function(e,m,o){},beforeOpen:function(e,m,o){},open:function(e,m,o){},beforeClose:function(e,m,o){},close:function(e,m,o){},animateOpen:{opacity:'show'},animateClose:{opacity:'hide'}},notifications:[],element:null,interval:null,create:function(message,o){var o=$.extend({},this.defaults,o);this.notifications[this.notifications.length]={message:message,options:o};o.log.apply(this.element,[this.element,message,o]);},render:function(notification){var self=this;var message=notification.message;var o=notification.options;var notification=$('<div class="jGrowl-notification'+((o.group!=undefined&&o.group!='')?' '+o.group:'')+'"><div class="close">'+o.closeTemplate+'</div><div class="header">'+o.header+'</div><div class="message">'+message+'</div></div>').data("jGrowl",o).addClass(o.theme).children('div.close').bind("click.jGrowl",function(){$(this).parent().trigger('jGrowl.close');}).parent();(o.glue=='after')?$('div.jGrowl-notification:last',this.element).after(notification):$('div.jGrowl-notification:first',this.element).before(notification);$(notification).bind("mouseover.jGrowl",function(){$(this).data("jGrowl").pause=true;}).bind("mouseout.jGrowl",function(){$(this).data("jGrowl").pause=false;}).bind('jGrowl.beforeOpen',function(){o.beforeOpen.apply(self.element,[self.element,message,o]);}).bind('jGrowl.open',function(){o.open.apply(self.element,[self.element,message,o]);}).bind('jGrowl.beforeClose',function(){o.beforeClose.apply(self.element,[self.element,message,o]);}).bind('jGrowl.close',function(){$(this).data('jGrowl').pause=true;$(this).trigger('jGrowl.beforeClose').animate(o.animateClose,o.speed,o.easing,function(){$(this).remove();o.close.apply(self.element,[self.element,message,o]);});}).trigger('jGrowl.beforeOpen').animate(o.animateOpen,o.speed,o.easing,function(){$(this).data("jGrowl").created=new Date();}).trigger('jGrowl.open');if($.fn.corner!=undefined)$(notification).corner(o.corners);if($('div.jGrowl-notification:parent',this.element).size()>1&&$('div.jGrowl-closer',this.element).size()==0&&this.defaults.closer!=false){$(this.defaults.closerTemplate).addClass('jGrowl-closer').addClass(this.defaults.theme).appendTo(this.element).animate(this.defaults.animateOpen,this.defaults.speed,this.defaults.easing).bind("click.jGrowl",function(){$(this).siblings().children('div.close').trigger("click.jGrowl");if($.isFunction(self.defaults.closer))self.defaults.closer.apply($(this).parent()[0],[$(this).parent()[0]]);});};},update:function(){$(this.element).find('div.jGrowl-notification:parent').each(function(){if($(this).data("jGrowl")!=undefined&&$(this).data("jGrowl").created!=undefined&&($(this).data("jGrowl").created.getTime()+$(this).data("jGrowl").life)<(new Date()).getTime()&&$(this).data("jGrowl").sticky!=true&&($(this).data("jGrowl").pause==undefined||$(this).data("jGrowl").pause!=true)){$(this).trigger('jGrowl.close');}});if(this.notifications.length>0&&(this.defaults.pool==0||$(this.element).find('div.jGrowl-notification:parent').size()<this.defaults.pool)){this.render(this.notifications.shift());}
if($(this.element).find('div.jGrowl-notification:parent').size()<2){$(this.element).find('div.jGrowl-closer').animate(this.defaults.animateClose,this.defaults.speed,this.defaults.easing,function(){$(this).remove();});};},startup:function(e){this.element=$(e).addClass('jGrowl').append('<div class="jGrowl-notification"></div>');this.interval=setInterval(function(){$(e).data('jGrowl.instance').update();},this.defaults.check);if($.browser.msie&&parseInt($.browser.version)<7&&!window["XMLHttpRequest"])$(this.element).addClass('ie6');},shutdown:function(){$(this.element).removeClass('jGrowl').find('div.jGrowl-notification').remove();clearInterval(this.interval);}});$.jGrowl.defaults=$.fn.jGrowl.prototype.defaults;})(jQuery);
Why did it work in the beginning and then stopped? :-\
Good question. I donno. I think i got confused with the X sign which comes on top right corner of every popup.
Wrong value type sent to the database. Integer expected. (enot_time)
Function: ENotifyUpdateUnreadReplies
Filters: Sadece bu dosyaya ait hataları göster
File: /home/site/public_html/forum/Sources/ENotify.php
Line: 70
Is there a solution for this?
No solution at this time
So is everybody getting tons of this error? or am i the only one? I mean what is the cause of it?
Don't know don't have the time to look into now.
To get rid of all the error messages in your logs from guests and bots trying to access enotify:
1) open the file Sources/ENotify1.php
2) find the function ENotifyMain
3) After the line
is_not_guest();
put:
if ($context['user']['is_logged']) {
4) at the end of the function, before
// We use this to deactivate the SMF Wrapping Templates
put
}
It just skips over the calls to do things if the person isn't logged in.
Thank you. I also have this error.
http://www.site.com/forum/index.php?amp;action=enotify
8: Undefined index: allow_moderation_center
file: /home/site/public_html/forum/Sources/Subs.php
line: 4448
Is it possible to configure this so that the last 10 updates are shown only.
Quote from: shuban on August 14, 2011, 09:46:08 PM
Is it possible to configure this so that the last 10 updates are shown only.
In ENotifyLoad() from Enotify.php
it's probably sufficient to change
ORDER BY enot_time DESC , to ORDER BY enot_time DESC LIMIT 10',
in the two queries.
hey a big problem i m using vertex theme ! bulletinblips.com the problem when i installed this working fine but when someone reply me ! its appears in the box and vanish but after that reply my theme crush ? its not even working properly please guide me how to use it with my theme ? drop down menu not closing now my hollow ball is not moving as well !
Hi, just a (hopefully) quick question:
Is there a way to change the username displayed on the alerts from the actual login name to the user's display name? For example, my login name might be "john12345" but my display name is "John Smith" - I'd like "John Smith" to show up on eNotify alerts instead of "john12345."
Thanks in advance for any help.
What does this mean: Expiration duration of log items, what's the best number to put so the server doesn't get affected.
i am seeing enotify by createsAforum.com 3 times and on 3 different lines in my footer and now i cannot access features and options and also modefication settings in my admin panel, it always come-up with this error
Fatal error: Cannot redeclare enotify() (previously declared in /
home/seeker/public_html/Sources/ManageSettings.php:2254) in /
home/seeker/public_html/Sources/ManageSettings.php on
line 2387
pls what can i do to this,becos i tried uninstalling this mod, it un-install but i am still get the error
thanks
Attach your Sources/QueryString.php and Sources/ManageSettings.php
This occurred since it was installed over another install of enotify which caused the code to be installed twice.
i just attached the 2 files QueryString.php and ManageSettings.php
thanks
beware this mod could become a serious hog when your posts count rise above 100k. Indeed this is caused by the Create Temporary tables used in Recent.php, which is switched on when posts count rise avove 100k.
In my experience this trick is absolutly not necessary and could be severely counterproductive, so if you encounter severe performance problems edit the Recent.php and raise the 100k limit to 1M or whatever.
Fixed files attached
Quote from: butch2k on August 30, 2011, 06:04:06 AM
beware this mod could become a serious hog when your posts count rise above 100k. Indeed this is caused by the Create Temporary tables used in Recent.php, which is switched on when posts count rise avove 100k.
In my experience this trick is absolutly not necessary and could be severely counterproductive, so if you encounter severe performance problems edit the Recent.php and raise the 100k limit to 1M or whatever.
How?
Check the two lines in Recent.php with $modSettings['totalMessages'] > 100000
and replace the 100000 by whatever value you want which is greater than your number of posts. This code is particularly inneficient and cause many problems not only with Enotify.
Quote from: butch2k on August 30, 2011, 04:59:53 PM
Check the two lines in Recent.php with $modSettings['totalMessages'] > 100000
and replace the 100000 by whatever value you want which is greater than your number of posts. This code is particularly inneficient and cause many problems not only with Enotify.
Thanks.
Can somebody PLEASE make the "X [Close]" button appear first before any recent message is being listed.??? I desperetaly need it. My members complaint so much about this and i feel like i will end up uninstalling this mod only because they cant disable this feature nor, they can close it easily.
Why do they complain exactly ?
Because of scrolling down to reach the "close all" ?
If so you can limit the number of items displayed at a time by using
$.jGrowl.defaults.pool = 5; in the js inserted in index.template.php
You need to modify the jGrowl source.
Change
.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
into
.prependTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Quote from: butch2k on August 31, 2011, 06:50:57 AM
You need to modify the jGrowl source.
Change
.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
into
.prependTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Which file is this code exactly? I couldnt find it.
Is this gonna make "Close All" button appear the first, before the messages on the top?
check enotify.js (i heavily modded this mod but this is the file to check.)
Yes it would append the [X] before the notification rahter than after
I couldnt find this code so i can change it.
Quote.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Can you please tell me the exact name and path of the file? Because i couldnt find it in enotify.js either.
Quote from: PLAYBOY on September 01, 2011, 02:32:26 AM
I couldnt find this code so i can change it.
Quote.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Can you please tell me the exact name and path of the file?
Because i couldnt find it in enotify.js either.
I found it but it didn't work ???
Quote from: butch2k on August 31, 2011, 06:42:56 AM
Why do they complain exactly ?
Because of scrolling down to reach the "close all" ?
If so you can limit the number of items displayed at a time by using
$.jGrowl.defaults.pool = 5; in the js inserted in index.template.php
Could you explain this better. This mod doesn't make modifications to index.template.php.
Would probably in sources/load.php
Quote from: shuban on September 01, 2011, 05:26:07 PM
Quote from: PLAYBOY on September 01, 2011, 02:32:26 AM
I couldnt find this code so i can change it.
Quote.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Can you please tell me the exact name and path of the file?
Because i couldnt find it in enotify.js either.
I found it but it didn't work ???
Its not in enotify.js
Where is it exactly?
Quote from: PLAYBOY on September 01, 2011, 07:35:20 PM
Quote from: shuban on September 01, 2011, 05:26:07 PM
Quote from: PLAYBOY on September 01, 2011, 02:32:26 AM
I couldnt find this code so i can change it.
Quote.appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Can you please tell me the exact name and path of the file?
Because i couldnt find it in enotify.js either.
I found it but it didn't work ???
Its not in enotify.js
Where is it exactly?
It is, at the end, look closer, took me sometime to find it.
Attached is my enotify.js
Can you show my where is .appendTo(self.element).animate(this.defaults.animateOpen, this.defaults.speed, this.defaults.easing)
.bind("click.jGrowl", function() {
$(this).siblings().trigger("jGrowl.beforeClose");
Because i cant find it at all???
Personally i use the latest version of jGrowl javascript file not the one shipping with the mod, i suggest you do the same as the one in the mod is quite old. You need to replace the enotify.js file with the jgrowl.js file and you are good to go.
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/wwwkill/public_html/Sources/Subs.php on line 797
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/wwwkill/public_html/Sources/Subs.php on line 803
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/wwwkill/public_html/Sources/Subs.php on line 821
This is the error which i get when i try to make database
It's a php issue.
Verify your timezone settings in php.ini
I use a lot of vbgamers mods (no smiley bowing - wish there was one)... but every time i check new replies to enotify its always busy :P
Does this mod carry a health warning? server and admin?
Check my recommandation about the 100k messages limit. Indeed the create temporary table used by SMF is a server killer, it raises the server load to very high level, disabling it solves most performance issues encountered with this mod.
First off, I absolutely love this mod, as do many people on my forum. However, each time I try to apply it, it works great....until I start getting 503 Errors due to capacity loads...
At first, I assumed it was my web host having issues, but as soon as I disabled ENotify, the issues went away, and they return each time I re-apply the mod.
I thought it may have to do with butch's mention of the 100K thing, however, our forum is quite small. The highest post count is only ~500, and we never have more than 25-50 people online at a time.
Any idea?
The 100k isssue applies to the total number of messages posted since the beginning of your forum, it's not a per/day or per thread value.
It was the root of all my issues with this mod. Indeed i tested it on my beta board which is a subset of my live board and did not encounter any issue (i was under 100k messages) and when applying the mod on my live board the cpu load skyrocketed and i easily traced the issue to the temporary table creation through innotop.
It creates a lot of contentions especially with persistant connections. Indeed temporary tables are dropped when the connection close yet with persistant connections those tables are not dropped automatically as persistant connections do not close.
The whole temporary table creation is an ugly mess that causes more troubles than it solves, i firmly believe it should be removed from newer version of SMF.
Quote from: butch2k on September 16, 2011, 04:06:11 AM
The 100k isssue applies to the total number of messages posted since the beginning of your forum, it's not a per/day or per thread value.
It was the root of all my issues with this mod. Indeed i tested it on my beta board which is a subset of my live board and did not encounter any issue (i was under 100k messages) and when applying the mod on my live board the cpu load skyrocketed and i easily traced the issue to the temporary table creation through innotop.
It creates a lot of contentions especially with persistant connections. Indeed temporary tables are dropped when the connection close yet with persistant connections those tables are not dropped automatically as persistant connections do not close.
The whole temporary table creation is an ugly mess that causes more troubles than it solves, i firmly believe it should be removed from newer version of SMF.
Could you tell me how to disable the temporary creation of tables? I'm using 1.x
check for the 100000 value in Recent.php. IIRC 1.1.x use the same file as 2.0, and replace 100000 by whatever number is greater than your total number of posts by a large margin.
I have used Enotify our forum, which was hoster on Shared Host.
And i had to take it down, Enotify causes many processors running in BAckend, its resource consuming.
Even on VPS it causes Resourses.
New Version Any better?
Can we attach Facebook account to this mod.?? ???
Quote from: Shrink on October 03, 2011, 12:01:12 AM
Can we attach Facebook account to this mod.?? ???
Don't understand. What are you trying to do
Adding notifications from FB account into SMF ?
something it works something it don't. It doesnt work everytime. best option?
This mod have a huge potential but it definetely needs to be upgraded.
1- Each user should be able to change their settings and turn it on/off
2- X (close) button should definitely appear on the top. Not the bottom of 50 new warnings every time a person signs in.
3- Adding the fb account into smf would also be pretty cool.
4- It can also be combined with this the "Invitation Message In Your Face (IMIYF)" mod because its about the same thing but for visitors only.
Hi, i'm going to install on my 1.1.14
of you version ENotify2.0.1
but I got an error
Execute Modification ./Sources/ModSettings.php Test failed
Quote from: thegto on December 03, 2011, 06:23:45 AM
Hi, i'm going to install on my 1.1.14
of you version ENotify2.0.1
but I got an error
Execute Modification ./Sources/ModSettings.php Test failed
I disabled this mod a long time ago because it eats up your resources like crazy.
Unable to integrate "sa facebook connect" plugin and "Enotify" plugin both at a forum. It clashes or give errors after integration.
This is the error:
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Please help me install both this plugin as I need it much !!!
Where might be the issue ?
If anyone guide me which file should be modified, I will do it and try :)
Parse error: syntax error, unexpected $end, expecting '(' in /home/thrscom/public_html/foetest/Sources/ModSettings.php on line 340
1.1.15
getting hundreds of errors per hour with this mod...works though
Apply Filter: Only show the error messages of this URL
http://www.tech4talk.net/index.php?action=enotify
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /home/techtalk/public_html/Themes/ds-natural_20/index.template.php
Line: 364
can anyone tell me why? is it to do with the 10 second refresh/check?
thanks
Whats on line
File: /home/techtalk/public_html/Themes/ds-natural_20/index.template.php
Line: 364
Hi vbgamer45
just want to say thanks for all your mods, they are brilliant.
anway, in Dreamweaver at line 364 for that PHP file is
<a class="', $button['active_button'] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '><span>', $button['title'], '</span></a>';
thanks
Looks like a theme issue since $button['title'] is not getting defined in that case
You can try code like
if (!isset($button['title']))
$button['title'] = '';
thanks for reply.
exactly where.how would i put that into the existing code? (i dont know PHP etc..) but i could insert it if i was told what to remove and where to add it.
thanks again
I would put above before the echo statement.
sorry I still unclear as to where it goes...
here is code from it if it helps you explain what to change?:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
<ul id="topnav">';
foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '><span>', $button['title'], '</span></a>';
if (!empty($button['sub_buttons']))
{
echo '
<ul>';
foreach ($button['sub_buttons'] as $childbutton)
{
echo '
<li>
<a href="', $childbutton['href'], '"', isset($childbutton['target']) ? ' target="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';
Right after
foreach ($context['menu_buttons'] as $act => $button)
{
I put it right where you said and all my buttons/links disappeared apart from LOGOUT
here is what it looked like:
foreach ($context['menu_buttons'] as $act => $button)
if (!isset($button['title']))
$button['title'] = '';
{
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '><span>', $button['title'], '</span></a>';
Aw, you ignored my reply or probably didn't see.
Parse error: syntax error, unexpected $end, expecting '(' in /home/thrscom/public_html/foetest/Sources/ModSettings.php on line 340
1.1.15
After the {
ok thanks
here is what its at now and forum seems to be operating just fine, is this correct?
will keep eye on errors:
foreach ($context['menu_buttons'] as $act => $button)
{
if (!isset($button['title']))
$button['title'] = '';
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '><span>', $button['title'], '</span></a>';
thanks again VBgamer45
yup that looks good
Brillaint work. Thanks a lot. Would be great, if you can add FB like ever last notification like 5, 2 etc so that people know there are alerts even when the black box disappears.
now having new problems, SA Facebook and Twitter integration mods login wont work with E-NOTIFY installed - when its installed and try to login using FB or TW buttons we get a white page with:
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
when E-Notify is uninstalled the login works fine
I have told SA about this too
if I have uninstalled E-Notify, will I have to remove that code I added to try and help with the errors?
thanks
pls i mistakingly install this mod 3 time in my forum and it cause some icon in my admin panel not to open . Now i went back to my package manager to uninstall it ,now i can see only 2 Enotify by CreateAForum.com in my footer even when there is none installed in my package manager, pls what can i do
Attach your Sources/QueryString.php
Quote from: vbgamer45 on January 06, 2012, 11:29:53 AM
Attach your Sources/QueryString.php
pls see attached file for the Sources/QueryString.php you requested for and this is the error i am always getting in my cpanel
Fatal error: Cannot redeclare enotify()
(previously declared in /home/seeker/
public_html/Sources/
ManageSettings.php:2254) in /home/
seeker/public_html/Sources/
ManageSettings.php on line 2387
thx
Attach ManageSettings.php too
Updated QueryString attached
@ vbgamer45 sorry for disturbing you i just realise you have once helped me to solve this particular problem on page 27 and i just used it and it worked well and i can now use all menu on my cpanel but the only problem now is that i may not be able to use this enotify on my forum again until i remove the last enotify showing on my footer . I.e it will 3 before and i use the package manager to uninstall 1 and the solution you gave me above also uninstall another 1, so i am lefte with 1 . Pls what can i do? Thx for your time
pls note that the 2 files you ask for are already on page 27
I'm facing a weird problem. For example I have 3 tabs open: X Topic, BoardIndex and Admin Panel. Admin Panel is the last tab I opened. When I go to X Topic and receive a notification, it doesn't show in the active tab (X Topic), but on the last opened tab (Admin Panel). I can't see the notification until I go back to last opened tab. Anyone have the same problem or any idea why this happens?
Quote from: Yağız... on January 07, 2012, 07:14:38 PM
I'm facing a weird problem. For example I have 3 tabs open: X Topic, BoardIndex and Admin Panel. Admin Panel is the last tab I opened. When I go to X Topic and receive a notification, it doesn't show in the active tab (X Topic), but on the last opened tab (Admin Panel). I can't see the notification until I go back to last opened tab. Anyone have the same problem or any idea why this happens?
Dear vbgamer what about this problem. I have the same problem. Thanks
Not sure if I can fix that one. I think one tab takes control since the script is loaded in three tabs then so it will update one of them.
there is a typo in the code vb both install1.xml and install.xml
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=entofiy') === false
should be
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=enotify') === false
Thanks SA updated and fixed!
I'm getting this error when I'm trying to install it.
5. Execute Modification ./Sources/Admin.php Test failed
1. Replace ./Sources/Admin.php Test failed
Could you tell me what code I have to put into Admin.php so I can do it manually? :)
Is there an option in the users profiles where they can turn it off? I looked through my own profile but I could not see the option, maybe I'm blind.
I don't believe there is.
The Alerts Pro mod has that option (at least they can setup wich notifications to receive... if they put all off, it is almost the same)
http://www.smfpacks.com/alertmod
Is there any way to make the notification stay up longer?
I think there is timeout setting that can be set in enotify to allow to stay longer. Or at least how quick notifications are checked
I guess you mean in the Enotify.php? I can't find anything that pops out at me to be honest, I'll try searching more but if you could tell me exactly what to look for that would be great!
There should be a settings area in the admin panel for entofiy i think under features and options
Oh I found it, thanks!
I was missing the:
'enotify' => array('ENotify'),
From my admin.php, added it in and now it works!
Glad you got it working!
Is there a way to put it on custom themes?
It should work on custom themes ok.
When i modified Enotify in order to reduce the load incured to the server, i added the option to stop Enotify from querying the server after X requests. It definitely helps reducing the load when someone opens up 10 tabs in his browser and leave them open all day long w/o even touching them...
Is there a way to make it leave the notifications up until the person x's them out?
Quote from: braddasexy on February 08, 2012, 06:18:11 PM
Is there a way to make it leave the notifications up until the person x's them out?
No way currently
Quote from: braddasexy on February 08, 2012, 06:18:11 PM
Is there a way to make it leave the notifications up until the person x's them out?
You may try setting sticky to true, no idea if that is what you want
http://stanlemon.net/pages/jgrowl
Yes it will do the trick, that's what i use on my server.
Quote from: luuuciano on February 09, 2012, 01:23:09 AM
Quote from: braddasexy on February 08, 2012, 06:18:11 PM
Is there a way to make it leave the notifications up until the person x's them out?
You may try setting sticky to true, no idea if that is what you want
http://stanlemon.net/pages/jgrowl
How would I do that? I have no clue how to make that setting or where. Thanks for the help!
Try on $sourcedir/Load.php
2 lines (two times)
$.jGrowl(item.message, { header: item.title, life: ' . $modSettings['enotify_life'] . ' });
to
$.jGrowl(item.message, { header: item.title, life: ' . $modSettings['enotify_life'] . ' , sticky: true });
I have not tested it...
Can I make the notification for profile comment mods as well?
You can make it but it is not built in.
Thx, wondering what files to I need to edit?
Thx
This is a really nice mod, been using it on one of my sites for over a year, recently I added a sound effect, just plays a sound when a notification is made, it was easy to do by adding an HTML5 audio tag to the ENotify1.template.php.
Might be an option others would like.
EDIT:
Or maybe not.
I've been testing the added sound to this Enotify across browsers and think I have it working on them all now.
The sound will only work in HTML5 browsers but we all have up-to-date browsers don't we?
To make it work on all boards in the forum I have hard wired the sound URL into the template, not being an expert with SMF there might be a better way of doing it but for me this is working fine, you will need to put your URL in the code.
You will also need to make a notify.mp3 and a notify.ogg that you up-laod to your site, we need both mp3 and the ogg for cross browser support.
In ENotify1.template.php
Find:
$message = '<a href=\''. $enot['href']. '\'>'. $enot['sender']. ' '. $txt['notification_reply_sent']. ' \''. $enot['title']. '\'.</a>
add after:
<audio autoplay><source src=http://your-site-url/notify.mp3 type=audio/mp3 /><source src=http://your-site-url/notify.ogg type=audio/ogg /></audio>
Find:
$message = '<a href=\''. $enot['href']. '\'>'. $enot['sender']. ' '. $txt['notification_pm_sent']. ' \''. $enot['title']. '\'.</a>
add after:
<audio autoplay><source src=http://your-site-url/notify.mp3 type=audio/mp3 /><source src=http://your-site-url/notify.ogg type=audio/ogg /></audio>
What sound do you have?
Its just a short sound I made on the PC, the mp3 is only 3k and the ogg is 18k all you need is a short sound, there are plenty out there if you google free sound effects or something like that and also sites that do free file type conversion online too.
Don't think this site would let me give you a link to mine yet.
Or would it:
http://homepage.ntlworld.com/datahopa/downloads/Notify%20Sounds.zip
Kind of, try them if you like.
EDIT:
And one other thing:
For some reason I had to restart my browser to get Enotify to work after I made the changes to ENotify1.template.php
great and useful modification.
Maybe the HTML5 sound could be added to the next version of Enotify, with an option for the members to turn it on or off, but with the default being set to on of course ;)
Quote from: Datahopa on February 20, 2012, 08:05:19 AM
Maybe the HTML5 sound could be added to the next version of Enotify, with an option for the members to turn it on or off, but with the default being set to on of course ;)
I like the idea as an option
Hi vbgamer45, I thought it would appeal to more people if it had the option to turn off.
Frankly my php skills are not up to the job, and I have the feeling yours are, then do it :) and if you like you can use my sounds, I made them and in affect own the copyright on them, you have my permission to use them for this mod and distribute them with the mod.
I like the sound and have grown use to it 8)
Hello...
I just install Enotify 2.0.2
When i go to Enotify settings and press Submit button i get this error :
Fatal error: Call to undefined function saveDBSettings() in /home/vinilio/public_html/Sources/ManageSettings.php on line 2358
Can somebody help me?
Thank you very much.
Quote from: Datahopa on February 20, 2012, 12:04:13 PM
Hi vbgamer45, I thought it would appeal to more people if it had the option to turn off.
Frankly my php skills are not up to the job, and I have the feeling yours are, then do it :) and if you like you can use my sounds, I made them and in affect own the copyright on them, you have my permission to use them for this mod and distribute them with the mod.
I like the sound and have grown use to it 8)
http://www.simplemachines.org/community/index.php?topic=343151.msg2900862#msg2900862 (http://www.simplemachines.org/community/index.php?topic=343151.msg2900862#msg2900862)
Don't have the time at the moment.
Any chance of letting us know what edits I'd have to make to make the notifications show in the bottom left corner?
I don't know them offhand.
Quote from: EddieC on March 13, 2012, 11:16:08 AM
Any chance of letting us know what edits I'd have to make to make the notifications show in the bottom left corner?
look at jGrowl Options on
http://stanlemon.net/pages/jgrowl
Quote from: luuuciano on March 13, 2012, 12:40:19 PM
Quote from: EddieC on March 13, 2012, 11:16:08 AM
Any chance of letting us know what edits I'd have to make to make the notifications show in the bottom left corner?
look at jGrowl Options on
http://stanlemon.net/pages/jgrowl
Nice one mate :)
For anyone else interested it's the file enotify.js you need to edit, search the file for 'top-right' (W/O quotes, only appears once in the file) and replace with 'bottom-left'.
Quote from: Kolya on February 07, 2011, 07:31:53 AM
I cannot recommend this mod.
First it installs an ad-link in the copyright line. No other mod I've ever installed did this an I don't think it's appropriate.
Then it hits the server like an iron gloved fist, sending requests every 10 seconds for every member who's online. As Arantor has observed, this isn't even a mistake but by design. Just to give you an impression: In 5 days this mod amassed as many page views as we'd had in the whole last year. And chances are your host will kick you out swiftly just for the dent this makes in server memory and computing power.
But the real fun starts, after you uninstall it, as you sooner or later will: Because it doesn't uninstall completely. I ran into the same problem described by others above. I have now around 30 guests with "unknown action" in the online list. Considering guests should at no point be able to use Enotify, this is a bit weird. But I looked them up in the database (Table: smf_log_online) and sure enough these guests do call Enotify, example: a:2:{s:6:"action";s:7:"enotify";s:10:"USER_AGENT";s:112:"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)";}
At this point I have replaced all files Enotify touches from backup and searched all files from the sources and themes folders for the word "enotify" and there's nothing there. I have also deleted 2 tables in the database that Enotify left behind (smf_log_enotify_pms & smf_log_enotify_topics).
I did all of this yesterday, so it's unlikely that 30 guests still have a tab open, not even mentioning they shouldn't have been able to call Enotify in the first place.
If this mod sounded too good to be true to you, you got it right the first time. Unless you like a big resource hog screwing up your forum permanently, keep your hands off it.
Amen, does not uninstall properly and had to drop these tables as well.
I never drop any tables with any of mods since that can result in data loss.
Love this Mod, Is there any way of changing the background color of the Notification popup box?
My forum uses a black background with a grey boarders and box's so it would like real nice if I could make it the same color as these.
I did a search but couldnt find anything that sounds like it worked...
Quote from: OzzyMozzy on May 07, 2012, 11:01:56 PM
Love this Mod, Is there any way of changing the background color of the Notification popup box?
My forum uses a black background with a grey boarders and box's so it would like real nice if I could make it the same color as these.
I did a search but couldnt find anything that sounds like it worked...
Make sure you check whether it generates any errors. That could potentially slow your site down.
Where do i check for errors?
Quote from: OzzyMozzy on May 08, 2012, 12:06:33 AM
Where do i check for errors?
Error logs... Report back to use if you see anything related to "enotify"
No error's Logged...
Good!!
i like this mod, how can i use it outside SMF???
can i just copy the javascript?
Quote from: diontoradan on May 24, 2012, 06:30:42 AM
i like this mod, how can i use it outside SMF???
can i just copy the javascript?
Possibly yeah you would have to look at the code. The javascript part should work ok.
good to hear that!
my members are excited with this mod.
So i just have to attach the js? or is there any other file i have to include in the php?
Unfortunately I had to uninstall this mod because of strange guests behavior ("Unknown Action") after applying this mod. On a daily basis my forum has only 11 guests maximum, but this morning after I installed ENotify, it peaked to 45 guests, all of them had "unknown action". As others had already the same issue but still unsolved, I think I'll wait for some more before reinstalling it.
Oh, and somehow the copyright bottom line for ENotify appeared twice, so even after the uninstall it still appeared. Had to make manual edit to remove them.
Thanks,
Quote from: Exsharaen on June 30, 2012, 05:08:24 AM
Unfortunately I had to uninstall this mod because of strange guests behavior ("Unknown Action") after applying this mod. On a daily basis my forum has only 11 guests maximum, but this morning after I installed ENotify, it peaked to 45 guests, all of them had "unknown action". As others had already the same issue but still unsolved, I think I'll wait for some more before reinstalling it.
Oh, and somehow the copyright bottom line for ENotify appeared twice, so even after the uninstall it still appeared. Had to make manual edit to remove them.
Thanks,
Hi there,
This is indeed not the behavior expected. Probably the mod reloaded the page for the user but forgot to close the other connection, so the same user appeared as double.
Thanks for this mod. I was looking for something like this.
Can i change the colors?
I think you need to check the css files it edits and adjust there.
Quote from: vbgamer45 on July 02, 2012, 11:46:27 AM
I think you need to check the css files it edits and adjust there.
Ok thanks. I will take a look :)
i have a little bug with this mod: when someone replies to a topic i made or replied, instead of showing a notification, it shows a lot. How do i fix that, i dont want to uninstall this mod
Quote from: D.Joe on July 07, 2012, 04:05:50 AM
i have a little bug with this mod: when someone replies to a topic i made or replied, instead of showing a notification, it shows a lot. How do i fix that, i dont want to uninstall this mod
I believe that was one of the reasons I uninstalled it. There is no limit, it just keeps showing endless replies. Has anyone managed to limit the number of updates shown?
For those of you who have installed this MOD and have been using it,
what is the impact on the server because of this MOD?
Significant. It's essentially like every user (not guest) is refreshing the page every few seconds. And if they have multiple tabs open, each tab is generally also refreshing the page.
It magnifies the load per user by a significant factor.
In that case i would better stick with the standard feature Show a popup when I receive new messages for the time being. But still, this is a good MOD. Thank you.
Quote from: Srinib on August 06, 2012, 06:52:49 AM
In that case i would better stick with the standard feature Show a popup when I receive new messages for the time being. But still, this is a good MOD. Thank you.
Or maybe you can use Alerts of smfpacks.com, it has a few options to prevent server hammering... and other interesting features
It is paid... but it worths it
Is there any way to change position? I would like it on the bottom left. And is there any way to change the background color from black to gray? Thanks.
Quote from: ocmdiaz714 on August 25, 2012, 05:40:37 PM
Is there any way to change position? I would like it on the bottom left. And is there any way to change the background color from black to gray? Thanks.
http://www.simplemachines.org/community/index.php?topic=343151.msg3292863#msg3292863
For the background, use firebug on firefox, or something similar, to find wich CSS lines change
Great mod, thanks!
Glad you enjoy it!
I have 2 requests
1- Please, please move the X Close button on the top of all the notifications
2- Please add sound feature to it also. So we can upload and use a sound for each notification.
Thank you.
Hi,
I instaled ENotify2.0.2.zip and forum crashed :-( can I download somewhere ENotify2.0.1.zip which is working ?? i'll try to install again old version
Thanks
There should almost be no difference between versions. What was the error?
In install mode it says that's everything ok.
After instal when i click on modifications settins i have white screen with that error.
Fatal error: Cannot redeclare ENotify() (previously declared in /home/***/public_html/Sources/ManageSettings.php:2070) in /home/bdsmhrva/public_html/Sources/ManageSettings.php on line 2306
I have done one mistakes :-) before istal 2.2 i didn't deinstall 2.1 and that wass error notificaton like' don't istall there is something wrong'
Well the "do not uninstall" warning was there for a reason - it was telling you that the uninstall action would not be complete if you continued. Well, by continuing you left some v2.1 code in there which is now causing the conflict that you can see.
See if the v2.2 will uninstall. If it will, you'll then need to manually remove the superfluous v2.1 code (to complete the uninstallation of that version). Only then should you proceed to attempt to install v2.2
Quote from: ®Shambles on December 22, 2012, 09:56:50 AM
See if the v2.2 will uninstall. If it will, you'll then need to manually remove the superfluous v2.1 code (to complete the uninstallation of that version). Only then should you proceed to attempt to install v2.2
Thank You, very kind of You :)
Is there some Way to locate files for manually deleting ?
Notify seems bad character. Not turkish utf8 sample: açıldı=a??ld?
How can I correct it?
Edit: Previous version wasn't like that turkish utf8 characters were correct.
can somebody please tell me how to move the X closer button from the bottom to the top of the notifications?
When you have tens of notifications, is pain to close each of them individually until you can actually see the close button on the bottom
Hi vbgamer45...
I really like this mod, but it is throwing out these two errors (version 2.0.3):
Guest
Type of error: General
http://www.wantsome.co.uk/forum/index.php?action=enotify
2: in_array() expects parameter 2 to be array, null given
File: /forum/Sources/Security.php
Line: 831
Guest
Type of error: Undefined
http://www.wantsome.co.uk/forum/index.php?action=enotify
8: Undefined index: permissions
File: /public_html/forum/Sources/Security.php
Line: 831
This is the code in security.php at line 830 - 832 (the middle line being the issue although I don't know what's wrong with it):
// Check if they can do it.
if (!is_array($permission) && in_array($permission, $user_info['permissions']))
return true;
I have no idea why it's only showing the error for guests - they shouldn't be able to see much of anything on my forum, and they can't post/pm so they shouldn't be getting notifications. When I click on the link that says 'action=enotify' I get a white screen with the following text:
Quote({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Generally the forum & this mod are working, so it's not terribly urgent, I'd appreciate help when you have time.
Even less urgent (but really helpful) is if you were to help me move the main X button to the top of the notifications. I think a couple of other people also wanted this (from reading through this thread).
And, if it's possible, I'd like to allow individual users to turn off the notifications (possibly through their profile settings?). Some people use small screens and the notifications bother them.
Even with all the above, I really like this modification. Thanks for all the hard work!
WS
i finaly got it work enotify but now is getting me error when i try to login or register with facebook.
({ "title": "Bildirim Beslemesi", "generator": "Simple Machines Forum İçin ENotify Modu", "items": [ ] })
any idea for this ?
when registering with sa facebook, error comes up
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Quote from: DAVID. D.A on February 02, 2013, 08:01:39 AM
when registering with sa facebook, error comes up
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
I am getting this as well after I installed OneAll to log in using Facebook and tried to remove the enotify redirect on login.
Known issue a bug with enotify haven't had time to track it down though.
enotify and one all work well with me
3 things;
1- I wish people could be able to limit how many notifications they will get at once.
2- I wish close X button was on the top. <<< I have been complaining about that forever.
3- I wish we could adjust the size of the notification popups. Because in some cell phones, notifications cover the entire page and you have to close each and every one of them to see your forum.
Is there a way one can make the notification steady until one clicks cancel. As I notice that refreshing or going to one of notified pages clears all the notifications.
I also notice that when notification comes it display in one windows not all. For example if you open multiple sections or posts of the forum, the notification only appears in one of the windows instead of all. Is there a way out of this.
Not way to do it at the moment.
Quote from: PLAYBOY on February 11, 2013, 03:04:00 AM
3 things;
1- I wish people could be able to limit how many notifications they will get at once.
2- I wish close X button was on the top. <<< I have been complaining about that forever.
3- I wish we could adjust the size of the notification popups. Because in some cell phones, notifications cover the entire page and you have to close each and every one of them to see your forum.
You could try to get someone to do it for a little cash, i.e. a treelancer.
What I can't understand is why can't a mod just use the built in function that emails a member when a reply is posted.
Have that same function also post something to the screen while it sends the email, instead of having this mod hammer the server all the time.
Can this be done?
Because that's fundamentally not how any of this stuff works?
any what stuff works?
The internet, servers, PHP, that kind of thing.
You physically cannot do what you are suggesting in PHP and a conventional web server.
ETA: To explain: people browsing the forum are not continually 'connected' to the server. They press a button, loads a page, and then the connection *breaks*. You then press another button, load another page, the connection is established, then breaks again.
This is how HTTP works, has always worked and is likely to continue working.
What you're talking about essentially is the server pushing notifications to the user. Now, there are ways to do this, through Comet or long polling setups, for which Node.js is ideal. But it *cannot be done* with PHP. If you *do* attempt to create a Comet style server in PHP, it's going to be taken down forcibly by most hosts, and is going to be woefully and chronically inefficient.
The reason it is 'hammering' the server is because it has to call the server every few seconds to see if there's been an update. Just like Facebook actually does.
Gotcha
Hi, I installed this plugin some time ago and I think it messed up my forum real bad. :S
I have downloaded it, installed it, and I guess it messed up my mod list somehow in the process. Beside that the main issue is that the board is apparently creating enotify smf_sessions like crazy, consuming a lot of bandwidth (from 600mb to 6Gb daily) and overloading the server, and I don't have any clue from where it could come from.
After that I uninstalled it, by checking manually if all entries had been removed against the parsed instructions, deleted enotify references from the database. I checked twice and found nothing, but apparently the plugin is still creating smf_sessions - I can find dozens of entries per minute on "Latest visitors" in cpanel calling http://mysite.com/index.php?action=enotify, referred from all sorts of urls from the board.
What can be going on? I'd be thankful for any assistance as my host is requiring me to have this sorted in 24 hours.
THanks
Grab the manually install instructions from the mod site and remove any mod edits any of the mod files that fill fix your issue if it was by enotify
Quote from: vbgamer45 on April 23, 2013, 09:13:44 PM
Grab the manually install instructions from the mod site and remove any mod edits any of the mod files that fill fix your issue if it was by enotify
Hi, thanks for the reply. I did that and checked it manually twice afterwards...
That should do it then if there nothing left in the files and delete the files enotify copied over
I attached a screenshot of the log I mentioned. The referral URLs are just forum topics, most them very old, that haven't been updated or commented in a long time.
As for the files, I checked and those were deleted as well..
They should have no affect then if you click the url for enotify you should go back to the homepage
Quote from: vbgamer45 on April 23, 2013, 09:39:12 PM
They should have no affect then if you click the url for enotify you should go back to the homepage
The issue is that these redirections or whatever they are are being created someway unknown. If you click the link it doesn't do nothing, but each redirect is 8Kb, and there are dozens every minute.
If I go to phpmyadmin and search the smf_sessions database for %enotify% there are always around 20 entries there. If I delete those, when the process finishes I already have another 5 to 10 new entries.
That's isn't a lot of traffic at a dozen a minute 96kb
It kind of looks like facebook notifications and uses JGrowl for the user interface.(http://xiye521.info/15.jpg)
Quote from: vbgamer45 on April 23, 2013, 10:19:30 PM
That's isn't a lot of traffic at a dozen a minute 96kb
It was meant to be non literal. And even so, "dozens" and not dozen.
Do you have any actual ideas on the issue itself?
did you remove enotify calls from every templates ?
Quote from: butch2k on April 24, 2013, 11:02:11 AM
did you remove enotify calls from every templates ?
Yes, I have only three (including default and core), so I manually went by all of them.
Below is an entry of the smf_sessions table:
Quotesession_value|s:32:"914949faa02031e71a93ec7721eb8311";session_var|s:9:"b82b2641e";mc|a:7:{s:4:"time";i:1366768628;s:2:"id";i:0;s:2:"gq";s:3:"0=1";s:2:"bq";s:3:"0=1";s:2:"ap";a:0:{}s:2:"mb";a:0:{}s:2:"mq";s:3:"0=1";}ban|a:5:{s:12:"last_checked";i:1366768628;s:9:"id_member";i:0;s:2:"ip";s:14:"136.177.xxx.xxx";s:3:"ip2";s:14:"136.177.xxx.xxx";s:5:"email";s:0:"";}
log_time|i:1366863362;timeOnlineUpdated|i:1366768628;old_url|s:51:"http://mysite?action=enotify";USER_AGENT|s:72:"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0";fb_133106873420199_state|s:32:"1c8cbee6e701e3e4088b8d394fc2ded7";
Thanks
Hi, I guess this must be somehow server related or some odd issue with the database. I have disabled the board (maintenance = 2), and I still see those entries on the latest visitors info. I'll look for the error somewhere else. Thanks
Quote from: perfec2 on March 25, 2013, 02:50:51 PM
Is there a way one can make the notification steady until one clicks cancel. As I notice that refreshing or going to one of notified pages clears all the notifications.
look at jGrowl Options on
https://github.com/stanlemon/jGrowl
I have Enotify installed on smf 2.0.4 and users are complaining that it floods them with every post that they made since the forum was made, even if they haven't been replied to in years. But doesn't notify them of new posts and I have noticed it doesn't show messages if you didn't create the thread yourself. I tried to uninstall it, but then the who's online list shows UNKNOWN ACTION for just about everything. Is there any way to turn it off per user? If not how can I uninstall it?
There is no currently no way to turn it off per user. To uninstall use the package manager to uninstall the mod.
I am getting errors like that turkish character why?
xxxxx şu iletine yanıt yazdı: 'K?l?çdaro?lu Tek Millet diyemiyormu? sen de onun ad? nedir diyemiyorsun!'.
Where can I correct it? Thanks
Make sure all the enotify tables are set to utf8
Quote from: vbgamer45 on May 16, 2013, 08:08:12 PM
Make sure all the enotify tables are set to utf8
A lot of thanks, I set it to utf8 now very well...
Glad that has helped!
Quote from: Yağız... on January 07, 2012, 07:14:38 PM
I'm facing a weird problem. For example I have 3 tabs open: X Topic, BoardIndex and Admin Panel. Admin Panel is the last tab I opened. When I go to X Topic and receive a notification, it doesn't show in the active tab (X Topic), but on the last opened tab (Admin Panel). I can't see the notification until I go back to last opened tab. Anyone have the same problem or any idea why this happens?
Dear vbgamer what can you say about this? Thanks
I installed this on my forum, but it was preventing new members from registering. Possibly it's a conflict with my Alerts Pro mod, but I haven't really taken the time to investigate. I just wanted to let you know. I'm disappointed, I like this mod a lot and wish it would have worked.
Yeah can't really help with that since I do not have access to alerts mod since that is a paid addon.
Quote from: livingunique on May 17, 2013, 02:52:25 PM
I installed this on my forum, but it was preventing new members from registering. Possibly it's a conflict with my Alerts Pro mod, but I haven't really taken the time to investigate. I just wanted to let you know. I'm disappointed, I like this mod a lot and wish it would have worked.
So... you tries to use two mods that do the same task? :-/
Please i need help.
I want to uninstall enotify completely from my forum. But when i tried to run uninstall it i got this error
QuoteType Action Description
* 1. Execute Modification ./index.php Test failed
1. Replace ./index.php Test failed
* 2. Execute Modification ./Sources/LogInOut.php Test successful
1. Replace ./Sources/LogInOut.php Test successful
* 3. Execute Modification ./Sources/Subs.php Test successful
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test successful
* 4. Execute Modification ./Sources/Admin.php Test successful
1. Replace ./Sources/Admin.php Test successful
* 5. Execute Modification ./Sources/ManageSettings.php Test successful
1. Replace ./Sources/ManageSettings.php Test successful
2. Replace ./Sources/ManageSettings.php Test successful
* 6. Execute Modification ./Sources/Load.php Test successful
1. Replace ./Sources/Load.php Test successful
* 7. Execute Modification ./Sources/QueryString.php Test failed
1. Replace ./Sources/QueryString.php Test failed
8. Delete File ./Sources/ENotify.php
9. Delete File ./Themes/default/ENotify.template.php
10. Delete File ./Themes/default/scripts/enotify.js
11. Delete File ./Themes/default/css/jquery.jgrowl.css
12. Delete File ./Themes/default/languages/ENotify.english.php
13. Delete File ./Themes/default/languages/ENotify.english-utf8.php
14. Delete File ./Themes/default/languages/ENotify.turkish.php
15. Delete File ./Themes/default/languages/ENotify.turkish-utf8.php
Pleasse what do i do? I dont want this Enotify mod anymore. My host warned that my will be banned in two days time.
Thanks
I am having an issue. I uninstalled enotify but in the error logs for every member im getting
Unable to load the 'AdkPif.english' language file.
Any idea how to get rid of this error?
Do you have any ADK mods installed?
Have you checked the mods parser?
The forums error log?
Quote from: peterwaalker on May 25, 2013, 10:31:38 PM
Please i need help.
I want to uninstall enotify completely from my forum. But when i tried to run uninstall it i got this error
QuoteType Action Description
* 1. Execute Modification ./index.php Test failed
1. Replace ./index.php Test failed
* 2. Execute Modification ./Sources/LogInOut.php Test successful
1. Replace ./Sources/LogInOut.php Test successful
* 3. Execute Modification ./Sources/Subs.php Test successful
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test successful
* 4. Execute Modification ./Sources/Admin.php Test successful
1. Replace ./Sources/Admin.php Test successful
* 5. Execute Modification ./Sources/ManageSettings.php Test successful
1. Replace ./Sources/ManageSettings.php Test successful
2. Replace ./Sources/ManageSettings.php Test successful
* 6. Execute Modification ./Sources/Load.php Test successful
1. Replace ./Sources/Load.php Test successful
* 7. Execute Modification ./Sources/QueryString.php Test failed
1. Replace ./Sources/QueryString.php Test failed
8. Delete File ./Sources/ENotify.php
9. Delete File ./Themes/default/ENotify.template.php
10. Delete File ./Themes/default/scripts/enotify.js
11. Delete File ./Themes/default/css/jquery.jgrowl.css
12. Delete File ./Themes/default/languages/ENotify.english.php
13. Delete File ./Themes/default/languages/ENotify.english-utf8.php
14. Delete File ./Themes/default/languages/ENotify.turkish.php
15. Delete File ./Themes/default/languages/ENotify.turkish-utf8.php
Pleasse what do i do? I dont want this Enotify mod anymore. My host warned that my will be banned in two days time.
Thanks
Please i need urget direction on the proper steps i need to take to uninstall this Enotify.
Please i need step by step guide.
Thanks
Using the parser you will have to follow the steps in reverse order.
Quote from: Old Fossil on May 26, 2013, 01:43:33 AM
Using the parser you will have to follow the steps in reverse order.
I guess this same enotify mod added advert which is running my website now.
Please i dont know how to use parse. I dont have much php knowledge that is why i always make use of mode.
Please tell me in step by step how i'm going to locate(
e.g index.template, enotify.index.php,...) and remove the parse php bb code.
Thank you your patience.
http://custom.simplemachines.org/mods/index.php?action=parse
./Sources/LogInOut.phpQuoteFind: [Select]
if (empty($_SESSION['login_url']))
Replace With: [Select]
if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url']))
In my own directory i found this
Quoteif (empty($_SESSION['login_url']) && isset($_SESSION['old_url']) && strpos($_SESSION['old_url'], 'dlattach') === false && preg_match('~(board|topic)[=,]~', $_SESSION['old_url']) != 0)
$_SESSION['login_url'] = $_SESSION['old_url'];
Pls tell me what to do. I have reversed index.php
./Sources/LogInOut.php is what i'm not unable to change.
Thanks
Enotify with Smf 2.0.4 manual install
when i install.php and install1.php
install.php
Fatal error: Function name must be a string in /home/public_html/install.php on line 5
install1.php
Notice: Undefined index: enotify_life in /home/public_html/Sources/Load.php on line 1573
Notice: Undefined index: enotify_life in /home/public_html/Sources/Load.php on line 1580
Notice: Undefined index: enotify_refresh in /home/public_html/Sources/Load.php on line 1583
Fatal error: Call to undefined function db_query() in /home/public_html/install1.php on line 9
when i modify Subs.php , error
Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/public_html/Sources/Subs.php on line 2832
Parse error: syntax error, unexpected T_VARIABLE in /home/public_html/Sources/Subs.php on line 2832
Subs.php
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
//if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=enotify') === false
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
i selected timezone "America/Chicago"
does't work
Any reason why you are manually installing it?
You want to use install.php but it looks like that file may require an include SSI.php
my forum : /home/public_html/
my ssi.php : /home/public_html/
my intall.php : /home/public_html/
my install1.php : /home/public_html/
Open install.php
Find
<?php
Add after
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
// Hmm... no SSI.php and no SMF?
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
And try to install it in the browser again
Thank you very much for support.
but doesn't work, now i uninstall complete.
Thank you.
install1.php is for 1.1.x, not for 2.0.x.
vbgamer45: You most likely forgot to global $smcFunc; in your install.php file.
Please how can i locate and remove my Enotify Ads on my forum footer. Its annoying
Or if possible how i can edit.
Please give me step by method.
Quote from: peterwaalker on May 28, 2013, 08:15:39 AM
Please how can i locate and remove my Enotify Ads on my forum footer. Its annoying
Or if possible how i can edit.
Please give me step by method.
I offer copyright removal
http://www.smfhacks.com/copyright_removal.php
Quote from: vbgamer45 on May 28, 2013, 08:17:53 AM
Quote from: peterwaalker on May 28, 2013, 08:15:39 AM
Please how can i locate and remove my Enotify Ads on my forum footer. Its annoying
Or if possible how i can edit.
Please give me step by method.
I offer copyright removal
REMOVED
By my own understanding, I should remove it from /Sources/QueryString.php
But i dont know how to edit.
Please i need help.
Thanks.
Quote from: peterwaalker on May 28, 2013, 08:41:07 AM
Quote from: vbgamer45 on May 28, 2013, 08:17:53 AM
Quote from: peterwaalker on May 28, 2013, 08:15:39 AM
Please how can i locate and remove my Enotify Ads on my forum footer. Its annoying
Or if possible how i can edit.
Please give me step by method.
I offer copyright removal
REMOVED
By my own understanding, I should remove it from [hidden by Colin]
But i dont know how to edit.
Please i need help.
Thanks.
Ok.
That is not legal you need to pay for removal. I will send you an invoice.
It is extremely disrespectful to remove without payment since we spend our time developing these mods for the community.
Mod makers gave us a lot of things here. In fact, they just want to copyright. They deserve it. Thanks to all who contributed.
thanks
Peter,
We do not condone this behavior. I implore you to restore the copyright or legally pay to remove the copyright. Threats are also not welcome on this forum.
LOL
#727 should be saved for posterity
Quote from: vbgamer45 on May 10, 2013, 09:34:29 AM
There is no currently no way to turn it off per user. To uninstall use the package manager to uninstall the mod.
I tried using the package manager, but that breaks my whois screen. All I see after uninstalling the mod is "unknown action", also it wont let me choose themes I want to remove it from, which may be the problem. I'm going to try the manual uninstall.
If you need the manually install instructions you can upload the package zip to http://www.smfhacks.com/smf-package-parser.html
There is no notification on my screen, but mysql is running the queries. Am I, missing anything? FYI i'm using different theme.
Make sure if the mod does theme edits that the edits are applied to your theme.
The mod uses jquery to show the notifications
Thanks for the reply. I'm a newbie in editing and SMF. Don't know what to edit and where to in the file? Sorry for the trouble ! Could you help please ? I'm using ProRedV1 theme, and have include the files in the directory but don't what to edit in the template file.
This is the link to the forum. Maybe you could look and tell me where it went wrong.
Is there any way to re-locate the floating notification from the top right to the lower left?
Also, how to convert it to utf-8? Some people use greek letters and they appear as question marks
Maybe possible you would have to look at the css/javascript positioning
Ask in the general support forums on how to convert to utf8
Enotify is killing my forum, i uninstalled it and it's still a problem. I had a look at the Sources/load file and i found this in it
// enotify
global $settings, $modSettings, $scripturl;
$context['html_headers'] .= '
<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">
jQuery.noConflict();
(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>';
//end enotify
Can i manually delete this section out?
Hi everyone, this is a great mod. I have installed and and is working fine, except some mysql errors in error logs.
http://......./index.php?action=enotify
The database value you're trying to insert does not exist: enot_title
Function: ENotifyUpdateUnreadReplies
File: /home/sharespark/public_html/Sources/ENotify.php
Line: 70
Please help me with this problem.
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.
Hello, what's new in the latest update? Thank you
Probably bug fixes that's mainly what I work on.
Is there a change log?
On the modsite maybe for the listing.
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?
Will double check the indexes on the mod remind me if I forget.
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?
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.
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.
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?
Good point to not call it for guests.
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.
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
Quote from: hannes_kann_es on October 15, 2013, 05:59:10 PM
Sadly, this mod doesn't work properly. Only one user gets notified about replies. (Checked with several accounts)
Try what I suggested http://www.simplemachines.org/community/index.php?topic=343151.msg3609576#msg3609576
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..
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!
What's the 5 lines before and after 324 in that template file?
', 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">
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 /* .....*/
QuoteThat depends on your settings, but if you've removed it fully it shouldn't be doing it at all.
Even if you remove it fully, anyone who still has an old page in their browser will see it just carry on triggering it anyway until they move to another page.
True of course, but they're talking about 10,000 such errors in 5 minutes. That's a lot of people not doing much if that's the case.
Doesn't take many users with multiple tabs open on your site to accumulate that. Right now, for example, I have about 6 tabs open on this website ;)
I couldn't find any trace of enotify in Load.php. I'm going to go look at the parse and check any other files that might have leftover code. Thanks for the reply.
Still seems quite high, default heartbeat is 10 seconds, so your 6 tabs is 6x6x5 = 180.
I'm also still miffed at why when I remove it completely as per destructions, I loose login functionality.
So I just went through the parse instructions and checked everything, can't find any trace of enotify in my forum. Yet guest ip's are still hitting that "action=enotify" link. ???
Is there a page somewhere here that explains the error messages? Undefined offset? I don't know what that means.
http://lmgtfy.com/?q=undefined+offset
You could try - Change this :-
if (!$context[linktree][1] || $context[linktree][1][url] ===
To :-
if (isset($context[linktree][1]) && !$context[linktree][1] || $context[linktree][1][url] ===
That error means it's trying to reference something that isn't set, which it wouldn't be if called by enotify.
Quote
Yet guest ip's are still hitting that "action=enotify" link
If memory serves right, they actually keep doing that until closing screen or refreshing the page, because of the way the mod is built.
They will, but I've just noticed, that code you copied.... shouldn't if (!$context[linktree][1] || $context[linktree][1][url]
actually be if (!$context['linktree'][1] || $context['linktree'][1][url]
complete with parentheses regardless of what enotify is doing?
Oooooh.... so the reason the enotify link keeps getting hit is from browsers with the page still open from before I modified it running the ajax script? Who are these people?! Don't they ever close my site! Heh heh, maybe if I wait a day or two the enotify traffic will die down.
I still think you'll have the problem with the missing parenthesis, just less hits showing it up ;)
Derp, I am an idiot. I had all the parentheses, I forgot quotes around the array keys... I am so close to fixing this though! Thanks for all your help, you've set me on the right track.
I think it's sorted - I replaced the entire line with
if (!isset($context['linktree'][1])) {
And now, forum works, no errors so far. It wasn't a problem with enotify, per se, it was a problem with enotify scripts still running on browsers that haven't been refreshed. Thanks for the help everyone.
Hi, I'm not sure if this question has been asked, how do I extend the notification duration in Enotify?
Thanks
Selvan
life:3000 at enotify.js
Be careful when editing/saving it... it is a bunch of compressed JS files, long lines... do a backup
https://github.com/stanlemon/jGrowl/blob/master/README.md
Help please!!! :(
I uninstalled eNotify because the load of my server was crazy... but even after uninstalling, i have some strange logs.
I read in the log:
xxx.xxx.xxx.xxx - - [25/Jan/2014:02:22:02 -0800] "GET /index.php?action=enotify HTTP/1.1" 200 10396 "http://mydomain.com/index.php/topic,xxxx.0.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36"
How can stop it to continue to make request to my site?
Thanks! :)
Quote from: Raffaele1977 on January 25, 2014, 05:31:43 AM
Help please!!! :(
I uninstalled eNotify because the load of my server was crazy... but even after uninstalling, i have some strange logs.
I read in the log:
xxx.xxx.xxx.xxx - - [25/Jan/2014:02:22:02 -0800] "GET /index.php?action=enotify HTTP/1.1" 200 10396 "http://mydomain.com/index.php/topic,xxxx.0.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36"
How can stop it to continue to make request to my site?
Thanks! :)
This happened to me actually. The way I 'fixed' it is I went into the database, searched the keyword 'enotify' and deleted everything that was associated with that word. I don't recommend you do this, but if you do it with care, you might not end up wrecking your database.
Well it would do... the pages that contain the 'call home' request were still loaded and still making requests until such time as they refresh. (Assuming uninstallation was complete anyway)
I'm seeing a number of entries in my MySQL slow query log from actions performed by ENotify. Here's an example (with some server-specific information modified for privacy reasons):
# Time: 140129 12:41:12
# [email protected]: db1[db1] @ localhost []
# Query_time: 1.944887 Lock_time: 0.000139 Rows_sent: 0 Rows_examined: 0
SET timestamp=1391017272;
INSERT IGNORE INTO smf_log_enotify_replies(`enot_item_id`, `enot_title`, `enot_time`, `enot_link`, `enot_sender`, `enot_sender_link`, `id_member`)
VALUES
(66972, SUBSTRING('Re: Subject', 1, 255), 1224716956, 'http://www.myserver.org/forum/index.php?topic=11234.msg66972;topicseen#msg66972', SUBSTRING('user', 1, 255), 'http://www.myserver.org/forum/index.php?action=profile;u=101', 251);
Is there any reason these queries should be taking longer than 1 second to execute?
Quote from: sah62 on January 29, 2014, 01:42:01 PM
I'm seeing a number of entries in my MySQL slow query log from actions performed by ENotify. Here's an example (with some server-specific information modified for privacy reasons):
# Time: 140129 12:41:12
# [email protected]: db1[db1] @ localhost []
# Query_time: 1.944887 Lock_time: 0.000139 Rows_sent: 0 Rows_examined: 0
SET timestamp=1391017272;
INSERT IGNORE INTO smf_log_enotify_replies(`enot_item_id`, `enot_title`, `enot_time`, `enot_link`, `enot_sender`, `enot_sender_link`, `id_member`)
VALUES
(66972, SUBSTRING('Re: Subject', 1, 255), 1224716956, 'http://www.myserver.org/forum/index.php?topic=11234.msg66972;topicseen#msg66972', SUBSTRING('user', 1, 255), 'http://www.myserver.org/forum/index.php?action=profile;u=101', 251);
Is there any reason these queries should be taking longer than 1 second to execute?
sah62, I have no idea, sorry...
But... how do you do that log?
(to see what interesting things we have in the forum...)
Quote from: luuuciano on January 29, 2014, 01:53:10 PM
sah62, I have no idea... but... how do you do that log?
(to see what interesting things we have in the forum...)
Add entries like these to /etc/mysql/my.cnf:
long_query_time=1
slow_query_log=1
slow_query_log_file=/var/log/mysql/log-slow-queries.log
The location of your my.cnf file may vary...
Quote from: sah62 on January 29, 2014, 01:42:01 PM
I'm seeing a number of entries in my MySQL slow query log from actions performed by ENotify. Here's an example (with some server-specific information modified for privacy reasons):
# Time: 140129 12:41:12
# [email protected]: db1[db1] @ localhost []
# Query_time: 1.944887 Lock_time: 0.000139 Rows_sent: 0 Rows_examined: 0
SET timestamp=1391017272;
INSERT IGNORE INTO smf_log_enotify_replies(`enot_item_id`, `enot_title`, `enot_time`, `enot_link`, `enot_sender`, `enot_sender_link`, `id_member`)
VALUES
(66972, SUBSTRING('Re: Subject', 1, 255), 1224716956, 'http://www.myserver.org/forum/index.php?topic=11234.msg66972;topicseen#msg66972', SUBSTRING('user', 1, 255), 'http://www.myserver.org/forum/index.php?action=profile;u=101', 251);
Is there any reason these queries should be taking longer than 1 second to execute?
Queries get slower on bigger tables.
Quote from: live627 on January 29, 2014, 06:45:54 PMQueries get slower on bigger tables.
I see 441 rows in my database right now. Is that really that big?
No, but the way the table works is that it's constantly being read and reads are table locking so no writes can occur.
You should probably change that table to InnoDB.
Quote from: sah62 on January 29, 2014, 01:56:19 PM
Add entries like these to /etc/mysql/my.cnf:
long_query_time=1
slow_query_log=1
slow_query_log_file=/var/log/mysql/log-slow-queries.log
The location of your my.cnf file may vary...
Thanks a lot! will try it
Wait, what?
1.9 seconds for that table would be quite legitimate on a MyISAM table because of table locking, but I really don't see how that table is bound to blocking an insert for almost 2 seconds on an InnoDB table.
Right, and that's why I'm asking. I just recently installed ENotify and these are the only slow queries I'm seeing logged. I don't see an obvious problem, but the query times are what they are. Is there any other info I can share to provide more detail?
Quote from: Sir Cumber-Patcher on January 29, 2014, 08:01:01 PM
Wait, what?
1.9 seconds for that table would be quite legitimate on a MyISAM table because of table locking, but I really don't see how that table is bound to blocking an insert for almost 2 seconds on an InnoDB table.
The lock is quite fast, it's the fsync which is probably taking some time. Could you check your innodb settings and post them here ? i suspect innodb is configured to fsync on every write.
InnoDB settings:
mysql> show variables like 'inno%';
+---------------------------------+------------------------+
| Variable_name | Value |
+---------------------------------+------------------------+
| innodb_adaptive_flushing | ON |
| innodb_adaptive_hash_index | ON |
| innodb_additional_mem_pool_size | 8388608 |
| innodb_autoextend_increment | 8 |
| innodb_autoinc_lock_mode | 1 |
| innodb_buffer_pool_instances | 1 |
| innodb_buffer_pool_size | 134217728 |
| innodb_change_buffering | all |
| innodb_checksums | ON |
| innodb_commit_concurrency | 0 |
| innodb_concurrency_tickets | 500 |
| innodb_data_file_path | ibdata1:10M:autoextend |
| innodb_data_home_dir | |
| innodb_doublewrite | ON |
| innodb_fast_shutdown | 1 |
| innodb_file_format | Antelope |
| innodb_file_format_check | ON |
| innodb_file_format_max | Antelope |
| innodb_file_per_table | OFF |
| innodb_flush_log_at_trx_commit | 1 |
| innodb_flush_method | |
| innodb_force_load_corrupted | OFF |
| innodb_force_recovery | 0 |
| innodb_io_capacity | 200 |
| innodb_large_prefix | OFF |
| innodb_lock_wait_timeout | 50 |
| innodb_locks_unsafe_for_binlog | OFF |
| innodb_log_buffer_size | 8388608 |
| innodb_log_file_size | 5242880 |
| innodb_log_files_in_group | 2 |
| innodb_log_group_home_dir | ./ |
| innodb_max_dirty_pages_pct | 75 |
| innodb_max_purge_lag | 0 |
| innodb_mirrored_log_groups | 1 |
| innodb_old_blocks_pct | 37 |
| innodb_old_blocks_time | 0 |
| innodb_open_files | 300 |
| innodb_print_all_deadlocks | OFF |
| innodb_purge_batch_size | 20 |
| innodb_purge_threads | 0 |
| innodb_random_read_ahead | OFF |
| innodb_read_ahead_threshold | 56 |
| innodb_read_io_threads | 4 |
| innodb_replication_delay | 0 |
| innodb_rollback_on_timeout | OFF |
| innodb_rollback_segments | 128 |
| innodb_spin_wait_delay | 6 |
| innodb_stats_method | nulls_equal |
| innodb_stats_on_metadata | ON |
| innodb_stats_sample_pages | 8 |
| innodb_strict_mode | OFF |
| innodb_support_xa | ON |
| innodb_sync_spin_loops | 30 |
| innodb_table_locks | ON |
| innodb_thread_concurrency | 0 |
| innodb_thread_sleep_delay | 10000 |
| innodb_use_native_aio | OFF |
| innodb_use_sys_malloc | ON |
| innodb_version | 5.5.35 |
| innodb_write_io_threads | 4 |
+---------------------------------+------------------------+
60 rows in set (0.00 sec)
mysql>
How to remove "Enotify by CreateAForum.com"
From footer ??......
Pay the fee to get it removed.
@Sah62
Set innodb_flush_log_at_trx_commit to 2 it will fix your issue.
If you don't use binlogs set innodb_support_xa to OFF as well.
Quote from: butch2k on February 06, 2014, 07:06:17 AM
@Sah62
Set innodb_flush_log_at_trx_commit to 2 it will fix your issue.
If you don't use binlogs set innodb_support_xa to OFF as well.
@butch2k: thanks, that seems to have done the trick. I haven't seen any slow queries since making those changes.
hi, I'm using the SMF 2.0 RC1.2, the log errors system report the thousands of line:
SMF 2.0 RC1.2 is unsupported and has many security holes. Upgrade immediately!!
Hi, is there a way to make this compatible with Crip's Blackrain V3 theme? I'm currently on SMF 2.0.8. I'd love to use this mod but I'm not competent enough at coding to do it myself :P.
Thanks,
Greg
Do you get an error on install on other themes when you try?
No, I have not tried to install it yet due to SMF recommending that I not install it, as several processes are not able to be completed.
Quote from: PLAYBOY on May 26, 2011, 01:06:12 AM
Quote from: Dr.IT on May 25, 2011, 10:35:36 AM
hy
nice mod
but why my users getting again and again same notification
sometimes me got the notification of 6 months old reply of post
plz help
Same problem here.
And here. Any solution or explanation?
Could be if they mark stuff as unread again it comes back?
Can these notifications be viewed on their own page instead of a popup? Does it notify for quoted posts as well as replied topics?
Not at the moment. Quoted posts if it is a reply yes it would
I've lost the notifications on forum replies but they still work on the pms. Both are ticked in Admin. A javascript conflict going on maybe? I have recently installed Ultimate Profile but on uninstalling the package I still can't get the notifications back.
On checking the database the pms are being stored but not the enotify forum replies.
I am reading about problems because of heavy load, and I don't know if I should install this mod. Can you give me a hint?
My forum is running for 14 years now, and has about 400000 posts in 27000 topics from 38000 members. The members and guests online are about 100-200 (so, members only, are much less)
Is it possible?
Enotify use to notifications for private messages
Name (This is the displayed name that people will see ) not username as it is now.
Sorry for my english
how to remove it even I have uninstalled their is still say Enotify in footer
Attach your Sources/Querystring.php
Hello, I installed Enotify and when I go to configuration tab every option gives me this error: Fatal error: Cannot redeclare enotify() (previously declared in /home/user/public_html/forum/Sources/ManageSettings.php:2141) in /home/user/public_html/forum/Sources/ManageSettings.php on line 2311. How do I fix this? Thank you! :)
Quote from: konstantinos2424 on October 14, 2014, 05:30:08 AM
Hello, I installed Enotify and when I go to configuration tab every option gives me this error: Fatal error: Cannot redeclare enotify() (previously declared in /home/user/public_html/forum/Sources/ManageSettings.php:2141) in /home/user/public_html/forum/Sources/ManageSettings.php on line 2311. How do I fix this? Thank you! :)
Attach your sources/managesettings.php file.
Quote from: vbgamer45 on October 14, 2014, 08:42:30 AM
Quote from: konstantinos2424 on October 14, 2014, 05:30:08 AM
Hello, I installed Enotify and when I go to configuration tab every option gives me this error: Fatal error: Cannot redeclare enotify() (previously declared in /home/user/public_html/forum/Sources/ManageSettings.php:2141) in /home/user/public_html/forum/Sources/ManageSettings.php on line 2311. How do I fix this? Thank you! :)
Attach your sources/managesettings.php file.
Here it is.
Updated file attached
Glad to help.
No problem.
Just installed it no errors. When I try to go to the Enotify config page it doesn't load anything at all, just a blank page?
Like a white blank page?
More than likely error in your Sources/ManageSettings.php file
Yes a white blank page
I can't seem to see anything wrong?
enotify was installed twice uploaded fixed file
Quote from: vbgamer45 on October 20, 2014, 10:39:53 PM
enotify was installed twice uploaded fixed file
Thank you for that!
Glad to help
Hei vbgamer :) I'd like to know something about this... How much does this thing load the server? Somehow like a chatbar or a shoutbox or more? Perhaps less?
Thanks in advance :)
Closer to a shoutbox in terms of resources.
Copy that, thanks! :)
(https://dl.dropboxusercontent.com/u/17000521/Forum/enotify.jpg)
I am not logged into the board. How to disable guest enotify ?
I need to double check but close any other browser windows that you might have open while you were still logged in.
Clear all cache firefox. Not loged in site . Problem still exist
I'm using this mod and Invitation Message In Your Face [IMIYF] (http://custom.simplemachines.org/mods/index.php?mod=3107)
Both use the jgrowl notification things and have slightly different set ups.
I found when I had them both installed, the coding of one, took over the other (made the pop-up's semi transparent white, instead of black)
I've played around with the #FFF and #000 but now seem to be stuck with a completely black pop up :(
Much appreciated if anyone who knows what they're doing can merge these files so they work nicely! :) (attached)
Look at the page source, it is loading the css files twice (I mean, both files)... you should check it and left just 1 there... then try to addapt that to your needs
+
jquery.jgrowl.min.js is already present in the enotify.js (do not know which version is in there)
+
you are loading jquery file (the main function file, jquery) several times too
I've only got one of them uploaded at a time and have no idea what jgrowl really is to be honest :P
another 'issue' i've found is sometimes, I get a HUGE stream of notifications, like I've never seen any of them before?
Any assistance appreciated! :)
jgrowl is the "engine" that shows the notifications, enotify uses it too (embed inside)
Does eNotify use any sort of caching?
None. The queries are different for each user.
Can't you have one for each member by including their member ID?
There really is no good way to do this.
Getting every user's data all at once and caching that would cause massive cache fragmentation (= very slow, screws everything else up)
Getting each individual user's data and caching those as individual items would also cause massive cache fragmentation since you'd have to rebuild it frequently causing stuff to be moved in and out of cache a lot.
This is not uncommon to other platforms that do this, e.g. this is the reason Discourse will not run on anything less than 1GB RAM VPS (at all, they recommend 2GB RAM minimum just to start out, and by the time you hit 100k posts you can expect to be on a 4GB RAM VPS for that)
I think what I might do is simply incorporate the jgrowl to display PM popup notifications. It's the closest thing I believe to the notifications system incorporated in SMF 2.1. Real-time notifications, while convenient aren't really necessary, since most users get notifications via PM anyway. Correct me if I'm wrong.
Only if you added it.
Users do not get notifications of anything by PM in 1.1. There's PMs, there's newsletters as PMs, but that's about it; 1.1 doesn't even have a warning system (which in 2.0 does notify by PM)
Even 2.1's notifications system isn't strictly real time.
There's a mod that adds a warning system to 1.x though. I had to modify heavily though to have it do what I wanted. While it's not as good as the 2.x stock system, it does the job.
Because obviously I can read your mind to know you did this ;)
Haha just looking out for my community.
Quote from: Shuban on December 17, 2014, 05:00:11 PM
I think what I might do is simply incorporate the jgrowl to display PM popup notifications. It's the closest thing I believe to the notifications system incorporated in SMF 2.1. Real-time notifications, while convenient aren't really necessary, since most users get notifications via PM anyway. Correct me if I'm wrong.
Would you be willing to package this as a mod to share with us?
I've searched this thread and found others to experience, notifications of "old events" e.g old PM's / topic replies that haven't had a new reply but can't seem to find a cause or 'fix' for it..
maybe I've overlooked something ?
Re-approaching this bug..
I think there is possibly some issue with the "Expiration duration of log items:" part.
I've tried various different numbers in the box, waited to test and get the same results.
(Being notified of old 'events')
Much appreciated if you could have a look at this!
Kind Regards
How to modify enotify notifications pm uses the ( Name This is the displayed name that people will see) not Username ?
Quote from: 420connect.info on February 01, 2015, 08:42:06 AM
I've searched this thread and found others to experience, notifications of "old events" e.g old PM's / topic replies that haven't had a new reply but can't seem to find a cause or 'fix' for it..
maybe I've overlooked something ?
Quote from: 420connect.info on February 10, 2015, 07:16:15 AM
Re-approaching this bug..
I think there is possibly some issue with the "Expiration duration of log items:" part.
I've tried various different numbers in the box, waited to test and get the same results.
(Being notified of old 'events')
Much appreciated if you could have a look at this!
Kind Regards
I'm experiencing the same problem...wanted to chime in so ya know it's not just you ;-)
This Is a Best Mod
With PM Notifications Work
Thank You SMF Hack. :)
Enotify, when installed, increasing the number of page views. From June 18th to July 18th Enotify was uninstalled. I tested again on July 18, I installed enotify and column "page views" began to show big numbers again. Any help?
SMF 2.0.10
Enofy 2.02
In GA "page views" is similar to those days - when Enotify was not active.
It loads more requests per page. Each request is counted as a pageview.
Not working for me sadly ... only a few times it shows notification most of the time it shows nothing
Awesome mod, love it! I noticed it makes the views go weird, though, has some incompatibility with other mods that use jquery and all tabs do the fetching all the time so if you have your forum in multiple tabs at the same time you won't know where the notification appears.
For that I did a few tiny modifications to this mod:
To remove the hit counting that is off:
inside of $boardindex/index.php
<operation>
<search position="before"><![CDATA['dlattach', ]]></search>
<add><![CDATA['enotify', ]]></add>
</operation>
For the jQuery thing I noticed that ENotify uses jQuery.noConflict(); and that adding jQuery.noConflict(true); at the end fixes the issue. And I also changed the updates to only happen if the window is in focus, so this is how $sourcedir/Load.php is looking like to me:
<file name="$sourcedir/Load.php">
<operation>
<search position="replace"><![CDATA[// Some basic information...
if (!isset($context['html_headers']))
$context['html_headers'] = '';]]></search>
<add><![CDATA[// Some basic information...
if (!isset($context['html_headers']))
$context['html_headers'] = '';
// enotify
global $settings, $modSettings, $scripturl;
$context['html_headers'] .= '
<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">
jQuery.noConflict();
(function($){
$(document).ready(function(){
var inUpdates = false,
has_focus = document.hasFocus(),
fetchUpdate = function(){
inUpdates = true;
$.getJSON("' . $scripturl . '?action=enotify",
function(data){
$.each(data.items, function(i,item){
$.jGrowl(item.message, { header: item.title, life: ' . $modSettings['enotify_life'] . ' });
});
}
);
if(!has_focus){
inUpdates = false;
return;
}
setTimeout(fetchUpdate,' . $modSettings['enotify_refresh'] . ')
};
$(window).focus(function(){
if(!inUpdates){
fetchUpdate();
}
has_focus = true;
}).blur(function(){
has_focus = false;
});
fetchUpdate();
});
})(jQuery);
jQuery.noConflict(true);
</script>';
//end enotify
]]></add>
</operation>
</file>
Hope if anyone else had similar issues I could help out :3
Still an awesome mod, though! :D
Thanks for the changes released an update with them!
3.0
!No longer counts enotify calls as hits/improves performance. Thanks to Sorunome
!Fixed some jquery conflicts with some other jquery mods Thanks to Sorunome
!Only updates occur when the windows has focus Thanks to Sorunome
I have Enotify 2.0.2 and when I try to Uninstall it, I get some errors ...
Please help, I want to install the newest version of Enotify!!
Thanks.
Proceed with install then attempt to make the changes manually
http://www.smfhacks.com/smf-package-parser.html
Quote from: vbgamer45 on October 15, 2015, 10:51:54 AM
Proceed with install then attempt to make the changes manually
http://www.smfhacks.com/smf-package-parser.html
Thanks, so, should I install 3.0 over 2.0.2 and then make the changes that couldn't be made automatically? (noob here)
Yes if you can.
Quote from: Sorunome on September 29, 2015, 09:22:54 AM
Awesome mod, love it! I noticed it makes the views go weird, though, has some incompatibility with other mods that use jquery and all tabs do the fetching all the time so if you have your forum in multiple tabs at the same time you won't know where the notification appears.
For that I did a few tiny modifications to this mod:
To remove the hit counting that is off:
inside of $boardindex/index.php
For the jQuery thing I noticed that ENotify uses jQuery.noConflict(); and that adding jQuery.noConflict(true); at the end fixes the issue. And I also changed the updates to only happen if the window is in focus, so this is how $sourcedir/Load.php is looking like to me:
Hope if anyone else had similar issues I could help out :3
Still an awesome mod, though! :D
Hm that might be handy Sorunome. The only reason why I never used this mod was the fact it inflated the view count by a large margin, especially during busy times where 10 people are online at once. Thanks for the edit :)
hello, this is a very neat mod. Unfortunately I'm having two problems:
1. It seems not to be able to display character slike ü. ä. ö etc. correctly.
2. I have the Login Security Mod installed and am unable to make the modifiations in LogInout.php.
It sayss:
<file name="$sourcedir/LogInOut.php">
<operation>
<search position="replace"><![CDATA[if (empty($_SESSION['login_url']))]]></search>
<add><![CDATA[if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url']))]]></add>
</operation>
</file>
My code is:
// End Login Security Mod
// Load cookie authentication stuff.
require_once($sourcedir . '/Subs-Auth.php');
if (isset($_GET['sa']) && $_GET['sa'] == 'salt' && !$user_info['is_guest'])
{
if (isset($_COOKIE[$cookiename]) && preg_match('~^a:[34]:\{i:0;(i:\d{1,6}|s:[1-8]:"\d{1,8}");i:1;s:(0|40):"([a-fA-F0-9]{40})?";i:2;[id]:\d{1,14};(i:3;i:\d;)?\}$~', $_COOKIE[$cookiename]) === 1)
list (, , $timeout) = @unserialize($_COOKIE[$cookiename]);
elseif (isset($_SESSION['login_' . $cookiename]))
list (, , $timeout) = @unserialize(stripslashes($_SESSION['login_' . $cookiename]));
else
trigger_error('Login2(): Cannot be logged in without a session or cookie', E_USER_ERROR);
$user_settings['passwordSalt'] = substr(md5(mt_rand()), 0, 4);
updateMemberData($ID_MEMBER, array('passwordSalt' => '\'' . $user_settings['passwordSalt'] . '\''));
setLoginCookie($timeout - time(), $ID_MEMBER, sha1($user_settings['passwd'] . $user_settings['passwordSalt']));
redirectexit('action=login2;sa=check;member=' . $ID_MEMBER, $context['server']['needs_login_fix']);
}
// Double check the cookie...
elseif (isset($_GET['sa']) && $_GET['sa'] == 'check')
{
// Strike! You're outta there!
if ($_GET['member'] != $ID_MEMBER)
fatal_lang_error('login_cookie_error', false);
// Some whitelisting for login_url...
if (empty($_SESSION['login_url']) || strpos($_SESSION['login_url'], 'dlattach') !== false)
redirectexit();
else
{
// Best not to clutter the session data too much...
$temp = $_SESSION['login_url'];
unset($_SESSION['login_url']);
redirectexit($temp);
}
}
// Beyond this point you are assumed to be a guest trying to login.
if (!$user_info['is_guest'])
redirectexit();
// Set the login_url if it's not already set.
if (empty($_SESSION['login_url']) && isset($_SESSION['old_url']) && preg_match('~(board|topic)[=,]~', $_SESSION['old_url']) != 0)
$_SESSION['login_url'] = $_SESSION['old_url'];
// PJL Redirect on login/logout Mod.
if (!empty($modSettings['logon_redirect_enable']) && !empty($modSettings['logon_redirect_url']))
{
if (empty($_SESSION['login_url']) || strpos($_SESSION['login_url'], 'dlattach') !== false)
$_SESSION['login_url'] = $modSettings['logon_redirect_url'];
}
// End Mod.
Can someone please help?
Thanks
bump
Seems there is a little bug. Every once in awhile, i will be notified of a topic that is posted in, even though I have already clicked the "Un-notify" button. I will get the notices when i sign in, every few logins.
Running latest version of SMF with TinyPortal
Hello ; i need guidance on this problem. Enotfy is not working. i was working before. How can i find what is causing problem? there is no notification. i of course activated mod. Where should i check or what should i check
Check what mods you added might have broke it.
Quote from: 420Connect.co.uk on February 10, 2015, 07:16:15 AM
Re-approaching this bug..
I think there is possibly some issue with the "Expiration duration of log items:" part.
I've tried various different numbers in the box, waited to test and get the same results.
(Being notified of old 'events')
Much appreciated if you could have a look at this!
Kind Regards
have same issue
now after doing maintenance the enotify no longer works for posts
What kind of maintenance.
Quote from: vbgamer45 on June 27, 2018, 05:19:19 PM
What kind of maintenance.
the standard forum maintenance , in admin panel
or possibly scheduled tasks change.
one of the 2
Strange
Hi, is it possible modification on this mod to come with sound notification?
https://www.simplemachines.org/community/index.php?topic=560728.msg3979647#msg3979647
Hello,
In the manual installation instructions:
Subs.php
Find:
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false
Replace With:
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=enotify') === false
I can't do this operation because in my Subs.php, this section looks like:
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
When I change this section, my site fails to load. So I skipped this part and finished the installation. Modification seems to work, but it works without this code. I would be happy if you can show me how to add this code without breaking the site.
Thank you in advance.
change to
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=enotify') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
Thank you very much. It works well now.
Regards.
Glad to help
Quote from: Yağız... on October 18, 2009, 04:43:29 PM
Wow ^^ Nice one Eren :)
Hello guys,
How can i make notification appear on every post.
Are the issues with notification of old posts solved?
i havent made any updated about that
i just purchased this mod, but i cant find where to remove the the link in footer, pls help
In this case you must modify Sources/QueryString.php there is a line for enotify.
I use this Mod and it works perfectly. I just installed a new mod "@Mention" And "Who Quoted Me" is there any way to make this Enotify mod work with the two mod i just installed. I saw your "Push Notification" mod and it looks like if i make use of the push notification. it may affect Enotify mod. Any help or solution to this??
Not at this time. I did not add to enotify yet support for those other two mods.
Quote from: vbgamer45 on December 15, 2019, 06:37:35 AM
Not at this time. I did not add to enotify yet support for those other two mods.
Ok can you please give out the code and steps. and let me include it to ENOTIFY.
It will take me some time I am very busy at the moment probably won't have time till end of Janurary
Quote from: vbgamer45 on December 16, 2019, 01:47:59 PM
It will take me some time I am very busy at the moment probably won't have time till end of Janurary
OK. You can please do when you have the time. Thank you for getting back to me.
3.0a fixed install on SMF 2.0.17
Using 3.0b on 2.0.17 and it works. Except the modifications settings page in the Admin area no longer functions. Uninstall the mod and modification settings works. Any ideas on how to fix this? There are no errors on the install parse either.
What happens? When you say not working? Is the page blank?
It throws a 500 error. I'm attaching a screenshot.
Anything related in the error log?
Nothing in the SMF log. Web log has this:
c-73-51-253-106.hsd1.il.comcast.net - - [06/Jan/2021:18:34:44 -0500] "GET /index.php?action=admin;area=modsettings;f131f63fc4=3e07bcfbbf06194aef7d252b5a1d8c1a HTTP/1.1" 500 20 "http://aurora2.pentarch.org/index.php?action=admin;area=logs;f131f63fc4=3e07bcfbbf06194aef7d252b5a1d8c1a" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66"
Okay, it seems I had this in previously, and uninstalled it, but it did not uninstall clean. So when I reinstalled it, it had the function in twice which caused the issue. Modification Settings are now showing.
Edit yeah On a clean install did not get that error.
I would check your sources/ManageSettings.php file are you able to edit any setting under features and options
I stripped out the duplicate entry in the php file and it works now.
Glad you have it working.
I'm trying to update a very old forum and I need to uninstall this and update it too. Do you by any chance have 2.0.2? I would super appreciate it if you did and could pass it on :)
I have this one
What about server resources usage? Can this be installed on a "big boards" forum without nuking the server? Do you have some kind of estimate for server resources increase upon installing?
This is fantastic for smaller forums and I've seen it a few times in those, but never seen on a bigger one.
Thanks in advance for any input :)
It's going to be a lot. Anything that does pooling uses lots of resources.
Dang overpowered facebook servers ;D Figured as much, probably not gonna risk it... Thanks anyway!
Hi Nice Mod working fine! However can i change the color Background Black? It seems like a server error when it pops out.
Try to modify css/jquery.jgrowl.css
Love this mod. Any chance you'll be updating it to work on smf 2.1.3?
Not likely as 2.1.x already has a similar system with alerts.
Enotify is unique as you get real time notifications of new posts and messages. As far as I can tell 2.1.3 does not have this feature. I'm sure I'm not the only one who misses this wonderful mod after updating.
Probably would be easier to mod the current alert system to add a support to that kind of notification. Wouldn't be hard I believe.