Put User custom field information in post footer

the100yen

Member
I have been checking out the YTTalk forum and they have some nice functions,
How can I do something similar?


20312692.png


Basically I would like to add social icons like these and also in the red box, it is the channel link to youtube.

Anyone can help me with this?
 
There are already social buttons if you click the #1 at the bottom of the post.

Youtube channel links can be created manually with BB code. Or to get custom styling in there you may wish to create a custom BB code:

Admin CP -> Home -> BB Code Media Sites
 
Thanks for the reply, however that is not what I am wanting to get

These icons contains link to that user's social site. so if you are to click the twitter button, it will take you to that user's twitter account.
Also for the youtube as well. All these settings can be modified from persona detail page.
 
All these settings can be modified from persona detail page.

Custom user fields? You can edit this template to display custom field values inside of posts:

Admin CP -> Appearance -> Templates -> message

Use this variable:

Rich (BB code):
{$message.customFields.field_id}

You must specify the field_id of the custom field.

Or for the author box of a post it's this template:

Admin CP -> Appearance -> Templates -> message_user_info

Rich (BB code):
{$user.customFields.field_id}

This obviously gets into the HTML code.
 
How can I show those information under each post user make?
Have you seen YTTalk forum before? They have the setup I want.

Pretty much what I want is have user type in the youtube channel name in settings, and have that information show up in each post user make just as what is shown in attachment above!

(By the way, thank you for taking your time for support)
 
Sorry, can you explain this little bit more for new user...I have no idea what it means...:oops:

Edit this template:

Admin CP -> Appearance -> Templates -> message

Add this code:

Rich (BB code):
{$message.customFields.field_id}

You must specify the field_id of the custom field. Then it will show the value for that custom field for each post when you a view a thread.
 
Try this (no guarantee it will work)
Code:
<a href="http://www.youtube.com/profile.php?id={$valueUrl}" target="_blank"><img src="images/youtube.png" alt="YouTube Profile"/></a>

The img src= points to an image in my root /images folder on the site (it goes without saying you need to find an image to place somewhere on your system and point it at that).
 
How would I achieve this, I would like to show the user custom field information in every post user make..in the footer...items will be like facebook icon, Youtube icon. etc...
 
Top Bottom