| Author |
Message |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6315 Location: Washington Township, NJ, USA
|
Posted: Wed Jun 28, 2006 12:45 pm Post subject: phpBB3 Integration Bugs |
|
|
Post all your bug reports here. _________________
 |
|
| Back to top |
|
|
AdBot
|
| Post subject: phpBB3 Integration Bugs |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1161
|
Posted: Sun Jul 02, 2006 4:01 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
Kudlaty
Beginner


Joined: Mar 26, 2007 Posts: 3
|
Posted: Tue Mar 27, 2007 2:28 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1161
|
Posted: Sat Mar 31, 2007 12:05 am Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
Kudlaty
Beginner


Joined: Mar 26, 2007 Posts: 3
|
Posted: Sat Mar 31, 2007 1:55 am Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
andrepl
Beginner


Joined: May 11, 2007 Posts: 2
|
Posted: Fri May 11, 2007 12:51 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
| 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 |
|
|
chriushikas
Beginner


Joined: Jun 17, 2007 Posts: 1
|
Posted: Mon Jun 18, 2007 2:24 am Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
hazmat
Beginner


Joined: Aug 24, 2007 Posts: 10
|
Posted: Tue Aug 28, 2007 11:44 am Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
mckooter
Beginner


Joined: Jul 30, 2004 Posts: 3
|
Posted: Wed Nov 21, 2007 8:21 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
smg
Beginner


Joined: Jul 21, 2008 Posts: 15
|
Posted: Sun Aug 03, 2008 3:27 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
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,
 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 |
|
|
sonmer
Beginner


Joined: Aug 17, 2008 Posts: 1
|
Posted: Sun Aug 17, 2008 2:30 pm Post subject: Re: phpBB3 Integration Bugs |
|
|
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`"}">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`"}">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.
sonmer |
|
| Back to top |
|
|
mineeds01
Beginner


Joined: Mar 26, 2009 Posts: 1
|
|
| Back to top |
|
|
AgeofStrife
Beginner


Joined: Feb 12, 2009 Posts: 3
|
Posted: Wed Jul 01, 2009 4:56 am Post subject: Re: phpBB3 Integration Bugs |
|
|
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 |
|
|
|
|
|
|
|