Seite 2 von 2

Verfasst: 22.08.2006 23:31
von PhaD
Das ding ist einfach er kann keine Bilder laden :(
http://www.do4it.com/phpBB2/portal.php

Verfasst: 23.08.2006 00:30
von Markus67
Hi ...

verlinke mal bitte deine portal.php als txt-Datei.
KB:datei

Markus

Verfasst: 23.08.2006 00:42
von PhaD
Jah! endlich bist du wieder da :D

http://www.do4it.com/portal.txt

Verfasst: 23.08.2006 08:37
von Markus67
Hi ...

führe mal bitte folgende Änderungen in der portal.php durch ...

Code: Alles auswählen

#
#-----[ FIND ]------------------------------------------
#

'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $recentrow[$j]['pic_id']) : append_sid("album_page.$phpEx?pic_id=". $recentrow[$j]['pic_id']),

#
#-----[ REPLACE WITH ]------------------------------------------
#

'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $recentrow[$j]['pic_id']) : append_sid("album_showpage.$phpEx?pic_id=". $recentrow[$j]['pic_id']),

#
#-----[ FIND ]------------------------------------------
#

'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $recentrow[$j]['pic_id']) : append_sid("album_page.$phpEx?pic_id=". $recentrow[$j]['pic_id']),

#
#-----[ REPLACE WITH ]------------------------------------------
#

'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $recentrow[$j]['pic_id']) : append_sid("album_showpage.$phpEx?pic_id=". $recentrow[$j]['pic_id']),

#
#-----[ FIND ]------------------------------------------
#

'RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': <a href="' . append_sid("album_rate.$phpEx?pic_id=". $recentrow[$j]['pic_id']) . '">' . $recentrow[$j]['rating'] . '</a><br />') : '',

#
#-----[ REPLACE WITH ]------------------------------------------
#

'RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': <a href="' . append_sid("album_showpage.$phpEx?pic_id=". $recentrow[$j]['pic_id']) . '">' . $recentrow[$j]['rating'] . '</a><br />') : '',

#
#-----[ FIND ]------------------------------------------
#

'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': <a href="' . append_sid("album_comment.$phpEx?pic_id=". $recentrow[$j]['pic_id']) . '">' . $recentrow[$j]['comments'] . '</a>') : '')

#
#-----[ REPLACE WITH ]------------------------------------------
#

'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': <a href="' . append_sid("album_showpage.$phpEx?pic_id=". $recentrow[$j]['pic_id']) . '">' . $recentrow[$j]['comments'] . '</a>') : '')

Markus

Verfasst: 23.08.2006 10:58
von PhaD
Hi, hab ich gemacht, ist immer noch wie früher.
"album_page" hatte ich auch schon durch "album_showpage"
ersetzt.

Irgentwie kann die pic ID nicht gelesen werden :(

Verfasst: 23.08.2006 17:04
von Markus67
Hi ...

kannst du denn im Adminbereich den Block "einstellen" ?

das hier hast du gemacht?

Code: Alles auswählen

INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('cat_id', '0');
INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_all', '0');
INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_number', '1');
INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_sort', '0');
Markus

Verfasst: 24.08.2006 01:49
von PhaD
haha, ja danke für den tipp, bei meinem phpmyadmin ist ne php defekt und deswegen spiele ich die sql klamotten immer uner db_update.php drauf ... muss ich wohl ne zeile vergessen haben .. omg

Code: Alles auswählen

INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('cat_id', '0')
+++ Error: Duplicate entry 'cat_id' for key 1

INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_all', '0')
+++ Error: Duplicate entry 'pics_all' for key 1

INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_number', '1')
+++ Error: Duplicate entry 'pics_number' for key 1

INSERT INTO phpbb_album_config (config_name, config_value) VALUES ('pics_sort', '0')
+++ Successful

1000 Dank ! :D ;)