AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] User profile in wpForo and WordPress

7 Posts
2 Users
1 Reactions
3,933 Views
Posts: 316
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
(@1sharonkat)
Reputable Member
Joined: 9 years ago
[#4444]

Something strange that I've noticed and I do not know if it is a bug or by design.

wp dashbord --> users --> admin account takes me to wpForo user profile.

wp dashboard --> users --> any user takes me to WordPress user profile.

The only way to see my profile (the admin) in WordPress is to click on "profile" in the dashboard.

?

 

 


6 Replies
Robert
Posts: 10741
Admin
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
(@robert)
Support Team
Joined: 3 months ago

At the moment you can only disable this by editing wpforo/wpf-includes/wpf-hooks.php file.

Find this line:

add_filter( 'edit_profile_url', 'wpforo_change_default_edit_user_page', 10, 3 );

Change to this:

//add_filter( 'edit_profile_url', 'wpforo_change_default_edit_user_page', 10, 3 );

This is already fixed in upcoming wpForo release.


Posts: 316
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
(@1sharonkat)
Reputable Member
Joined: 9 years ago

I have no intention of changing any file in the core of wpForo.

Therefore I'll wait for the next release.

Thanks


Posts: 316
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
(@1sharonkat)
Reputable Member
Joined: 9 years ago

A followup question,

What is the purpose of  wpforo/wpf-includes/wpf-hooks.php file.

Is these pile will be replaced by future updates?


Robert
Posts: 10741
Admin
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
(@robert)
Support Team
Joined: 3 months ago

This is a core file and it includes all functions which included in WordPress hooks.

Is these pile will be replaced by future updates?

I didn't follow you, why it should be replaced?


Page 1 / 2
Share: