Übergangslösung gefunden!
In der index.php diesen Code komplett löschen
Code: Select all
/**
* Recent images & comments and random images
*
* borrowed from phpBB Gallery
* @author: nickvergessen
* @function: recent_gallery_images
*/
$gallery_root_path = GALLERY_ROOT_PATH;
if (!function_exists('obtain_portal_config'))
{
	include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
	$portal_config = obtain_portal_config();
}
if (!function_exists('load_gallery_config'))
{
	$recent_image_addon = true;
	include($phpbb_root_path . $gallery_root_path . 'includes/common.' . $phpEx);
	include($phpbb_root_path . $gallery_root_path . 'includes/permissions.' . $phpEx);
}
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
	'rows'		=> $portal_config['portal_pg_index_rows'],
	'columns'	=> $portal_config['portal_pg_index_columns'],
	'comments'	=> $portal_config['portal_pg_index_crows'],
	'contests'	=> $portal_config['portal_pg_index_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 ($portal_config['portal_pg_index_mode'] != '!all')
{
	recent_gallery_images($ints, $portal_config['portal_pg_index_display'], $portal_config['portal_pg_index_mode'], $portal_config['portal_pg_index_comments'], $portal_config['portal_pg_index_pgalleries']);
}
danach ist der Fehler erstmal wenn man den Index aufruft weg.
Im Portal funktionieren alle Einstellungen mit der Anzeige welche im ACP vorgenommen wurden,
bis auf private Bilder die werden nur angezeigt wenn man online ist d.h. hier werden die
Rechte/Einstellungen beachtet.
Einzigstes Manko, die Bilder im Index werden nun immer angezeigt und auch nur mit den neuesten
und den privaten Bildern d.h. die Rechte und Einstellungen im ACP werden mißachtet.
Abhilfe hierfür, da private Bilder bei uns nicht angezeigt werden für Gäste,
in der .../template/index.html
Code: Select all
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE gallery/recent_body.html -->
<!-- ENDIF -->
oder eben ganz weglassen.
Naja, ich glaube damit kann man vorübergehend  leben, ich jedenfalls  
 
Gruß
Ralf