Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

phpBB3 Integration Bugs

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6318
Location: Washington Township, NJ, USA

PostPosted: Wed Jun 28, 2006 12:45 pm    Post subject: phpBB3 Integration Bugs Reply with quote

Post all your bug reports here.
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: phpBB3 Integration Bugs  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1161

PostPosted: Sun Jul 02, 2006 4:01 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

Here's a few bugs I've come across and fixes...

Open g2helper.inc

Find:
Code: ›       $phpbbDefaultGroups = array('"GUESTS"', '"INACTIVE"', '"INACTIVE_COPPA"', '"REGISTERED"', '"REGISTERED_COPPA"', '"SUPER_MODERATORS"', '"ADMINISTRATORS"', '"BOTS"');


Replace with:
Code: ›       $phpbbDefaultGroups = array('"GUESTS"', '"INACTIVE"', '"INACTIVE_COPPA"', '"REGISTERED"', '"REGISTERED_COPPA"', '"GLOBAL_MODERATORS"', '"ADMINISTRATORS"', '"BOTS"');


Find:
Code: ›       elseif (isset($ret) && $ret->getErrorCode() & ERROR_MISSING_OBJECT) {
         /*
         * Group already exists in gallery, so do nothing!


Replace with:
Code: ›       elseif (isset($ret)) {
         /*
         * Group already exists in gallery, so do nothing!


Open includes/acp/acp_gallery2.php

Find: (this removes the commented section and fixes an issue with double $ at versionData[0]
Code: › /*            if ($fp = @fopen($this->_integrationVersionUrl, 'r')) {
               $versionData = fread($fp, 4096);

               fclose($fp);

               $versionData = explode("\n", $versionData);

               $integrationVersion = explode('.', $this->_integrationVersion);

               if ($$versionData[0] == $integrationVersion[0] && $versionData[1] == $integrationVersion[1] && $versionData[2] == $integrationVersion[2]) {   
                  $versionText = $user->lang['GALLERY2_TO_DATE'];
               }
               else {
                  $versionText = sprintf($user->lang['GALLERY2_NOT_TO_DATE'], "$versionData[0].$versionData[1].$versionData[2]") . sprintf($user->lang['GALLERY2_VIEW_CHANGES'], $this->_integrationChangeLog, $this->_integrationDownload);
               }
            }
            else {
               $versionText = sprintf($user->lang['GALLERY2_URL_FAILED'], $this->_integrationVersionUrl);
            }
*/


Replace with:
Code: ›             if ($fp = @fopen($this->_integrationVersionUrl, 'r')) {
               $versionData = fread($fp, 4096);

               fclose($fp);

               $versionData = explode("\n", $versionData);

               $integrationVersion = explode('.', $this->_integrationVersion);

               if ($versionData[0] == $integrationVersion[0] && $versionData[1] == $integrationVersion[1] && $versionData[2] == $integrationVersion[2]) {   
                  $versionText = $user->lang['GALLERY2_TO_DATE'];
               }
               else {
                  $versionText = sprintf($user->lang['GALLERY2_NOT_TO_DATE'], "$versionData[0].$versionData[1].$versionData[2]") . sprintf($user->lang['GALLERY2_VIEW_CHANGES'], $this->_integrationChangeLog, $this->_integrationDownload);
               }
            }
            else {
               $versionText = sprintf($user->lang['GALLERY2_URL_FAILED'], $this->_integrationVersionUrl);
            }
Back to top
Offline View user's profile Send private message
Kudlaty

Beginner
Beginner


Joined: Mar 26, 2007
Posts: 3

PostPosted: Tue Mar 27, 2007 2:28 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

Hi!

I use PhpBB3 Beta5. Only with the intergrated version I get to big letters, standalone works fine.

so what i must to do to correct this??
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1161

PostPosted: Sat Mar 31, 2007 12:05 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

I just installed a fresh copy of gallery 2.2.1 and phpbb3.0b5, then went through the integration. There were a few changes to the php code, but nothing to do with page rendering and I don't see this problem.

Have you changed something in the phpbb3 layout? Try leaving out the changes in the integration to the gallery theme.css. ie, instead of changing the font-size to 100%, leave it at 62.5%.
Back to top
Offline View user's profile Send private message
Kudlaty

Beginner
Beginner


Joined: Mar 26, 2007
Posts: 3

PostPosted: Sat Mar 31, 2007 1:55 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

I eliminate this when i change all of em to px.
But something still is bad...

www.kudlaty.frihost.net/check/board/

This is a polish forum...
Back to top
Offline View user's profile Send private message Visit poster's website
andrepl

Beginner
Beginner


Joined: May 11, 2007
Posts: 2

PostPosted: Fri May 11, 2007 12:51 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

I installed the mod today and everything seems to have installed correctly, but when i got to 'synchronize users' i just get a blank white page. if I try to visit the gallery it tells me that the admin id isn't valid and i should run the synchronization at least once before proceeding, but again, the synchronization only gives me a blank white page.
Back to top
Offline View user's profile Send private message
chriushikas

Beginner
Beginner


Joined: Jun 17, 2007
Posts: 1

PostPosted: Mon Jun 18, 2007 2:24 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

Hello,
Just installed fresh phpBB3 and Gallery 2 but i get a strange error when i try to go to forum administration -> General -> gallery2 settings...
All i see is { Integration title } but nothing more... so basically i cant set up...

Maybe any help possible on this one?
Back to top
Offline View user's profile Send private message
hazmat

Beginner
Beginner


Joined: Aug 24, 2007
Posts: 11

PostPosted: Tue Aug 28, 2007 11:44 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

phpBB3 RC4 / Gallery 2.2.2

I'll reserve most comments since I realize that the integration package hasn't been updated for the most recent versions of phpBB3. The one thing is that the link to the forum links to the root of the web site.
Back to top
Offline View user's profile Send private message
mckooter

Beginner
Beginner


Joined: Jul 30, 2004
Posts: 3

PostPosted: Wed Nov 21, 2007 8:21 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

tiny one but noticed it during my convert:

prosilver_mods.txt
Lines: 115-118
Code: ›
#
#-----[ OPEN ]------------------------------------------
#
styles/subSilver/template/memberlist_view.html


should say:
Code: ›
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/memberlist_view.html



tiny one, but figured id point it out

thx
McK
Back to top
Offline View user's profile Send private message
smg

Beginner
Beginner


Joined: Jul 21, 2008
Posts: 15

PostPosted: Sun Aug 03, 2008 3:27 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

G2Integ/templates/prosilver.xml

Quote: ›
Included Files
root/styles/prosilver/imageset/icon_user_gallery.gif,
root/styles/prosilver/imageset/en/button_gallery.gif,
root/styles/prosilver/template/gallery2.html,
Arrow root/styles/prosilver/theme/gallery_overrides.css,
root/styles/prosilver/theme/images/icon_gallery.gif

Included file is actually named g2embed_overrides.css
Back to top
Offline View user's profile Send private message
sonmer

Beginner
Beginner


Joined: Aug 17, 2008
Posts: 1

PostPosted: Sun Aug 17, 2008 2:30 pm    Post subject: Re: phpBB3 Integration Bugs Reply with quote

Hi everybody.
I found a small glitch in the lightbox integration (the one for gallery itself). It is about the "view item details" link under the picture. normaly it looks quite good, but if you use the picture frame plugin it becomes ugly, because the link is in the frame and not below.

small changes to the /themes/matrix/templates/local/album.tpl

find:
Code: › {if isset($theme.params.$frameType) && isset($child.thumbnail)}
            {g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
               width=$child.thumbnail.width height=$child.thumbnail.height}
            {if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem' || $child.entityType == 'GalleryMovieItem')}
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" >
               {g->image id="%ID%" item=$child image=$child.thumbnail
                  class="%CLASS% giThumbnail"}
            {else}
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}"
                  imgLink="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}"
                  title="{$child.title|markup}<br /><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}&quot;>View Item Details</a>"
                  pageLink="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}"
                  rel="lightbox[photos]" >
               {g->image id="%ID%" item=$child image=$child.thumbnail
                  class="%CLASS% giThumbnail"}
               <br />
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Item Details
            {/if}
            </a>
            {/g->container}


and replace with:
Code: › {if isset($theme.params.$frameType) && isset($child.thumbnail)}
            {g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
               width=$child.thumbnail.width height=$child.thumbnail.height}
            {if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem' || $child.entityType == 'GalleryMovieItem')}
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" >
               {g->image id="%ID%" item=$child image=$child.thumbnail
                  class="%CLASS% giThumbnail"}
               </a>
            {else}
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}"
                  imgLink="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}"
                  title="{$child.title|markup}<br /><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}&quot;>View Item Details</a>"
                  pageLink="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}"
                  rel="lightbox[photos]" >
               {g->image id="%ID%" item=$child image=$child.thumbnail
                  class="%CLASS% giThumbnail"}
            {/if}
            {/g->container}
            {if !($child.canContainChildren || $child.entityType == 'GalleryLinkItem' || $child.entityType == 'GalleryMovieItem')}
               <br />
               <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Item Details</a>
            {/if}


if this is done, the link always appears below the frame.

hope it helps.

have fun. Laughing
sonmer
Back to top
Offline View user's profile Send private message
mineeds01

Beginner
Beginner


Joined: Mar 26, 2009
Posts: 1

PostPosted: Thu Mar 26, 2009 12:36 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

If you people need services in this category, please post your needs on Mineeds.com and providers will post their bids on your needs.

Seattle Web Designers & Programmers - Get Bids & Save | MiNeeds [mineeds.com]
Back to top
Offline View user's profile Send private message
AgeofStrife

Beginner
Beginner


Joined: Feb 12, 2009
Posts: 3

PostPosted: Wed Jul 01, 2009 4:56 am    Post subject: Re: phpBB3 Integration Bugs Reply with quote

Discovered an odd one, not sure what's casusing it as I think it worked fine a few weeks ago. I'm in the final stages of tweaking my soon to be live site (sorry, no public access yet), but I think I've found a problem in the Logout integration. I'm running Gallery 2.3 with phpBB 3.0.4 (this also occurs with 3.0.5), and I'm having trouble reproducing it so it might be down to cookies or some issue with the session handling.

When clicking Logout in phpBB, which goes to ucp.php?mode=logout, sometimes the resultant page is blank. Disabling the line

$ret = GalleryEmbed::logout(array('embedUri' => $config['g2i_embedUri']));

works around this, but obviously that means that the user is not logged out of the Gallery system. I can only assume that there is an error occuring without a handler, so instead of the logout step failing gracefully it's just stopping. I don't know if this is in the integration code or in the Gallery codebase itself.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkSearch Engine OptimisationCompare VoIPSEO IndiaWeb Design Melbournemiami web designSEO IndiaLink BuildingPhoenix SEOPhoenix Web MarketingSEOManual Directory Submission Serviceflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOHome Appliances

7th year online! 2003-2010
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia