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

[Solved] Linking to Custom Profile Page

6 Posts
3 Users
1 Reactions
943 Views
Posts: 20
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
(@support)
Eminent Member
Joined: 1 year ago
[#62503]

In the Member Profile setup you note: wpForo forum has a powerful user profile system which can be managed in this setting page. Here you can hide/show forum header and footer on profile pages, manage profile components like avatars, member titles, nickname, URL structure, signature etc... In case you use BuddyPress or Ultimate Members plugins, you can switch forum profile page to the plugin profile page.

We have a custom profile page how do we set it as default instead of wpForo, BuddyPress, or Ultimate Members??


5 Replies
Posts: 20
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
(@support)
Eminent Member
Joined: 1 year ago

It appears we maybe able to do it here??

For member profile, account and subscription pages use following URLs:
https://www.circlecitycampers.com/circlecitycampersblog/participant/profile/
https://www.circlecitycampers.com/circlecitycampersblog/participant/account/
https://www.circlecitycampers.com/circlecitycampersblog/participant/subscriptions/


2 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
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

@support 

"Please let us know which plugin you’re using to create the profile pages.


(@support)
Joined: 1 year ago

Eminent Member
Posts: 20
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

@sofy We are writing our own code using wp snippet pro plug in. So it would be nice instead of defaulting specific plugins you could offer a textarea url hyperlink option in the dropdown.


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

Hi @support ,

There are a lot of hooks in wpForo so you can change the profile URLs as you want.

You should use the wpforo_member_profile_url hook.

Example:

add_filter( 'wpforo_member_profile_url', 'my_custom_profile_url', 10, 3 );

function my_custom_profile_url( $url = '', $member = [], $template = 'profile' ){
     if( ! wpforo_is_admin() && wpfval( $member, 'userid' ) ) {
          switch( $template ) {
               case 'account':
                     $url = home_url() . '/participant/account/';
               break;
               case 'activity':
                     $url = home_url() . '/participant/profile/';
               break;
               case 'subscriptions':
                     $url = home_url() . '/participant/subscriptions/';
               break;
               case 'profile':
                     $url = home_url() . '/participant/profile/';
               break;
          }		
     }
     return $url;
}

1 Reply
(@support)
Joined: 1 year ago

Eminent Member
Posts: 20
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 Yep - thanks, we tweaked it a bit but your recommendation worked !! Thanks.


Share: