Announcement

Collapse
No announcement yet.

How to get the ID of current profile

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

  • Removed-836727
    replied
    $prepared['userid'] should work

    Leave a comment:


  • Legionary
    started a topic [Forum] How to get the ID of current profile

    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?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X