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

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] Ultimate Member Integration

26 Posts
6 Users
9 Reactions
99.1 K Views
Robert
Posts: 10716
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: 2 months ago

UPDATE: Please remove this custom code from your theme functions.php file. Currently, you can use the "Profile Page" option in Dashboard > Forums > Settings > Features Tab and switch all profile URLs to UM profile page.

You can use this code in WordPress active theme functions.php file to replace all wpForo profile URLs to UM Profile URL:

function change_wpforo_profile_to_um_url( $url = '', $member = array(), $template = 'profile' ){
if( wpfval($member, 'ID') && function_exists('um_fetch_user') && function_exists('um_user_profile_url') ){
um_fetch_user( $member['ID'] );
$user_domain = um_user_profile_url();
if( $user_domain ){
return $user_domain;
}
}
return $url;
}
add_filter( 'wpforo_member_profile_url', 'change_wpforo_profile_to_um_url', 10, 3 );

 


Sapere Aude
Posts: 56
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
(@sapere-aude)
Trusted Member
Joined: 8 years ago

@Robert

Thank you for the code! It works beautifully. Now there is really only one other thing that would make this perfect for me. Is it possible to somehow use a field in UM to populate the Signature field of wpforo? If I could do that, it would be fantastic.


Posts: 392
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
(@anonymous3542)
Honorable Member
Joined: 9 years ago

@robert this works great, thanks very much. Whilst I realise that this is asking for a lot, how much effort would it be to just be able to view forums and subscriptions from UM profile pages ? This would be a game changer for me personally.


Robert
Posts: 10716
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: 2 months ago
Posted by: Sapere Aude

Thank you for the code! It works beautifully. Now there is really only one other thing that would make this perfect for me. Is it possible to somehow use a field in UM to populate the Signature field of wpforo? If I could do that, it would be fantastic.

This is a general and very hard task. Using UM user field in wpForo or vice versa requires lots of hard custom codding. This is not available for BuddyPress too.


Robert
Posts: 10716
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: 2 months ago
Posted by: anonymous3542

@robert this works great, thanks very much. Whilst I realise that this is asking for a lot, how much effort would it be to just be able to view forums and subscriptions from UM profile pages ? This would be a game changer for me personally.

We've spent weeks of hard work to integrate wpForo with BuddyPress profile system, notification system and activity system. The UM also requires weeks of hard work, this is not an easy task. I'm really sorry but it probably won't be included in next 1.5.0 .  However we've moved this integration to the top of our to-do list. We'll start working on this next month.


Page 3 / 5
Share: