Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
glg_subscribe_comments : subscribe to article's comments
glg_subscribe_comments allows your visitors to subscribe the discussion of an article.
It add a checkbox below the comment form. If the visitor check it when he comments, he will receive a mail notification every time a new comment is posted.
The plugin works well if you have the moderate_comments preference activated.
You can customize the content of the notification mail and the format of the subject.
The notification mail provides a link to unsubscribe.
Get it there : glg_subscribe_comments v1.01
You can get more information on my blog.
If you find bugs or spelling and grammar mistakes please let me know.
Known bugs or Help mistakes :- There is a bug in the unsubscribe link format. See this post to fix it.
- In Help, the name of the tag
<txp:glg_subscribe_checkbox_label />
is wrong. You have to use<txp:glg_subscription_checkbox_label />
in place of it.
Language plugins
I’ve developed a plugin that translate glg_subscribe_comments in French :
If you’re interested by developing one in another language, let me know.
Requirements
texpattern 4.2
Seems to work fine with textpattern 4.3.
- Removed the glg_debug function that was only a development tool. You may delete log.txt on your website root.
- When reinstalling the plugin or upgrading, the plugin preferences are no more overwrited.
- Fix the unsubscribe link format bug.
- Add the possibility to activate a Double Opt-in feature (send a mail to visitor to confirm subscription).
- Clarify the Help (show examples)
- In Help, Change
<txp:glg_subscribe_checkbox_label />
(wrong tag) to<txp:glg_subscription_checkbox_label />
(right tag).
Last edited by Grégocentrique (2010-11-20 15:07:13)
Offline
Re: glg_subscribe_comments : subscribe to article's comments
Bien joué greg ;)
awsome plugin.
Offline
Re: glg_subscribe_comments : subscribe to article's comments
Hi
For Germany we need: Double Opt in
it this possible?
Offline
Re: glg_subscribe_comments : subscribe to article's comments
Thanks for feedback. :)
SuMu wrote:
Hi
For Germany we need: Double Opt in
it this possible?
Hi,
I Didn’t know about it.
It’s not implemented in glg_subscribe_comments, but it could be in the next version.
I add this feature on the todo-list.
Offline
#5 2010-02-03 10:45:37
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: glg_subscribe_comments : subscribe to article's comments
Any hints why the subscribers don’t get the comments via email? The adresses are put correctly in the mysql-table, but no message-sending does happen. Email-adress for “From” and “reply-to” fields in the plugin-preference is the same as in the admin-preferences, this email-adress is allowed to send via sendmail and smtp (had to “verify” the sendmail path for my hoster via php.ini).
Would be great if anybody has an idea how I could bring this great plugin to work!
David
Offline
Re: glg_subscribe_comments : subscribe to article's comments
Interesting bug.
Do you know if it works when you leave plugin prefs blank ?
What kind of host is it (Linux or Windows)?
Offline
#7 2010-02-03 14:35:53
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: glg_subscribe_comments : subscribe to article's comments
Nope, blank plugin-prefs didn’t work. Host is Linux with PHP Version 5.2.12
I’ve found an logfile on my webspace in the main directory:
[debug] glg_saveComment_and_notify IN
[debug] $glg_new_comment_url :http://www.MYDOMAIN.de/TITLE#c000134
[debug] glg_saveComment_and_notify IN
[debug] $glg_new_comment_url :hhttp://www.MYDOMAIN.de/TITLE#c000135
(I’ve made the domain anonymous). Should it be like that?
Offline
Re: glg_subscribe_comments : subscribe to article's comments
I just checked my code and saw that I forget to remove my logging function in the last version. :/
I am at work and have not access to my FTP. I will fix the plugin tonight and upload a new version.
Maybe your problem comes from here (But I’m not sure at all).
However, your logfile seems wrong, a log just before the call to mail() function is missing. So the problem could come from the plugin. I’m investigating.
Last edited by Grégocentrique (2010-02-03 15:12:08)
Offline
#9 2010-02-03 15:13:58
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: glg_subscribe_comments : subscribe to article's comments
thanx a lot, i’d love to check v1.1 :-))
Offline
Re: glg_subscribe_comments : subscribe to article's comments
Ok, it seems that a problem occurs during the parsing of form “glg_comment_notification”.
Did you modify it?
(Actually the logfile is very useful… I think about just desactivate it by default).
Offline
#11 2010-02-03 15:35:15
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: glg_subscribe_comments : subscribe to article's comments
Grégocentrique schrieb:
Ok, it seems that a problem occurs during the parsing of form “glg_comment_notification”.
Did you modify it?
No, just left it “as it is”.
Last edited by phuture303 (2010-02-03 15:35:46)
Offline
Re: glg_subscribe_comments : subscribe to article's comments
I’ve just uploaded v1.01.
I deleted the glg_debug function.
I added in the first post a language plugin that translate glg_subscribe_comments in French. Tell me if someone wish to translate it to another language.
I’m sorry phuture but I still don’t know where your problem comes from.
Do you use another plugin that interacts with comments?
Try to delete temporaly <txp:comment_message /> from glg_comment_notification form and try again. I suspect that your problem comes from this tag.
Did you activate comment moderation? In this case notifications are sent only when the comment is made visible.
Last edited by Grégocentrique (2010-02-04 10:36:20)
Offline