Using Member data from Membership Pro Custom Fields in an Article

  • Chris Jarvis
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 2 months ago #156654 by Chris Jarvis
Hello.
I think I have found this solution before but now cannot remember where sorry.
I am wanting all my Joomla users to see details about their membership with us on their own welcome article if that is possible.
So when anyone logins, I can direct them to a welcome page that shows data from the custom fields in their latest Membership Pro subscription record along with basic article text to almost recreate a membership card for them.
This will save so many email of people asking us when their membership will expire or what level of membership they are with us. I also thought it would be quite a cool welcome page that was more personal

I have created some test fields such as the membership level (1,2 or 3). Their Membership Expiry Date as a custom field on their membership subscription record etc.
These carry across if people renew over the years and they work pretty well

My idea is to show these details in an article for them every time they login. I want to create a landing page article that can include these Custom fields and wondered if it was possible please. I seem to remember a plugin where you could use curly brackets for any of the OS Membership Custom fields in a similar way to how you can customise any emails we send with data fields shown on them.

I'd love to create a Joomla article that I can add these data fields into as well.

So on that article it would look something like this:

Hello [first_name]

Welcome to your account page.

Your membership id is: [member_id]
Your membership Level is: [membership_level]
Your membership Expiry Date: [membership_expiry_date]

And the front end article for Bob Roberts would look like this:

Hello Bob

Welcome to your account page.

Your membership id is: 12345
Your membership Level is: Level 2
Your membership Expiry Date: 31/03/2024

I hope this makes sense and wondered if it can be done please

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

More
1 year 2 months ago #156655 by Tuan Pham Ngoc

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

  • Chris Jarvis
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 1 month ago #156776 by Chris Jarvis
Thanks Tuan

I knew it was possible in your extension but I couldn't remember where.
I still must be missing something sorry as I have got the core Joomla Name and Joomla groups coming through great but I can't get the OS Membership custom fields to show sorry.

Please see attached photos to show what I am doing in the article.

The first image shows my custom field names in Membership Pro
The second image shows me using my brackets in the Joomla article creations
The third image shows the front end view of the same article

I cannot figure out what I am doing wrong with the custom fields not showing sorry Tuan

Thanks

Chris
Attachments:

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

More
1 year 1 month ago #156781 by Tuan Pham Ngoc
Hi Chris

Please check the account and make sure you entered Address and Country data for his first subscription record (called profile record in the system)

If data is entered but not being shown, you can submit a support ticket so that I can check it directly on your site to see what's wrong and get it sorted

Regards,

Tuan

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

  • Chris Jarvis
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 1 month ago #156789 by Chris Jarvis
Thanks Tuan

It's me having a really stupid moment sorry.
The custom fields I was trying had Access set to levels my test user wasn't in.

Sorry to have wasted your time with this question at the end but thanks so much for showing me how to add custom fields into an article. This is going to be a great feature for our members and stop so many emails asking about expiry dates and status with us.

Loving it!

Thank you

Chris

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

More
1 year 1 month ago #156815 by Tuan Pham Ngoc
OK Chris. Happy to hear that it is useful feature.

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