Notifications
Clear all

wpForo 1.x.x [Closed] User profile in wpForo and WordPress

7 Posts
2 Users
1 Likes
2,284 Views
Posts: 316
Topic starter
(@1sharonkat)
Reputable Member
Joined: 7 years ago

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: 10499
Admin
(@robert)
Support Team
Joined: 8 years 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
(@1sharonkat)
Reputable Member
Joined: 7 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
(@1sharonkat)
Reputable Member
Joined: 7 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: 10499
Admin
(@robert)
Support Team
Joined: 8 years 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