Please or Register to create posts and topics.

Introduce topic link user in profile

Hi,

Every member on my forum have created a topic where they have introduced themself.

I want to create a link of their introduce topic into the profile information (red circle in screenshot)

How can i do that? I know, it’s a unique topic link for every user.

Thank you very much.

Uploaded files:
  • Screenshot_20210506-201413_Chrome.jpg

Hey @fanste,

you could write a plugin to check the forum for the topic in your introduction forum or you monitor the new topics and create a custom user meta with the URL. After that, you just add the link there.

If you want me to create this plugin, just contact me over my website https://www.domrawebsolutions.com/. So I can tell you how much it would be.

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.

Hi @qualmy91,

I already have gathered all the topic links and want to add them manually. How can I create a custom user meta and the link below the pm message url?

Hey @fanste,

you can use a plugin like advanced custom fields to add a field for the introduction topic (https://www.wpbeginner.com/plugins/how-to-add-additional-user-profile-fields-in-wordpress-registration/). After adding the field you have to insert the gathered fields to every user and make sure that you will add all the new topics to new users.

To display the link you can use the Hook “asgarosforum_after_post_author”:

do_action('asgarosforum_after_post_author', $post->author_id, $post->author_posts);

You will just have to check how to access these custom fields with the author ID from the post and output the link.

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.

Hi @qualmy91,

Thank you for your reply.

I’ve just created a field with the plugin Profile Extra Fields. It’s visible in my profile page in the backend of Wordpress and I’ve placed my introduce URL in the field.

How can I make this visible in my forum posts under the send private message link (‘Berichtje sturen’ in my previous screenshot) ?

Uploaded files:
  • profile.jpg

Hey @fantse,

sorry, but I can’t offer free code customization at the moment. I’m really busy and just try to keep the forum spam-free and answer the support questions.

Please hire a programmer or wait for another user to create the code snippet.

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.