Hide Membership ID in Profile

More
6 years 11 months ago #114195 by R S
Hide Membership ID in Profile was created by R S
I am really enjoying membership pro and have a question about a configuration setting. I am using the membership ID feature in case it is needed in the future but I would like the ability to hide/display the membership ID on the profile. I did not see where this could be controlled. Is there a configuration setting for membership ID that I am overlooking?

Thanks,

RS

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

More
6 years 11 months ago #114198 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Membership ID in Profile
Hi

Could you please make a screenshot of the page you want to hide Membership ID so that I can understand your request better?

I ask this question because in Membership Pro, there are 2 user profile page:

1. The normal profile page which is only accessible by the current logged in user

2. The public user profile page which can be viewed by users with proper permission

So I need to know exactly what page you are talking about before answering your question

Regards,

Tuan

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

More
6 years 11 months ago #114204 by R S
Replied by R S on topic Hide Membership ID in Profile
Hi Tuan,
Please find the attached image. I am trying to hide the membership ID from the User Profile tab.

Thanks,

RS
Attachments:

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

More
6 years 11 months ago #114209 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Membership ID in Profile
Hi

For this, you will need to edit code. The file you need to modify is components/com_osmembership/view/profile/tmpl/default_profile.php . Look at that file, you will see the code for displaying Membership ID and remove it

Once the change is done, please move the modified file to PATH_TO_TEMPLATE/html/com_osmembership/profile folder so that the change won't be lost when you update to future releases of the extension

Regards,

Tuan

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

More
6 years 11 months ago #114255 by R S
Replied by R S on topic Hide Membership ID in Profile
THank you Tuan! That worked perfectly. I appreciate your great support and great product.

THanks again,

RS

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

More
6 years 11 months ago #114258 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide Membership ID in Profile
Great. Happy to hear that and thanks for your nice words

Regards,

Tuan

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