Not signed in (Sign In)

Categories

Vanilla 1.1.5 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.
    • CommentAuthorSubJunk
    • CommentTimeAug 31st 2008 edited
     # 1

    Description:
    An extension that enables users to subscribe to the complete forum, categories or specific discussions, to be notified about new posts.

    Changelog: (full changelog included in the zip package)
    1.8.1:
    • Fixed a bug with the new installer
    1.8:
    • Rewrote the installer using new logic, so now it should handle upgrading from any version, and cause less regular server load because it only needs to ask one question each page load instead of many
    • Added a new admin setting, allow admins to force user notification for all posts. Mostly it's just useful for testing. Enabling it disables the Notification options in the Account tab
    1.7.4:
    • Fixed some PHP 5.1+ specific errors and warnings
    • Fixed some installer problems. I will still rewrite the install.php file later, though

    Incompatibilies:
    Comment Links 1.3.2
    Anything that requires the MooTools extension
  1.  # 2
    Uploaded version 1.3.1 of Notifi.
    • CommentAuthorcelepomer
    • CommentTimeAug 31st 2008 edited
     # 3
    Hello, Klaus.
    First of all thanx for your efforts.
    I added this extension to my forum but when I try to subscribe for a discussion or a category, it simply cannot. I created a user for you in my forum.

    Could you please have a look at the situation. Thanx.
    • CommentAuthorSubJunk
    • CommentTimeSep 2nd 2008
     # 4
    We have identified the problem and it is an incompatibility with another extension called Low-Cal Vanilla. I will attempt to find a fix but in the meantime I have made an "Incompatibilities" section in this extension's description to let people know.
  2.  # 5
    I have "Notify" extension on my internal forum. If I upgrade to your extension, will it keep all my existing notification subscribed by users? Is it still using same tables? I want to upgrade to this one rather than having an inactive extension (if I can), but I don't want to loose my existing subscriptions for notifications. That will just be a hassle for users.

    Thanks
    • CommentAuthorSubJunk
    • CommentTimeSep 4th 2008
     # 6
    I've made no changes to the tables except for the name of the main one, because I didn't want any conflicts with Notify.
    It used to be called prefix_Notify, now it's called prefix_Notifi, where "prefix_" is of course your Vanilla table prefix, which I think is "LUM_" by default.
    But what you can do is easily get an export of your current database, grab the part with the Notify table, then just replace "Notify" with "Notifi" and run the code to insert it, effectively copying the Notify table to the Notifi one.
    If you want more specific instructions my email address is in the extension, it would be easier to help if I can ask questions about your setup. It should be very simple, though.
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 4th 2008 edited
     # 7
    Hm. Is it possible to extend this to both sending out the new post and having an option as to weather or not it should send out for every new post in the subscribed forum - and not only once?

    I would love to have a plugin for subscribing via e-mail.
    • CommentAuthortekhammer
    • CommentTimeSep 4th 2008
     # 8
    I've just tried installing this extension, and am not having too much luck.

    Basically, I click on a discussion to be subscribed, and the little swirly loading thing just spins for ever (or at least, as long as I waited) :)

    It hasn't made any difference to the settings and when I reload, or view my notification settings under my account settings, everything is unticked.

    any help appreciated.. thanks
    • CommentAuthorSubJunk
    • CommentTimeSep 5th 2008
     # 9
    To Daniel_SJ:
    That is a good idea, I will try to implement that in the next release.

    To tekhammer:
    What other extensions do you have? That is the same thing that happens if you have the extension Low-Cal Vanilla 0.4.3 enabled. This plugin has been tested on fresh installations of Vanilla and it works perfectly, so the only thing that can be interfering is other extensions.
    Try disabling your extensions one by one, each time checking if Notifi works. When it works you will know which extension is causing the problem, then if you can tell me which one it is that will be very helpful for me.
    • CommentAuthortekhammer
    • CommentTimeSep 6th 2008
     # 10
    disabled all others, and still not working. just twirls forever..

    the other extensions are Buy A Drink 1.1, Discussion Filters 2.0, and Preset Avatars 1.0.
    • CommentAuthoriamspammer
    • CommentTimeSep 6th 2008 edited
     # 11
    I just added this discussion and did the following to use this extension rather than "Notify":

    - Renamed PREFIX_Notify table to PREFIX_Notifi (backed up old table)
    - Renamed NotifyId to NotifiId in new table

    I found following statement in line 152 of default.php

    [code]
    mysql_query("UPDATE `LUM_User` SET SubscribeOwn = $Switch WHERE UserID = $UserID",$Context->Database->Connection);
    [/code]

    I changed it to following to have my prefix as it is different from "LUM_"
    [code]
    mysql_query("UPDATE ".$Context->Configuration['DATABASE_TABLE_PREFIX']."User SET SubscribeOwn = $Switch WHERE UserID = $UserID",$Context->Database->Connection);
    [/code]

    In any case, this wont work for me as I dont have SubscribeOwn column in User table. can you please explain what it is?



    Also, I want to be able to add Comment added (because of which notification is generated) in the email body. I noticed that you have $mComment in the array. I tried adding {comment} in the email body but it's adding nothing and when I tried to find where $mComment is defined, I couldn't find anything.

    How can I put comments in the body? Please help.


    EDIT: I have some categories which are only available to certain roles. Some of the users on my forum have subscribed to ALL discussions. Will they get notification even if they can't see this category where a new comment is posted? I can ask some of the users to make sure but I want to ask you, as author of this extension, to confirm.

    Thanks
    • CommentAuthorSubJunk
    • CommentTimeSep 7th 2008
     # 12
    To iamspammer:
    The SubscribeOwn column is just a switch that when enabled (by entering "1") means that user will be automatically subscribed to discussions they start. It isn't a fully implemented feature, but I plan to make a better control panel for the next release, which will allow users to use that feature, among others.
    Users will only be notified if they have permission to view that category.
    I might add the ability to put more information in the email body at a later date, once I have finished with some other new features.

    To tekhammer:
    I don't know what the problem could be, it has worked for many others so maybe an old extension left something over that is breaking it, or you/someone have edited the code manually. Maybe you should try a fresh install.
  3.  # 13
    Uploaded version 1.4 of Notifi.
    • CommentAuthorSubJunk
    • CommentTimeSep 7th 2008
     # 14
    To iamspammer:
    The SubscribeOwn functionality now works (when the user has the SubscribeOwn column, of course :))
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 7th 2008
     # 15
    Sub Junk: That is a good idea, I will try to implement that in the next release.

    Cool! Please tell me if you want any help or ideas, would love to see this but ain't too good at php myself.
    • CommentAuthorSubJunk
    • CommentTimeSep 7th 2008
     # 16
    I didn't put it in this release as you can see, but definitely in the next one which won't be too far away, probably next weekend as that seems to be the only time I can work on this at the moment.
    Also, at the risk of opening Pandora's Box by posting this publicly, sure I am always happy for help and ideas. Vanilla is used so differently by everyone I'm sure there are great features I have never even considered.
    • CommentAuthortekhammer
    • CommentTimeSep 7th 2008
     # 17
      I don't know what the problem could be, it has worked for many others so maybe an old extension left something over that is breaking it, or you/someone have edited the code manually.


    it's only been running 4 days.. no old extensions..

      Maybe you should try a fresh install.


    you're a windows user aren't you? :)

    hitting it in the face with a sledgehammer isn't a solution.

    No big deal though, I don't need Notifi. It's not a show stopper for me.
    • CommentAuthorSubJunk
    • CommentTimeSep 7th 2008
     # 18
    I run 4 OS's; 2 Linux distros, XP and Vista.
    Sorry to lose you and your helpful opinions.
  4.  # 19
    I have updated to new version. I have also checked that, those new columns (SubscribeOwn and SubscribedEntireForum) are added to table.

    But, how do we turn these on? I looked inot "Forum preferences" but couldn't find anything which says to subscribe to your own discussion.

    Also, any ETA when you will add that "comment in email" feature? I was hoping soon but I understand it will be on your own schedule.

    BTW, thanks for all the updates and fixing bugs.


    You asked for new features. One of the users requested that it'd be good if they continue to get emails even if they don't visit forum after getting one notification. It can be configurable and by default users will only get one email and until they visit forum, they won't get any other emails. But, they can go to "Forum Preferences" and then turn on notification even if they don't visit forum.

    Users claim that they sometimes forget that they received email and then they keep on waiting for another email but they won't get any because they forgot that they have to visit forum once after a notification.

    Thanks
  5.  # 20
    I added following code at line 143. This is work around to add comment in the email until you come up with the solution. Just wanted to post it here in case anybody needed it now.

    [code]
    $result = mysql_query("SELECT Body FROM ".$DiscussionForm->Context->Configuration['DATABASE_TABLE_PREFIX']."Comment WHERE CommentID = '$CommentID'");
    $row = mysql_fetch_row($result);
    $mComment = str_replace('
    ',"\n",strip_tags($row[0]));
    [/code]

    Problem is that Vanilla Email only supports plain text now. I can change it to HTML but then I'll have to your email_notify.txt to include
    for new line and other HTML code for link.

    I din't want to do this because if you submit any updates, and if I forgot to change it then all users will complain.

    So, work around for now is

    $mComment = str_replace('
    ',"\n",strip_tags($row[0]));

    This will change
    to new line and strip all html tags like

    and so on. This will loose all formatting in the email but this is the workaround for now. Hopefully you have something else planned.


    -----

    To send an HTML email, you can ask users to change library/Framework/Framework.Class.Email.php line.


    They can ADD following at line 33

    var $ContentType = 'text/plain';


    ADD Following at 103
    $this->ContentType = 'text/plain';


    and UPDATE following with 144

    .'Content-type: '.$this->ContentType.'; charset='



    All it does is, change Static content type to variable based.

    Then you can change it from your class like $e->ContentType = 'text/html';




    Like I said, I din't do this on my forum in the hopes that you'll have another sophiticated work around this problem.

    Thanks

    • CommentAuthorSubJunk
    • CommentTimeSep 8th 2008 edited
     # 21
    To iamspammer:
    I will hopefully release the new version, 1.5, in a few hours. I have made a lot of changes for this version (I think a .5 version should always mean pretty big changes, I'm just a romantic like that :p) and I wouldn't be surprised if the feature of having the comment in the email is in this version.
    Oh and the setting SubscribeOwn setting is controlled by each user by going to the Notification section in the Account tab. There, the option is "Automatically subscribe me to discussions I have started "
  6.  # 22
    Uploaded version 1.5 of Notifi.
    • CommentAuthorlikeninja
    • CommentTimeSep 9th 2008
     # 23
    Upon activating this addon, I am getting a page of errors:


    Notice: Undefined index: NOTIFI_VERSION in mysiteurl/forum/extensions/Notifi/default.php on line 31

    Notice: Undefined index: NOTIFI_VERSION in mysiteurl/forum/extensions/Notifi/_includes/upgrade.php on line 2

    Notice: Undefined index: NOTIFI_VERSION in mysiteurl/forum/extensions/Notifi/_includes/upgrade.php on line 3

    Fatal error: Class 'ConfigurationManager' not found in mysiteurl/forum/extensions/Notifi/_includes/upgrade.php on line 5

    What the heck is happening??
  7.  # 24
    I installed new version and it worked fine for me except a bug which a user just reported to me.Thanks for all the options. I just tested the one where users get repeated email even if they haven't visited the forum and it works flawlessly.

    When a new discussion is added, email doesn't include comment. It's empty. I tried to see how to correct it but I am not sure. Can you please tell me how "NotifiDiscusison()" function is called? I can't seem to find any reference which call this function. I am not sure how you call it but if you let me know then I can help you debug it for new problems as my forum uses it extensively.

    Also, I think it'd be good idea to include DiscussionTitle in every email. The reason is, when users get email with comment, they are not able to tell which discussion that comment belonged to in the email.
  8.  # 25
    Uploaded version 1.5.1 of Notifi.
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 9th 2008 edited
     # 26
    Ok, deleting my old comment as that problem was fixed in the release released while I was writing it. ;)

    Now it installs without a hitch, but still doesn't seem to work. I'll try to clean up the mess caused by Notify and earlier versions of Notifi and see if that helps, but I don't really understand why it doesn't work.

    This is what happens:
    After I've installed (installing works! Yay for 1.5.1) the link to subscribing appears as it should (and just like it did with the old Notify), however pressing it does nothing at all, just takes me to the front page. It looks like the JS isn't loaded or something.
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 9th 2008 edited
     # 27
    Here are some more details:

    The following notfi.js is included in the header:
    <script type="text/javascript" src="/foobar/extensions/Notifi/functions.js"></script>

    The following links are included:

    <a href="./" id="SetNotifiAll" onclick="PNotifiAll('Abonner p&aring; Foobar', 'Avsultt abonnement p&aring; Foobar'); return false;">Abonner p&aring; Foobar</a>
    <a href="./" id="SetNotifiCategory_3" onclick="PNotifiCategory(3,'Abonner p&aring; denne kategorien', 'Avslutt abonnement p&aring; denne kategorien'); return false;">Abonner p&aring; denne kategorien</a>
    <a href="./" id="SetNotifiDiscussion_115" onclick="PNotifiDiscussion(115,'Abonner p&aring; denne diskusjonen', 'Avslutt abonnement p&aring; denne diskusjonen'); return false;">Abonner p&aring; denne diskusjonen</a>

    (The &aring;s come from this being on a norwegian installation. )

    Clicking these links does seemingly nothing.
    • CommentAuthorSubJunk
    • CommentTimeSep 9th 2008
     # 28
    There will be another bugfix release within a few hours, thanks for the feedback guys, and sorry for the bugs. I'm aware that 1.5.1 doesn't fix everything but I just wanted to release something ASAP to show I am working on it and to fix some of the problems. Expect 1.5.2 very soon.
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 9th 2008
     # 29
    Sounds good. ;)

    Another thing:
    The ajax doesn't work on the config-page either (http://foobar.com/account.php?u=2&PostBackAction=Notification).

    Which reminds me of another idea: Could you create fallbacks for people who don't use javascript? If you want help with it I can try to help out on that.

    You're doing great work!
    • CommentAuthorSubJunk
    • CommentTimeSep 9th 2008
     # 30
    Daniel, I can't reproduce the problem. I've tried with an old version of Vanilla that has had Notify and Notifi installed on it, as well as a fresh installation. Did you upload all the files, not just default.php? I changed a couple of files from 1.5.0 to 1.5.1. Also have you tried refreshing a page, or shift+refreshing? I use Firefox and sometimes it forgets to check for a new version of a JavaScript file until I very forcefully tell it to do so :p
    • CommentAuthorSubJunk
    • CommentTimeSep 9th 2008
     # 31
    To iamspammer:
    Yes you're right about the new discussion bug, I will look into that.
    NotifiDiscussion is called from the Notification page in the Account tab and only appears as an option if you have subscribed to a specific discussion. It is just the function that lets you unsubscribe from discussions via the Notification page.
    And yes I agree about the discussion title. I just threw in the comment in email feature quickly because I plan to see if I can send formatted emails instead of plaintext, then we can really customize the output, as you mentioned before in this discussion :)
  9.  # 32
    Uploaded version 1.6 of Notifi.
    • CommentAuthorSubJunk
    • CommentTimeSep 10th 2008
     # 33
    For this version I have bypassed the usual Vanilla emailing system so I will be interested to see if it will still work for everyone, it works on the servers I tested it on anyway.
    As for the bug you mentioned Daniel, I'm still waiting to hear back from you about that so that we can get it fixed, I still haven't been able to reproduce it.
    • CommentAuthorDaniel_SJ
    • CommentTimeSep 10th 2008
     # 34
    SubJunk: Removing the old folder completely (and all the relevant settings in /conf/) and then reinstalling fixed it. It looks like it works now.
    • CommentAuthorSubJunk
    • CommentTimeSep 10th 2008
     # 35
    Sorry it was such a hassle Daniel, I think I have fixed it so that upgrades will work now, hopefully!
    • CommentAuthoriamspammer
    • CommentTimeSep 10th 2008 edited
     # 36
    Hi:

    Thanks for responding so quickly and adding the required features. Much appreciated.

    mail feature in update din't work for me. I should tell you that I am using this forum in intranet and we have our own exchange server. So, I updated my php.ini to include smtp address of that server and it worked. I am just curious as to why it din't work with default settings.

    My guess is that I had put my smtp address in vanilla settings and those din't carry over when you used php's mail function. I checked Vanill's config files and noticed that it users forum/conf/settings.php and $Configuration['SMTP_HOST'] as the smtp host. May be you want to change your extension to use that so that it'll work with hosts which specify their smtp host in settings rather than php.ini. Just a suggestion.

    Also, one last feature request.

    When a new discussion notification is sent, can you please format it like you do the normal noticaition? Not only in style but also include comments.


    Thanks.


    EDIT: I think it'd be better if it uses those settings because I just noticed that it only users email in FROM but not the name. I noticed that your old version used SUPPORT_NAME and SUPPORT_EMAIL in the FROM field. It'd be nice to have it use those settings

    Thanks
    • CommentAuthorSubJunk
    • CommentTimeSep 10th 2008
     # 37
    Thanks for the feedback, I can always rely on you :)
    I will see what I can do about those 2 things you mentioned.
    • CommentAuthoriamspammer
    • CommentTimeSep 10th 2008
     # 38
    Don't hate me but there is another Feature Request. I am not sure if it's possible but want to know your opinion.

    If users decide to NOT receive notification after receiving one (even if you added that nice setting in Notification; which is being used a lot on my forum), is it possible to reset (if user selects in the settings; so not default) that next day?

    Say, today is Tuesday and user gets notification. They won't get anything after (by default). But, they decide to select NEW setting (which is not there yet :) ). So, When (and if) there is new notification on Wednesday and IF user has selected that setting, then is it possible to reset the flag and send notification? After that it'll do the same and then reset on Thursday and so on.

    I am not sure if it's possible. Even if it is, I can see extra load on forum on EVERY post.

    Lets say its possible, will you suggest using it?

    Thanks
    • CommentAuthorgarysmith
    • CommentTimeSep 10th 2008
     # 39
    SubJunk

    In notification management my settings do not stay checked. I can check some of the settings then come back later to the notification management and they are unchecked.
    By the way the email is working for me with version 1.6. I do not use smtp.
    Thanks for all the work you doing on this extension. It's almost there.
    Gary
    • CommentAuthorSubJunk
    • CommentTimeSep 10th 2008
     # 40
    To iamspammer:
    It would be possible to set that up with cron jobs, and no it wouldn't need to place any load on the server. A cron job is just like a scheduler with apache, you specify a time for the server to run a script, so it could just be like "if EmailDaily is true and Notified is true then set Notified to false", and set the job to run that in a while loop every day at midnight, or if they want to get the email regardless of their viewing the forum then it can be "if EmailDaily is true then set Notified to false". I'll have a look at it, I've actually never controlled cron jobs from PHP, only done it from the server itself, but I know that is how a lot of scripts manage schedules so it shouldn't be too hard.

    To garysmith:
    Do you know if the database changes were successfully made? There needs to be the following columns in the User table: SubscribeOwn, Notified, SuscribedEntireForum and KeepEmailing.
    If that was the problem, can you please tell me which version you upgraded to 1.6 from? Maybe there is something wrong with the upgrading code that I missed.

    To everyone:
    Anyway I will do some more work on the extension in the weekend I think, I am very busy with work. Also for the 2.0 release (won't be for a while yet but I have started on it) I think it will be best if I make it non-upgradeable, which I know is a huge pain in the butt but the purpose of the 2.0 release is that most of the code will be rewritten and restructured, and it would be easier to do that without worrying about supporting the old code (most of which I didn't write).
    It is possible though that I won't do it, it's just something I'm considering. If it will be an insurmountable problem for a lot of people I won't do it.
    It is also possible I can write another extension called "NotifiUpdate" to convert all the stuff from 1.x format to 2.x format, and include that to be run once before enabling Notifi 2.0.
    Anyway at this point I'm just writing notes to myself in public so I'll cut that out now :)
    • CommentAuthorgarysmith
    • CommentTimeSep 11th 2008
     # 41
    SubJunk
    Yes those fields are in the LUM_User Table and the LUM_notifi table was also created with 4 fields. I did not upgrade. This was a fresh install. It is on our own in house apache2 server.
    I am using some other extensions, Attachement 2.1, MultiFile Upload 1.1, Panel Categories 0.3.
    Should I try and disable those and see what happens?
    Non-upgradable is fine with me as long as the settings are left alone in the database so that users will continue to be notified.
    Thanks
    • CommentAuthoriamspammer
    • CommentTimeSep 11th 2008 edited
     # 42
    I was hoping to avoid cron job, as that will be one extra thing to manage (I already have many other jobs to manage). I was hoping that it can built in this extension. I have the logic but not sure if that will put extra load (this is what I meant). Here is my logic:

    - Notify User once
    - Check if users wants to notify even if they haven't visited forum
    - If yes then notify
    - If not, then check when was the last notification made
    - Update the notification field (through update statement), IF "Notified" is set to true AND NotifyDate (new field?) is not the same day,month and year (can be 2 days later in case there was no activity on the forum. It will be greater because time will increment if system time is used and it's not tampered with but in any case if date is different (just day, year and month))


    Confusing? I was confused t0o when I wrote this. Maybe it's making little sense :)
    • CommentAuthorSubJunk
    • CommentTimeSep 11th 2008
     # 43
    To garysmith:
    Yes it would be good if you can check if those extensions are affecting it, thanks a lot :)

    To iamspammer:
    Yes I think that's the logic I would use as well. I think it would mean one more query but not much more CPU load, but the thing is I don't know if many people would use that feature. I can see the use of a daily digest, where the user is sent a big email every day of all the things they missed (not that I am offering to develop that, but I can just see it being useful because I use that feature with some forums) but I don't see the point of seeing just one post every day. Obviously someone wants that feature or you wouldn't have suggested it, can you tell me why they want it? Under which scenario/s would they actually use it?
    • CommentAuthoriamspammer
    • CommentTimeSep 12th 2008
     # 44
    That is the default functionality of Notifi. Users receive one notification and then they don't get any until they visit notification.

    Users complained that it is a good idea that they are not cluttered with emails. But, sometimes they forget to visit the forum and don't get any emails.

    So, if there is an option (they have to select it so not to mess with default functionality) which they can use so that, they get notified once a day for EVERY day (unless of course they decide to get notification for EVERY post).

    This way even if they forget, they will get at least one notification each day.

    I hope I am clear :)


    They did request daily digest and it may be useful and i can help you there. It's just I am lot busy with college and part time work that I dont have enough time. One more reason I dont want to do it is cron job (or "scheduled tasks" in windows). we already have many on our server and I don't want these there if I can help it.



    Feature:

    - Adding comment for new discussion (right now it just says discussion name)
    - Formatting notification email further with the following format. You will just have to change discussion query.


    Format for new discussion

    Discussion: NAME
    Category: NAME
    Author: USER_NAME
    Comment: NEW DISCUSSION COMMENT

    Format for comment

    Discussion: NAME
    Category: NAME
    Discussion Author: USER_NAME

    Comment: NEW COMMENT
    Comment Author: USER_NAME


    If you want I can try to change it and then send you the code so you can format it and fit it in your code. Let me know. I could add the code my self but I wanted to upgrade this discussion so that I can use it directly in future and keep the changes.
  10.  # 45
    Uploaded version 1.6.1 of Notifi.
    • CommentAuthorSubJunk
    • CommentTimeSep 14th 2008
     # 46
    To iamspammer:
    As you can see, with 1.6.1 the comment is emailed even in new discussions, and the email system will now work regardless of php.ini settings.
    With regards to your email format suggestions, I really don't think that will be an improvement for me personally. Of course you are free to modify your own version however you want, or even release your own version like I did going from Notify to Notifi (you can call yours Notified, or NotIfICanMakeItBetter ;)) but seriously, thanks for the thought you are putting into this, it is very helpful.
    I also don't have interest in making the daily function you suggested, because I just don't see it being used by many people, maybe I'm blind but there is my opinion :)
    Please do not feel discouraged from posting/emailing your ideas for new things, they are always appreciated.
    • CommentAuthorSubJunk
    • CommentTimeSep 14th 2008
     # 47
    Also, just tested with Vanilla 1.1.5 RC3 and it works same as before, so doesn't look like there will be any problems when the new Vanilla arrives :)
    • CommentAuthoriamspammer
    • CommentTimeSep 14th 2008 edited
     # 48
    Thanks. I understand. Those were just suggestions. I know how much work it is. Like I said, I am quite busy so won't be able to create new extension but could help with yours. If you need my help in future then let me.

    I installed new update and it worked. I did a few changes and am posting these here in case you think users might want these.

    Line 339. Link to the comment without HTML code as sometimes (it occurs frequently) link doesn't work. This way users can copy and paste the link
    - Context->Configuration['BASE_URL'].'comments.php?DiscussionID='.$DiscussionID.'&page='.$pageNumber.'#Item_'.$commentNo.'">Click here to view the comment on the forum or copy and paste following link in your browser, '.$DiscussionForm->Context->Configuration['BASE_URL'].'comments.php?DiscussionID='.$DiscussionID.'&page='.$pageNumber.'#Item_'.$commentNo.'





    It's just a minor change but I have seen it used often, even now.

    But, thanks for updating this extension. I had to make those changes for my forum. It just so happened that you started this extension and I just gave you ideas and used it. :) :)

    EDIT: Is there a way to figure out if the discussion, that user is being notified about, is new I just wanted to put it in email to let users know if this is new discussion or not.

    Thanks
  11.  # 49
    Uploaded version 1.6.2 of Notifi.
    • CommentAuthorSubJunk
    • CommentTimeSep 14th 2008
     # 50
    The way to figure out if the discussion is new or not is just checking if $CommentID is set, so if(isset($CommentID)). If it is set it is an old discussion, if it isn't set it is new. But now after further thought I have put the different emails back in anyway.
    I also put in your suggestion of having the link to copy and paste, thanks it was a good one I had overlooked.