I'm trying to do the same thing he is and having issues. I can get the image to the bottom of the stats, but the remaining issue is the original one doesn't go away. I can't figure out how to get rid of the first one! Anyone have any idea??
See I need to kill the one under the avatar.
View attachment 35409
Uncheck it in style properties.
That might do it but wouldn't that remove the one at the bottom of the messageuserinfo? Probably best trying your method first that'll probably work thinking about it.
No, cause you manually added the template edit in.
See when I un-click it though it hides both of them
Yeah I saw your hook edit Shelley. I didn't do it because no line of code like you posted was in the TemplateHook.php file. I edited the only thing close to it with // and it crashed the site. Had to undo what I did for it to un-crash. lol
is the following the edit you made?
Firstly, you need to disable the template hook. Edit /library/XenMoods/Listener/TemplateHook.php, find (on line 22):
Find:
PHP:
new self($name, $contents, $params, $template);
Replace with:
PHP:
//new self($name, $contents, $params, $template);
Nevermind, Stewart's one worked, it just took 10 minutes to take effect for some reason. Not sure what's up with that. :-/
Thanks guys
]case 'message_user_info_avatar':
self::_addMoodDisplay(
$template,
'<!-- slot: message_user_info_avatar -->',
//$contents,
$params['user'],
'threadShowMood',
FALSE
);
Yeah, sorry, cleaned up the way template hooks work when I expanded it to remove the template edits that used to be required. To disable each hook through the file (and not through the style interface), add "/*" before the "case", and "*/" after the "break", like so:Ah yeah I took a look and it's changed since i wrote that guide it would be changed to something like this (highlighted in red) to disable the hook in message userinfo
/*case 'message_user_info_avatar':
self::_addMoodDisplay(
$template,
'<!-- slot: message_user_info_avatar -->',
$contents,
$params['user'],
'threadShowMood',
FALSE
);
break;*/
Yeah, sorry, cleaned up the way template hooks work when I expanded it to remove the template edits that used to be required. To disable each hook through the file (and not through the style interface), add "/*" before the "case", and "*/" after the "break", like so:
PHP:/*case 'message_user_info_avatar': self::_addMoodDisplay( $template, '<!-- slot: message_user_info_avatar -->', $contents, $params['user'], 'threadShowMood', FALSE ); break;*/
Got a little problem, Xenmoods the mood on this page is too far on the right Anyone know a fix ? https://forumnstuff.com/members/damo.1/
.profilePage .userMood {
margin: px;
}
.profilePage .userMood {
margin: -25px;
}
I've tired this
Code:.profilePage .userMood { margin: -25px; }
The XenMood Icon is in the right place. Though all the text is mushed together. https://forumnstuff.com/members/damo.1/
.profilePage .userMood {
margin: -25px;
}
.profilePage .userMood {
margin-top: -25px;
margin-left: 34px;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.