Skip Navigation

[Resolved] Display currently viewed user info outside loop

This support ticket is created 8 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 34 replies, has 5 voices.

Last updated by Adriano 8 years ago.

Assisted by: Adriano.

Author
Posts
#369512

Thanks 🙂

#374511

Hi Pascal, I've tested your duplicator package with our latest versions of VIews+CRED and the IDs are working as expected. Would you mind updating your version as well and testing this issue?

Let me know how it goes.

Regards,
Yuri.

#379890

The updates haven't changed the issue but it's not consistent. Please take a look at this page: hidden link

You will see two examples of the same view, one in the page view code and one embedded within a CRED form.

View loop within page (wpv-view name="bookings-view-current" currentid="get_userid") ignores shortcode as shows all bookings regardless of user ID in booking.

The same code for the view loop now placed within a CRED form (wpv-view name="bookings-view-current" currentid="get_userid") sees the shortcode and works perfectly showing only the currently viewed users bookings based on user ID in booking.

Thanks for your consistent follow-ups.
James

#380269

I'd mark this as fixed on next release once we have revamped the usage of the global $post in Views. We should release Views this week, please let us know your feedback as soon as you test it.

#390245

Do you confirm that everything is set now?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.