The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Problem with links ...
 
Share:
Notifications
Clear all

Problem with links to user's profile

4 Posts
2 Users
0 Reactions
1,664 Views
Posts: 49
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
(@hannes)
Trusted Member
Joined: 6 years ago
[#2124]

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


3 Replies
Asti
Posts: 8210
 Asti
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
(@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. 


Reply
Posts: 49
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
(@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


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8210
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

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.


Reply
Share: