- Posts: 646
- Thank you received: 31
Membership Card - Remove option to download card for Subscriber
- David Unwin
- Topic Author
- Offline
- Platinum Member
Less
More
2 years 2 weeks ago #154963
by David Unwin
Membership Card - Remove option to download card for Subscriber was created by David Unwin
In the past we have allowed our members to download their own membership cards.
We now want to stop this so that only admins can do this.
So I have set the option in Member Card Settings - Show Download Member Card For Admin to YES
What I can't see is how to turn off the Subscriber to being able to to download their own card
I can't see any option in General or Member Card Settings.
Am I missing something??
We now want to stop this so that only admins can do this.
So I have set the option in Member Card Settings - Show Download Member Card For Admin to YES
What I can't see is how to turn off the Subscriber to being able to to download their own card
I can't see any option in General or Member Card Settings.
Am I missing something??
Please Log in or Create an account to join the conversation.
- David Unwin
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 31
2 years 5 days ago #155245
by David Unwin
Replied by David Unwin on topic Membership Card - Remove option to download card for Subscriber
Anyone have any opinion on this issue?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 5 days ago #155246
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership Card - Remove option to download card for Subscriber
Hello David
We do not have option to prevent subscribers to download member card (the feature is designed to allow them to download member card, so it is a bit strange to me that you want to disable it)
So if you want that, you will need to customize code. The file is components/com_osmembership/view/profile/tmpl/default_subscriptions.php
(Just add $this->showDownloadMemberCard = false; at the top of file would help)
Once the modification is done, you need to move that modified file to PATH_TO_TEMPLATE/html/com_osmembership/profile folder so that the change won't be lost when you update to future release of the extension. PATH_TO_TEMPLATE is path to the template which you are using on your site
Regards,
Tuan
We do not have option to prevent subscribers to download member card (the feature is designed to allow them to download member card, so it is a bit strange to me that you want to disable it)
So if you want that, you will need to customize code. The file is components/com_osmembership/view/profile/tmpl/default_subscriptions.php
(Just add $this->showDownloadMemberCard = false; at the top of file would help)
Once the modification is done, you need to move that modified file to PATH_TO_TEMPLATE/html/com_osmembership/profile folder so that the change won't be lost when you update to future release of the extension. PATH_TO_TEMPLATE is path to the template which you are using on your site
Regards,
Tuan
The following user(s) said Thank You: David Unwin
Please Log in or Create an account to join the conversation.
- David Unwin
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 31
2 years 4 days ago #155258
by David Unwin
Replied by David Unwin on topic Membership Card - Remove option to download card for Subscriber
Thanks Tuan,
That works perfectly.!!!!
That works perfectly.!!!!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
2 years 4 days ago #155259
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Membership Card - Remove option to download card for Subscriber
Great. Remember to move the modified file to template override as mentioned so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Regards,
Tuan
The following user(s) said Thank You: David Unwin
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.