Query String for Membership Profile View

  • Matt Hennessy
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago - 6 years 5 months ago #119681 by Matt Hennessy
Query String for Membership Profile View was created by Matt Hennessy
Hi there,

I'm using the Membership Pro View module to display the "Membership Profile" view. Looking at the code for this view, it seems like I should be able to pass in a query string to hide the tabs as well as the renew/cancel options.

Are you able to confirm whether this is possible with this view? The query string I've tried so far looks like this:
Code:
show_my_subscriptions=0&show_subscriptions_history=0&show_renew_options=0&show_upgrade_options=0

But unfortunately that doesn't seem to work.

Thanks!
Last edit: 6 years 5 months ago by Matt Hennessy.

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

More
6 years 5 months ago #119689 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query String for Membership Profile View
Hi Matt

No, that would not work as these parameters could not be passed in QueryString

I haven't tried but I think you should try this approach:

1. Create a hidden menu item to link to User Profile menu option of Membership Pro. Set the parameters for that menu item to meet your need. Remember ID of that menu item

2. In the Query String of the module, enter Itemid=ID_OF_MENU_ITEM_ABOVE

Then check it again. It should work as expected

Tuan

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

  • Matt Hennessy
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #119720 by Matt Hennessy
Replied by Matt Hennessy on topic Query String for Membership Profile View
Hi Tuan,

Thanks for the reply! I tried what you suggested but it didn't seem to work - the view still had all of the tabs, even though the menu item (whose Itemid I used) had them hidden.

That's ok - for the time being I'll just use the regular User Profile page.

Thanks!

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

More
6 years 5 months ago #119727 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query String for Membership Profile View
OK. Thanks Matt. I will look at this issue later. For now, please use normal user profile page

Tuan

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

More
5 years 3 months ago #131899 by JayBEE
Replied by JayBEE on topic Query String for Membership Profile View
I see this is still a problem in v2.18.2. It would be really nice to get this fixed.

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

More
5 years 3 months ago #131900 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query String for Membership Profile View
Hello

Try to update and use latest version 2.19.0. If the issue still happens with that latest version, I will try to check and correct it

Regards,

Tuan
The following user(s) said Thank You: JayBEE

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

More
5 years 3 months ago #131903 by JayBEE
Replied by JayBEE on topic Query String for Membership Profile View
Hi Tuan,

Thanks for the prompt response. I upgraded to v2.19.0 and the problem is still there. Let me know if you want me to submit a ticket for this.

Regards,
JayBEE

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

More
5 years 3 months ago #131909 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query String for Membership Profile View
Just added some code to handle this case and it should be OK now

Please access to My Downloads menu item, download latest package, upgrade it to your site, then check the result again and update me with the result

If it still does not work, please submit a support ticket so that we can check it from there

Tuan
The following user(s) said Thank You: JayBEE

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

More
5 years 3 months ago #131943 by JayBEE
Replied by JayBEE on topic Query String for Membership Profile View
Hi Tuan,

I am happy to report that the latest package fixed the problem with rendering the Membership Profile View based on the Query View specified in the module settings.

Thanks!

Are you going to release this as a new version (minor) or keep it at version 2.19.0?

Regards,
JayBEE

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

More
5 years 3 months ago #131944 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Query String for Membership Profile View
As it's just a minor fix, I will just keep it as part of 2.19.0

Regards,

Tuan
The following user(s) said Thank You: JayBEE

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