Member Card issued even if disabled in plan settings

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
11 months 1 week ago #158135 by hide10
Hello,

We enabled Member Card feature only for specific plans.

- Global config > Member Card Settings >
       - Activate Member Card Feature: Yes
       - Send Member Card Via Email: Yes
- Plan config > Member Card Settings > 
       - Activate Member Card Feature: Yes (only for specific plans)
       - Activate Member Card Feature: No (for other plans)

However, even if users subscribed for Member-Card-disabled plans, Member Card pdf is sent via Email to users.

Member Card layout is configured only for specific plans.
The default layout in global config was left untouched.
Therefore, the default layout member card was sent to users.

This is annoying issue.
So I cleared the default member card layout in global config.

But still, blank pdf is sent to users.

In short, member card pdf is sent vie Email for all plans regardless of it is enabled or not.
How do I prevent this issue?

Thanks.

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #158137 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Member Card issued even if disabled in plan settings
Hi

You're right. I can confirm that bug. Please access to My Downloads menu item, download latest package, upgrade it to your site, then check it again. The error should be gone

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
11 months 1 week ago #158139 by hide10
Hi Tuan,

Thank you for your quick solution.
I updated the package and tested.

Now things work as expected.

Thank you!

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #158144 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Member Card issued even if disabled in plan settings
Great. Thanks for confirming. It was a valid bug which has been there from beginning, no-one found it until you reported. Thanks again

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
11 months 1 week ago #158163 by hide10
Hello again,

I noticed that frontend subscriptions management menu does not work after the package update.
When I access the menu, it throws an error message below:

Call to a member function get() on null

File: …/components/com_osmembership/view/subscribers/html.php
Line: 73

If I re-install the previous 3.3.2 package, the issue is resolved.
So it seems that the error was caused by the modified package.

Will you please look into this issue?

Thanks!

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #158165 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Member Card issued even if disabled in plan settings
Hi

Yes. That causes by some changes I made to the extension (not related to this issue) to handle menu item parameters consistent between view and model (technical thing). I found and fixed the issue. Could you please access to My Downloads menu item, download latest package, upgrade it to your site, then check it again ?

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
11 months 1 week ago #158168 by hide10
Hi Tuan,

I update the package and tested.
Confirmed that the menu issue is resolved, and Member Card still works as expected.

I appreciate your quick response and solution.
Thank you!

Please Log in or Create an account to join the conversation.

More
11 months 1 week ago #158177 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Member Card issued even if disabled in plan settings
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.