Skip to main content
Topic: [ADDON] Fancybox  (Read 7457 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [ADDON] Fancybox

Reply #15
Yeah that should work ... could you just post the bbc code you have for say the first postimage in the first post?  I need to see the raw bbc code to maybe figure out what its doing wrong.

Whats odd is that when you walk through the slideshow it had the thumb then the big image, then the thumb and then the big image ... so something is not getting swapped just right but it is kind of working.
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #16
this is the first image
Code: [Select]
[url=http://postimage.org/image/72fpz4sl9/][img]http://s6.postimage.org/72fpz4sl9/Skoda_octavia_2013_big.jpg[/img][/url]

and the others:
Code: [Select]
[url=http://postimage.org/image/f9cb4g81p/][img]http://s6.postimage.org/f9cb4g81p/file11_newformat.jpg[/img][/url] [url=http://postimage.org/image/lobc14erh/][img]http://s6.postimage.org/lobc14erh/file112_newformat.jpg[/img][/url] [url=http://postimage.org/image/ygzg11qd9/][img]http://s6.postimage.org/ygzg11qd9/file123_newformat.jpg[/img][/url]

[url=http://postimage.org/image/x37t5qr3x/][img]http://s6.postimage.org/x37t5qr3x/file134_newformat.jpg[/img][/url] [url=http://postimage.org/image/mhnxtqksd/][img]http://s6.postimage.org/mhnxtqksd/file145_newformat.jpg[/img][/url] [url=http://postimage.org/image/rucs7v8ot/][img]http://s6.postimage.org/rucs7v8ot/file36_newformat.jpg[/img][/url]

[url=http://postimage.org/image/kfngfhmt9/][img]http://s6.postimage.org/kfngfhmt9/file47_newformat.jpg[/img][/url] [url=http://postimage.org/image/5xq97hvi5/][img]http://s6.postimage.org/5xq97hvi5/file58_newformat.jpg[/img][/url] [url=http://postimage.org/image/9im4qq01p/][img]http://s6.postimage.org/9im4qq01p/file69_newformat.jpg[/img][/url]

[url=http://postimage.org/image/mba8qnbnh/][img]http://s6.postimage.org/mba8qnbnh/file710_newformat.jpg[/img][/url] [url=http://postimage.org/image/aate3ntml/][img]http://s6.postimage.org/aate3ntml/file811_newformat.jpg[/img][/url] [url=http://postimage.org/image/qn3fte7y5/][img]http://s6.postimage.org/qn3fte7y5/file912_newformat.jpg[/img][/url]

[url=http://postimage.org/image/nua89d7lp/][img]http://s6.postimage.org/nua89d7lp/media_Oc040_newformat.jpg[/img][/url] [url=http://postimage.org/image/6v19u3we5/][img]http://s6.postimage.org/6v19u3we5/media_Oc071_newformat.jpg[/img][/url]
sorry for my bad english

Re: [ADDON] Fancybox

Reply #17
grazie !
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #18
Updated to:

- fix  and issue when working on multiple linked bbc images in a post
- flic..kr was not working correctly
- added a proxy file to avoid Google apps limits (only needed for postimg processing

Same link as in the first post, enjoy!
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #19
I did a fresh install. I tried that but none of my postimg images are working  :D  skodaclub.it/skodaelk10/index.php?topic=837
They are working fine as bbc images with links. They open correctly on a new tab
sorry for my bad english

Re: [ADDON] Fancybox

Reply #20
Its doing what it needs to do, but your server is returning a 500 error when the proxy file is called (needed to process postimage files), for example this:

Code: [Select]
Request URL: 	http://skodaclub.it/skodaelk10/fb4elk_proxy.php?url=http://postimage.org/image/yr7xaofct/&callback=jQuery1111008285213568032224_1416244453719
Request Method: GET
Status Code: HTTP/1.1 500 Internal Server Error

There should be a fb4elk_proxy.php in the base of the forum directory, please verify that is there. 

Also if you have bad behavior activated it may (just a guess) need to have that file added to the Whitelist by URL section.  Or maybe something else is going on, any other details in the server log or php log?
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #21
Thank you, the file is in my root, so I checked the error log and I found this
[Mon Nov 17 18:58:38 2014] [error] [client xxx.xxx.195.31] SoftException in Application.cpp:256: File "/home/****/skodaelk10/fb4elk_proxy.php" is writeable by group
The file was uploaded with 666 permission, I changed to 644 and is working.

Thanks again for your help.

p.s. compared to HS4SMF a topic with postimg images is loading fast. The same topic is opened in SMF in more than 3.3 seconds, on elk in just 0,08 sec ;) 
sorry for my bad english

Re: [ADDON] Fancybox

Reply #22
Awesome  :D
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #23
That person was right, you write crappy code for SMF!! :P

 emanuele runs
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Fancybox

Reply #24
ROFLMAO  :D And that was one of my better ones :P
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #25
After installing the latest version of this addon when someone tries to upload an attachment they see this (see attachment) and the attachment will not upload. If I disable the fancy box addon the attachments work fine. Any ideas?

Re: [ADDON] Fancybox

Reply #26
Please check if there any errors in the ACP error log .. meanwhile I'll do some checking as well.

Also a site with a test account could help, PM me if you want
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Fancybox

Reply #27
Does it need to be an admin account or just a regular account?

Re: [ADDON] Fancybox

Reply #28
Getting a lot of these errors in the ACP.

Code: [Select]
Guest
Reverse chronological order of list Today at 05:10:10 PM
Apply Filter: Only show the error messages of this IP address 68.180.228.34 
Apply Filter: Only show the error messages of this session 7cb305e00f9f766eb00eaf259c870777
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message 8: Undefined index: fancybox_PaddingApply Filter: Only show the error messages of this URL http://www.mysite.com/index.php?topic=7046.15Apply Filter: Only show the errors from this file File: /homefolder/userfolder/public_html/sources/subs/fb4elk.subs.php
Line: 96

Re: [ADDON] Fancybox

Reply #29
Damn, I thought that was fixed, I remember that being reported ... let me check that first  :-[

replace your file with this one (in subs)
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.