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  

New code
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
spreck

Beginner
Beginner


Joined: Feb 28, 2008
Posts: 3

PostPosted: Fri Feb 29, 2008 8:10 pm    Post subject: Re: New code Reply with quote

nice! i kept visiting this site waiting for a release into phpbb3 gold. than i just today stumbled onto this post. can't wait to try it out on my test forum. but i have a question.. what package should i download of gallery? typical, full, or minimal? or does it not matter?

can't wait for it's final release where i will install on my family forums. and gladly donate for all your hard work. Very Happy
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: New code  

Back to top
kaptainkory

Beginner
Beginner


Joined: Jan 31, 2006
Posts: 2

PostPosted: Sat Mar 01, 2008 12:51 am    Post subject: Re: New code Reply with quote

Could be me, but I've run into some problems with the latest 1.0.1 code:

1) I don't think the listed files to copy are everything necessary, are they?

Code: › File Copy
   1. Copy: root/gallery2.php
          To: gallery2.php
   2. Copy: root/g2helper.php
          To: g2helper.php
   3. Copy: root/adm/G2EmbedDiscoveryUtilities.php
          To: adm/G2EmbedDiscoveryUtilities.php
   4. Copy: root/adm/style/acp_gallery2.html
          To: adm/style/acp_gallery2.html
   5. Copy: root/g2image/*.*
          To: g2image/*.*
   6. Copy: root/includes/acp/acp_gallery2.php
          To: includes/acp/acp_gallery2.php
   7. Copy: root/includes/acp/info/acp_gallery2.php
          To: includes/acp/info/acp_gallery2.php


What about these?
* /root/language/en/mods/gallery2.php
* /root/styles/*.*

2) I went ahead and uploaded what I thought was missing from the instructions, but I still see "ACP_GALLERY2" when trying to install the module. Shouldn't this say something more human friendly? Seems like there is a miscue on linking to a language file somewhere. (Could be related to #4.)

3) When I try to synchronize users, it croaks on a user that has an apostrophe:
Code: › SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's' LIMIT 1' at line 3 [1064]

SQL

SELECT username FROM phpbb_users WHERE username = 'donni_down's' LIMIT 1

BACKTRACE

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

FILE: includes/db/mysql.php
LINE: 205
CALL: dbal_mysql->sql_query()

FILE: includes/db/dbal.php
LINE: 157
CALL: dbal_mysql->_sql_query_limit()

FILE: includes/acp/acp_gallery2.php
LINE: 611
CALL: dbal_mysql->sql_query_limit()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_gallery2->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()


4) When I access my members list, I see a bunch of this:

Code: › [phpBB Debug] PHP Notice: in file /memberlist.php on line 1613: Undefined index: GALLERY_LINK
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1614: Undefined index: GALLERY_VISIT
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1613: Undefined index: GALLERY_LINK
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1614: Undefined index: GALLERY_VISIT
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1613: Undefined index: GALLERY_LINK
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1614: Undefined index: GALLERY_VISIT
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1613: Undefined index: GALLERY_LINK
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1614: Undefined index: GALLERY_VISIT


5) Not so much an error as a frustration... When the automatic configuration set the gallery to strict embed mode, I was not happy being locked out of regular access to my gallery. (I don't have it set up for people to register through the gallery anyway, so that's a non issue.) I think it would be helpful to be a little more transparent on this and to provide instructions for someone to undo this if it is not what they want.

I appreciate your hard work on this. I've done my fair share of coding, too, and I know it is time-consuming and difficult. Unfortunately, I can't get far enough along to know what I even think of the actual integration.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Mon Mar 03, 2008 12:49 am    Post subject: Re: New code Reply with quote

Please follow the instructions in the README and all your problems will disappear Wink
Except maybe the apostrophe issue, I'll have to look into that.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Mon Mar 03, 2008 11:03 am    Post subject: Re: New code Reply with quote

I'm not able to reproduce the apostrophe issue. Users with apostrophe's in their names work fine for me when exporting and when logging in to gallery from phpbb. And I have all magic quoting turned off on my server setup...
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Mon Mar 03, 2008 12:55 pm    Post subject: Re: New code Reply with quote

Ok, I can reproduce this on user synchronization when the user already exists in Gallery...

FILE: includes/acp/acp_gallery2.php
LINE: 611
Replace
Code: ›                      WHERE username = '$name'";

With
Code: ›                      WHERE username = '" . $db->sql_escape($name) . "'";
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1050

PostPosted: Mon Mar 03, 2008 5:50 pm    Post subject: Re: New code Reply with quote

Dari has released the official 1.0.1 version. Please start a new thread for any new issues...
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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