Skip to:
Content
Pages
Categories
Search
Top
Bottom

Detecting User ID of a poster of a forum topic

Viewing 2 replies - 1 through 2 (of 2 total)

  • Boone Gorges
    Keymaster

    @boonebgorges

    Try bp_get_the_topic_poster_id().

    bp-forums-templatetags.php has all of those functions. If there isn’t a template tag for the data you need, make your own – you can use those as a pattern (getting the value out of an appropriate global).


    jordashtalon
    Member

    @jordashtalon

    Great I got it working, although instead of that function I used

    $topic_template->post->poster_id

    That function gives the Original Poster ID for some reason

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Detecting User ID of a poster of a forum topic’ is closed to new replies.
Skip to toolbar