I use wpDiscuz and front end moderation addon.
Real IP's are not recorded in comments, so I am unable to ban a users IP.
I am using Bluehost Wordpress Managed Hosting which is a vps.
How to get real ip showing when using wpDiscuz?
Hi amadchatter,
I'm really sorry, but you can't see IP on the frontend. For now, you can only see the commenters' IP on Dashboard > Comments admin page.
We'll take into consideration to display users IP on the frontend for future releases.
My problem like your picture shows, is all IP's in the dashboard are the same.
So you can't actually block anyone by ip.
My problem like your picture shows, is all IP's in the dashboard are the same.
So you can't actually block anyone by ip.
Then you should find why they are all the same. Just find that problem, solve it and then you'll be able to block users. The IP is being registered by WordPress not by wpDiscuz. wpDiscuz doesn't have any relation to this issue. The screenshot is a test website screenshot so all test were done by one user from one IP. But this is not your case.
My problem like your picture shows, is all IP's in the dashboard are the same.
So you can't actually block anyone by ip.Then you should find why they are all the same. Just find that problem, solve it and then you'll be able to block users. The IP is being registered by WordPress not by wpDiscuz. wpDiscuz doesn't have any relation to this issue. The screenshot is a test website screenshot so all test were done by one user from one IP. But this is not your case.
After further investigation, if I post a comment from the wordpress dashboard the IP shows correctly.
If I post a comment from the blog page, that uses standard wordpress comments, the IP shows correctly.
Only when I post a comment from wpDiscuz's form, the IP not show the real IP of the comment, and instead shows the IP of the website itself.
Maybe someone at wpDiscuz can look into this?
"The screenshot is a test website screenshot so all test were done by one user from one IP"
I'm assuming this kind of bug would be easy to overlook in that case.
Hi @amadchatter,
Please do some change in code.
Open /wpdiscuz/class.WpdiscuzCore.php file, find this line (there are two):
'comment_author_IP' => $author_ip,
Change to this:
//'comment_author_IP' => $author_ip,
We'll ad this change in next version so you can update without any issue.
Thank you, IP's are showing now. 🙂