Gallery block not showing after update


Topic author
bc2005
Active Member
Posts: 13
Joined: 27. April 2009 20:02

Gallery block not showing after update

Post by bc2005 »

Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.bonsaicafe.be

What have you done before the problem was there?
Updated to Board3 Portal from 1.0.5 tot 1.0.6

What have you already tryed to solve the problem?
Purged cache, Checked the Gallery Block configuration.

Description and Message
After updating my Board3 Portal from 1.0.5 to 1.0.6, my Gallery Block (1.4.1) on the Portal isn't there anymore. I did refresh everything and purged my cahe, so I am a bit confused now. What should I do to get my Gallery Block working again?
User avatar

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

Re: Gallery block not showing after update

Post by archivar »

bc2005 wrote: Boardlink: http://www.bonsaicafe.be
What have you done before the problem was there?
Updated to Board3 Portal from 1.0.5 tot 1.0.6

What have you already tryed to solve the problem?
Purged cache, Checked the Gallery Block configuration.

Description and Message
After updating my Board3 Portal from 1.0.5 to 1.0.6, my Gallery Block (1.4.1) on the Portal isn't there anymore. I did refresh everything and purged my cahe, so I am a bit confused now. What should I do to get my Gallery Block working again?
Hi,
Please check again:
portal / block / additional_blocks.php,
styles / prosilver / template / portal / block / additional_blocks_center.html,
styles / prosilver / template / portal / block / additional_blocks_right.html
Refresh your Styles:
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"

Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
V.G. archivar
sorry for my bad english

Topic author
bc2005
Active Member
Posts: 13
Joined: 27. April 2009 20:02

Re: Gallery block not showing after update

Post by bc2005 »

OK Thanks, found the problem...

novanilla
Active Member
Posts: 40
Joined: 11. October 2008 17:40

Re: Gallery block not showing after update

Post by novanilla »

I've had an identical problem. I've been running 3.08 and Gallery 1.05 for a long time. Finally got around to updating Board3 Portal to 1.06, and my gallery blocks have disappeared. I've verified the existence of these files:

portal / block / additional_blocks.php,
styles / prosilver / template / portal / block / additional_blocks_center.html,
styles / prosilver / template / portal / block / additional_blocks_right.html

And checked that the blocks are enabled in the portal's acp. The themes, images, templates have had their caches cleared many times, and purged the cache many times as well, as I've been troubleshooting other issues.

Any ideas?
User avatar

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

Re: Gallery block not showing after update

Post by archivar »

A link to your board would be helpful.
V.G. archivar
sorry for my bad english

novanilla
Active Member
Posts: 40
Joined: 11. October 2008 17:40

Re: Gallery block not showing after update

Post by novanilla »

sorry... www.nova-nilla.com/Members/phpBB3/

It's a private board, so I don't know how much you can get from this. Let me know if you need me to pm you a test login.

Thanks in advance.
User avatar

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

Re: Gallery block not showing after update

Post by archivar »

Check the installation instructions for the "gallery-block ".
V.G. archivar
sorry for my bad english

novanilla
Active Member
Posts: 40
Joined: 11. October 2008 17:40

Re: Gallery block not showing after update

Post by novanilla »

Ah. Much thanks. I forgot there were such things in an update. I'll get back tomorrow and let you know if that worked.

:D

novanilla
Active Member
Posts: 40
Joined: 11. October 2008 17:40

Re: Gallery block not showing after update

Post by novanilla »

No joy... I've gone through the instructions for the old gallery block for the portal, and can't find anything that's missing in my files. I have the portal configured to show a row of random images in the center, and a block of recent images on the right. I've made the appropriate changes to the directions (switching instances of "left" with "right"), and the blocks simply do not show up in my portal.

EDIT:

I found THIS line in my additional_blocks.php file:

Code: Select all

if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
I'm not sure why this was changed to this, but it was supposed to be:

Code: Select all

if (!defined('IN_PORTAL'))
So I changed it, and that fixed it. Except I can't seem to use the small gallery block on the right hand side, it expands to mimic the center gallery block.
User avatar

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

Re: Gallery block not showing after update

Post by archivar »

additional_blocks.php file:
Find

Code: Select all

if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
{
   exit;
}
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code: Select all

if(!function_exists('recent_gallery_images'))
{
    include($phpbb_root_path . 'portal/block/gallery.'.$phpEx);
} 
V.G. archivar
sorry for my bad english

novanilla
Active Member
Posts: 40
Joined: 11. October 2008 17:40

Re: Gallery block not showing after update

Post by novanilla »

This works for me now, Archivar. Thank you for your help.

Topic author
bc2005
Active Member
Posts: 13
Joined: 27. April 2009 20:02

Re: Gallery block not showing after update

Post by bc2005 »

HI, this week I wanted to update my phpbb gallery from 1.06 to 1.1.4. But it seems it isn't compatible with the Gallery Block 1.4.1 addon. Halfway the update i got some problems. ( http://www.flying-bits.org/viewtopic.php?f=105&t=3270 ) Nick advised me to uninstall the Gallery Block 1.4.1 addon. Can someone tell me the best way to do this?

Thx,
Hans

userxy
Active Member
Posts: 1
Joined: 31. May 2011 11:30

Re: Gallery block not showing after update

Post by userxy »

Same Problem here :(
Try`d to update Gallery from 1.0.6 >1.1.1 and i got error messages conflicting with "recent_gallery_images" on Index.php and Portal.php
The Problem seems to be the Gallery-Portal-Mod that is incompatible with new Gallery versions. They say to uninstall Portal-Gallery-Mod.

Any Howto out there to uninstall clean from Portal?

Topic author
bc2005
Active Member
Posts: 13
Joined: 27. April 2009 20:02

Re: Gallery block not showing after update

Post by bc2005 »

Well, I tried it this way: I removed all the changes I had to make in the install procedure of Gallery Block 1.4.1, reloaded the files, and purged my cache. Now everything works like it should, alas without the Gallery Blocks add-on. I presume I have to install a newer version now, and probably also update my board to Board3 2.0.1...
User avatar

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

Re: Gallery block not showing after update

Post by archivar »

[REL] Gallery Block 1.4.1
Addon-Requirements: board3 Portal v1.0.4 and Gallery by nickvergessen v1.0.0
[REL] Gallery Block 1.4.2
Addon-Requirements: board3 Portal v1.0.6 and phpBB Gallery by nickvergessen v1.0.5 or 1.0.5.1
[Release] Addon for phpBB Gallery 1.1.2+ for B3P v. 2.0.b1
Addon Requirements: Board3 Portal 2.0.0b1 and newer and phpBB Gallery 1.1.2+ by nickvergessen
V.G. archivar
sorry for my bad english
Post Reply

Return to “Modifications Support”