Please or Register to create posts and topics.

Post histroy and profile integrate Ultimate Member

hi, i creat a website us asgaros forum and Ultimate Member ,now i have a question about the profile page,i want call asgaros user profile at Ultimate Member page

https://blog.redlanternfireworks.com/forum/profile/alifire/

User

https://blog.redlanternfireworks.com/forum/history/alifire/

and i want use asgaros post history at UM profile page.

now i have allready redirect asgaros profile to UM profile page.

I created an image with PhotoSshop and here’s what I wanted to do

Uploaded files:
  • agandum.jpg

Hey @kunka,

did already check out my Plugin Toolbox for Asgaros Forum?

This will give you the ability to use a shortcode for the statistics and the post history. And you can also automatically add a tab with the post history like in the profile from Asgaros Forum.

 

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.
Quote from qualmy91 on October 23, 2020, 5:43 am

Hey @kunka,

did already check out my Plugin Toolbox for Asgaros Forum?

This will give you the ability to use a shortcode for the statistics and the post history. And you can also automatically add a tab with the post history like in the profile from Asgaros Forum.

 

wow, tks qualmy91,is a nice tool:)

There is another question, i want add a aome link for Member Activity

“Topics Started” clikc to post history page

add link for post count at topic page, link to post history page

and i want use accurate last reply time at topic list page

Uploaded files:
  • Image_20201023140212.png
  • Image_20201023140738.png

Hey @kunka,

to add a link to the ultimate member history tab of my plugin you can use the following code:

add_action('asgarosforum_after_post_author', 'add_clickable_counter', 10, 2);

function add_clickable_counter($author_id, $author_posts){
    $username = get_user_by('id', $author_id)->user_nicename;
    $history_url = 'https://yourdomain.com/profile/'. $username .'/?profiletab=user_history';
    echo '<small class="post-counter"><a href="'. $history_url . '">' .sprintf(_n('%s Post', '%s Posts', $author_posts, 'asgaros-forum'), $author_posts).'</a></small>';
}

Unfortunately it’s not possible at the moment to show the date instead of the time difference at the moment. I will create issue on github to add this functionality to Asgaros Forum.

You can keep track of this function on GitHub:

https://github.com/Asgaros/asgaros-forum/issues/298

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

Hello @kunka

An option to change the format for activity-timestamps will be available with the next update! 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from qualmy91 on October 23, 2020, 5:43 am

Hey @kunka,

did already check out my Plugin Toolbox for Asgaros Forum?

This will give you the ability to use a shortcode for the statistics and the post history. And you can also automatically add a tab with the post history like in the profile from Asgaros Forum.

 

Is there a way to do this without having Ultimate Member installed?  I’m currently using Profile Press and trying to build a custom profile page.  I have tabbed menus for the page and would love to be able to use the statistics and post history shortcodes in the same way that you had for UM.