The solution to this is posted in the old topic - prior to validation.radali wrote:hello there
Thanks for this great MOD just a few Questions
I have installed this MOD but problem with layout i have
look at the picture wat should i do ?
Code: Select all
$group_options .= '<option value="' . $row['group_id'] . '"' . (($row['group_id'] == $member['group_id']) ? ' selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
}
$db->sql_freeresult($result);
Code: Select all
$group_options = '';
foreach ($group_sort as $group_id => $null)
{
$row = $group_data[$group_id];
$group_options .= '<option value="' . $row['group_id'] . '"' . (($row['group_id'] == $member['group_id']) ? ' selected="selected"' : '') . '>' . $row['group_name'] . '</option>';
}
unset($group_data);
unset($group_sort);
Code: Select all
while ($row = $db->sql_fetchrow($result))
{
$group_ids[] = $row['group_id'];
$s_group_select .= '<option value="' . $row['group_id'] . '"' . (($group_selected == $row['group_id']) ? ' selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
}
$db->sql_freeresult($result);
Hmm... Good to know Eragon. I was just about to install it on 3.0.6, but I'm planning on updating to 07 soon. Question for you: Did you just try to install this on 3.0.7, or did it break after you updated your board to 3.0.7?Eragon wrote:it is not working phpBB 3.0.7-PL1 , any update ?
I would guess it's common to either forget to do the SQL changes, or forget to preface the SQL tables correctly with this mod... Just off the top of my head with nothing else to go on.Eragon wrote:fresh install,vanilla phpbb 3.0.7-PL1
Code: Select all
/**
* STATUS friends list
*/
if (isset($config['enable_status']))
{
// status
$sql = 'SELECT status_text
FROM '.STATUS_TABLE.'
WHERE user_id ='.intval($fri_id).' ORDER BY status_time DESC';
$result = $db->sql_query_limit($sql, 1);
while($row = $db->sql_fetchrow( $result )) {
$template->assign_block_vars('fri', array(
'FRI_STATUS' => $row['status_text'],
));
}
}