You should learn mvc...
Are $permission or $base_link_subscription variables defined in show.php?
User unsubscription
Re: User unsubscription
Per supporto GRATUITO contattatemi in privato qui
Re: User unsubscription
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?
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?
Re: User unsubscription
Yes, it is showing.
And my users receive the notification mail as well.
If you need a debugger, you should find one...
And my users receive the notification mail as well.
If you need a debugger, you should find one...
Per supporto GRATUITO contattatemi in privato qui
Re: User unsubscription
This link didn't show except by eliminating the condition , 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?
Code: Select all
(int)$unsubscribe_requests > 0
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?
Re: User unsubscription
Nothing in PM.
So what is the issue?
So what is the issue?
Re: User unsubscription
So, where is the bug for not displaying the unsubscribe requests link? What's wrong with the variable $unsubscribe_requests?
Re: User unsubscription
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?
The problem is in the unsubscribe process. Where is the bug here?
Re: User unsubscription
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.
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.
Per supporto GRATUITO contattatemi in privato qui
Re: User unsubscription
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?