Notifications
Clear all

Custom Fields inside Posater overview in topic?

18 Posts
4 Users
0 Reactions
8,655 Views
Posts: 13
Topic starter
(@faithnall)
Active Member
Joined: 7 years ago

Hi, we will use the Board for a Game, so the Custom Fields will bs used to show Game Informations Like Char Name or Relam.

So it would be nice to get the Information shown in a normal topic and not to go over the Profil.

Ideas?

17 Replies
Posts: 13
Topic starter
(@faithnall)
Active Member
Joined: 7 years ago

Ok, was my english to bad, that nobody understand my Question ?

Here is a edited Screenshoot to show my wish 🙂

addfields
Reply
Posts: 19
Customer
(@mister)
Member
Joined: 7 years ago

Hello,

I asked the question on this post and there was a beginning of answer. However, I still have not been able to display custom fields in the information column of a topic.

Link : https://gvectors.com/forum/wpforo-user-custom-fields/how-to-display-the-custom-fields-in-the-post-php-topic-php/

Reply
Posts: 13
Topic starter
(@faithnall)
Active Member
Joined: 7 years ago

For me the Main Feature of this plugin, without it, its useless

Reply
Posts: 19
Customer
(@mister)
Member
Joined: 7 years ago

This is the complete answer of the plugin creator.
I must say that the support is not very fast on the forum ... He still has not given more explanation on the operation of its code.

This response : 

1. This function gets the field information by userId and fieldname and return it. You can print $fieldValue value anywhere you want. 

 if (function_exists('wpfucfGetField')) {
$fieldValue = wpfucfGetField($userId, $fieldName);
}

2. This function prints the field information by userId and fieldname with before and after html parameters

if (function_exists('wpfucfTheField')) {
wpfucfTheField($userId, $fieldName, $before = '', $after = '');
}
Reply
Page 1 / 4
Share:
Scroll to top