Graybox Plugin for S9y

Creating and modifying plugins.
User avatar
RobA
Regular
Posts: 317
Joined: Wed Apr 27, 2005 5:11 pm
Contact:

Post by RobA » Thu Feb 01, 2007 5:45 pm

Hi -

The version in sparticus seems to have the greybox option, but there is no greybox (or graybox) directory for the js provided.....

Any idea how to get this working?

-Rob A>
* My s9y blog:
* Rob A's (Im)Personal Blog
* http://www.silent9.com/blog

Andyman77
Regular
Posts: 92
Joined: Mon Oct 17, 2005 2:50 pm
Location: London
Contact:

Post by Andyman77 » Thu Feb 01, 2007 6:49 pm

Hi RobA,

I have just checked the version on sparticus , it appears to have all the bits.
have you tried removing it from your sever, then re-downloading it?
Serendipity - Site, finished ;)
Mine that is ... so lots of nonsensical Stuff

User avatar
RobA
Regular
Posts: 317
Joined: Wed Apr 27, 2005 5:11 pm
Contact:

Post by RobA » Thu Feb 01, 2007 8:57 pm

That seemed to bring it all down.

Still can't get it to work though, I guess I'll stick with the lightbox plus option, as it does everything I want.

-Rob A>
* My s9y blog:
* Rob A's (Im)Personal Blog
* http://www.silent9.com/blog

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Wed Feb 28, 2007 4:00 pm

I tried the graybox2 today and noticed, that it opens a gray box but instead displaying my picture, it displays my website ;) (404)

The path to the image, when i move my mouse over the previewpicture looks fine, so maybe there is another mistake somewhere in the plugin?

Regards, Harald

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Mon Mar 19, 2007 11:30 pm

Sorry, is anyone able to get the graybox to run? The graybox opens the mainpage, where the picture should be shown. Also on a brandnew blog, so i guess its a bug in the plugin :(

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Mar 20, 2007 10:27 am

Hi!

Might be related to a wrong configured URL or interferring mod_rewrite. Show us the URL to that brandnew blog, please?

Also tell us the version number of the boxplugin you use.

Best regards,
Garvin
# 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/

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Thu Mar 22, 2007 1:27 am

Lightbox Plugin v1.3 and url

Thanks in advance ;)

PS: s9y 1.1.1 but this also happens on 1.1.2

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Thu Mar 22, 2007 11:22 am

Hi!

In your entry you seem to combine the option "open in new window" by the media manager and graybox.

That doesn't work.

If you use the graybox plugin, you can NOT select the option to open a link in a new window, the graybox does that automatically and what the media manager inserts to the image will undo that graybox target location.

Best regards,
Garvin
# 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/

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Fri Mar 23, 2007 11:26 am

garvinhicking wrote:Hi!

In your entry you seem to combine the option "open in new window" by the media manager and graybox.

That doesn't work.

If you use the graybox plugin, you can NOT select the option to open a link in a new window, the graybox does that automatically and what the media manager inserts to the image will undo that graybox target location.

Best regards,
Garvin


Hi,

i don't open a new window. I use this plugin like i use it on other site. If i switch back to Lightbox, it works. Just with Graybox it does not work. I bet it has something to do with Graybox implementation (but i don't bet much against you) ;)

Regards, harald

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Fri Mar 23, 2007 11:39 am

Hi!

But how do you exactly insert the image, which options in the media selector do you check?

Inside your HTML, there's an "onclick: F1 =window.open(...)" code. This is the troublemaker. It is not allowed to be there.

Lightbox opperates differently than Graybox and removes existing onclick handlers, you cannot compare them two.

Best regards,
Garvin
# 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/

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Fri Mar 23, 2007 1:25 pm

This is a screenshot of how i insert the code.

And this produces the following code:

Code: Select all

<a class='serendipity_image_link' href='/uploads/Produktbilder/H-20021-899.jpg' onclick="F1 = window.open('/uploads/Produktbilder/H-20021-899.jpg','Zoom','height=515,width=515,top=262,left=390,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:1 --><img width='200' height='200' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/Produktbilder/H-20021-899._x.jpg" alt="" /></a>


I have to select Popup-Fenster, right? Even if i select Ziel: "keine" it does not work. This produces the following code:

Code: Select all

<a class='serendipity_image_link' href='/uploads/Produktbilder/H-20021-899.jpg'><!-- s9ymdb:1 --><img width='200' height='200' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/Produktbilder/H-20021-899._x.jpg" alt="" /></a>


On both tries i've got the mainpage/404 where the pictures should be.

Thanks for your time.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Fri Mar 23, 2007 1:55 pm

Hi!

I have to select Popup-Fenster, right? Even if i select Ziel: "keine" it does not work. This produces the following code:


Yes, you must set it to "none". Can you show us the URL to an example where you have it like that?

Best regards,
Garvin
# 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/

Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner » Fri Mar 23, 2007 5:54 pm

Yes, it is still this url

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Mar 25, 2007 1:14 pm

Hi!

I just spent half an hour on this, and the URL is definitely passed correctly to the Greybox "show" function.

There's nothing wrong, so it must be the greybox problem, maybe you can pass your URL on to that developer and ask him if he knows of that problem?

Best regards,
Garvin
# 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/

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Mar 25, 2007 1:52 pm

Hi!

Ah, thanks to firebug I saw a problem.

Graybox tries to load:

http://blog.diekellnerboerse.de/plugins ... frame.html

Do you have that file? Maybe you need to add a .htaccess with "RewriteEngine off" to that directory?

Regards,
Garvin
# 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/

Post Reply