Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to display profileextender plugin fields ?
migswd
New
I added new fields with profileextender addon but I do not see how to display thoses fields in discussions.
0
Comments
Only works for the profile .... which is why it's called Profile Extender. It adds fields such as school , or occupation and shows up in the user profile.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
But here there is a handler to display the fields in discussion
So it might be possible here.
I found this way.
Now I just need the same but for the comments in the discussion.
I need to find the userid for a comment.
What is the handler I should use ? This one ?
public function discussionController_insideCommentMeta_handler($Sender, $Args) {
If you know the name of the field, it is relatively easy:
You can find the name of the field in the config. As you can see in the following example, it is not necesseraly equal to the label that you have used in the ProfileExtender settings!
And if you want to show that info not only in discussions but also on the recent discussion list, you should better start with
public function base_authorInfo_handler($sender, $args) {
Sorry, I haven't seen that you already found a way.
Thank you so much R_J !! Works great !!!