Den alten Code aus der Portal.php ausbauen und dafür diesen an gleicher Stelle rein setzen:
Code: Alles auswählen
/**
* Recent images & comments and random images
*/
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
'rows' => $gallery_config['rrc_gindex_rows'],
'columns' => $gallery_config['rrc_gindex_columns'],
'comments' => $gallery_config['rrc_gindex_crows'],
'contests' => $gallery_config['rrc_gindex_contests'],
);
/**
* int array including all relevent numbers for rows, columns and stuff like that,
* display int sum of the options which should be displayed, see gallery/includes/constants.php "// Display-options for RRC-Feature" for values
* modes int sum of the modes which should be displayed, see gallery/includes/constants.php "// Mode-options for RRC-Feature" for values
* collapse bool collapse comments
* include_pgalleries bool include personal albums
* mode_id string 'user' or 'album' to only display images of a certain user or album
* id int user_id for user profile or album_id for view of recent and random images
*/
if ($gallery_config['rrc_gindex_mode'])
{
recent_gallery_images($ints, $gallery_config['rrc_gindex_display'], $gallery_config['rrc_gindex_mode'], $gallery_config['rrc_gindex_comments'], $gallery_config['rrc_gindex_pgalleries']);
}
In der Gallery-Konfiguration =>Neueste & zufällige Bilder & Kommentare - Feature =>Bilder aus persönlichen Alben anzeigen: JA
einstellen.