Hey guys,
I noticed a very weird behaviour with the links to the user's profile, more specifically the URL to my user profile in the comment section.
Compare the links in those two posts:
- https://www.meeplemansion.de/spiele/the-witcher-the-old-world/the-witcher-the-old-world-ist-live-auf-kickstarter/
- https://www.meeplemansion.de/spiele/ganz-schoen-clever/in-ganz-schoen-clever-ueber-300-punkte-erreichen-so-funktioniert-es/
Screenshots:
In the first post, the link to my profile, when clicking on my username, looks like this: https://www.meeplemansion.de/profil/hannes/
In the second post, it looks like this: https://www.meeplemansion.de/profil/johannes/
My nicename is indeed "johannes", but it seems that in the first post, wpdiscuz uses my display name/nickname for the URL for some reason.
I have no clue why this is happening. As the display name is not unique, I don't think it should be like this.
Regards
Johannes
Hi Johannes,
Please follow the steps below:
1. Open the wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php file
2. Find the following lines (806-807):
um_fetch_user($user["u_id"]);
$user_link = um_user_profile_url();
3 Replace the code in the lines with this one:
$user_link = um_user_profile_url($user["u_id"]);
4. Delete all kind of caches and check again.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Hi Asti,
I did that and cleared all caches, but the URL is still not correct.
Regards
Johannes
Are you sure those are the same users? Please check the user IDs to make sure. If those are the same, you'll need to contact the UM plugin support with this issue. wpDiscuz just uses the UM plugin functions in this case.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

