Get Currently Viewed Profile User ID in module.

12 years 10 months ago #166431 by webschemes
Ok, so I am re-coding an existing component, this is a standard Joomla Component, and is being called inside a tab in Community Builder. What I need to be able to do is pull the currently viewed profile user id and be able to insert it into my query to pull data from an un related table in Joomla. So

A) User comes to persons profile
B) Component pulls the current profile user id
C) User id is used in code to populate query

The component is outside of Community Builder and I am not finding a useful way to access the currently viewed profile from outside community builder. I have been working on this all week, so I am not even sure I am explaining it right. But I don't need the logged in user's ID, I need to get the ID of the currently viewed user profile. It's in the URL but how do I get it into my query?

Please Log in to join the conversation.

12 years 10 months ago #166481 by webschemes
Anybody? ---BUMP---

Please Log in to join the conversation.

12 years 10 months ago #166506 by webschemes
Sorry if I seem impatient but **BUMP**

Please Log in to join the conversation.

12 years 10 months ago #166785 by webschemes
BUMPITY BUMP BUMP!!!

Please Log in to join the conversation.

12 years 10 months ago #166786 by webschemes
I think I am chopped liver here... nobody likes replying to my question...

Please Log in to join the conversation.

12 years 10 months ago #167159 by prnv_mtl
I have same problem
but no solution

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.173 seconds

Facebook Twitter LinkedIn