• [Mod] Add/Remove image to/from lightbox without page refresh (2009-07-29) 5 0 5 1
Currently:  

Author Topic: [Mod] Add/Remove image to/from lightbox without page refresh (2009-07-29)  (Read 129373 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
[Mod] Add/Remove image to/from lightbox without page refresh
« Reply #15 on: June 21, 2003, 11:23:21 PM »
Quote from: lutz
well, if you change only step 1.2. you will have the advantages of both "worlds".

yes, but this way has a side effect - it will refresh whole page if u add and then remove image from lightbox, being on categories page or details page.
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 lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
[Mod] Add/Remove image to/from lightbox without page refresh
« Reply #16 on: June 22, 2003, 12:14:36 AM »
hello v@no,
in principle you`re right, you have to balance the advantages about the disadvantages. but it´s definitely better than always refreshing...
actually uncheck the image staying on the same categories or details page does not refresh the page!
i can live very good with this compromise and can recommend it.
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline vanish

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • White Album
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #17 on: March 12, 2005, 12:01:21 PM »
How I can add "click sound" effect in this MOD when I click to lightbox?

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
works [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #18 on: April 07, 2005, 10:56:54 PM »
in a first try
and it works perfect
Now i will need help to do this
http://www.4homepages.de/forum/index.php?topic=7273.0

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #19 on: May 01, 2005, 01:26:57 PM »
thats fun - after installing i got errors in file i did not touch

Code: [Select]
Parse error: parse error, unexpected $ in D:\web-data\foto.wombat.ch\http\includes\functions.php on line 1580

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Fatal error: Call to undefined function: get_categories() in D:\web-data\foto.wombat.ch\http\index.php on line 67


what it means?
the first error on the list is just the end of the file!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


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] Add/Remove image to/from lightbox without page refresh
« Reply #20 on: May 01, 2005, 07:42:59 PM »
u've missed a bracket or something like that in functions.php
restore backups and try again ;)
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 Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #21 on: May 14, 2005, 11:43:33 PM »
i am going MAD i can't find something - but it is also not that easy like a html structure
the link to my functions.php file

http://www.foto-kocher.com/muster/functions.php.txt

and i hope somebody could see the missing thing!?

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #22 on: May 19, 2005, 10:27:33 AM »
did somebody find a mistak in the code?

i am going MAD i can't find something - but it is also not that easy like a html structure
the link to my functions.php file

http://www.foto-kocher.com/muster/functions.php.txt

and i hope somebody could see the missing thing!?

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


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] Add/Remove image to/from lightbox without page refresh
« Reply #23 on: May 19, 2005, 02:18:24 PM »
there is nothing wrong with the file, I dont get that error message. Perhaps something went wrong when u uploaded it? like it was uploaded in binary mode.
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 Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #24 on: May 19, 2005, 03:39:09 PM »
V@no
thanks a lot! but as soon as i uncoment the [mod] and coments the other line -  it crashes and it makes error!
sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


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] Add/Remove image to/from lightbox without page refresh
« Reply #25 on: May 19, 2005, 04:18:27 PM »
are u saing u showed the "working" version of functions.php??? why would u do that? :?
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 Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #26 on: May 21, 2005, 05:40:44 PM »
this is the versin with the code added which is doing no error anymore
http://www.foto-kocher.com/muster/functions.php.txt

but still refreshs after selecting a picture?

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


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] Add/Remove image to/from lightbox without page refresh
« Reply #27 on: May 21, 2005, 05:51:54 PM »
this is the versin with the code added which is doing no error anymore
I think u do something wrong ;)
I dont see any changes from this mod...
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 Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add/Remove image to/from lightbox without page refresh
« Reply #28 on: May 23, 2005, 11:13:43 PM »
 :oops: sorry i copyed the wrong file first and second i have done the mod saved but the saving was not puting them back to the server - still hoping to learn to use macromedia Dreamwaver MX
http://www.foto-kocher.com/muster/functions.php.txt
the original code is // and just below or after ist the new active code

Code: [Select]
Parse error: parse error, unexpected $ in D:\web-data\foto.wombat.ch\http\includes\functions.php on line 1580

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Warning: Cannot add header information - headers already sent by (output started at D:\web-data\foto.wombat.ch\http\includes\functions.php:1580) in D:\web-data\foto.wombat.ch\http\includes\sessions.php on line 85

Fatal error: Call to undefined function: get_categories() in D:\web-data\foto.wombat.ch\http\index.php on line 67
Beati pauperi spiritus

4images 1.7 // My Installed Mods


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] Add/Remove image to/from lightbox without page refresh
« Reply #29 on: May 24, 2005, 12:30:46 AM »
the error doesnt comming from this mod, your check_lightbox function is messed up.
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)