[CDB] Lightbox

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

[CDB] Lightbox

Post 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.
Last edited by MattF on Thu Apr 17, 2014 2:21 pm, edited 1 time in total.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [DEV] Lightbox

Post by Raul [ThE KuKa] »

Thanks VSE, nice work!
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] Lightbox

Post 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
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Lightbox

Post 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.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] Lightbox

Post by Jessica »

Oh, okay. I'll wait for beta 3 then.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Lightbox

Post by MattF »

Beta 3 is out, and this extension works with beta 3! :)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Ephemeraboy
Registered User
Posts: 333
Joined: Tue Dec 29, 2009 4:25 pm
Location: Bandung Kota Hujan
Name: Bernando Bona Tius Sianipar

Re: [DEV] Lightbox

Post by Ephemeraboy »

is there any plan to add button "next" and "before" (just like an IPB have)
My diary, my notepad, and my life on
http://www.bonatius.com
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [ALPHA] Lightbox

Post by MattF »

Alpha 1 version posted (see first post)
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [DEV] Lightbox

Post 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' -->
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
M.Gaetan89
Registered User
Posts: 39
Joined: Sun Apr 21, 2013 12:36 pm
Location: Divonne-les-Bains
Name: Gaëtan

Re: [ALPHA] Lightbox

Post 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?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [ALPHA] Lightbox

Post 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.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
inwe
Registered User
Posts: 1
Joined: Fri Jun 13, 2014 6:22 pm

Re: [ALPHA] Lightbox

Post 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.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [ALPHA] Lightbox

Post 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.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5979
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [ALPHA] Lightbox

Post by MattF »

Updated to Alpha 2 to work with phpBB 3.1.0-RC2

See first post.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [ALPHA] Lightbox

Post 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?
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60

Return to “Extensions in Development”