Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorklip
    • CommentTimeDec 6th 2007
     # 151
    small bug in default.php (around line 429)

    it causes trying to add script tags where it is not needed
    and it causes to break ajax if enabled extensions during ajax call (check last lines of appg/init_ajax.php) and therefore it is not possible to disable any extension then - it displays alert with error message about $Head not defined because it is not defined in init_ajax and it doesn't uninstall the extension

    this: if (in_array($Context->SelfUrl, array('comments.php','index.php','account.php','categories.php')))
    $Head->AddScript('js/prototype.js');
    $Head->AddScript('js/scriptaculous.js');
    $Head->AddScript('extensions/Notify/functions.js');
    should beif (in_array($Context->SelfUrl, array('comments.php','index.php','account.php','categories.php'))) {
    $Head->AddScript('js/prototype.js');
    $Head->AddScript('js/scriptaculous.js');
    $Head->AddScript('extensions/Notify/functions.js');
    }
  1.  # 152
    That was the fix I added in the latest version :)
    •  
      CommentAuthorklip
    • CommentTimeDec 6th 2007
     # 153
    ah! sorry :) next time I should update to the latest version first :)
    • CommentAuthorosamson
    • CommentTimeDec 6th 2007
     # 154
    This extension gives problems to manage categories: it is not possible to change the order any more. The javascript error is:
    uncaught exception: script.aculo.us requires the Phototype JavaScript framework >= 1.5.0
    Looking at the source of the page, I see that the order of the script tag in the head is:
    - scriptaculous.js
    - /extensions/Notify/functions.js
    - /js/prototype.js
    So scriptaculous.js is loaded before prototype.js and doesn't work.
    Is there a way to solve this problem ?
    Thanks.
  2.  # 155
    Download the latest version.
    • CommentAuthorbmw
    • CommentTimeDec 6th 2007 edited
     # 156
    I seem to be the only one getting this:

    A link to the server could not be established in /home/.batzi/cbabas/cbabaseball.com/board/extensions/Notify/default.php on line 435

    That line is:
    if ($Context->Session->UserID > 0)
    mysql_query("UPDATE ".$Context->Configuration['DATABASE_TABLE_PREFIX']."User SET Notified = 0 WHERE UserID = '".$Context->Session->UserID."'");
    • CommentAuthorosamson
    • CommentTimeDec 7th 2007 edited
     # 157
    Minisweeper: I use Notify 1.2.1 (downloaded today) with Vanilla 1.1.4 and now the problem seems to be given only by Safari 1. Thanks
  3.  # 158
    I've a feeling the drag and drop never did work in Safari 1. I might be wrong.
    • CommentAuthorrmccue
    • CommentTimeDec 13th 2007
     # 159
    Is it just me, or do {user}, {title} and {comment} not equal anything in email_notify.txt?

    Also, {topic_url} refers to an "ugly" permalink, rather than the "pretty" mod_rewrite permalinks I have set up. Any ideas?

    If I can get all the code worked out, I may be able to continue some development on this.
    •  
      CommentAuthorHamed
    • CommentTimeDec 18th 2007
     # 160
    I cannot move the categories up and down when i have 'notify' installed
    •  
      CommentAuthorklip
    • CommentTimeDec 19th 2007
     # 161
    I have this problem either. I guess it is something with order or loading prototype.js and scriptaculous.js
    Just have had no time to find the cause
  4.  # 162
    Try the latest version it should fix that.
    • CommentAuthorjf1991999
    • CommentTimeDec 22nd 2007
     # 163
    I have the latest version of notify installed and believe my smtp, user and pass settings are correct.

    I am getting the following error whenever I add to a discussion.

    Any help would be greatly appreciated.

    Notice: Undefined variable: mComment in /home/content/g/s/1/gs1991999/html/vanilla/extensions/Notify/default.php on line 309

    Notice: Undefined variable: mUser in /home/content/g/s/1/gs1991999/html/vanilla/extensions/Notify/default.php on line 309

    Warning: fsockopen(): unable to connect to smtp.gmail.com:587 in /home/content/g/s/1/gs1991999/html/vanilla/library/Framework/Framework.Class.Email.php on line 196
    A fatal, non-recoverable error has occurred
    Technical information (for support personel):

    Error Message
    Could not connect to SMTP host smtp.gmail.com:587
    Affected Elements
    Email.SMTPSend();

    The error occurred on or near: 110: Connection timed out
  5.  # 164
    It may be that your host prevents outgoing connections on port 587. Try 25.
    •  
      CommentAuthorWanderer
    • CommentTimeDec 27th 2007
     # 165
    I seem to be one of the lucky ones that have Notify working correctly.

    My question is: where does X-Mailer: Lussumo Mailer in the header of the received email come from?

    I have searched all the associated files but it's not there, I even checked the language file.

    Posted: Friday, 28 December 2007 at 9:37AM

    • CommentAuthordan39
    • CommentTimeJan 11th 2008 edited
     # 166
    Wanderer, it's near line 145 of /library/Framework/Framework.Class.Email.php
    • CommentAuthordan39
    • CommentTimeJan 11th 2008 edited
     # 167
    Great extension by the way.

    However I just installed this for the first time and I'm getting a similar error to above:

    Notice: Undefined variable: mComment in /public_html/extensions/Notify/default.php on line 309, referer: http://xxxxx.com/post/474/
    Notice: Undefined variable: mUser in /public_html/extensions/Notify/default.php on line 309, referer: http://xxxxx.com/post/474/


    I don't see either of those variables anywhere else in the add-on, except for line 309. So, I'm thinking that the error is true.

    Any ideas??
    •  
      CommentAuthorWanderer
    • CommentTimeJan 12th 2008
     # 168
    Thanks Dan-Man, I didn't think of looking outside the Notify files.

    Posted: Sunday, 13 January 2008 at 8:32AM

    •  
      CommentAuthorspode
    • CommentTimeJan 12th 2008
     # 169
    I'm having an odd issue. I've installed and tweaked a good 20 other add-ons, but can't even get this add-on to register in the extensions menu, therefore can't enable it. I'm tempted to add the code into the include file myself, but it seems odd that It doesn't come up?
    •  
      CommentAuthorspode
    • CommentTimeJan 12th 2008
     # 170
    Ok, solved that issue. Manually added it into the extensions.php myself, and it chucked up a permissions error. Chmod 755 the folder and it installed. Not tested it to see if it works yet, mind you :P

    Odd, as no other extension gave me that issue - almost as if the zip archive retained the previous permissions.
    •  
      CommentAuthorspode
    • CommentTimeJan 12th 2008
     # 171
    Sorry to add a third post....

    It's working a charm with my install. However...

    1 - When you tick/untick a notification setting on the account page, it does the AJAX doo-da and works, but leaves you with a blank line rather than a ticked/unticked box.

    2 - Forcing e-mail notification on, would be lovely, if people also had the option to force it off. Or, perhaps make it default that whenever you post a new discussion, you automatically subscribe.
    • CommentAuthorspiren
    • CommentTimeJan 16th 2008
     # 172
    Hi,
    hope my question wasn't already answered - at least i couldn't find anything. Some of my users who subscribed to the whole forum get mail notifications for discussions they don't have rights to participate which genereates an error message.
    Is this "normal"? how can I prevent this?
    •  
      CommentAuthorHamed
    • CommentTimeJan 17th 2008
     # 173
    does notify work with 'user wall' ?
    • CommentAuthorpguth
    • CommentTimeJan 26th 2008 edited
     # 174
    I could not install it without solving some problems. The permission settings of the "Notify" folder were wrong. The groupt "Others" needs to have read-rights.

    There is also a little Bug in default.php on line 153. You hardcoded "LUM_User" there.

    PS:
    Notify seems to conflict with the LowCal Plugin. When LowCal the subscription link stops working.
    • CommentAuthoriamkeir
    • CommentTimeFeb 1st 2008
     # 175
    I am experiencing the same problem that a few people have mentioned in this thread - when you click one of the subscribe/unsubscribe links, the three green 'AJAX' loading dots appear infinitely, and the change is never applied.

    As above, disabling LowCal seems to fix the problem so there is obviously a conflict here.

    I have also found that this extension conflicts with Comment Links - it disables the JS drop down.

    Any idea what can be done? I've informed each of the extensions of the conflicts they are having...
    • CommentAuthorsokai
    • CommentTimeMar 23rd 2008 edited
     # 176
    Hi,
    today I tried to translate "Notify" and some other Add-ons, too, into German and noticed most of them use the "old style" for declaring the language variables.

    So I made a convertion (with the help of "sed" described here) to use the documented "new style" for the "Notify" extension.
    If you want (an I recommend it) you can download the patch or/and the new "default.php" from my site at http://sokai.name/code/vanilla/add-ons/.

    For all German people: The translated text can be downloaded from http://sokai.name/code/vanilla/translation/. :)

    Thanks a lot,
    sokai
    • CommentAuthorscherem
    • CommentTimeMar 24th 2008
     # 177
    Joey,

    How did you do the following? I'm having the same problems with JQMedia. I'm still not 100% comfortable with the Vanilla scripting/extension language, so any help with this would be loved.

    "It did not interact well with JQMedia on my configuration. I now eventually have alot of the features working after disabling JQuery v12-1.1.4 and all other JQ extensions temporarily to enable the Notify extension first then I re-enabled the JQuery v12-1.1.4 and other JQ extensions afterward. I had to modify the default.php for JQmedia 0.5.1 to have JQmedia included in all the pages that had Notify panel links, not just the comments.php and posts.php pages (as is where JQmedia appears to be included by default). For some reason JQmedia and some other JQuery extensions had a bad effect on the Notify extension's javascript includes in the header when displayed in certain various orders even when notify was enabled first through the settings extension control panel. The quickest way I discovered to fix the JQmedia conflict in my configuration was to either disable JQmedia or, as I stated above, just simply included JQmedia on all pages containing the Notify extension "subscribe" and "unsubscribe" links."

    mcs
    • CommentAuthorTyrun101
    • CommentTimeMar 25th 2008
     # 178
    anyone have any updates on this?

    i installed it and it either works for everyone all the time (forcing $Configuration['NOTIFY_AUTO_ALL'] = '1';) or when i set it to 0, the ajax doesn't work (it doesn't save the options in the account notification area) and the 'subscribe to forum' link just links to the main forum page and doesn't do anything.

    any help would be greatly appreciated! thanks
    •  
      CommentAuthorHamed
    • CommentTimeMar 26th 2008
     # 179
    if there r to be updates for this
    can the updates include notify working for comments on the user wall?
    that would be awesome
    ^_^
    • CommentAuthorscherem
    • CommentTimeMar 30th 2008 edited
     # 180
    @rmccue

    Is it just me, or do {user}, {title} and {comment} not equal anything in email_notify.txt?

    Also, {topic_url} refers to an "ugly" permalink, rather than the "pretty" mod_rewrite permalinks I have set up. Any ideas?

    If I can get all the code worked out, I may be able to continue some development on this.


    I'm having the same problems as you, the {title} tag doesn't appear to work.
    • CommentAuthormarkezz
    • CommentTimeApr 7th 2008 edited
     # 181
    I always wanted to get rid of the prototype/scriptaculous dependence (for me only occuring when using Notify) of the non-administrative Vanilla frontend to increase speed a little. So I replaced the scriptaculous calls with Vanilla-native ones and added some functionality. See the script here. It is only compatible with Browsers supporting w3c-dom functions!!

    edit- oops forgot to say that if you want to use it, it makes sense to remove the injection of prototype and scriptaculous at the end of default.php

    change:
    $Head->AddScript('js/prototype.js');
    $Head->AddScript('js/scriptaculous.js');

    to:
    //$Head->AddScript('js/prototype.js');
    //$Head->AddScript('js/scriptaculous.js');

    or just remove it.
    •  
      CommentAuthorWanderer
    • CommentTimeMay 6th 2008
     # 182
    I've had it with this extension.

    Why does it notify people of comments posted in private categories which their role does not allow the viewing of?

    Notify is an ex-addon!
    •  
      CommentAuthorspode
    • CommentTimeMay 14th 2008
     # 183
    Does Notify have any known security issues? I'm getting spam sent to me, and it appears to be coming from a script on my server. I have very few on this server that could be doing it, so I'm wondering about Notify, especially as they all contain "comment3" or "comment4" as a keyword.
    •  
      CommentAuthorspode
    • CommentTimeMay 14th 2008
     # 184
    I traced it back to the Lussumo Mailer. However, it was the ContactForm page, not Notify :)
    • CommentAuthorSCHIZO
    • CommentTimeMay 17th 2008
     # 185
    Use $Context->Dictionary in extension's default.php is poor coding. Use $Context->SetDefinition
    • CommentAuthorSCHIZO
    • CommentTimeMay 17th 2008 edited
     # 186
    please change in next version

    Replace $Context->Dictionary in extension's default.php to $Context->SetDefinition

    Add to language definitions

    $Context->SetDefinition('Forum', 'Forum');
    $Context->SetDefinition('Categories', 'Categories');
    $Context->SetDefinition('NotifyMeOnCommentsInCategories', 'Notify me on new comments in the following categories');

    and

    line 359 in default.php change to: <h2>'.$this->Context->GetDefinition("Forum").'</h2>
    line 374 in default.php change to: echo '<h2>'.$this->Context->GetDefinition("Categories").'</h2>
    line 375 in default.php change to: <p>'.$this->Context->GetDefinition("NotifyMeOnCommentsInCategories").'</p>
    • CommentAuthorjoemad
    • CommentTimeMay 27th 2008
     # 187
    With the latest install it appears that the default setting for notify has no checks to receive emails for any new or existing threads or comments. Can someone please advise me on this?
    Thanks!
    • CommentAuthorjoemad
    • CommentTimeMay 27th 2008
     # 188
    I figured out that by changing "$Configuration['NOTIFY_AUTO_ALL'] = '0';" to "$Configuration['NOTIFY_AUTO_ALL'] = '1';" that all members automatically get an email but they can't change the notification settings in account.

    Is there a way to leave the notification settings tab under account? '

    Is there a way to have the default be that emails are sent only if you participate in the discussion?

    Thanks!
    • CommentAuthorsynerynx
    • CommentTimeJun 10th 2008
     # 189
    I get there was a problem authenticating your post information. when trying to enable the plugin. Any suggestions?
    • CommentAuthorsynerynx
    • CommentTimeJun 13th 2008
     # 190
    When I enable this plugin, I get a box that says \Notify, but then any forum page returns a blank page. I have to manually delete it to get the forums working again.
    • CommentAuthorscherem
    • CommentTimeJun 22nd 2008
     # 191
    Notice the followings errors in my error_log today, any idea as to why this would be happening?
    [22-Jun-2008 22:03:31] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/XXXX/public_html/live/public/forums/extensions/Notify/default.php on line 252
    [22-Jun-2008 22:03:31] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/XXXX/public_html/live/public/forums/extensions/Notify/default.php on line 264
    [22-Jun-2008 22:03:31] PHP Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/XXXX/public_html/live/public/forums/extensions/Notify/default.php on line 273
    • CommentAuthorlaran
    • CommentTimeJul 11th 2008
     # 192
    Notify isn't saving my preference to be notified. I'm logged in as the admin. There's no save button to save my preferences. I watched the Firebug Net monitor when clicking on the checkboxes to monitor the forums and no XHR requests were going back to the server. So it seems like it's just broken. What can I do to get this fixed?
    • CommentAuthortty
    • CommentTimeJul 24th 2008
     # 193
    After installing this extension on my Wordpress integrated Vanilla, I found that it didn't work. So I went bug hunting. I changed the hardcoded table and column names to use $Context->DatabaseTables/Columns, and fixed some other little bugs. It now works in my - admittedly very vanilla - install of Vanilla. I figured I'd give everyone else the opportunity to use my patched version.

    Notify 1.2.2 - CHANGES

    default.php:
    -changed some of the default strings
    -changed the User table references to $Context->DatabaseTables['User']
    -changed references to columns in the User table to $Context->DatabaseColumns['User']['ColumnName'] (hope I got 'em all; note: the Notify table and columns are still hardcoded)
    -fixed a label in the Notify config page; the label for "entire forum" was broken

    functions.js
    -removed duplicate "$(Elem).innerHTML = NewText;" that was unconditional - this was causing config settings to vanish from the config page on click

    -removed Mac folder from base directory
    -changed permissions on Notify folder to 755; it was 750 which was causing the extension not to show up on the extensions page

    If there is interest and the original author gives his permission, I might be willing to maintain this extension and add any further features to it.
    • CommentAuthordaisukey
    • CommentTimeJul 25th 2008
     # 194
    tty, thank you for the update. It does work on mine.
    I'm wondering how the email can also display the title of the thread? And the name of user(or forum name would be better) displays?

    Thanks for your contribution!
    • CommentAuthordaisukey
    • CommentTimeJul 25th 2008
     # 195
    Just responding to my own post above, following Joey's method in page3 worked, but I used this line to make it work.
    $e->Subject = $DiscussionForm->Context->Configuration['APPLICATION_TITLE'].' "'.$mTitle.'" ';
    Joey's was $e->Subject = $DiscussionForm->Context->Configuration[''APPLICATION_TITLE''].' "'.$mTitle.'" ';

    Can anyone tell me how I can display forum names instead of {name}? {name} displays whatever is in "Name" field. But I would liek to display forum names.

    Thanks.
    • CommentAuthortty
    • CommentTimeJul 28th 2008
     # 196
    I'll probably work on that a bit anyway, probably using different templates for thread, category and forum notifications. Also, something I've noticed is that it also sends out notifications while you're actually browsing the forum. That seems a bit silly to me, so I'll probably be working on that too.
    • CommentAuthordaisukey
    • CommentTimeJul 28th 2008
     # 197
    thanks tty.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeAug 2nd 2008
     # 198
    tty, I'm sure that if you can fix the issues with this extension a lot of people would be very happy (and I might make use of it!).
    • CommentAuthorcorrales1
    • CommentTimeAug 6th 2008
     # 199
    Question: If the user is logged in the Notify extension works as expected, and sends an email to them with link to discussion topic. However, if user is not authenticated, the page they go to says "discussion not found," and to a casual user looks like an error message. Is there a way for the link in the email (or script) to ask user to login first, then redirect to the specific discussion they're subscribed afterwards?

    Thanks.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeAug 9th 2008
     # 200
    That's a good request.