Code: Alles auswählen
Warning: Division by zero in /homepages/33/d125529278/htdocs/phpbb2/portal.php on line 360
Warning: getimagesize(): Read error! in /homepages/33/d125529278/htdocs/phpbb2/portal.php on line 1663
Code: Alles auswählen
// Start add - Photo Album Block
'S_COLS' => $album_config['cols_per_page'],
'S_COL_WIDTH' => ( 100/$album_config['cols_per_page'] ) . '%', ******
'TARGET_BLANK' => ( $album_config['fullpic_popup'] ) ? ' target="_blank"' : '',
'U_ALBUM' => append_sid('album.'.$phpEx),
'L_ALBUM' => $lang['Album'],
'L_NEWEST_PICS' => ( $album_config['pics_sort'] == '0' ) ? $lang['Newest_pics'] : $lang['Random_pics'],
'L_NO_PICS' => $lang['No_Pics'],
'L_PIC_TITLE' => $lang['Pic_Title'],
'L_POSTER' => $lang['Poster'],
'L_POSTED' => $lang['Posted'],
'L_DIMENSION' => $lang['Dimension'],
'L_SIZE' => $lang['Size'],
'L_VIEW' => $lang['View'],
// End add - Photo Album Block
Code: Alles auswählen
// Start add - Pics Dimension/Size Add-on
$pic_dimension = getimagesize(ALBUM_UPLOAD_PATH . $recentrow[$j]['picfilename']);
$pic_width = $pic_dimension[0]; ######
$pic_height = $pic_dimension[1];
zu meiner schand muss ich gestehen, dass ich die, in der install geforderte zeile:
Code: Alles auswählen
$template->assign_vars(array(
'WELCOME_TEXT' => $CFG['welcome_text'],

bzw sie ist nicht in meiner portal.php
desshalb habe ich den code über diese zeilen eingefügt:
Code: Alles auswählen
// FETCH POSTS START
$CFG['number_of_news'] = $introportalmod_config['fpost_numofnews'];
$CFG['news_length'] = $introportalmod_config['fpost_newslength'];
$CFG['news_forum'] = $introportalmod_config['fpost_forums'];
if(!isset($HTTP_GET_VARS['article']))
{
$template->assign_block_vars('welcome_text', array());
$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], $CFG['news_length']);
for ($i = 0; $i < count($fetchposts); $i++)
mit den fehlermeldungen komme ich selber leider garnicht weiter

kolja