Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
'POSTER_NAME' => $poster,
#
#-----[ REPLACE WITH ]------------------------------------------
#
'POSTER_NAME' => ($poster_name = color_group_colorize_name($poster_id, true)) ? $poster_name : $poster,
Code: Select all
for($i = 0; $i < count ( $inactive_users ); $i++)
{
$user_id = $inactive_users[$i]['user_id'];
$username = $inactive_users[$i]['username'];
Code: Select all
include_once($phpbb_root_path.'includes/functions_color_groups.'.$phpEx);
for($i = 0; $i < count ( $inactive_users ); $i++)
{
$user_id = $inactive_users[$i]['user_id'];
$username = $inactive_users[$i]['username'];
$username = ($user_name = color_group_colorize_name($user_id, true)) ? $user_name : $username;
Code: Select all
<td class="row1" id="<span style="font-weight:bold;color:#133DA8">Dr. Bom Amor</span>" align="center"><a href="./../profile.php?mode=viewprofile&u=4&sid=d5v9134d998ag570663c5vbecbc011dad"><span style="font-weight:bold;color:#133DA8">Dr. Bom Amor</span></a></td>
Code: Select all
"USERNAME" => $username,
Code: Select all
"USERNAME_FOR_ID" => $inactive_users[$i]['username'],
Code: Select all
id="{inactive_users.USERNAME}"
Code: Select all
id="{inactive_users.USERNAME_FOR_ID}"
Warning: Invalid argument supplied for foreach() in /home/.ulian/.../phpBB2/admin/admin_prune_users.php on line 762
Code: Select all
if ( is_array ( $default_data_array ) )
{
Parse error: syntax error, unexpected $end in /home/.adelson/.../admin/admin_prune_users.php on line 846