• Welcome to Simple Machines Community Forum. Please login or sign up.

Board Notification Mod - 1.2.2 released

Started by SabreOfParadise, May 28, 2009, 12:36:25 PM

Previous topic - Next topic

SabreOfParadise

May 28, 2009, 12:36:25 PM Last Edit: October 01, 2013, 04:30:38 AM by SabreOfParadise
Link to Mod

This mod targets the following mod requests:
http://www.simplemachines.org/community/index.php?topic=302387
http://www.simplemachines.org/community/index.php?topic=206788.0 (kind of)

Description:

Actual state:

User will get notified of new posts if subscribed to the corresponding topic.
User will get notified of new topics if subscribed to the corresponding board.

Target state:

User will get notified of new posts if subscribed to the corresponding topic.
User will get notified of new topics and new posts if subscribed to the corresponding board.

Additional information:
Some examples to make sure no one gets confused of the wording:

A "board" is this:
http://www.simplemachines.org/community/index.php?board=20.0

A "topic" is this:
http://www.simplemachines.org/community/index.php?topic=146192.0

A "post" is an entry made in an existing topic.

Additional features:
- Username of the user is included in the board notificatin email

Compatibility:
Tested with SMF 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.13, 1.1.16, 2.0.2, 2.0.4, 2.0.5

Notes:
- In the version 1.0 state this mod should only be used on small, closed forums to avoid email flodding!
This issue is targeted with version 1.1 of the mod. It adds a new permission 'Request notification on new replies for subscribed boards'
to restrict the use of the mod to certain user groups. Per default the mod is now only active for admins and moderators.
- The mod contains language specific files for english and german. I appreciate if someone would contact me for further translations.
- Supported languages for SMF 2 are: english, english-utf8, german, german-utf8, french

Read the contained readme.txt for more information.

News:

Version 1.2.2:
*  SMF 2: Support for english-utf8

Cal O'Shaw

Hello,

Based on the high volume warning for this MOD, would it perhaps be an AdminCP option to restrict this feature to those authorised to moderate the boards?  This gives the site the option to try this MOD fully open, and if they have the email volume issue, they can throttle it to just Moderators and Admins.  And if it's still a problem, uninstall the MOD.

Just an idea...

Cal

Joe N

Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


SabreOfParadise

Quote from: Cal O'Shaw on May 28, 2009, 11:22:38 PM
Based on the high volume warning for this MOD, would it perhaps be an AdminCP option to restrict this feature to those authorised to moderate the boards?

Yes, that would be a solution.
I thought about a new permission like "Request notification on new replies when subscribed to a board" so that the feature could be restricted to certain user groups.

Quote from: Joe N on May 29, 2009, 05:30:22 AM
Screenshot?

At the moment there is only a change in backend and email text. Nothing for a screenshot.

Cal O'Shaw

Would that be an additional question in the User Profile? 

I haven't installed it, so I am guessing that for right now it just makes the change in the backend, with no indication the person will get new posts as well?  I think Joe N was looking for screenshots where you have changed and added txt strings.

With that question visible only if the Permission is checked in the Permissions for that group?  And the text in Permissions something like "Request notification of new posts on boards []"

Or use the AllowedTo(moderate_board) to limit it to just the moderators of the board (eliminates adding to the Permissions panel in AdminCP)?


I like this MOD, as I have a couple of boards I would like to send me new posts when new topics are opened and I don't have the option to get to the site and toggle Notify.  And thank you for adding who is creating new topics!  I can't believe SMF has not addressed that, especially since post notifications include who posted.

Grazie,

Cal

SabreOfParadise

Quote from: Cal O'Shaw on June 02, 2009, 03:39:14 AM
I haven't installed it, so I am guessing that for right now it just makes the change in the backend, with no indication the person will get new posts as well?

Yes.

Quote from: Cal O'Shaw on June 02, 2009, 03:39:14 AM
I think Joe N was looking for screenshots where you have changed and added txt strings.

Then he can download the mod and look in the modification1.1.x.xml of the ZIP.

Quote from: Cal O'Shaw on June 02, 2009, 03:39:14 AM
Would that be an additional question in the User Profile? 
With that question visible only if the Permission is checked in the Permissions for that group?  And the text in Permissions something like "Request notification of new posts on boards []"

No, but that would be another useful addition to the mod.

Quote from: Cal O'Shaw on June 02, 2009, 03:39:14 AM
Or use the AllowedTo(moderate_board) to limit it to just the moderators of the board (eliminates adding to the Permissions panel in AdminCP)?

Well, for my own forum I need the modification for a specific user group, so I need the new permission anyway if  I want to restrict the use of the Mod. Although I don't like the idea to mod the database because this leads to the new question: Should I completely undo the database changes with the uninstall option? (What if someone wants to re-install the mod and needs the data?)

But at first I'll try the new permission on my test forum and then move along and think about solutions for the uninstall question.

