Announcement

Collapse
No announcement yet.

How to get the ID of current profile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] How to get the ID of current profile

    We are trying to make a plug-in output data from our database, and would like to have the ID-number of the currently visited profile page in the SQL query.

    I saw that another plug-in used ...

    Code:
    $this->profile->userinfo['userid'];
    ... but we haven't got this to work.

    Do any of you have any tips regarding how to make this work?

  • #2
    $prepared['userid'] should work

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X