Форумы / Cotonti / Extensions / New Notifier module

<<<123>>>

GHengeveld
#16 24.08.2012 13:55

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

Twiebie
#17 24.08.2012 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 25.08.2012 04:46

But already works? Can you use?

GHengeveld
#19 26.08.2012 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 29.08.2012 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.

 

 

Отредактировано: Chiaroscuro (29.08.2012 10:26, 11 лет назад)
GHengeveld
#21 29.08.2012 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 30.08.2012 06:29

No errors, no warnings, nothing comes: (

GHengeveld
#23 30.08.2012 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 30.08.2012 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

Отредактировано: Chiaroscuro (30.08.2012 12:29, 11 лет назад)
GHengeveld
#25 30.08.2012 18:03

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

Fixed in 32378c9908d83cf960a4299a4fd30282c99d1058.

Отредактировано: GHengeveld (30.08.2012 18:10, 11 лет назад)
elfrenazo
#26 30.08.2012 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 31.08.2012 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 :(

 

Отредактировано: Chiaroscuro (31.08.2012 04:17, 11 лет назад)
GHengeveld
#28 31.08.2012 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 12.09.2012 09:58

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

Put in the comments, now get the html

 

EugenR
#30 12.09.2012 11:31

Thanks for the module !

notifier.ru.lang.php

 

<<<123>>>