cotonti.com : New Notifier module https://www.cotonti.com Последние сообщения в теме Cotonti en Wed, 04 Nov 2026 04:30:11 -0000 Chiaroscuro Really need automatic subscription, plsss. :)

]]>
ср, 07 ноя 2012 06:02:08 -0000
EugenR Thanks for the module !

notifier.ru.lang.php

 

]]>
ср, 12 сен 2012 11:31:54 -0000
Chiaroscuro Not working condition
/ / If (cot_plugin_active ('htmlmail'))

Put in the comments, now get the html

 

]]>
ср, 12 сен 2012 09:58:31 -0000
GHengeveld 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.

]]>
пт, 31 авг 2012 09:12:18 -0000
Chiaroscuro #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 :(

 

]]>
пт, 31 авг 2012 03:54:01 -0000
elfrenazo #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

]]>
чт, 30 авг 2012 23:15:45 -0000
GHengeveld Sorry, I found the error. In notifier.php on line 135 change 'MAIN.SETTINGS.AREA' to 'MAIN.AREA'.

Fixed in 32378c9908d83cf960a4299a4fd30282c99d1058.

]]>
чт, 30 авг 2012 18:03:19 -0000
Chiaroscuro 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

]]>
чт, 30 авг 2012 09:46:05 -0000
GHengeveld 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?

]]>
чт, 30 авг 2012 07:07:18 -0000
Chiaroscuro No errors, no warnings, nothing comes: (

]]>
чт, 30 авг 2012 06:29:23 -0000
GHengeveld 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?

]]>
ср, 29 авг 2012 12:47:29 -0000
Chiaroscuro 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.

 

 

]]>
ср, 29 авг 2012 08:59:14 -0000
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.

]]>
вс, 26 авг 2012 09:31:51 -0000
elfrenazo But already works? Can you use?

]]>
сб, 25 авг 2012 04:46:57 -0000
Twiebie #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.

]]>
пт, 24 авг 2012 17:28:53 -0000
GHengeveld It doesn't work for pages yet, only forums.

]]>
пт, 24 авг 2012 13:55:31 -0000
dedushka but how to use it for page.tpl, page.list.tpl, etc.?

need tutorial to simple start...

]]>
пт, 24 авг 2012 09:05:57 -0000
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.

]]>
пт, 24 авг 2012 07:26:49 -0000
Twiebie Nice!

I wonder though, how does one subscribe to an individual topic? I see there's a configuration panel but no tags are listed for including the subscribe links to the topics row for example?
"Assigns template tags for quick subscribe/unsubscribe in content areas."

Thanks.
]]>
чт, 23 авг 2012 22:07:43 -0000
GHengeveld I'll put it on github soon. I'm still working on a practical way to handle the periodic digests, which is a bit of a struggle. Expect a release candidate within a week.

Added 1 weeks later:

The beta is now available on Github: https://github.com/GHengeveld/cot-notifier

Periodic digests and auto-subscribe is not yet supported. Only the 'forumtopic' area is completely implemented so far. Everything else should work fine.

]]>
вт, 14 авг 2012 19:37:45 -0000
tensh Looks great :) When can we expect the release? Any early version to bugtest?

]]>
вт, 14 авг 2012 19:24:59 -0000
Kingsley #35088 Trustmaster:

Going great so far! I didn't even think it would have such subscription options.

me neither, looks very nice Gert.. think this plugin will end up being used a lot :)

 

]]>
вт, 07 авг 2012 17:26:06 -0000
elfrenazo interesting yes

]]>
пн, 06 авг 2012 19:08:12 -0000
Trustmaster Going great so far! I didn't even think it would have such subscription options.

]]>
пн, 06 авг 2012 17:55:18 -0000
Twiebie Looks very good, Gert!

]]>
пн, 06 авг 2012 14:20:27 -0000
GHengeveld PM notifications will not be implemented because PM is on-site, which means you'd still have to visit the site in order to see your notifications. The goal of the module is to increase user engagement by sending them notifications in a way which does not require them to visit the site. Basically it's a way to prevent people to forget about the site.

Recently I've been working on getting both HTML and plaintext emails working. Here's a screenshot of two messages (HTML and plaintext, as viewed in GMail) sent by Notifier to two different users which are subscribed to the same topic. One has enabled HTML emails, while the other has disabled it.

notifier_68.png

Here's a screenshot of the subscriptions overview and settings panel:

notifier_settings_68.png

]]>
пн, 06 авг 2012 12:04:48 -0000
Twiebie Looks promising, Gert. Definitely a very useful plugin for Cotonti.

May I ask out of curiosity why PM notifications will not be implemented?

]]>
пн, 06 авг 2012 01:12:02 -0000
GHengeveld You can already do that with the existing global profile tags and a little javascript. I think the tag you need is {PHP.usr.profile.user_newpm} which will be 1 if the user has a new pm. You could write something like this (JavaScript):

if ({PHP.usr.profile.user_newpm}) {
  alert("You have a new private message");
}

This will show the alert every time until the pm is read, which may not be what you want. You could use a cookie to show the alert only once.

Nevertheless, the feature you describe got me to think about alternative ways to notify a user. I don't plan on implementing other channels such as PM, SMS or push notifications (e.g. APNS), but I will look into an easy way to allow other plugins to add such functionality. I think I'll at the very least include some global template tags to allow you to notify users on-site about updates. Of course there will also be hooks so plugins can hook into the notifier module.

]]>
вт, 31 июл 2012 22:04:24 -0000
fraze will the notifier module be able to show a popup when you login to say you have a new PM?  i've run vbulletin and phpbb forums in the past where you got a visible notification on your screen when you got a PM.

Currently the notification you get shown in the userbox isnt always noticed by users.

]]>
вт, 31 июл 2012 11:03:27 -0000
elfrenazo notifications in forums and comments would be nice, it is necessary to follow the themes.

I mean notifications to users.

]]>
вс, 29 июл 2012 15:33:47 -0000
GHengeveld Currently I'm working on a complete rewrite of the Notifier module and accompanying HTML Email plugin. Features will include:

  • Allows subscription to several content areas: forum topic, structure category (page/forum category), comment thread (page) or PMs. More can be added.
  • Allows auto-subscribe to your own content, according to user preferences.
  • Receive automatic notification by email of new content, including a summary of the newly posted content and links to see the content on-site or unsubscribe.
  • Emails can be sent immediately or as a daily, weekly or monthly digest (requires Cron Manager), according to user preferences.
  • User preferences can be configured for each content area (topic/category/comments/pm).
  • Assigns template tags for quick subscribe/unsubscribe in content areas.
  • Includes standalone overview of subscriptions and user preferences.
  • Emails can be in HTML or plain text, according to user preferences. Notification by PM is no longer supported.
  • HTML email requires a custom plugin which uses CoTemplate and Emogrifier to automatically generate cross-platform HTML emails with inline styles.
  • Includes default HTML email templates based on HTML Email Boilerplate.

As you see, some functionality is provided by other plugins (HTML email and cron). These plugins provide general-purpose functionality, in order to allow these features to be used by other extensions as well.

Do you think Notifier needs other features as well? Let me know.

]]>
вс, 29 июл 2012 12:48:20 -0000