SabreOfParadise

June 04, 2009, 09:33:26 AM #6 Last Edit: June 04, 2009, 09:46:13 AM by SabreOfParadise
Finished the addition of the new permission and uploaded the mod version 1.1:

So now you can restrict the use of the mod to certain user groups or to admins/moderators only (default). :)

And I added a small screenshot as now there is something in the frontend to show, too.  ;)

Edit: For the uninstall question: I have made an uninstall_db.php script which has to be executed manually if you want to completely remove the mod. I hope this is the best solution for everyone.

GravuTrad

have you seen the comment of sinan about your mod here?:

http://www.simplemachines.org/community/index.php?topic=313868

This is the french strings for your mod, can you implement them too please? (i put an external link cause smf forum hide numeric entities and not our forum)

http://www.simplemachines-fr.org/Forum-topic-2649-start-msg12245.html#msg12245
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

SabreOfParadise

Quote from: GravuTrad on June 22, 2009, 01:09:23 PM
have you seen the comment of sinan about your mod here?:

http://www.simplemachines.org/community/index.php?topic=313868

No and that topic does not exist.  :-\

Translations should be posted in this topic. As I'm subscribed to this topic I will see them asap.

Anyway, I've included the french translations as version 1.1.1.

Thanks to sinan.  ;)

videoed

Hi,

First of all, thanks for the mod.

Attached you'll find the Spanish version I'm using in my site. I hope it can be useful.

Regards,

GravuTrad

Quote from: SabreOfParadise on June 23, 2009, 03:28:54 AM
Translations should be posted in this topic. As I'm subscribed to this topic I will see them asap.

Like i said, the problem is that the consignes for some lines concerned request numeric entities, which can't be posted here cause the forum automatically convert them in the proper characters.
That's why i posted them with a link to post from another forum....
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

SabreOfParadise

Quote from: videoed on June 24, 2009, 11:25:28 AM
First of all, thanks for the mod.

It's a pleasure for me to see that the mod is usefull for other users, too.  :)

Quote from: videoed on June 24, 2009, 11:25:28 AM
Attached you'll find the Spanish version I'm using in my site. I hope it can be useful.

Thanks for you, too.
I think every translation can be usefull. I've included them in the new version 1.1.2.

Quote from: GravuTrad on June 24, 2009, 11:46:51 AM
That's why i posted them with a link to post from another forum....

I wanted to address sinan with that comment, not you.  :)

Edit: Hmm, are the translations done by sinan or you? (I'd like to thank the real translator)

GravuTrad

Quote from: SabreOfParadise on June 29, 2009, 06:34:09 AM
Quote from: videoed on June 24, 2009, 11:25:28 AM
Attached you'll find the Spanish version I'm using in my site. I hope it can be useful.

Thanks for you, too.
I think every translation can be usefull. I've included them in the new version 1.1.2.

Quote from: GravuTrad on June 24, 2009, 11:46:51 AM
That's why i posted them with a link to post from another forum....

I wanted to address sinan with that comment, not you.  :)

Edit: Hmm, are the translations done by sinan or you? (I'd like to thank the real translator)

The translation is done by me.

But well see videoed, i should attach in a file here, i was easier. i'll do like this for the future.

nb for smf devs: replacing automatically numeric entities on this forum is really annoying
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

SabreOfParadise

Quote from: GravuTrad on June 29, 2009, 11:43:15 AM
The translation is done by me.

Ok, thanks for translating and sorry for thanking the wrong one. I've corrected that.

GravuTrad

On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

babu

Hi there,

I am trying to install this mod on version 1.1.9.

Whilst the mod seems to have worked, I do not get notification of the specific reply in the posts.  Instead, I recieve an email which says:

"More topics may be posted, but you won't receive more email notifications until you return to the board and read some of them."

Is there anyway to rectify this?

Thanks

SabreOfParadise

Quote from: babu on June 30, 2009, 09:34:18 AM
Is there anyway to rectify this?

Yes, go to your Profile settings, then to 'Notifications and Email'
and uncheck "Receive reply notification only for the first unread reply."

Keith Moreau

After the install of 1.1 (1.1.2 listed a bunch of errors for non-existent language files, which I didn't need) I believe I have the feature (have yet to test it) but in the permissions area which does have another checkbox under the other 2 doesn't have a label. I assume it's the one I want to check for this feature. Attached is a screenshot.

That being said, thanks for creating this mod, it's necessary and overcomes some perplexing lack of notification features.

TomMcc

Unfortunately, shows not compatible with 1.1.10. It must be a drag for auths, having the updates constantly break your mods. I feel your pain. Looking forward to an update because I really need notification of new posts, and I hoped this was the solution.
thanks and good luck.

SabreOfParadise

Sorry, I was on vacation. Included the compatibility with SMF 1.1.10 now.

Advertisement: