Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Lightbox on Wordpress Help (http://www.greenguysboard.com/board/showthread.php?t=58935)

Giselle 2010-09-13 11:42 AM

Lightbox on Wordpress Help
 
Would someone please check the source code for http://videos.erotipussy.com/?p=524 and tell me what I am doing wrong?

I have contacted the video light box people and they helped a bit, but the videos won't play, they open in a new window (defeating the whole purpose of having lightbox) and they aren't lining up like a thumbnail gallery should...

Any help at all would be appreciated, and please give it to me in idiot speak, I am learning and frightened... :D

cd34 2010-09-13 11:55 AM

Code:


               
               
               
                       
                       
                       
                       
                       

The URLs for your javascript libraries are wrong, therefore, the javascript isn't loading. Somewhere in the config you need to make sure that either the full domain is specified, or, get rid of the http:// and use local paths, i.e. /engine/js/videolightbox.js

Giselle 2010-09-13 12:13 PM

Thanks for the quick reply cd34, I don't really understand what you're telling me to do...

this is what the support person at video lightbox told me

"Notice, that if you want to install galleries in Blogger posts and other pages which are not on your FTP server/domain name and there is no opportunity to upload .js files and images you should upload 'engine' and 'data' folders on your server and use absolute paths for all Visual LightBox files, for example:

(I uploaded the engine and data folders to http://erotipussy.com/videos/...on my server)






"


What do I need to take out or put in? Do I have to edit the body section as well? and how do I get the thumbnails to look like they are supposed to (columns and rows)?

cd34 2010-09-13 12:23 PM

Code:


               

see how the url is:

Code:

http://videos/engine/css/videolightbox.css
it should be:

Code:

http://erotipussy.com/videos/engine/css/videolightbox.css
Same with the other URLs in the header.

Giselle 2010-09-13 12:42 PM

Thanks again cd34, I really appreciate your help and patience, I know it's hard dealing with a noob...

I did what you instructed, changed the head code, and it didn't work, so I also changed the body code and it didn't help...

any other suggestions?

thanks,
Giselle

cd34 2010-09-13 12:47 PM

You misspelled your domain on the last one:

Code:



Giselle 2010-09-13 01:18 PM

Doh! Thanks for laughing at me on the inside and being so nice on the outside :D...

Now that that's all fixed... what code do I change to make my thumbnails line up accordingly...

cd34 2010-09-13 03:22 PM

HTML is not my thing. :) I think the
containers for each of the videos can have the CSS modified, or, you could put inline styles in. They should act just like any other image or text element.

Giselle 2010-09-13 04:13 PM

Quote:

Originally Posted by cd34 (Post 490422)
HTML is not my thing. :) I think the
containers for each of the videos can have the CSS modified, or, you could put inline styles in. They should act just like any other image or text element.

Huh? What was that now? Everything you said there flew right over my head...

When I click on the thumbnails, the lightbox works, but the videos still won't play... |banghead|<-- is becoming my favorite icon...

walrus 2010-09-19 05:52 PM

It's really difficult to get any script working with Wordpress. Which is why they have plug-ins. WP just really seems to mess with paths making using a relative path near impossible. Which means you have to find every instance in the script (or scrpts) where it uses a relative path and change it to absolute.

But there are a number of good plug-ins to do what your trying to do. Maybe not quite as pretty as light box (although there is a light box plug-in). I tend to google them rather than go through the plug-in finder on the WP site or search using the function inside your WP install.


All times are GMT -4. The time now is 06:48 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc