Seite 219 von 343

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 18:42
von nickvergessen
Ja so ungefähr, oder aber du nimmst etwa folgenden Code:

Code: Alles auswählen

$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
	'rows'		=> 1,
	'columns'	=> 4,
	'comments'	=> 0,
	'contests'	=> 0,
);
/**
* 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
*/
recent_gallery_images($ints, 61, 2, false, true);

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 18:52
von HEADLINE
Wenn ich den von Dir angegebenen Code integriere bekomme ich folgende Fehlermeldung:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /index.php on line 43: include(./includes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /index.php on line 43: include() [function.include]: Failed opening './includes/functions_recent.php' for inclusion (include_path='.;C:/xampp/php/pear/')

Fatal error: Call to undefined function recent_gallery_images() in C:\xampp\htdocs\forum\index.php on line 59

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 19:04
von 4seven
solange die datei includes/functions_recent.php im gallery-pfad liegt, dürfte das eigentlich funktionieren

Code: Alles auswählen

($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx)

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 19:31
von nickvergessen
ops, ja also

Code: Alles auswählen

$gallery_root_path = GALLERY_ROOT_PATH;
muss natürlich drin bleiben

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 19:37
von HEADLINE
*Juhu* Jawohl, so passt es! Vielen Dank!

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 20:19
von Maria77
Ich bekomm nen AutoMod Fehler angezeigt, den ich auch nicht manuell beheben kann.

[ externes Bild ]

Wie komm ich an der Stelle weiter?

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 20:20
von nickvergessen
Gibt's das Bild auch in größer? :D also am besten als Link und nicht eingebunden ;)

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 20:21
von Maria77
Na Du bist ja schneller als die Polizei erlaubt. Ich hatte es selbst schon gemerkt. Siehe oben! :D

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 20:25
von nickvergessen
Also bei mir wird das nicht beklagt. Ich hatte es auch extra mit AutoMOD getestet....

Re: [Final] phpBB Gallery 1.0.0

Verfasst: 03.06.2009 20:29
von Maria77
Ich zieh die Frage zurück.
Die Codestelle ist durch den Galerie MOD schon verändert und er findet sie deshalb nicht. [ externes Bild ]
Hätte ich die Beta Version vorher deinstallieren sollen?