Mein erstes Problem hat sich mittlerweile gelöst
Aber die nächsten kommen gleich.
Seinenszeitens habe ich von 2.0.51 und CH 1.0.5 auf o.g. Versionen geuppt.
Einen Einbaufehler habe ich heute identifiziert und bereinigt. Dafür habe ich einfach die album_modcp.php aus dem Photo Album 2.0.53 genommen und mit der Anleitung des CH 1.3.0 aktualisiert (SP installiert).
Nun fallen mir weitere Unterschiede zu meiner damals mühsam aktualisierten Datei auf.
Ich nenne zuerst immer die neue Datei(a, based 1.3.0) und dann die alte (b, based 1.0.5)
Code: Alles auswählen
Zeile 454:
a: 'S_ALBUM_ACTION' => append_sid(album_append_uid("album_modcp.$phpEx?cat_id=$cat_id")),
b: 'S_ALBUM_ACTION' => append_sid(album_append_uid("album_modcp.$phpEx?mode=move&cat_id=$cat_id")),
Zeile 578:
a: 'S_ALBUM_ACTION' => append_sid(album_append_uid("album_modcp.$phpEx?mode=move&cat_id=$cat_id")),
b: 'S_ALBUM_ACTION' => append_sid("album_modcp.$phpEx?mode=move&cat_id=$cat_id"),
Zeile 708:
a: if ($album_user_id != ALBUM_PUBLIC_GALLERY)
b: if ($album_user_id == ALBUM_PUBLIC_GALLERY)
Zeile 714:
a: $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx")) . "\">", "</a>");
b: $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
Zeile 778:
a: if ($album_user_id != ALBUM_PUBLIC_GALLERY)
b: if ($album_user_id == ALBUM_PUBLIC_GALLERY)
Zeile 784:
a: $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx")) . "\">", "</a>");
b: $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
Zeile 845
a: Eintrag nicht vorhanden
b: $sql = "UPDATE " . USERS_TABLE . "
SET user_new_album_img = 1
WHERE user_allow_new_img_popup = 1
AND user_id <> ".$userdata['user_id'];
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not update popup status for new image', '', __LINE__, __FILE__, $sql);
}Danke