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  

Problem with phpBB attach_mod and Gallery2

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

Beginner
Beginner


Joined: Oct 20, 2008
Posts: 7

PostPosted: Sat Feb 14, 2009 2:40 am    Post subject: Problem with phpBB attach_mod and Gallery2 Reply with quote

If you are installing Gallery2 on a phpBB2 site that also has the popular attach_mod installed, you may find that the "Add Attachment" function in the posting screen stops working after you install the Gallery2 integration.

This is because the modified Gallery2 posting template (posting_body.tpl) omits a required variable field that attach_mod added to the template.

In /templates/subSilver/posting_body.tpl:

The Gallery2 template has the following line:

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

The line should be:

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

The {S_FORM_ENCTYPE} field at the end of this line is required for the Add Attachment function in attach_mod to work properly.

I hope this helps... It took me quite some time to find the problem.
Mark
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Problem with phpBB attach_mod and Gallery2  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Tue Feb 17, 2009 10:40 am    Post subject: Re: Problem with phpBB attach_mod and Gallery2 Reply with quote

Thanks Mark! I don't work with this mod any more, but that would be most helpful to those that still do.
Back to top
Offline View user's profile Send private message
Jacob7846

Beginner
Beginner


Joined: Dec 19, 2010
Posts: 1

PostPosted: Sun Dec 19, 2010 2:40 pm    Post subject: Re: Problem with phpBB attach_mod and Gallery2 Reply with quote

where can i find a tutorial for php?
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website
jamie3

Beginner
Beginner


Joined: Dec 25, 2010
Posts: 1

PostPosted: Sat Dec 25, 2010 4:47 pm    Post subject: Re: Problem with phpBB attach_mod and Gallery2 Reply with quote

Here's a basic tutorial: http://www.w3schools.com/php/default.asp [w3schools.com]
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / 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 YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

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