Seite 1 von 1

Nickpage fehler in der Anleitung

Verfasst: 07.04.2005 22:38
von RalfThomas
In der Anleitung steht :

//
//Finde------------------------------------------------------------------------------------
//
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => $poster,
.u.
.s.
.w.
);

//
//Füge darunter ein------------------------------------------------------------------------
//
//
//Nickpagebutton
//
$sql = "SELECT COUNT(uid) AS zaehle FROM ".NICKPAGE_TABLE." WHERE uid='".$poster_id."'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Querrie-Fehler', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
if($row['zaehle'] == "1")
{
$template->assign_block_vars('postrow.Nickpagebutton', array(
'U_NICKPAGE' => append_sid('nickpage.'.$phpEx.'?user='.$poster),
));
}


Bei mir steht aber:

$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => $poster,
'POSTER_RANK' => $poster_rank,
'RANK_IMAGE' => $rank_image,
'POSTER_JOINED' => $poster_joined,
'POSTER_POSTS' => $poster_posts,
'POSTER_FROM' => $poster_from,
'POSTER_AVATAR' => $poster_avatar,
'POST_DATE' => $post_date,
'POST_SUBJECT' => $post_subject,
'MESSAGE' => $message,
'SIGNATURE' => $user_sig,
'EDITED_MESSAGE' => $l_edited_by,

'MINI_POST_IMG' => $mini_post_img,
'PROFILE_IMG' => $profile_img,
'PROFILE' => $profile,
'SEARCH_IMG' => $search_img,
'SEARCH' => $search,
'PM_IMG' => $pm_img,
'PM' => $pm,
'EMAIL_IMG' => $email_img,
'EMAIL' => $email,
'WWW_IMG' => $www_img,
'WWW' => $www,
'ICQ_STATUS_IMG' => $icq_status_img,
'ICQ_IMG' => $icq_img,
'ICQ' => $icq,
'AIM_IMG' => $aim_img,
'AIM' => $aim,
'MSN_IMG' => $msn_img,
'MSN' => $msn,
'YIM_IMG' => $yim_img,
'YIM' => $yim,
'EDIT_IMG' => $edit_img,
'EDIT' => $edit,
'QUOTE_IMG' => $quote_img,
'QUOTE' => $quote,
'IP_IMG' => $ip_img,
'IP' => $ip,
'DELETE_IMG' => $delpost_img,
'DELETE' => $delpost,

'L_MINI_POST_ALT' => $mini_post_alt,

'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
}

$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>

Verfasst: 07.04.2005 22:40
von fanrpg
Also erstmal die Datei verlinken und dann mal den gesamten Code den der Mod verlangt posten! Und drittens ist es das falsche Forum!

So kann ich dir ent helfen!

Die Datei verlinken! Und den kompletten Abschnitt der Anleitung posten!

die datei ist nun ok

Verfasst: 07.04.2005 22:59
von RalfThomas
Aber ich habe nun keinen Nickpage Button im Forum.
Nach der Installationsanleitung.
Und die Schrift ist aufeinmal viel kleiner.
Im Administrationsmenu kommt Nickpage