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/Gallery2 Integration Package
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
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
jaxon121

Beginner
Beginner


Joined: Apr 09, 2007
Posts: 2

PostPosted: Tue Jul 03, 2007 7:08 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

I've run into a few problems and I'm not even 10% through the instructions on integration_mods.txt.

First, the default style that came with my phpBB3 (3.0.RC2) is subSilver2, not subSilver. The SQL queries listed in the instructions reference subSilver in at least one place... will this affect the installation?

Second, I'm attempting to follow the directions for editing memberlist.php.

Code: ›
#
#-----[ FIND ]------------------------------------------
#
         'U_REMOVE_FOE'      => ($foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&usernames[]=' . $user_id) : '',

#
#-----[ AFTER, ADD ]------------------------------------------
#
         'GALLERY_IMG'      => $user->img('icon_user_gallery', $user->lang['GALLERY']),
         'L_GALLERY'         => $user->lang['GALLERY'],
         'L_GALLERY_HEADER'   => (isset($member['gallery_count'])) ? sprintf($user->lang['GALLERY2_LINKMOD'], $member['username'], $member['gallery_count']) : '',
         'L_GALLERY_MORE'   => $user->lang['GALLERY_MORE'],
         'S_GALLERY'         => (!empty($member['allLinks'])) ? true : false,
         'S_GALLERY_MORE'   => ($member['gallery_totalcount'] > $member['gallery_count']) ? true : false,
         'U_GALLERY'         => ($member['user_gallery'] && !empty($member['link'])) ? append_sid("{$phpbb_root_path}gallery2.$phpEx", 'g2_view=core.ShowItem&g2_itemId=' . $member['user_gallery']) : '',

#
#-----[ FIND ]------------------------------------------
#
      $i = 0;
      foreach ($id_cache as $user_id => $row)

#
#-----[ BEFORE, ADD ]------------------------------------------
#
      // Grab Gallery link permission
      $sql = 'SELECT link FROM ' . GALLERY2_TABLE;
      $row = $db->sql_fetchrow($db->sql_query_limit($sql, 1));
      $gallery_link = $row['link'];

#


The section listed above can't be followed, since the FIND results in zero matches in the entire file. Any ideas on this??

Am I doing something horribly wrong? Is the most recent version of the integration pack obsolete? Am I simply better off installing phpbb2 and waiting till the official release of phpbb3?

[/code]
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: phpBB3/Gallery2 Integration Package  

Back to top
mrmikehammond

Novice
Novice


Joined: Jun 12, 2007
Posts: 23
Location: U.K.

PostPosted: Wed Jul 04, 2007 1:42 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

The integration package your trying is an old one meant for the "Olympus" Beta versions, now RC2 has come out the code is being re-written so currently there isn't a working solution. We're all waiting with baited breath Wink
Back to top
Offline View user's profile Send private message
mrmikehammond

Novice
Novice


Joined: Jun 12, 2007
Posts: 23
Location: U.K.

PostPosted: Fri Jul 06, 2007 1:04 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

Any news yet Dari Question Question Question
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Wed Jul 11, 2007 6:49 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

no, i've done multiple pings on the guy working the RC2 (now RC3) work, and haven't gotten any response yet.
Back to top
Offline View user's profile Send private message Visit poster's website
HelterSkelter

Beginner
Beginner


Joined: Jul 10, 2007
Posts: 2

PostPosted: Wed Jul 11, 2007 11:00 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

find
Code: ›
         'U_REMOVE_FOE'      => ($foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&mode=foes&usernames[]=' . $user_id) : '',


after, add

Code: ›
         'GALLERY_IMG'      => $user->img('icon_user_gallery', $user->lang['GALLERY']),
         'L_GALLERY'         => $user->lang['GALLERY'],
         'L_GALLERY_HEADER'   => (isset($member['gallery_count'])) ? sprintf($user->lang['GALLERY2_LINKMOD'], $member['username'], $member['gallery_count']) : '',
         'L_GALLERY_MORE'   => $user->lang['GALLERY_MORE'],
         'S_GALLERY'         => (!empty($member['allLinks'])) ? true : false,
         'S_GALLERY_MORE'   => ($member['gallery_totalcount'] > $member['gallery_count']) ? true : false,
         'U_GALLERY'         => ($member['user_gallery'] && !empty($member['link'])) ? append_sid("{$phpbb_root_path}gallery2.$phpEx", 'g2_view=core.ShowItem&g2_itemId=' . $member['user_gallery']) : '',


find
Code: ›
         for ($i = 0, $end = sizeof($user_list); $i < $end; ++$i)
         {
            $user_id = $user_list[$i];
            $row =& $id_cache[$user_id];


after, add

Code: ›
          // Grab Gallery link permission
              $sql = 'SELECT link FROM ' . GALLERY2_TABLE;
              $row = $db->sql_fetchrow($db->sql_query_limit($sql, 1));
              $gallery_link = $row['link'];
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Jul 12, 2007 9:58 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

is this a change to the existing MOD?
Back to top
Offline View user's profile Send private message Visit poster's website
HelterSkelter

Beginner
Beginner


Joined: Jul 10, 2007
Posts: 2

PostPosted: Thu Jul 12, 2007 8:24 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

no, the "find" code in memberlist.php / phpbb3.0.RC3 has changed from RC2
Back to top
Offline View user's profile Send private message
ShogunFranky

Beginner
Beginner


Joined: May 29, 2007
Posts: 1

PostPosted: Tue Jul 24, 2007 12:11 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

Any word on the new RC3 integration mod yet? Neutral
Back to top
Offline View user's profile Send private message
Timba92

Beginner
Beginner


Joined: Aug 09, 2007
Posts: 2

PostPosted: Thu Aug 09, 2007 3:36 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

I can't even extract the package win i download/unzip. Winzip asks me

"Please enter the full name of the file contained within the archive phpBB3_003.gz. For example, if the contentsis a DOC file . a recommended file name is phpBB3_003.DOC"

So I tried .txt and .doc but it still won't open. Why would I be having this problem over somthing that should be so simple?
Back to top
Offline View user's profile Send private message
Myaj

Novice
Novice


Joined: Aug 09, 2007
Posts: 24

PostPosted: Thu Aug 09, 2007 1:56 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

Took a while to figure out just how to download (with the multiple registrations) but thank you.
Back to top
Offline View user's profile Send private message
Timba92

Beginner
Beginner


Joined: Aug 09, 2007
Posts: 2

PostPosted: Sat Aug 11, 2007 3:26 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

I have tried PowerArchive and WinZip but my computer still doesn't recognize the file. What am I doing wrong here? I get the file name "phpBB3_003[1]". Thats all I get. I can't read it or execute it or feed it to my dog. What the hell am I supposed to do with it? PLEASE HELP!!!!!!! Shocked
Back to top
Offline View user's profile Send private message
jamcgee

Beginner
Beginner


Joined: Jun 01, 2007
Posts: 7

PostPosted: Tue Aug 21, 2007 8:14 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

Hi

I've just installed this package into phpBB3 rc4 without much of a problem. Although I had to leave out some of the code.
Coded used to prosilver http://www.weimaranerforum.net/gallery2prosilver.htm

I have one question:
Does this mod allow you to insert Gallery images into posts ie via g2image/g2image.php
If yes it doesn't appear to work. I would have thought that for this to work some code would be required in bbcode.php or editor.js
Back to top
Offline View user's profile Send private message
jamcgee

Beginner
Beginner


Joined: Jun 01, 2007
Posts: 7

PostPosted: Tue Aug 21, 2007 8:25 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

Timba92 wrote: › What the hell am I supposed to do with it? PLEASE HELP!!!!!!! Shocked


Extract archive to a folder say phpBB3_003
Inside you will see a file called phpBB3_003
Open that file with winrar and you will a folder called phpbb3.
Drag & drop the file to your desktop.

HTH
Back to top
Offline View user's profile Send private message
timnsal

Novice
Novice


Joined: Aug 08, 2007
Posts: 25

PostPosted: Tue Aug 21, 2007 11:19 am    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

jamcgee wrote: › Hi

I've just installed this package into phpBB3 rc4 without much of a problem. Although I had to leave out some of the code.
Coded used to prosilver http://www.weimaranerforum.net/gallery2prosilver.htm

I have one question:
Does this mod allow you to insert Gallery images into posts ie via g2image/g2image.php
If yes it doesn't appear to work. I would have thought that for this to work some code would be required in bbcode.php or editor.js


The files you ned to change are posting_buttons.html in the template folder to call g2ic_open with postform instead of post, and functions.js in the g2image jscripts folder
Back to top
Offline View user's profile Send private message
jamcgee

Beginner
Beginner


Joined: Jun 01, 2007
Posts: 7

PostPosted: Tue Aug 21, 2007 1:35 pm    Post subject: Re: phpBB3/Gallery2 Integration Package Reply with quote

timnsal wrote: ›
The files you ned to change are posting_buttons.html in the template folder to call g2ic_open with postform instead of post, and functions.js in the g2image jscripts folder


I've changed posting_buttons.html

From:
Code: › <input type="button" class="btnbbcode" name="g2image" value="g2Img" onclick="g2ic_open('post', 'message');" onmouseover="helpline('g')" onmouseout="helpline('tip')" />


to:
Code: › <input type="button" class="btnbbcode" name="g2image" value="g2Img" onclick="g2ic_open('postform', 'message');" onmouseover="helpline('g')" onmouseout="helpline('tip')" />


And am now getting
Quote: › [img]http://localhosthttp://localhost/phpBB3/gallery2.php?g2_itemId=38&g2_view=core.DownloadItem[/img][img]


Could you please post the required edit for functions.js as I'm not sure what to change.

Thank you

Gareth
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
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

 
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