XF 1.2 How to change the place of it?

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

PHP:
                        case 'message_user_info_avatar':
                                self::_addMoodDisplay(
                                        $template,
                                        '<!-- slot: message_user_info_avatar -->',
                                        $contents,
                                        $params['user'],
                                        'threadShowMood',
                                        FALSE
                                );
                                break;

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 :(
 
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.
 
Top Bottom