Hi Nir,Nir hat geschrieben:
Edit dazu nochwas im Text steht.
#-----[ OPEN ]------------------------------------------
#
templates/xxx/viewtopic_body.tpl
Ich habe das dreimal stehen und auf allen drei erscheint kein Bild wenn ich das {postrow.XBOXLIVE_IMG} einfüge.Code: Alles auswählen
# #-----[ FIND ]------------------------------------------ # {postrow.ICQ_IMG} # #-----[ AFTER, ADD ]------------------------------------------ # {postrow.XBOXLIVE_IMG} # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM
Hier ist tpl die ist jetzt so das ich {postrow.ICQ_IMG} noch nicht eingeben habe.
http://www.planetpsu.net/viewtopic_body.rar
Und hier die viewtopic dort wurde alles schon reingeschrieben wie beschrieben
http://www.planetpsu.net/viewtopic.txt
ich glaube ich habe die Fehler innerhalb der viewtopic gefunden.
Hier ist die Korrektur:
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, u.user_msnm
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, u.user_xboxlive
#
#-----[ FIND ]------------------------------------------
#
$yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" style="vertical-align: bottom;" /></a>' : '';
$yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// XBL_GamerCard
$temp_url = append_sid("gamercard.$phpEx?" . POST_USERS_URL . "=$poster_id");
$xboxlive_img = ( $postrow[$i]['user_xboxlive'] ) ? '<a href="#" onClick=window.open("' . $temp_url . '","GamerCard","location=no,menubar=no,scrollbars=no,width=220,height=190,status=no",title="Gamercard")><img src="' . $images['icon_xbox'] . '" alt="' . sprintf($lang['XBOX_Live_Gamercard'], $postrow[$i]['username']) . '" title="' . sprintf($lang['XBOX_Live_Gamercard'], $postrow[$i]['username']) . '" border="0" style="vertical-align: bottom;" /></a>' : '';
$xboxlive = ( $postrow[$i]['user_xboxlive'] ) ? '<a href=' . $temp_url . '">' . sprintf($lang['XBOX_Live_Gamercard'], $postrow[$i]['username']) . '</a>' : '';
// XBL_GamerCard
#
#-----[ FIND ]------------------------------------------
#
$yim_img = '';
$yim = '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// XBL_GamerCard
$xboxlive_img = '';
$xboxlive = '';
// XBL_GamerCard
#
#-----[ FIND ]------------------------------------------
#
'YIM_IMG' => $yim_img,
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
// XBL_GamerCard
'XBOXLIVE_IMG' => $xboxlive_img,
'XBOXLIVE' => $xboxlive,
// XBL_GamerCard
#
#-----[ FIND ]------------------------------------------
#
'SIGNATURE' => $user_sig,
#
#-----[ AFTER, ADD ]------------------------------------------
#
// XBL_GamerCard
'L_XBOXLIVE' => $lang['XBOX_Live'],
'XBOXLIVE_URL' => $xboxlive_url,
// XBL_GamerCard
#
#-----[ OPEN ]------------------------------------------
#
templates/xxx/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.MSN_IMG}
#
#-----[ AFTER, ADD ]------------------------------------------
#
# oder da wo man es haben möchte
#
{postrow.XBOXLIVE_IMG}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Gruß,
Markus
PS. Mit dem Adminedit für User suche ich noch.