wpsharks / comment-mail

A WordPress plugin enabling email subscriptions for comments.
http://comment-mail.com
GNU General Public License v3.0
8 stars 3 forks source link

Feature Request: Simple checkbox instead of dropdown menu for comment form #267

Open raamdev opened 8 years ago

raamdev commented 8 years ago

It would be nice to be able to show a simple checkbox, with preconfigured options, for subscribing to comments. This could be added to the existing Comment Mail → Config. Options → Comment Form by giving the site owner more than one way to enable the built-in template system:

2016-04-16_06-54-53

The options at the bottom of that panel (Default Subscription Option and Default Delivery Option) would then be used when creating a subscription whenever the checkbox is clicked.

gretlouise commented 8 years ago

Adding my vote! I love offering comment subscriptions, but I like to keep it as unobtrusive as possible. A checkbox would really streamline the look of Comment Mail.

kristineds commented 8 years ago

@raamdev @jaswsinc For that simple checkbox option, should the UI be something like this?

screen shot 2016-06-28 at 8 30 47 pm

Could you point me in the right direction on where I could add this function? I found an existing [sub_list_checkbox] shortcode on this file but this doesn't seem to exist on the advanced template.

raamdev commented 8 years ago

@kristineds writes...

For that simple checkbox option, should the UI be something like this?

Yes, except I'd get rid of the "Receive Email Notifications?" label as well. Description of the checkbox should be all that's necessary.

Could you point me in the right direction on where I could add this function? I found an existing [sub_list_checkbox] shortcode on this file but this doesn't seem to exist on the advanced template.

I would start with this file: https://github.com/websharks/comment-mail-pro/blob/160618/src/includes/templates/type-a/site/comment-form/sub-ops.php

That's the Advanced Template equivalent of the Simple Template for the Comment Form Subscription Options. I suggest modifying the Advanced Template first and getting that working the way it should, then once that's done the Advanced Template modifications can be ported over to the Simple Template.

In the Advanced Template, you'll need to check which "Enable Comment Form" option is selected (see screenshot above) and then produce the appropriate HTML.

alexstine commented 7 years ago

+1 I am also in favor of seeing this option. Would add more flexibility for sure.

jaswrks commented 7 years ago

Referencing +1 via internal/private ticket: https://websharks.zendesk.com/agent/tickets/14977

renzms commented 7 years ago

Referencing +1 via internal ticket:

https://secure.helpscout.net/conversation/403384382/1734/?folderId=1246814

alexstine commented 7 years ago

Any news on this?

Thanks.

raamdev commented 7 years ago

Also requested here: https://wordpress.org/support/topic/checkbox-instead-of-dropdown-2/