Page 1 of 16

[CDB] Lightbox

Posted: Sat Apr 05, 2014 6:01 am
by MattF
Lightbox for phpBB 3.1

Description:
This extension adds the Lightbox 2 plugin to phpBB 3.1. It will resize posted images to a maximum set width and display them fullscreen in a Lightbox overlay effect. It will also turn itself off where the responsive layouts begin to take over (at screen sizes smaller than 900px).

I am open to comments from anyone trying this extension about how to improve its integration with phpBB 3.1.

Requirements:
  • phpBB 3.1.0 or higher
  • PHP 5.3.3 or higher
Repository: https://github.com/VSEphpbb/lightbox

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to phpBB/ext/vse/lightbox/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Lightbox under "Disabled Extensions" and click Enable.
Usage:
  • Navigate in the ACP to Post settings -> Lightbox image resizing.
  • Set the Maximum image width in pixel to your desired resize width.
  • Click Submit.
Important: This extension is in development. Installation is only recommended for testing purposes and is not supported on live boards.

Re: [DEV] Lightbox

Posted: Sat Apr 05, 2014 8:55 pm
by Raul [ThE KuKa]
Thanks VSE, nice work!

Re: [DEV] Lightbox

Posted: Fri Apr 18, 2014 11:24 pm
by Jessica
Doesn't seem to be working for me, not sure if I'm missing anything?

http://chenschool.elementfx.com/ascraeu ... hp?f=2&t=2

Re: [DEV] Lightbox

Posted: Sat Apr 19, 2014 4:09 am
by MattF
Jessica wrote:Doesn't seem to be working for me, not sure if I'm missing anything?

http://chenschool.elementfx.com/ascraeu ... hp?f=2&t=2
You're probably not using the latest version of the develop branches (as specified in the requirements). Beta 2 is too old, outdated. Or wait for beta 3.

Re: [DEV] Lightbox

Posted: Sat Apr 19, 2014 4:24 am
by Jessica
Oh, okay. I'll wait for beta 3 then.

Re: [DEV] Lightbox

Posted: Tue May 06, 2014 4:53 pm
by MattF
Beta 3 is out, and this extension works with beta 3! :)

Re: [DEV] Lightbox

Posted: Tue May 06, 2014 8:16 pm
by Ephemeraboy
is there any plan to add button "next" and "before" (just like an IPB have)

Re: [ALPHA] Lightbox

Posted: Fri Jun 06, 2014 5:18 pm
by MattF
Alpha 1 version posted (see first post)

Re: [DEV] Lightbox

Posted: Fri Jun 06, 2014 5:24 pm
by MattF
Ephemeraboy wrote:is there any plan to add button "next" and "before" (just like an IPB have)
There are next/back buttons available, but I have not decided if they should be always on, or an ACP option for them.

To enable them, open up styles/all/template/event/overall_footer_after.html and change false to true on line 3: <!-- DEFINE $LIGHTBOX_GALLERY = 'false' -->

Re: [ALPHA] Lightbox

Posted: Fri Jun 06, 2014 5:38 pm
by M.Gaetan89
I didn't try the extension yet, so I may change my mind afterward, but it does not cost anything to have this enable at all time, does it?

Re: [ALPHA] Lightbox

Posted: Fri Jun 06, 2014 5:50 pm
by MattF
M.Gaetan89 wrote:I didn't try the extension yet, so I may change my mind afterward, but it does not cost anything to have this enable at all time, does it?
It shouldn't hurt.

Re: [ALPHA] Lightbox

Posted: Fri Jun 13, 2014 6:34 pm
by inwe
Hi VSE, I am very new to phpbb and hope you can help.

I am using v3.0.12 and do not see the "Customise" tab in ACP, but I see "Manage Extensions" in "Posting" Tab. Is it the same thing?

When you say folder "phpBB/ext/vse/lightbox/", is the correct location xxxxx.com/phpBB/ext/vse/lightbox/ or xxxxx.com/ext/vse/lightbox/ ?

I tried to put the unzipped folder to both locations, but I don't see "Disabled Extensions" under "Manage Extensions" nor "Manage Extension Groups", did I miss something?

Thank you.

Re: [ALPHA] Lightbox

Posted: Fri Jun 13, 2014 8:09 pm
by Jessica
inwe wrote:Hi VSE, I am very new to phpbb and hope you can help.

I am using v3.0.12 and do not see the "Customise" tab in ACP, but I see "Manage Extensions" in "Posting" Tab. Is it the same thing?

When you say folder "phpBB/ext/vse/lightbox/", is the correct location xxxxx.com/phpBB/ext/vse/lightbox/ or xxxxx.com/ext/vse/lightbox/ ?

I tried to put the unzipped folder to both locations, but I don't see "Disabled Extensions" under "Manage Extensions" nor "Manage Extension Groups", did I miss something?

Thank you.
Extensions are for 3.1.x, not 3.0.x. Since you are using 3.0.12, this extension will not work. You have to install 3.1.

The Manage Extensions in the posting tab has to do with attachments.

Re: [ALPHA] Lightbox

Posted: Sat Jul 12, 2014 11:44 pm
by MattF
Updated to Alpha 2 to work with phpBB 3.1.0-RC2

See first post.

Re: [ALPHA] Lightbox

Posted: Thu Jul 17, 2014 9:18 pm
by Volksdevil
Working seamlessley on RC2 :D

Request:

When somebody uploads an attachment with a comment, show the comment instead of the file name under the lightbox image?