Forum breadcrumbs – You are here:Asgaros Support ForumSupportForum Profile
Please or Register to create posts and topics.

Forum Profile

Hi Thomas

In my site I’m using the UserPro plugin. Because of that I have a different profile page for my users.

When I click in the Forum/Profile/edit profile, it wants to go to the original WP admin/edit-profile page. Now, I edited the forum-profile.php so that it does point to the correct profile page, but the first time I’ll update the plugin, the change will be lost.

Considering that lots of WP user have some sort of User plugin, would it better to have the chance to select which page to send the user for their profile by adding an option in the Asgaros Admin, instead of using “.get_edit_profile_url”

If I’m the only one here using UserPro, then don’t worry about it, as I can make a more permanent change to the profile.php file.

But I thought it would be another easy and good add on for your Forum..

Regards

Burt

Hello @burt

Sorry for the late reply! WordPress has a filter which allows you to change its get-profile-url. Please check out the following page for more details:

https://wordpress.stackexchange.com/a/94077

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi there..

No need to apologise… The filter is a solution, but not an elegant one in my opinion..

That’s why I was suggesting a text input box in the admin area for the “.get_edit_profile_url”, so that if a customer has already a Member’s plugin, he/she can still use Asgaros and have the profile edit option on regardless of what ever other plugin they use (if any). If the box is left blank, then “.get_edit_profile_url” is still valid…

I understood that I could add “another filter” to WP but that doesn’t really make it user friendly as the next person that uses a different member’s plugin, (there are few on the market), will probably come back here with the same question again…

Then you have off course, the person that’s just out there trying the software and know nothing about filters… In that case they would think that Asgaros is not working or not compatible with their other installed plugin, delete Asgaros and move on onto the next plugin…

Like I said, it was just a suggestion.. If I’m the only one here that use Userpro, or a third party Membership plugin, then you don’t really need to worry about it. The filter option will do..

Thank you again for the reply

Burt

Hi @burt

The reason why I link to this filter is that not all member-plugins are working the same regarding to the URL-structure. Some plugins are using IDs, other are using the unique names. So its not possible for me to take care of all those corner-cases when I add such settings. Filters however give the site-owner full control over how it works – even when it is difficult to use. 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from Asgaros on January 12, 2020, 1:52 pm

Hi @burt

The reason why I link to this filter is that not all member-plugins are working the same regarding to the URL-structure. Some plugins are using IDs, other are using the unique names. So its not possible for me to take care of all those corner-cases when I add such settings. Filters however give the site-owner full control over how it works – even when it is difficult to use. 🙂

Understood…

As I’m already using about 20 filters, one more is not going to make any difference…

Thank you

Asgaros has reacted to this post.
Asgaros