User unsubscription

Please report here problems and bugs
Online
alfa24
FormaLms Expert
Posts: 204
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Tue Apr 03, 2018 3:31 pm

You should learn mvc...
Are $permission or $base_link_subscription variables defined in show.php?
I'm Jasmines, the One

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

Re: User unsubscription

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

That was an attempt to interpret why the link doesn't show in the Course page.

Any other reason could it be? Is it showing at your end?

Another point, why no notification email is sent upon user subscription? Is this the intended behavior?

Online
alfa24
FormaLms Expert
Posts: 204
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:08 pm

Yes, it is showing.
And my users receive the notification mail as well.
If you need a debugger, you should find one...
I'm Jasmines, the One

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

Re: User unsubscription

Post by tempuser » Wed Apr 04, 2018 9:30 am

This link didn't show except by eliminating the condition

Code: Select all

(int)$unsubscribe_requests > 0
, meaning that the issue is with this variable, and even when the link shows the total is always (0) requests (which is supposed to be the value of $unsubscribe_requests), although there are unsubscribe requests pending and listed in the unsubscribe requests page itself.

Also I searched the whole code for the variable $unsubscribe_requests and it's not defined anywhere.

I think this is a bug. Otherwise, where is the value of this variable set?

Online
alfa24
FormaLms Expert
Posts: 204
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Wed Apr 04, 2018 11:06 am

Solved, you have a PM.
I'm Jasmines, the One

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

Re: User unsubscription

Post by tempuser » Wed Apr 04, 2018 2:10 pm

Nothing in PM.

So what is the issue?

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

Re: User unsubscription

Post by tempuser » Wed Apr 11, 2018 6:14 pm

So, where is the bug for not displaying the unsubscribe requests link? What's wrong with the variable $unsubscribe_requests?

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

Re: User unsubscription

Post by tempuser » Wed Apr 11, 2018 8:36 pm

I think the problem is in the insertion in database. When the user clicks the 'unsubscribe' link it shows as waiting in course details as if it's a new subscription request, and even when this false subscription request is approved, the message 'unsubscription request waiting approval' still shows on the user side, although the course is accessible and shows as 'you didn't start this course yet'.

The problem is in the unsubscribe process. Where is the bug here?

Online
alfa24
FormaLms Expert
Posts: 204
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: User unsubscription

Post by alfa24 » Thu Apr 12, 2018 8:40 am

Can't replicate.
If the unsubscribe option is set on "moderate", when the user asks for unsubscribe an admin can approve his request and then the user will be correctly unsubscribed and he will not see the course anymore.
I'm Jasmines, the One

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

Re: User unsubscription

Post by tempuser » Thu Apr 12, 2018 10:40 am

When a user unsubscribes, he is put BOTH in the unsubscribe requests list, and in the Waiting list (as if he requested subscription). Can you reproduce this?

Post Reply