Skip to Content Skip to Menu

Get Currently Viewed Profile User ID in module.

13 years 5 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 or Create an account to join the conversation.

13 years 5 months ago #166481 by webschemes
Anybody? ---BUMP---

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

13 years 5 months ago #166506 by webschemes
Sorry if I seem impatient but **BUMP**

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

13 years 5 months ago #166785 by webschemes
BUMPITY BUMP BUMP!!!

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

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

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

  • prnv_mtl
  • prnv_mtl
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 4 months ago #167159 by prnv_mtl
I have same problem
but no solution

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

Moderators: beatnantkrileon
Powered by Kunena Forum