Skip to Content Skip to Menu

notify users when new article published

  • markwww
  • markwww
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #29721 by markwww
Hi,

Is there any cb plugin that mails that allows you to mail all your users when a new article has been published?

Thanks,
Mark

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
17 years 10 months ago #29738 by p9939068
Replied by p9939068 on topic Re:notify users when new article published
nope, this is more like a joomla hack.


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • aiminisme
  • aiminisme
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #29748 by aiminisme
Replied by aiminisme on topic Re:notify users when new article published
wow is there actually a way to do this without hacking core joomla codes?

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 10 months ago #29750 by mikko
Replied by mikko on topic Re:notify users when new article published
Yes. You could write a script which periodically checks for changes in the database table which contains articles and then emails these changes to users. Hacking joomla core for this functionality would not be smart for many reasons.

mikko

Please Log in or Create an account to join the conversation.

  • markwww
  • markwww
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #29767 by markwww
Replied by markwww on topic Re:notify users when new article published
so there's no way to "hook" the post event without hacking the joomla core. It would be cool if joomla posted some message when these events occur. Maybe I can look at mysql triggers too.

Thanks

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 10 months ago #29768 by mikko
Replied by mikko on topic Re:notify users when new article published
The idea of usign a trigger instead of timed script is fundamentally bad.

Consider for example a situation when there is 1000 users in the database if you had a trigger which would email all these users, it would take some time to run. This would mean that it would take a considerable amount of time to show the next page to the suer who just posted a message. If the user decided to cancel the page request by navigating away, this can cause apache to stop executing the initial page request (=stop mailing)

Also it is not possible to send mail with SQL triggers.

mikko

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum