Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to display the User Post Count in Topic.php

@vegasparty607

Participant

Hey ray, i have a quick question.

I have wp-ban installed, and it adds a function that fetch’s the IP address of the user logged in i think, it’s the standard function for calling it.

the full code is here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/having-trouble-with-ip/#post-96715

What i did is I put the function in the topic.php so it would show the poster’s IP address. Now knowing that that function only retrieves the current logged in user IP, I thought I could override this with your function above, (my_topic_poster_id) so it would display the IP address of the forum poster. (like the member stats), so put in topic.php

`. `

Will it pass the topic poster ID so it shows the forum poster’s IP and not mine?

Skip to toolbar