[REL] Gallery Block 1.4.1

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.
User avatar

CocoVFR
Active Member
Active Member
Posts: 19
Joined: 3. May 2008 02:50

Re: [REL] Gallery Block 1.4.1

Post by CocoVFR »

archivar wrote:
archivar wrote:Hi,
I would remove the mod v. 0.4.0. and then install the mod v. 1.4.1.
Please save all the data.
Prerequisite:
Addon-Requirements: board3 Portal v1.0.4 (to download) and Gallery by nickvergessen v1.0.0 (to download)
look here:viewtopic.php?f=21&t=92
Ok, but i haven't package to update from 0.4.0 to 1.0.0 !
After some search, i've lost the 0.4.0 package too :evil: :evil:
So, i can't uninstall 0.4.0 bock gallery Mod....
Help !!!
User avatar

Marc
Dev
Dev
Posts: 2488
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: [REL] Gallery Block 1.4.1

Post by Marc »

@doergeloh:
Marc wrote:Probiere mal das hier:
viewtopic.php?f=31&t=3299#p21553
User avatar

CocoVFR
Active Member
Active Member
Posts: 19
Joined: 3. May 2008 02:50

Re: [REL] Gallery Block 1.4.1

Post by CocoVFR »

Nobody have my missing package ???
I've read the topic abour Gallery block. And in the dev process, it goes from 0.1.0 to 1.0.0...What i miss ???
I've a 0.4.0 package that seem not exist :o
Can i update my 0.4.0 to 1.0.0 without any trouble ?
User avatar

Marc
Dev
Dev
Posts: 2488
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: [REL] Gallery Block 1.4.1

Post by Marc »

It's probably best if you ask the author of the gallery MOD, you probably has the package for updating your phpBB Gallery 0.4.0:
http://www.flying-bits.org
User avatar

archivar
Portal Professional
Portal Professional
Posts: 1888
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: [REL] Gallery Block 1.4.1

Post by archivar »

CocoVFR wrote:Can i update my 0.4.0 to 1.0.0 without any trouble ?
depends on phpBB v., v. Board3 and Gallery v. you have the time?

Marc wrote:It's probably best if you ask the author of the gallery MOD, you probably has the package for updating your phpBB Gallery 0.4.0:
http://www.flying-bits.org
Last edited by archivar on 7. May 2010 14:40, edited 1 time in total.
V.G. archivar
sorry for my bad english

doergeloh
Active Member
Active Member
Posts: 11
Joined: 3. April 2010 12:39
phpBB.de User: Legas
phpBB.com User: legas

Re: [REL] Gallery Block 1.4.1

Post by doergeloh »

!!!!!!!!!!!!!! legastenicker !!!!!!!!!!!!!!!!!!!!!!!

@Marc
danke vür die antwort,
leider funst es nicht !!!!!!!!!

Hab die datei so geändert wie beschrieben worde im Link,
habe das problehm auch nur im forum ,
kan zwar keinen block sehen im portal
aber wenn ich ins forum will komt immer nur dieser fehler


Fatal error: Cannot redeclare recent_gallery_images() (previously declared in C:\xampp\htdocs\phpBB3\gallery\includes\functions_recent.php:23) in C:\xampp\htdocs\phpBB3\gallery\includes\functions_recent.php on line 343


Grüse kai
User avatar

CocoVFR
Active Member
Active Member
Posts: 19
Joined: 3. May 2008 02:50

Re: [REL] Gallery Block 1.4.1

Post by CocoVFR »

Yeah.
I think nobody understand that i say, or my english is too bad for this.
I HAVE all the package to update "PhpBB", "PhpBB Gallery Mod", "PhpBB Board3Portal". For all this, no problem, i have every thinf i need to update.
I need package from 0.4.0 to 1.0.0 for "PhpBB Gallery Block". Note for Phpbb Gallery, but for PhpBB Gallery Block !
I have lost my "0.4.0 phpBB Gallery Block" package, so i can't uninstall this mod to install the V 1.0.0.
Marc wrote:It's probably best if you ask the author of the gallery MOD, you probably has the package for updating your phpBB Gallery 0.4.0:http://www.flying-bits.org
It seem that Christian_N, who have open this topic, maintain this mod. One more time: phpBB Gallery bloc, and not PhpBB Gallery !
User avatar

