The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Problem with links to user's profile
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Jun 04, 2021 3:40 pm
(@hannes)
Trusted Member
Joined: 6 years ago
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:
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
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Jun 04, 2021 4:41 pm
(@asti)
Illustrious Member
Joined: 8 years ago
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.
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Jun 11, 2021 3:43 pm
(@hannes)
Trusted Member
Joined: 6 years ago
Hi Asti,
I did that and cleared all caches, but the URL is still not correct.
Regards
Johannes
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8210
Jun 12, 2021 12:51 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
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.