MyBB Community Forums

Full Version: Mood plugin question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed the MyMood plugin but it has not done the template change to add it to where it should be in the screenshot I uploaded, does anyone know what I have to add and in which template to make it display?

Many thanks, hope you all had a good Christmas.
Which mood plugin is it your trying to install ?
http://mods.mybboard.net/view/mymood-for-14 I've edited it so that it works for 1.6
bumping
eval("\$post['mood'] = \"".$templates->get("mood_postbit")."\";");
	$post['user_details'].=$post['mood'];

postbit_author_user template should contain $post['mood']
I think its the problem with the hooks that are required in MyBB 1.6.5

Do as directed -

Open your /inc/plugins/mood.php

Find this code
function mood($post)
{
	global $db, $mybb, $lang, $templates, $theme;
	
	$lang->set_language($mybb->settings['bblanguage']);
	$lang->load("mood");

Now in the first line i.e.
function mood($post)
add a '&' before the '$'

So that it looks like
function mood(&$post)

Save Smile

Hope it helps Smile