suche add-on für photo mod
Verfasst: 14.10.2004 16:07
also ich suche einen mod der mir einen button bei einem beitrag wie für msnm, icq, pn,... anzeigt nur fürs photoalbum
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
}
else
{
$profile_img = '';
Code: Alles auswählen
$sql = "SELECT * FROM ". ALBUM_TABLE ."
WHERE pic_user_id = ". $postrow[$i]['user_id'];
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not album information', '', __LINE__, __FILE__, $sql);
}
if ( $row = $db->sql_fetchrow($result) )
{
$album_img = '<a href="'. append_sid("album_personal.$phpEx?user_id=". $postrow[$i]['user_id']).'"><img src="' . $images['icon_album'] . '" alt="' . $lang['Album'] . '" title="' . $lang['Album'] . '" border="0" /></a>';
}
else
{
$album_img = '';
}
Code: Alles auswählen
$yim_img = '';
$yim = '';
Code: Alles auswählen
$album_img = '';
Code: Alles auswählen
'YIM_IMG' => $yim_img,
'YIM' => $yim,
Code: Alles auswählen
'ALBUM_IMG' => $album_img,
Code: Alles auswählen
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif";
Code: Alles auswählen
$images['icon_album'] = "$current_template_images/icon_album.gif";
Code: Alles auswählen
{postrow.PROFILE_IMG}
Code: Alles auswählen
{postrow.ALBUM_IMG}
jupp ich weiss und deswegen werd ich das gleich bei mir mal ändern, hatte ich schon lange vor bin nur nie zu gekommenLeuchte hat geschrieben:Oder du nimmst gleich die Anleitung
Wusste gar nicht, dass es da schon was gibt. Der Vorteil bei meinem Code: Es wird kein Button angezeigt, wenn der User keine pers. Galerie erstellt hat.