arunshekher / mentions

Github, twitter or other social sites like user mention plugin for e107 CMS
GNU Affero General Public License v3.0
5 stars 2 forks source link

Feature request - send email if user name is used #5

Open Jimmi08 opened 7 years ago

Jimmi08 commented 7 years ago

At first, thank you very much for this plugin.

Do you think that is possible if somebody uses user nick to send notification to user that their name was mentioned?

Thank you again

arunshekher commented 7 years ago

@Jimmi08, Thank you for your feedback. Should be able to, and I it's on the road-map for this project.

Was initially thinking of trying to get it done via event triggers but I faced some issues there, so the other plan is to try and intercept the post request and detect @mentions in the post params and trigger notification. Working on that on a separate branch. All feedback are welcome

Jimmi08 commented 7 years ago

Waw. It's totally out of my league.

arunshekher commented 7 years ago

@Jimmi08, Checkout this rough working draft I pushed for this feature.

Feel free to clone that branch (SOC-feature-branch) test and give suggestions/feedback/PRs if you have time.

arunshekher commented 7 years ago

@Jimmi08, the release v1.4.0-beta.1 has email notification feature included in a basic state this is planned to be polished in future iterations.

All feedbacks are greatly appreciated. Thanks.

Jimmi08 commented 7 years ago

@arunshekher I will try it. It always send emails or user can set it off or it can only send PM? Sorry, short of time, I can't check code, so just question.

Oh, and thank you!

arunshekher commented 7 years ago

NP, Can set it on/off selectively in admin. Notify for chatbox mentions, for comment mentions for forum mentions like so. No PM notification at this point.