User unsubscription

Please report here problems and bugs
tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

User unsubscription

Post by tempuser » Thu Mar 29, 2018 2:24 pm

I think there is something not working as expected in this area. When a user unsubscribed from a course, a notification is sent by email (according to events configuration), but the admin interface doesn't show anything about it. From where can I find unsubscribe requests to approve it?

User avatar
max
FormaLms Guru
Posts: 2027
Joined: Thu Mar 01, 2012 10:41 am

Re: User unsubscription

Post by max » Thu Mar 29, 2018 2:33 pm

If you allow direct unsubscription, there is nothing to approve.
Approvals in general can be found under the course list, there is a column for "waiting" users
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

alfa24
FormaLms Master
Posts: 401
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Thu Mar 29, 2018 2:49 pm

If you have unsubscribe requests for a course, you should see a link in the /appCore/index.php?r=alms/course/show page
I'm Jasmines, the One. If you need, you can contact me.

tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

Re: User unsubscription

Post by tempuser » Thu Mar 29, 2018 4:00 pm

I have Auto - unsubscribe for this course set to 'on approval', also the course shows as waiting approval in the user interface.

The column waiting users show pending subscriptions, not unsubscriptions.

What if a user subscribed to a course then unsubscribed before approval of their first subscription? It still shows waiting approval in their side.

tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

Re: User unsubscription

Post by tempuser » Thu Mar 29, 2018 6:16 pm

So, is this a bug?

alfa24
FormaLms Master
Posts: 401
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Fri Mar 30, 2018 7:46 am

Please, provide screenshots to show evidence of the issue.
Thank you.
I'm Jasmines, the One. If you need, you can contact me.

tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

Re: User unsubscription

Post by tempuser » Fri Mar 30, 2018 7:29 pm

Nothing to show, just it doesn't show any information about unsubscribe requests. I tried it in both scenarios, in case the user unsubscribes just after requesting subscription (and before approval of subscription), and in case the user unsubscribes after enrollment and starting to take the course. In both cases, I receive notification be email, but don't see any way to find these unsubscribe requests to approve. They keep in waiting approval state for the user side.

Can't you reproduce this?

tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

Re: User unsubscription

Post by tempuser » Mon Apr 02, 2018 8:32 pm

Hello,

Anybody was able to reproduce this issue?

What is the url of the page that should display list of unsubscribe requests?

alfa24
FormaLms Master
Posts: 401
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Tue Apr 03, 2018 8:26 am

/appCore/index.php?r=alms/subscription/unsubscriberequests
I'm Jasmines, the One. If you need, you can contact me.

tempuser
FormaLms Expert
Posts: 85
Joined: Wed Feb 28, 2018 8:26 am

Re: User unsubscription

Post by tempuser » Tue Apr 03, 2018 12:37 pm

Ok, this link is actually working and listing unsubscribe requests. Both of my test scenarios work perfectly, except of the following issues:

- No notification email is sent to admin or to user when a user subscribes to a course, although this is set as 'mandatory' in Event Manager.
- I opened the URL you provided directly, but otherwise there is no link from within the system in the Course page that provides this link or any other hint that unsubscribe requests are received. Where is this link shown in the system?

I see this code in the show.php file:

if($permissions['subscribe']) {
$_table_params['rel_actions'] .= ' <a class="ico-wt-sprite subs_users" href="index.php?r='.$base_link_subscription.'/multiplesubscription"><span>'.Lang::t('_MULTIPLE_SUBSCRIPTION', 'course').'</span></a>'
.((int)$unsubscribe_requests > 0
? '<a class="ico-wt-sprite subs_users" href="index.php?r='.$base_link_subscription.'/unsubscriberequests">'
.'<span>'.Lang::t('_UNSUBSCRIBE_REQUESTS', 'course').' ('.(int)$unsubscribe_requests.')</span></a>'
: '');
}

But the variable $unsubscribe_requests is not defined in the file. Is this a bug?

Post Reply