bonelifer - phpBBModders Moderator Team Leader - http://www.phpbbmodders.net
bonelifer - phpBBModders Moderator Team Leader - http://www.phpbbmodders.netCREATE TABLE `(table prefix)_avatars` (
and
ALTER TABLE `(table prefix)_users`CREATE TABLE `phpbb_avatars` (
and
ALTER TABLE `phpbb_users`Parse error: parse error, unexpected '=' in ../includes/usercp_register.php on line 54if ( $userdata['user_randomavatars'] == 1 )
{
$user_id = $userdata['user_id'];
$avatar_path = $board_config['avatar_path'];
$sql = "SELECT user_avatar, av_id FROM " . AVATARS_TABLE . " WHERE user_id = '$user_id' ORDER BY av_id";
$result = $db->sql_query($sql);
WHILE ($row = $db->sql_fetchrow($result))
{
$avatar_row = $row['user_avatar'];
if ( substr( $avatar_row, 0, 4 ) = "http" )
{
$image_path = "<img src=\"" . $avatar_row . "\" border=0>";
}
else
{
$image_path = "<img src=\"" . $avatar_path . "/" . $avatar_row . "\" border=0>";
}
$avatar_name = $image_path . "<input type=\"checkbox\" name=\"rand_av_del[]\" value='$avatar_row'><span class=\"gensmall\">Delete</span> ";
$random_avatar_gallery = $random_avatar_gallery . $avatar_name;
}
$db->sql_freeresult($result); if ( substr( $avatar_row, 0, 4 ) = "http" ) if ( substr( $avatar_row, 0, 4 ) == "http" )Return to [2.0.x] MODs in Development
Users browsing this forum: No registered users and 7 guests