Forums / Cotonti / Extensions / New Notifier module

<<<123>>>

GHengeveld
#16 2012-08-24 13:55

It doesn't work for pages yet, only forums.

Twiebie
#17 2012-08-24 17:28
#35189 GHengeveld:

Ah, I forgot to add them to the config block. The tags are assigned by cot_notifier_tags(). Here's the list:

  • NOTIFIER_SUBSCRIBED - true/false
  • NOTIFIER_TOGGLE - link to toggle subscription on/off
  • NOTIFIER_TOGGLE_URL - url to toggle subscription on/off
  • NOTIFIER_TOGGLE_TEXT - text indicating what the toggle will do: Subscribe/Unsubscribe
  • NOTIFIER_SUBSCRIPTIONS - link to list of subscriptions
  • NOTIFIER_SUBSCRIPTIONS_URL - url to list of subscriptions

Normally you'll only need to add {NOTIFIER_TOGGLE} and {NOTIFIER_SUBSCRIPTIONS} in forums.posts.tpl.

Thanks, will give it a go tonight.

elfrenazo
#18 2012-08-25 04:46

But already works? Can you use?

GHengeveld
#19 2012-08-26 09:31

Yes, it works for forums. You need to add the tags to your forums.posts.tpl so it will show a button to subscribe to the topic. It will not automatically subscribe you yet so you have to subscribe to each topic manually. Then you will receive an email when some other user posts a message in the topic.

Chiaroscuro
#20 2012-08-29 08:59

Really need automatic subscription

Does not work.
Siena 0.9.10, only put module - warning not come in the list of subscriptions records are present, there is no form in the settings "option / input".

I tried to put "Cron Manager" showered a lot of mistakes.

 

 

This post was edited by Chiaroscuro (2012-08-29 10:26, 11 years ago)
GHengeveld
#21 2012-08-29 12:47

Cron manager is not yet required, because that is related to periodic digests, which isn't supported yet.

Can you explain the errors you get?

Chiaroscuro
#22 2012-08-30 06:29

No errors, no warnings, nothing comes: (

GHengeveld
#23 2012-08-30 07:07

Did you verify that another user (not the account with which you subscribed to a topic) posted a new message in the same topic after you subscribed to the topic?

Did you install the htmlmail plugin?

Chiaroscuro
#24 2012-08-30 09:46

Yes, I install the htmlmail plugin. (https://github.com/GHengeveld/cot-notifier)

There are some new messages, alerts, no.

img: http://dl.dropbox.com/u/69428543/not.gif

This post was edited by Chiaroscuro (2012-08-30 12:29, 11 years ago)
GHengeveld
#25 2012-08-30 18:03

Sorry, I found the error. In notifier.php on line 135 change 'MAIN.SETTINGS.AREA' to 'MAIN.AREA'.

Fixed in 32378c9908d83cf960a4299a4fd30282c99d1058.

This post was edited by GHengeveld (2012-08-30 18:10, 11 years ago)
elfrenazo
#26 2012-08-30 23:15
#35208 GHengeveld:

Yes, it works for forums. You need to add the tags to your forums.posts.tpl so it will show a button to subscribe to the topic. It will not automatically subscribe you yet so you have to subscribe to each topic manually. Then you will receive an email when some other user posts a message in the topic.

 

Ok. I will install it now, thanks

Chiaroscuro
#27 2012-08-31 03:54
#35284 GHengeveld:

Sorry, I found the error. In notifier.php on line 135 change 'MAIN.SETTINGS.AREA' to 'MAIN.AREA'.

Fixed in 32378c9908d83cf960a4299a4fd30282c99d1058.

ok! Thanks.

Fatal error: Call to undefined function cot_stat_update() in /home/admin/data/www/xxx/modules/notifier/inc/notifier.functions.php on line 483

comment out the line
now works
Messages are plain text, though the format is HTML :(

 

This post was edited by Chiaroscuro (2012-08-31 04:17, 11 years ago)
GHengeveld
#28 2012-08-31 09:12

Install the 'hits' plugin to fix the cot_stat_update().

Not sure what causes the emails to be in plaintext. You should just have the htmlmail plugin installed and set the format to HTML in your notifier settings.

Chiaroscuro
#29 2012-09-12 09:58

Not working condition
/ / If (cot_plugin_active ('htmlmail'))

Put in the comments, now get the html

 

EugenR
#30 2012-09-12 11:31

Thanks for the module !

notifier.ru.lang.php

 

<<<123>>>