XF 1.2 How to change the place of it?


Well-known member
You should be able to just move the div containing the mood class "userMood" to below the <!-- slot: message_user_info_text --> section.


Well-known member
That's because it's inserted via this template: mood_display_member_view

It then has a templatehook listener which injects the code after the hook it's looking for: message_user_info_avatar

                        case 'message_user_info_avatar':
                                        '<!-- slot: message_user_info_avatar -->',
What you probably want to do is replace message_user_info_avatar with message_user_info_text as that is the next template hook down.
That should be in message_user_info template? Because i still can't find it; i tried to find message_user_info_avatar template and it doesnt exist. :( (But i found mood_display_member_view template; and the code that you gave to me isn't there.)

Thank you for your help :(


Well-known member
No, that code is in the add-on. message_user_info is the template where it's own template is being injected in using the hook position.

library/XenMoods/Listener/TemplateHook.php is where the PHP code is that you need to look at editing.