dose it mean that this 204 is only phbb204 or it should be work for phpbb2.0.3[ Poll ] [2.0.4] Favorite Topics MOD
Discordia wrote: Excellent mod!
I installed and it works fine, except for one thing: The ranks only show up after sorting or skipping to the next memberlist page (Chronica Mythica)
Any thoughts on why this happens?
#
#-----[ FIND ]------------------------------------------
#
$order_by = "user_regdate $sort_order LIMIT $start, " . $board_config['topics_per_page'];
break;
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// MOD RANK MEMBERLIST BEGIN
$sql = "SELECT *
FROM " . RANKS_TABLE . "
ORDER BY rank_special, rank_min";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not obtain ranks information.", '', __LINE__, __FILE__, $sql);
}
$ranksrow = array();
while ( $row = $db->sql_fetchrow($result) )
{
$ranksrow[] = $row;
}
$db->sql_freeresult($result);
// MOD RANK MEMBERLIST END
F-KHAN wrote: I JUST need to ask 1 question Actually am bored so i have decided to install all modbut im using phpbb2.0.3 ..i have noticed that when i decided to install a new mod ..i m reading this msg
dose it mean that this 204 is only phbb204 or it should be work for phpbb2.0.3[ Poll ] [2.0.4] Favorite Topics MODanyone help me plz i know this is stupid question
Luciouslinda wrote: If anyone wants to see the code that i inserted then please just ask and i will send it to you!!!
#
#-----[ FIND ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.USER_RANK_IMG}{memberrow.USER_RANK}</span></td>
Double check you followed the instructions correctly, especially this bit...
(code)
The coded added MUST go AFTER the closing brace - }
Discordia wrote: After the closing brace for the
switch( $mode)
{
statement, but still within the
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{ statement.
netclectic wrote:Discordia wrote:After the closing brace for the
switch( $mode)
{
statement, but still within the
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{ statement.
I don't understand. What do you mean...
"still within the
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{ statement"
?????
Code: Select all
$order_by = "user_regdate $sort_order LIMIT $start, " . $board_config['topics_per_page'];
break;
Code: Select all
}
}
else
Code: Select all
if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{