Marc
Dev
Dev
Posts: 2488
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: [REL] Gallery Block 1.4.1

Post by Marc »

Well, then I can't help you much.

@doergeloh: Hast du eventuell noch den Portalview MOD installiert?

doergeloh
Active Member
Active Member
Posts: 11
Joined: 3. April 2010 12:39
phpBB.de User: Legas
phpBB.com User: legas

Re: [REL] Gallery Block 1.4.1

Post by doergeloh »

ich kan kein englisch :oops:

aber ich werde das mall durch google jagen

@Marc
ich habe nur den Portal 3 mode instaliert
di meinst beschtimt den mode wo das portal auch im forum zu sehen ist richtig
den habe ich noch nicht instaliert aber bald
User avatar

Marc
Dev
Dev
Posts: 2488
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: [REL] Gallery Block 1.4.1

Post by Marc »

Also das oben in Englisch war jetzt nichts was deinen Fehler angeht.

Ich weiß allerdings nicht wie ich den Fehler beseitigen kann. Christian ist zur Zeit auch nicht sehr aktiv, also denke ich nicht, dass er in nächster Zeit ein Update online stellen wird.

doergeloh
Active Member
Active Member
Posts: 11
Joined: 3. April 2010 12:39
phpBB.de User: Legas
phpBB.com User: legas

Re: [REL] Gallery Block 1.4.1

Post by doergeloh »

kein ding
ist schon schön euch zu haben ;)

Mess
Active Member
Active Member
Posts: 32
Joined: 10. September 2009 15:08
phpBB.com User: Mess

Re: [REL] Gallery Block 1.4.1

Post by Mess »

doergeloh wrote:Fatal error: Cannot redeclare recent_gallery_images() (previously declared in C:\xampp\htdocs\phpBB3\gallery\includes\functions_recent.php:23) in C:\xampp\htdocs\phpBB3\gallery\includes\functions_recent.php on line 343
I'm also getting the above error. I'm using board3 version 1.0.5 and Gallery version 1.0.5.
I can see there are a few other with the same error. Unfortunately I don't read German very well, and Google translate isn't helping.
Anyone with a fix?
User avatar

Nashra
Active Member
Active Member
Posts: 22
Joined: 30. August 2010 19:01
phpBB.de User: FRvN
phpBB.com User: Nashra
Location: Geldern

Re: [REL] Gallery Block 1.4.1

Post by Nashra »

Den selben Fehler bekomme ich auch :?
Scheint sich bis jetzt leider nichts getan zu haben wegen einem Fix :(

Gruß
Ralf
„Die Menschen müssen lernen wieder zu sehen, was sie anschauen.
Sie müssen ihr Pferd fühlen, um es begreifen zu können.“

Tom Dorrance, 1910 - 2003
User avatar

Nashra
Active Member
Active Member
Posts: 22
Joined: 30. August 2010 19:01
phpBB.de User: FRvN
phpBB.com User: Nashra
Location: Geldern

Re: [REL] Gallery Block 1.4.1

Post by Nashra »

Ü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
„Die Menschen müssen lernen wieder zu sehen, was sie anschauen.
Sie müssen ihr Pferd fühlen, um es begreifen zu können.“

Tom Dorrance, 1910 - 2003

Mess
Active Member
Active Member
Posts: 32
Joined: 10. September 2009 15:08
phpBB.com User: Mess

Re: [REL] Gallery Block 1.4.1

Post by Mess »

Can someone please translate Nashra's solution please? I can get the gist of it, but would like to be sure I understand all of it, and google/translator isn't helping. :)

Return to “board3 Portal v1.0.x - Modifications”