Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Extend the Manage my Subscriptions feature #307

Closed
renzms opened this issue Nov 1, 2016 · 9 comments
Closed

Feature Request: Extend the Manage my Subscriptions feature #307

renzms opened this issue Nov 1, 2016 · 9 comments

Comments

@renzms
Copy link
Contributor

renzms commented Nov 1, 2016

It would be nice to extend the features of the manage my subscriptions link and shows the subscriptions for the logged in user.

screen shot 2016-10-29 at 8 48 33 pm

Some customizable options such as the following:

  • The ability to customize the url path to the subscriptions page such as domain.com/my-subscriptions

  • Or even the ability to show the list of subscriptions of the visitor on a page within the site's theme via a shortcode or customizable template

  • If the visitor does not have a subscription to any comment, present the user on this page an option to subscribe to available pages/posts and collect their email instead of showing the error prompt:

Missing subscription key; unable to display summary.


Referencing internal ticket: https://websharks.zendesk.com/agent/tickets/14763

@raamdev
Copy link
Contributor

raamdev commented Nov 1, 2016

@renzms writes...

If the visitor does not have a subscription to any comment, present the user on this page an option to subscribe to available pages/posts and collect their email instead of showing the error prompt: Missing subscription key; unable to display summary.

Can you provide me with a list of steps to reproduce this behavior?

@renzms
Copy link
Contributor Author

renzms commented Nov 2, 2016

Can you provide me with a list of steps to reproduce this behavior?

Sure, it doesn't happen on a normal workflow but in this case the admin user wanted a direct link available via menu to the subscriptions page.

  • The manage my subscription link goes to this path: domain.com/?comment_mail%5Bmanage%5D%5Bsummary%5D=k, when visiting this link while not logged-in or either without a subscriptions it displays Missing subscription key; unable to display summary.

@raamdev
Copy link
Contributor

raamdev commented Nov 3, 2016

when visiting this link while not logged-in

Does that link appear anywhere when not logged-in? It shouldn't, unless you've previously subscribed to a comment, which sets a cookie in your browser that then makes the link appear. So if the 'manage my subscriptions' link ever appears on the comment form of a site, the user should be able to click it and view their subscriptions. It should never appear unless you actually have a subscription.

@renzms
Copy link
Contributor Author

renzms commented Nov 5, 2016

It should never appear unless you actually have a subscription.

Right, customer wanted to link to a subscriptions page regardless if their visitors had previous comments and were not logged-in visitors. So they tried to use the link to go directly to the page and try to collect subscriptions without commenting in that way.

@raamdev
Copy link
Contributor

raamdev commented Nov 7, 2016

@renzms Right, that's the expected behavior. If the user does not have any subscriptions, we don't have anything to show them, so a link to their list of non-existent subscriptions is not shown. I don't understand why you'd want to show them the My Subscriptions page if there's nothing to show them in the first place, hence my confusion about this feature request...

@renzms
Copy link
Contributor Author

renzms commented Nov 8, 2016

I don't understand why you'd want to show them the My Subscriptions page if there's nothing to show them in the first place, hence my confusion about this feature request...

@raamdev

In the original email the customer wrote in to request a direct page or link to the My Subscriptions Page, (the main request to extend the features of my subscription page) so any visitor could go to their "Subscriptions". If in the case, they didn't have any subscriptions, then the additional request was to allow them to view possible posts to subscribe to and collect their email without being logged in.

We can omit this part of the request then, as this is just an observed behavior by the customer when trying to link directly to the My Subscriptions page:

If the visitor does not have a subscription to any comment, present the user on this page an option to subscribe to available pages/posts and collect their email instead of showing the error prompt:

Missing subscription key; unable to display summary.

If the feature request is just to extend the capabilities of the My Subscriptions page to a shortcode or template then they would not encounter the above error for what they are trying to attempt; which is: collect emails and directly link to the Subscriptions page.

@raamdev
Copy link
Contributor

raamdev commented Nov 9, 2016

If in the case, they didn't have any subscriptions, then the additional request was to allow them to view possible posts to subscribe to and collect their email without being logged in.

So, an Add Subscription page would be shown if they did not have any subscriptions? We toyed with that idea awhile back and decided against it, due to UX concerns. (How would someone know what post they want to subscribe to by selecting it from a drop-down box? They'd most likely visit the post first, then subscribe, in which case the existing "Subscribe without Commenting" link should work fine.)

extend the capabilities of the My Subscriptions page to a shortcode

I like the idea of a shortcode that could be inserted on a page to list a users subscriptions, that way a site owner could create such a page on their site using their site theme and make it look like it's part of their site (as opposed to having a custom Comment Mail-specific page for showing the subscriptions). If you could open a separate GitHub issue for that, that would be great ("Feature Request: Shortcode for My Subscriptions")

@renzms
Copy link
Contributor Author

renzms commented Nov 9, 2016

@raamdev

They'd most likely visit the post first, then subscribe, in which case the existing "Subscribe without Commenting" link should work fine.)

Agreed, this would probably work better in most cases.

If you could open a separate GitHub issue for that, that would be great ("Feature Request: Shortcode for My Subscriptions")

Cool, created new issue for that request. See: Feature Request: Shortcode for My Subscriptions

@raamdev
Copy link
Contributor

raamdev commented Nov 9, 2016

Cool, thanks. I'll go ahead and close this issue then in favor of the one you opened.

@raamdev raamdev closed this as completed Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants