• [MOD] Multi-Lightboxes v1.03.2 (2011-09-20) 4 0 5 1
Currently:  

Author Topic: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)  (Read 253724 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #195 on: September 21, 2011, 06:46:02 AM »
Did you run the installer from step 1?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #196 on: September 21, 2011, 03:15:40 PM »
I`ve tried to install this again. This is log message:

Code: [Select]
DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox MEDIUMINT( 8 ) UNSIGNED NOT NULL
Duplicate column name 'user_lightbox'

DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox_count SMALLINT( 3 ) DEFAULT '0' NOT NULL
Duplicate column name 'user_lightbox_count'

DB Error: Bad SQL Query: ALTER TABLE 5images_users ADD user_lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL
Duplicate column name 'user_lightbox_private'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD id MEDIUMINT( 12 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
Duplicate column name 'id'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD lightbox_name VARCHAR( 32 ) NOT NULL
Duplicate column name 'lightbox_name'

DB Error: Bad SQL Query: ALTER TABLE 5images_lightboxes ADD lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL
Duplicate column name 'lightbox_private'

DB Error: Bad SQL Query: INSERT INTO 5images_settings ( setting_name , setting_value ) VALUES ( 'lightbox_count', '5' ), ( 'lightbox_share', '1' )
Duplicate entry 'lightbox_count' for key 'PRIMARY'

    Error
      ALTER TABLE 5images_users ADD user_lightbox MEDIUMINT( 8 ) UNSIGNED NOT NULL

    Error
      ALTER TABLE 5images_users ADD user_lightbox_count SMALLINT( 3 ) DEFAULT '0' NOT NULL

    Error
      ALTER TABLE 5images_users ADD user_lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL

    Error
      ALTER TABLE 5images_lightboxes ADD id MEDIUMINT( 12 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST

    Error
      ALTER TABLE 5images_lightboxes ADD lightbox_name VARCHAR( 32 ) NOT NULL

    Error
      ALTER TABLE 5images_lightboxes ADD lightbox_private TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL

    Done
      ALTER TABLE 5images_lightboxes ADD INDEX ( lightbox_private )

    Error
      INSERT INTO 5images_settings ( setting_name , setting_value ) VALUES ( 'lightbox_count', '5' ), ( 'lightbox_share', '1' )

    Done only:

      ALTER TABLE 5images_lightboxes ADD INDEX ( lightbox_private )

But notice active!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #197 on: September 22, 2011, 12:23:49 AM »
Sorry, at the moment I don't have access to the source code, I'll try guess here.
Above the code you've inserted in step 8 add this:
global $config;
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #198 on: September 22, 2011, 11:53:48 AM »
Now it work! Thanks!

Is it possible to do Lightbox Name field as required?
« Last Edit: September 22, 2011, 07:25:25 PM by MrAndrew »

Offline wassimo

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #199 on: October 09, 2011, 07:35:42 AM »
hmmme great mod

 but
how can member  change which lightbox hold image

i mean  move the image from lightbox 1 to 2

thanks

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #200 on: October 09, 2011, 07:39:27 AM »
Which album are current active, and there will be added photo.

Offline wassimo

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #201 on: October 09, 2011, 07:46:30 AM »
wow know how i do it

choice first lightbox from drop down menu after that press on the favortie button

haha

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #202 on: December 29, 2011, 09:09:40 PM »
auch Version 1.7.10 tauglich

immer diese englischen Mod's  :wink:
Danke Harald




Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #203 on: January 23, 2012, 05:39:54 PM »
Hello! V@no, i think this is question for you!

I have an idea, help me please, realize it! This idea, i`ll call avatar for lightbox!

I have created column in my LIGHTBOX TABLE, which call lightbox_thumb

Is it possible, from details page, use button (i.e. "use as lightbox thumb") , which will add to "lightbox_thumb" "image_thumb_file" path, from IMAGES_TABLE??? I know it possible, using SQL query, but i`m not programmer. It`s difficult for me.

May you help me?

Many thanks!

Offline toonks

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)
« Reply #204 on: June 13, 2013, 03:25:30 AM »
Hi!
This script is fantastic, but for some reason my footer gets stuck in an inframe on the lightbox_manage page. I can't figure out how fix this as I'm guessing lightbox.html is the problem as it's got {footer} at the end which lightbox_manage.html for some reason uses at the end (along with the dropdown list of folders and the headline). Anyone know how I can fix this?
« Last Edit: June 13, 2013, 07:09:58 PM by toonks »