I have a continuing problem with this mod that I thought i'd uninstalled
In AutoMOD it shows up as being installed 3 times. When I try and uninstall it says that it's been uninstalled but with a load of errors underneath.
--------------------------------------------------------------------------------------------
));
//End: Mood Swing
?>
--------------------------------------------------------------------------------
Replace With
?>The Find specified by the MOD could not be found styles/prosilver/template/memberlist_body.htmlFind
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
<!-- IF S_MOOD_MEMBERLIST_ENABLED --><th class="posts">{L_MOOD}</th><!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>The Find specified by the MOD could not be found Find
<td colspan="<!-- IF U_SORT_ACTIVE || S_MOOD_MEMBERLIST_ENABLED -->5<!-- ELSE -->4<!-- ENDIF -->"> </td>
--------------------------------------------------------------------------------
Replace With
<td colspan="<!-- IF U_SORT_ACTIVE -->5<!-- ELSE -->4<!-- ENDIF -->"> </td>The Find specified by the MOD could not be found Find
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
<!-- IF S_MOOD_MEMBERLIST_ENABLED --><th class="posts">{L_MOOD}</th><!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>The Find specified by the MOD could not be found Find
<td class="posts"><!-- IF memberrow.POSTS --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>
<!-- IF S_MOOD_MEMBERLIST_ENABLED --><td class="posts">{memberrow.USER_MOOD}</td><!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<td class="posts"><!-- IF memberrow.POSTS --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>The Find specified by the MOD could not be found styles/prosilver/template/memberlist_view.htmlFind
<!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->
<!-- IF USER_MOOD --><dt>{L_MOOD}:</dt> <dd>{USER_MOOD}</dd><!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->The Find specified by the MOD could not be found styles/prosilver/template/ucp_profile_profile_info.htmlFind
<dl>
<dt><label for="interests">{L_INTERESTS}:</label></dt>
<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
</dl>
<!-- IF S_MOODS_ENABLED -->
<dl>
<dt><label for="mood"><strong>{L_MOOD}:</strong></label><br /><span>{L_MOOD_EXPLAIN}</span></dt>
<dd>{S_MOOD_OPTIONS}</dd>
</dl>
<!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<dl>
<dt><label for="interests">{L_INTERESTS}:</label></dt>
<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
</dl>The Find specified by the MOD could not be found styles/prosilver/template/viewtopic_body.htmlFind
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
<!-- IF postrow.POSTER_MOOD --><dd><strong>{L_MOOD}:</strong> {postrow.POSTER_MOOD}</dd><!-- ENDIF -->
--------------------------------------------------------------------------------
Replace With
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->The Find specified by the MOD could not be found memberlist.phpFind
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
//Begin: Mood Swing
include($phpbb_root_path . 'includes/functions_mood.' . $phpEx);
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);The Find specified by the MOD could not be found Find
u.user_posts, u.user_allow_pm
--------------------------------------------------------------------------------
In-Line Find
This MOD has an invalid instruction, or an in-line find operation failed.The Find specified by the MOD could not be found Find
else
{
$group_name = ($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name'];
$u_group = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']);
}
//Begin: Mood Swing
if ($config['allow_moods'] && !empty($row['user_mood']))
{
$user_mood = get_user_mood($row['user_mood']);
}
else
{
$user_mood = '';
}
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
else
{
$group_name = ($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name'];
$u_group = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']);
}The Find specified by the MOD could not be found Find
'U_VIEW_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'], $row['user_colour']),
//Begin: Mood Swing
'USER_MOOD' => $user_mood,
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'U_VIEW_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'], $row['user_colour']),The Find specified by the MOD could not be found Find
'S_CHAR_OPTIONS' => $s_char_options,
//Begin: Mood Swing
'S_MOOD_MEMBERLIST_ENABLED' => ($config['mood_view_memberlist']) ? true : false,
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'S_CHAR_OPTIONS' => $s_char_options,The Find specified by the MOD could not be found Find
$age = (int) ($now['year'] - $bday_year - $diff);
}
}
//Begin: Mood Swing
if ($config['allow_moods'] && !empty($data['user_mood']))
{
$user_mood = get_user_mood($data['user_mood']);
}
else
{
$user_mood = '';
}
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
$age = (int) ($now['year'] - $bday_year - $diff);
}
}The Find specified by the MOD could not be found Find
'USER_JABBER_IMG' => ($data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',
//Begin: Mood Swing
'USER_MOOD' => $user_mood,
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'USER_JABBER_IMG' => ($data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',The Find specified by the MOD could not be found viewtopic.phpFind
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
//Begin: Mood swing
include($phpbb_root_path . 'includes/functions_mood.' . $phpEx);
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);The Find specified by the MOD could not be found Find
'age' => '',
//Begin: Mood Swing
'mood' => '',
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'age' => '',The Find specified by the MOD could not be found Find
else
{
$user_cache[$poster_id]['icq_status_img'] = '';
$user_cache[$poster_id]['icq'] = '';
}
//Begin: Mood Swing
if ($config['allow_moods'] && !empty($row['user_mood']))
{
$user_cache[$poster_id]['mood'] = get_user_mood($row['user_mood']);
}
else
{
$user_cache[$poster_id]['mood'] = '';
}
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
else
{
$user_cache[$poster_id]['icq_status_img'] = '';
$user_cache[$poster_id]['icq'] = '';
}The Find specified by the MOD could not be found Find
'POSTER_AGE' => $user_cache[$poster_id]['age'],
//Begin: Mood Swing
'POSTER_MOOD' => $user_cache[$poster_id]['mood'],
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'POSTER_AGE' => $user_cache[$poster_id]['age'],The Find specified by the MOD could not be found
-------------------------------------------------------------------------------------------------------------------------------[/color] //End: Mood Swing
--------------------------------------------------------------------------------
Replace With
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);The Find specified by the MOD could not be found Find
$data['user_birthday'] = sprintf('%2d-%2d-%4d', $data['bday_day'], $data['bday_month'], $data['bday_year']);
}
//Begin: Mood Swing
if ($config['allow_moods'])
{
$data['mood'] = request_var('mood', $user->data['user_mood']);
}
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
$data['user_birthday'] = sprintf('%2d-%2d-%4d', $data['bday_day'], $data['bday_month'], $data['bday_year']);
}The Find specified by the MOD could not be found Find
//Begin: Mood swing
//Currently set to validate up to 100, if you want more
//moods than 100 change to the amount you want
if ($config['allow_moods'])
{
$validate_array = array_merge($validate_array, array(
'mood' => array('num', true, 0, 100),
));
}
//End: Mood Swing
if ($config['allow_birthdays'])
{
$validate_array = array_merge($validate_array, array(
--------------------------------------------------------------------------------
Replace With
if ($config['allow_birthdays'])
{
$validate_array = array_merge($validate_array, array(The Find specified by the MOD could not be found Find
//Begin: Mood SwingFile edits
adm/style/acp_users_profile.htmlFind
<dd>{L_DAY}: <select id="birthday" name="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select> {L_MONTH}: <select name="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select> {L_YEAR}: <select name="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="mood"><strong>{L_MOOD}:</strong></label><br /><span>{L_MOOD_EXPLAIN}</span></dt>
<dd>{S_MOOD_OPTIONS}</dd>
</dl>
--------------------------------------------------------------------------------
Replace With
<dd>{L_DAY}: <select id="birthday" name="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select> {L_MONTH}: <select name="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select> {L_YEAR}: <select name="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></dd>
</dl>The Find specified by the MOD could not be found includes/acp/acp_board.phpFind
'load_cpf_viewtopic' => array('lang' => 'LOAD_CPF_VIEWTOPIC', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
//Begin: Mood Swings
'legend3' => 'ACP_MOOD_SETTINGS',
'allow_moods' => array('lang' => 'YES_MOODS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'mood_type' => array('lang' => 'MOOD_TYPE', 'validate' => 'int', 'type' => 'select', 'method' => 'mood_type_select', 'explain' => true),
'mood_view_memberlist' => array('lang' => 'MOOD_VIEW_MEMBERLIST', 'validate' => 'int', 'type' => 'radio:yes_no', 'explain' => true),
//End: Mood Swings
--------------------------------------------------------------------------------
Replace With
'load_cpf_viewtopic' => array('lang' => 'LOAD_CPF_VIEWTOPIC', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),The Find specified by the MOD could not be found Find
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"30\" />";
}
//Begin: Mood Swings
/**
* Select Mood behaviour
*/
function mood_type_select($value, $key = '')
{
global $user;
return '<option value="1"' . (($value == 1) ? ' selected="selected"' : '') . '>' . $user->lang['MOOD_TEXT'] . '</option><option value="2"' . (($value == 2) ? ' selected="selected"' : '') . '>' . $user->lang['MOOD_IMAGE'] . '</option><option value="3"' . (($value == 3) ? ' selected="selected"' : '') . '>' . $user->lang['MOOD_BOTH'] . '</option>';
}
//end: mood Swings
--------------------------------------------------------------------------------
Replace With
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"30\" />";
}The Find specified by the MOD could not be found includes/acp/acp_users.phpFind
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
//Begin: Mood Swing
include($phpbb_root_path . 'includes/functions_mood.' . $phpEx);
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);The Find specified by the MOD could not be found Find
'bday_year' => 0,
//Begin: Mood swings
'mood' => request_var('mood', $user_row['user_mood']),
//End: mood Swings
--------------------------------------------------------------------------------
Replace With
'bday_year' => 0,The Find specified by the MOD could not be found Find
'user_birthday' => array('date', true),
//Begin: Mood Swings
'mood' => array('num', true, 0, 100),
//End: Mood Swings
--------------------------------------------------------------------------------
Replace With
'user_birthday' => array('date', true),The Find specified by the MOD could not be found Find
'user_birthday' => $data['user_birthday'],
//Begin: Mood Swing
'user_mood' => $data['mood'],
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'user_birthday' => $data['user_birthday'],The Find specified by the MOD could not be found Find
'S_BIRTHDAY_YEAR_OPTIONS' => $s_birthday_year_options,
//Begin: Mood Swing
'S_MOOD_OPTIONS' => list_all_moods($user->data['user_id']),
//End: Mood Swing
--------------------------------------------------------------------------------
Replace With
'S_BIRTHDAY_YEAR_OPTIONS' => $s_birthday_year_options,The Find specified by the MOD could not be found includes/ucp/ucp_profile.phpFind
include($phpbb_root_path . 'includes/functions_profile_fields.' . $phpEx);
//Begin: Mood swing
include($phpbb_root_path . 'includes/functions_mood.' . $phpEx);
if ($config['allow_moods'])
{
$sql_ary['user_mood'] = $data['mood'];
}
//End: Mood Swing
if ($config['allow_birthdays'])
{
$sql_ary['user_birthday'] = $data['user_birthday'];
}
--------------------------------------------------------------------------------
Replace With
if ($config['allow_birthdays'])
{
$sql_ary['user_birthday'] = $data['user_birthday'];
}The Find specified by the MOD could not be found Find
'S_BIRTHDAYS_ENABLED' => true,
));
}
//Begin: Mood Swings
if ($config['allow_moods'])
{
$s_mood_options = list_all_moods($user->data['user_id']);
$template->assign_vars(array(
'S_MOOD_OPTIONS' => $s_mood_options,
'S_MOODS_ENABLED' => true,
));
}
//End: Mood Swings
--------------------------------------------------------------------------------
Replace With
'S_BIRTHDAYS_ENABLED' => true,
));
}The Find specified by the MOD could not be found includes/constants.phpFind
// Additional tables
//Begin: Mood Swings
define('MOODS_DATA_TABLE', $table_prefix . 'moods');
define('USER_MOOD_TEXT', 1);
define('USER_MOOD_IMAGE', 2);
define('USER_MOOD_BOTH', 3);
//End: Mood Swings
--------------------------------------------------------------------------------
Replace With
// Additional tablesThe Find specified by the MOD could not be found language/en/common.phpFind
//Begin: Mood Swing
$lang = array_merge($lang, array(
'MOOD' => 'Mood',
'MOOD_EXPLAIN' => 'How do you feel today?',
------------------------------------------------------------------------------------------------------------------------------
A 'Manage Moods' tab is now showing up in users.
When I open my ftp client I get an error message because it is looking for php_BB_Mood_Swings_1.0.1 which is unavailable and in store/mods I keep seeing an uninstall folder. When I delete that and restart the ftp client another folder appears.
Can anyone help me here. 