[RC] phpBB Gallery 1.0.4 (including TS Gallery converter)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by nickvergessen »

Artack wrote:Hi Nick
this line in shadow.css

Code: Select all

#sb-overlay{height:expression(document.documentElement.clientHeight+'px');}
brake css validation
I have nothing to do with the shadowbox code. ;)

I personally use highslide only.
No Support via PM
markedout
Registered User
Posts: 1
Joined: Fri Aug 14, 2009 2:34 pm

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by markedout »

SQL ERROR [ mysql4 ]

Unknown column 'gu.personal_album_id' in 'field list' [1054]

SQL

SELECT u.*, z.friend, z.foe, p.*, gu.personal_album_id, gu.user_images FROM (phpbb_users u, phpbb_posts p) LEFT JOIN phpbb_zebra z ON (z.user_id = 342 AND z.zebra_id = p.poster_id) WHERE p.post_id IN (35254, 35250) AND u.user_id = p.poster_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()

FILE: galleryviewtopic.php
LINE: 946
CALL: dbal_mysql->sql_query()
Ahh a dreaded SQL error! Please help me find the cause and fix it because the gallery script does look wonderful. The only error I got was that when I went to clear the subsilver2 themes cache it says that "This theme is stored on the filesystem so there is no need to refresh it.". Please help! Thank you in advance!
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by nickvergessen »

you didnt do all edits to the viewtopic.php
No Support via PM
User avatar
Ardbeggordon
Registered User
Posts: 20
Joined: Sun Jul 01, 2007 9:08 pm
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by Ardbeggordon »

Tried upgrading to 1.0.2 but kept getting an earlier reported error......
Fatal error: Call to undefined function generate_image_link_plugins() in ***/gallery/includes/functions.php on line 692
Went through everything a few times and still got the error
reverted back to 1.0.1 and everything was ok again .
Still having an earlier problem with Highslide on 1.0.1 , getting images repeating on slideshow one with description , one without , one sometimes with a dotted line below.....
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by nickvergessen »

did you copy all files from the package to your forum?
Seems like you missed the gallery/plugins/index.php
No Support via PM
User avatar
Ardbeggordon
Registered User
Posts: 20
Joined: Sun Jul 01, 2007 9:08 pm
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by Ardbeggordon »

Hi Nick ,
I didn't do anything with the gallery/plugins/index.php , it's not on the list in the 1.0.2 update manual .
Does the existing one need to be replaced with the new one ?
Only gallery/index.php is mentioned .
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by nickvergessen »

yes, you normally should replace all files.
No Support via PM
User avatar
Ardbeggordon
Registered User
Posts: 20
Joined: Sun Jul 01, 2007 9:08 pm
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by Ardbeggordon »

I've changed all the files and it's worked !
Any idea why in slideshow it shows two of each image ( one after the other ) ?
Thanks
roBBx
Registered User
Posts: 288
Joined: Fri Feb 15, 2008 3:00 am

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by roBBx »

@ Ardbeggordon: this can happen, as example, if you set up in the ACP to start the highslide plugin not only when clicking on the image preview, but also on the image name or on the last image icon. The slideshow opens all the links you've set to be opened this way, even if they belong to the same image.
User avatar
Ardbeggordon
Registered User
Posts: 20
Joined: Sun Jul 01, 2007 9:08 pm
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by Ardbeggordon »

Thank you roBBx that's explained it and i've got rid of it !
Much appreciated !!!!
User avatar
Dog Cow
Registered User
Posts: 2507
Joined: Fri Jan 28, 2005 12:14 am
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by Dog Cow »

Feature suggestion: Cooliris.
ash369
Registered User
Posts: 51
Joined: Sun Jul 19, 2009 11:33 am
Location: United Kingdom
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by ash369 »

I'm having a few problems with this.

I set full permissions for myself yet it keeps saying i can't create my own album. I also install the gallery control panel in the wrong place, i need some help. Can anyone assist me please? :(
_Al
Registered User
Posts: 203
Joined: Mon Oct 20, 2008 9:24 pm
Location: Sweetas - All your friends online
Contact:

Gallery 1.0.2 working with phpBB 3.0.2?

Post by _Al »

:mrgreen: Has anyone got phpBB Gallery 1.0.2 working with phpBB 3.0.2? :mrgreen:
ash369
Registered User
Posts: 51
Joined: Sun Jul 19, 2009 11:33 am
Location: United Kingdom
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by ash369 »

Nvm.

Fixed it now :)
This MOD is awesome, such a great addition to my forum.

Demo: http://crimson-discussions.com/gallery/
User avatar
therat
Registered User
Posts: 285
Joined: Sun Apr 07, 2002 6:06 pm
Contact:

Re: [RC] phpBB Gallery 1.0.2 (including TS Gallery converter)

Post by therat »

I have the gallery running and works perfectly, I now want to display the most recent images on a page outside the forum root. So far I have taken parts of gallery/index.php and got the images showing but I am getting an error in my logs. This is the code I have so far

index.php

Code: Select all

<?php
/**
*
* @package phpBB Gallery
* @version $Id: index.php 1214 2009-06-26 12:35:47Z nickvergessen $
* @copyright (c) 2007 nickvergessen [email protected] http://www.flying-bits.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpbb_root_path = $gallery_root_path = './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . $gallery_root_path . 'includes/root_path.' . $phpEx);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);

//Own files
//include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup(array('mods/gallery', 'mods/info_acp_gallery', 'mods/portal'));

$gallery_root_path = GALLERY_ROOT_PATH;
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_display.' . $phpEx);

/**
* Recent images & comments and random images
*/
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
    'rows'        => 5,
    'columns'    => 2,
    'comments'    => 5,
    'contests'    => 1,
);
recent_gallery_images($ints, 189, 1, false, true, 'album', 0);

page_header($user->lang['GALLERY']);

$template->set_filenames(array(
    'body' => 'site/index_body.html')
);

page_footer();

?>
This is the error I am getting

Code: Select all

PHP Warning:  include(./forum/./forum/includes/root_path.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in G:\\www_root\\testing\\phpBB3\\index.php on line 18, referer: http://192.168.0.2/testing/phpBB3/forum/gallery/index.php

 PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening './forum/./forum/includes/root_path.php' for inclusion (include_path='.;C:\\php5\\pear') in G:\\www_root\\testing\\phpBB3\\index.php on line 18, referer: http://192.168.0.2/testing/phpBB3/forum/gallery/index.php
Locked

Return to “[3.0.x] MODs in Development”