Forum username redirect to Ultimate Member profile
Quote from eric on September 26, 2017, 11:15 pmHello,
I have already tried the code found various places on google posted by Yworld, but I can’t figure out how to edit that function to make it work for Ultimate Member. (Coding clearly isn’t my thing..)
function my_filtered_post_username($username, $userID) { return '<a href="https://www.slothcraft.com/user/.$username.">'.$username.'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
I am using Wordpress with Ultimate Member and Asgaros forums. www[dot]slothcraft[dot]com
I was also wondering if there was a similar function to make the forum username clickable through out the forums, such as the online users list on the front page of the forums, as well as the last post by: on the forums main page and with-in boards.
Thanks!
Hello,
I have already tried the code found various places on google posted by Yworld, but I can’t figure out how to edit that function to make it work for Ultimate Member. (Coding clearly isn’t my thing..)
function my_filtered_post_username($username, $userID) { return '<a href="https://www.slothcraft.com/user/.$username.">'.$username.'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username', 10, 2);
I am using Wordpress with Ultimate Member and Asgaros forums. www[dot]slothcraft[dot]com
I was also wondering if there was a similar function to make the forum username clickable through out the forums, such as the online users list on the front page of the forums, as well as the last post by: on the forums main page and with-in boards.
Thanks!
Quote from Yworld on September 27, 2017, 9:54 amHi eric,
Check 🙂
function my_filtered_post_username1($ultimatemember, $user_id) { return '<a href="http://test.yworld.ru/user/'.$ultimatemember.'">'.um_get_display_name($user_id).'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username1', 10, 2);Disable AsgarosForun profile in settings
Hi eric,
Check 🙂
function my_filtered_post_username1($ultimatemember, $user_id) { return '<a href="http://test.yworld.ru/user/'.$ultimatemember.'">'.um_get_display_name($user_id).'</a>'; } add_filter('asgarosforum_filter_post_username', 'my_filtered_post_username1', 10, 2);
Disable AsgarosForun profile in settings
Quote from Yworld on September 27, 2017, 10:03 amWhen enabled, apply
- The asgarosforum_filter_profile_link filter allows you to overwrite the profile-links so they lead to other pages you might want to use instead
When enabled, apply
- The asgarosforum_filter_profile_link filter allows you to overwrite the profile-links so they lead to other pages you might want to use instead
Quote from braulio on October 5, 2017, 9:24 amHi Yworld, I’ve tried to use the code above, however I’m not sure where it’d go within the plugin. Could you please help me out? My guess is in the file called “forum-profile.php“, I’m just not sure where.
Thanks, Braulio
Hi Yworld, I’ve tried to use the code above, however I’m not sure where it’d go within the plugin. Could you please help me out? My guess is in the file called “forum-profile.php“, I’m just not sure where.
Thanks, Braulio
Quote from samsam on December 12, 2017, 7:29 amOther thing please Yworld :
I want to add the “forum profile” to the “user pro profile” ‘s page
How can I do that ?
Thanks a lot !
Other thing please Yworld :
I want to add the “forum profile” to the “user pro profile” ‘s page
How can I do that ?
Thanks a lot !
Quote from Asgaros on December 12, 2017, 3:27 pmHello samsam,
please take a look at the following topic:
Hello samsam,
please take a look at the following topic:
Quote from samsam on December 14, 2017, 8:16 amHi thanks, it’s for ultimate member, not for user pro, could you bring a help here to make that code working for userpro please ?
Thanks a lot
Kind regards
Hi thanks, it’s for ultimate member, not for user pro, could you bring a help here to make that code working for userpro please ?
Thanks a lot
Kind regards
Quote from Asgaros on December 14, 2017, 9:18 pmHello samsam,
I dont know the user pro extension and its code/API. So it would be the best if you could ask the developer for the code to generate the profile URL for the user so I can implement it in the before shown example.
Hello samsam,
I dont know the user pro extension and its code/API. So it would be the best if you could ask the developer for the code to generate the profile URL for the user so I can implement it in the before shown example.