I did an update of the serendipity_event_lightbox plugin for my personnal purpose and you can now find my modifications in the official version in Spartacus.
Version 1.7 (Barberousse):
* Change graybox to greybox
* Greybox upgraded to version 5.53
* Lightbox 2 upgraded to version 2.04
* Lightbox Plus upgraded to version 20061027
* Pictures in the same entry are grouped in a gallery to use the "previous" and "next" button in Lightbox 2, Lightbox Plus, Greybox and Thickbox
Barberousse.
Last edited by Barberousse on Fri Jun 27, 2008 10:22 am, edited 1 time in total.
Version 1.7 (Barberousse):
* Change graybox to greybox
* Greybox upgraded to version 5.53
* Lightbox 2 upgraded to version 2.04
* Lightbox Plus upgraded to version 20061027
* Pictures in the same entry are grouped in a gallery to use the "previous" and "next" button in Lightbox 2, Lightbox Plus, Greybox and Thickbox
Hello Barberousse, thank you for the update! I use Lightbox Plus and happy, that pictures are now grouped in a gallery. The only drawback I found out is, that several pictures of different entrys on the same page are all grouped together. Is this by design?
konus wrote:The only drawback I found out is, that several pictures of different entrys on the same page are all grouped together. Is this by design?
Oh no, it shouldn't, I thought I tested it correctly. What gallery are you using: Lightbox plus, Greybox, ... ?
Edit: sorry, you're right, I have only one entry by page on my blog, and I didn't test with more, I was too much confident with my code... I will try to correct it soon.
I'm using lightbox plus, and I like that behavior. The condition of multiple entries only occurs on my frontpage or category pages; then users get a sort of "overview" of everything on the page.
Could you include an option to choose between the possible behaviors?
I am really amazed about the speed and the helpfulness in this community. I love it! I would like to contribute the German translation. Please add to the leng_de.inc.php the following lines:
@define('PLUGIN_EVENT_LIGHTBOX_GALLERY', 'Gallerie Erzeugung');
@define('PLUGIN_EVENT_LIGHTBOX_GALLERY_DESC', 'Steuert, ob das blättern zum nächsten Bild über Pfeile möglich ist.');
@define('PLUGIN_EVENT_LIGHTBOX_GALLERY_NONE', 'keine Gallerie');
@define('PLUGIN_EVENT_LIGHTBOX_GALLERY_ENTRY', 'nur Fotos eines Artikels');
@define('PLUGIN_EVENT_LIGHTBOX_GALLERY_PAGE', 'alle Fotos der Seite');
I invented the tag PLUGIN_EVENT_LIGHTBOX_GALLERY_DESC, just in case it will be needed in the future.
Thanks a lot for the contributions! I just added the update by Barberousse to Spartacus as well as the updated german translation by konus (slightly modified).
Barberousse, you changed some code that was in CVS regarding the regexp. Performancewise that's not the best way, so I changed it to the way it was before, bumping the version to 1.9.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking wrote:Barberousse, you changed some code that was in CVS regarding the regexp. Performancewise that's not the best way, so I changed it to the way it was before, bumping the version to 1.9.