Post histroy and profile integrate Ultimate Member
Quote from kunka on October 22, 2020, 12:28 pmhi, 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/
https://blog.redlanternfireworks.com/user/alifire/
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
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/
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:Quote from qualmy91 on October 23, 2020, 5:43 amHey @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.
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.
Quote from kunka on October 23, 2020, 8:09 amQuote from qualmy91 on October 23, 2020, 5:43 amHey @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
Quote from qualmy91 on October 23, 2020, 5:43 amHey @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:Quote from qualmy91 on October 29, 2020, 6:00 amHey @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
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:
Quote from Asgaros on February 14, 2021, 9:02 amHello @kunka
An option to change the format for activity-timestamps will be available with the next update! 🙂
Hello @kunka
An option to change the format for activity-timestamps will be available with the next update! 🙂
Quote from Mac on March 7, 2022, 7:12 pmQuote from qualmy91 on October 23, 2020, 5:43 amHey @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.
Quote from qualmy91 on October 23, 2020, 5:43 amHey @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.