Please or Register to create posts and topics.

Link To Ultimate Member Profile

Hi Guys

I love your forum, I am trying to link to Ultimate Member for profile, I have seen another thread and tried everything but nothing is working, are you able to help please & thank you.

Hi,
I have included “UserPro”, the member area, by reprogramming the following PHP and now have access directly to UserPro …
1. forum-profile.php
2. forum-memberslist.php

Greetz

Sven

Uploaded files:
  • user.jpg

Thanks for this Sven

Sorry but I am a bit confused, is this to help me link the profiles to Ultimate Member?

Hello @fantasy-darts

You can check the last example of the following post:

https://asgaros.com/support/?view=thread&id=691&part=1#postid-3215

I dont know the Ultimate Member API but you can ask in their support-forum on how to generate a profile-link based on a user-id or unique-name. In combination with the code-example this should help to find a solution for this. 🙂

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

How do I remove members?

Hello @laamb

You can delete members in the user-section in your WordPress administration area.

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

deleted.

Asgaros has reacted to this post.
Asgaros

@Blair,

if you send him that as a “code”, you should also write where he should insert it, in the function.php or in the forum.php or where else, everything else is “clairvoyance”

Blair has reacted to this post.
Blair

Hey,

If you need to link username on “post-author”, I have one solution.

In forum-profile.php, replace :

public function getProfileLink($userObject) {
    if ($this->hideProfileLink() || !$this->functionalityEnabled()) {
        return '%s';
    } else {
        $profileLink = $this->asgarosforum->getLink('profile', $userObject->ID);
        $profileLink = apply_filters('asgarosforum_filter_profile_link', $profileLink, $userObject);

        return '<a class="profile-link" href="/profil/'.$userdata->user_nicename.'">%s</a>';
    }
}

by this :

public function getProfileLink($userObject) {
   
        $profileLink = $this->asgarosforum->getLink('profile', $userObject->ID);
        $profileLink = apply_filters('asgarosforum_filter_profile_link', $profileLink, $userObject);

        return '<a class="profile-link" href="/profile/'.$userObject->user_nicename.'">%s</a>';
    }

Change “/profile/” by your profile page link.