WordPress.org

Ready to get started?Download WordPress

Forums

Cool Video Gallery
[resolved] Plugin Fails when Delete or Upload Preview Image is used (34 posts)

  1. amazinggitboy
    Member
    Posted 2 years ago #

    Hi Praveen,
    I am finding that when I attempt to use 'Delete' or 'Upload Preview Image' from the Manage Gallery section I consistently have a blank transparent overlay shown and nothing further happens.

    I really like the look of your plugin and would like to use it but without particularly the delete feature operational it is impractical for me to use it.

    I am using version 1.6 with a simple gallery of two videos. My server does not have FFMPEG installed on it, if that is relevant. Apologies if this post is innappropriate here. I did search for other posts regarding this issue and found a number of posts in the plugin & hacks category from people asking for help but none carrying any solutions or answers, so figured maybe the support area was the right place to raise this.

    Looking forward to hearing any help available.
    Cheers.

    http://wordpress.org/extend/plugins/cool-video-gallery/

  2. Praveen Rajan
    Member
    Plugin Author

    Posted 2 years ago #

    @ amazinggitboy

    Could you try out the following and let me know about it. I'm not sure what is causing this problem as I've not come across such an issue.

    Go to your plugin directory and open up css/thickbox.css file.

    In the file comment out every line starting with display style.

    Ex:

    display:none;

    to

    /*display:none; */

    Thanks,
    Praveen Rajan

  3. amazinggitboy
    Member
    Posted 2 years ago #

    Hi Praveen,

    Thanks for your quick response. I've given that a try and found that now when either function is tried when the blank transparent overlay appears, now there is also a small box with a stripey animated progress bar in the centre of the screen with no text on it.

    The bar never moves or completes, and the page stays in this state forever if left. However, if the overlay is clicked anywhere else except the box or bar, the overlay disappears along with the box and bar and the page returns to its original state before the buttons were pressed and the functions have not been executed.

    Do let me know if there's anything else I can do to try to find you more information to help with this problem, I would very much like to do all I can to help get this resolved.

    Thanks, - and your help is definitely appreciated.

  4. Praveen Rajan
    Member
    Plugin Author

    Posted 2 years ago #

    @ amazinggitboy

    Could you give me details of your development environment like OS, browser, WP version, theme.

    Thanks,
    Praveen Rajan

  5. amazinggitboy
    Member
    Posted 2 years ago #

    Sure,

    I've tried Chrome, Firefox and IE9, which all do the same thing.

    The WordPress install is version 3.4, and the host is a Linux machine running on Debian Linux (with Dreamhost). The Dreamhost docs say it will either be 4.0, or 3.1r4. If you need to know the exact version I'll dig and try and find out (Dreamhost don't make it quickly obvious unfortunately!)

    The theme is Albeo.

    Cheers,
    Matt

  6. Ryan.Griffin.414
    Member
    Posted 2 years ago #

    @ Amazinggitboy & Praveen Rajan

    I love this plugin and so far its the only one I've found to do exactelly what I've been looking for. I to had the same problem as amazingitboy, always got an overlay screen when I tried to delete a gallery or an a preview image. I looked over everything and found the problem to be with the #TB_window ID.

    For some reason a visibility of hidden is being applied to the class and causing it to not show properly. Not sure where this is being applied to the ID in your plugin but thats as far as I've looked into it. Simply fix the visibilty of hidden being applied to the #TB_window div and it's all set and working better.

  7. Praveen Rajan
    Member
    Plugin Author

    Posted 2 years ago #

    @Ryan.Griffin.414

    Thanks for the finding. May I know how exactly you fixed it. Where is this style getting added? I could not see this in my environment. I'm able to see the popup clearly in my page. And I dont find any visibility style getting added. I would like to know the steps to resolve it, so that I could add the fix in coming versions.

    Thanks,
    Praveen Rajan

  8. amazinggitboy
    Member
    Posted 2 years ago #

    Thanks Ryan, that's really helpful!

    That gives us a good angle to look at and see if we can figure it out. I'll follow that through and see what I can find. I'm pretty green with all this stuff so that's a big help.

    Much appreciated!

  9. Ryan.Griffin.414
    Member
    Posted 2 years ago #

    Alright so I found the problem and it's a conflict with other things that I have installed, to fix it I just simply went into the thickbox.css file and then on line 47 under #TB_window I just inserted...

    visibility: visible !important;

    now your plugin will read that instead of listening to other installed files. Tested it out and it works for me fine now, hope that helps you two out and anyone else that's been having problems with this plugin. Thanks again for providing this plugin though, really love it and all of the features you packed in there man good job

  10. amazinggitboy
    Member
    Posted 2 years ago #

    Hooray!

    I've managed to get things working! Ryan's suggestion was spot on. I have now successfully deleted a video and everything seems to be working fine.

    I do really like this plugin and will enjoy using it immensely.

    Thanks very much to both of you for your time and help. It's greatly appreciated.

    Have a good day!

  11. Praveen Rajan
    Member
    Plugin Author

    Posted 2 years ago #

    @Ryan.Griffin.414 and amazinggitboy

    Thanks for the support and review about my plugin :) Do provide your ratings.

    Regards,
    Praveen Rajan

  12. JohnnyTest
    Member
    Posted 2 years ago #

    actually this doesn't seem to have cleared up the issue for me. I'm having the same problem. Is the tb_Window supposed to have content in it? when I firebug or chrome console it, i see nothing in the tb_window div.

  13. JohnnyTest
    Member
    Posted 2 years ago #

    actually I noticed that you included fancybox in your plugin and reworked some stuff in the gallery-details.php file to accomodate the change and now its working for me.

  14. Praveen Rajan
    Member
    Plugin Author

    Posted 2 years ago #

    @ JohnnyTest

    May I know what is the current status? Is it working for you? Admin pages popup window and front end popup window are different actually. Admin page uses Thickbox and Front page popup uses FancyBox.

    Thanks,
    Praveen Rajan

  15. JohnnyTest
    Member
    Posted 2 years ago #

    Since I switched the back end to fancybox it is working. I had to of course change the href of the upload photo and delete links and add a trigger class to them in the gallery_details.php file. Also add the jquery initiator for them and up at the top and commented out the tb_show function triggered by the onclick, but left the value setting function. Lastly, removed the display none from the divs that actually contained the forms and wrapped them all in a div container with display none. Its working fine now that I switched to Fancy. Of course I'm left in the position of having to disable upgrades now though in fear of it breaking again....no idea what the cause of this is. Disabled all plugins and tried the fix above to get thickbox to work but I was on a deadline....

  16. Duncan
    Member
    Posted 2 years ago #

    I had the same problem.

    After deactivating all plugins and ruling out the culprit, I found out it didn't work with

    "After The Deadline Version 0.49008 by Raphael Mudge"

    Regards

  17. imaginette
    Member
    Posted 2 years ago #

    Hi,
    I am having the exact same problem. I have tried the fixes above, but it is still not working for me. In firefox, it just freezes with a black transparent screen. In IE, it shows a gray box with bars scrolling, but never loads.
    Any help would be appreciated.

    Thanks,
    Imaginette

  18. maestroryuken
    Member
    Posted 2 years ago #

    Great plugin, almost perfect. The preview does not display well ... please do something.
    Server where the problem arises:

    S.O. Debian 6.0.4
    php 5
    register globals off
    allow url fopen on
    curl on
    sqlite off

    We give all the details: in this way we will understand why.

    Thanks to all

  19. dave9621
    Member
    Posted 2 years ago #

    I'm having the same problem deleting things, thickbox fires and I get the progress bar animation on a gray transparent background and nothing else happens. I've tried deleting videos manually off the server and that doesn't work. I have tried editing out the XML file in the gallery and that doesn't work. Does anyone have a workaround?? Thanks for any help you can lend.

  20. maestroryuken
    Member
    Posted 2 years ago #

    I solved it manually:

    - Enter the video
    - EXAMPLE: Gallery name: VIDEO. Video name: HOME
    - Enter in ftp to your site here: wp-content/uploads/video-gallery/VIDEO/thumbs (changes depending on the name of your gallery and video)
    - Put them in a file .png named "thumbs_name-video.png" for the big photo
    - Put png. file named "thumbs_name-video_preview.png" to small photo
    - My Example: "thumbs_home.png" + "thumbs_home_preview.png "
    - Perfetto!
    - Made a few minutes, I added 20 photos videos, see the result if it satisfies:

    http://www.arredometallica.eu/azienda/

    Hello, excuse my English, but being Italian.

  21. dave9621
    Member
    Posted 2 years ago #

    Maestroryuken, thanks for helping me on this. But I'm not exactly sure what you're saying. I can get into my server via FTP without a problem. I see the different gallery folders and the "thumbs" folder in each. But I'm not using big photos and small photos. I'm using videos. I only have one thumbnail for each video. I deleted the video and it's thumbnail but that does not remove it from the gallery in the dashboard of WordPress.

    Also, I looked at your site and I don't see a gallery of videos, are you sure we're discussing the same plug-in?

  22. maestroryuken
    Member
    Posted 2 years ago #

    My solution was to create video preview. In practice I have found that the new version of the plugin files reverses.

    "thumbs_xxxxx_preview.png" the file becomes smaller
    "thumbs_xxxxx.png" the file becomes larger.

    Invert once, even renaming all my works.

    For example, I used it here:

    http://www.listube.it/fatti-di-cronaca/

    will achieve this true?

    or you just want to delete a gallery and you do not succeed?

  23. dave9621
    Member
    Posted 2 years ago #

    Maestroyuken...thanks for trying to help me, but I'm not understanding. What I want to do is delete an entire gallery. Is there a way of doing this manually? Removing the gallery folder from the server does not remove it from the plug-in's administration page.

  24. maestroryuken
    Member
    Posted 2 years ago #

    I'm sorry I could not help yourself.
    I found that installing directly to version 1.6 everything works perfectly. (delete galleries and everything else) but if I upgrade from 1.5 does not cancel out the galleries.
    At this point there must be something in the update to be deleted. try them with other versions of wp.
    I repeat: the problem does not occur in a clean install, by directly inserting the 1.6

  25. dave9621
    Member
    Posted 2 years ago #

    Thanks for the tips. I'm going to try to disable other plug-ins and see if that clears up the problem. I started with ver. 1.6 originally, I never did an update, so it must be a conflict. Thanks again for trying.
    All the best.

  26. Laura Schoppa
    Member
    Posted 1 year ago #

    I am having same issue. When trying to delete a video, get an overlay screen with progress bar only and nothing else that keeps going and going. Was there a fix to this? thanks for any info.

  27. dave9621
    Member
    Posted 1 year ago #

    Laura, I was never able to solve the problem, BUT I did find a work around. The issue seems to be with the theme I am using, it creates a conflict with the javascript or something. So what I do when I need to edit my vid gallery is to temporarily switch to a different theme, something generic like TwentyEleven or something. Then make your changes to the cool vid galleries and then switch back to your real theme. Not a perfect solution because your website is going to look different for a few minutes while you're doing this, but it's the only solution I could find. Hope this help. Good luck.

  28. JohnnyTest
    Member
    Posted 1 year ago #

    Basically just switching the default pop up thing from thickbox to fancybox fixed it for me. Of course it takes a little bit of work changing some of the markup and adding the necessary scripting but it was worth it to salvage using the plugin.

  29. Laura Schoppa
    Member
    Posted 1 year ago #

    Thanks for your quick replies. I am unfortunately not technical enough to switch to fancybox. Dave9621, I tried switching to 2 basic themes - TwentyEleven and Bones (and even took out some of the JS in the themes) but this still did not resolve the issue. Any other suggested fixes would be appreciated!

  30. dave9621
    Member
    Posted 1 year ago #

    hmmmm...the only other thing I can think of trying is to switch to TwentyEleven and then one by one disable any installed plugins you have, and try again. There is probably a plugin that is causing a conflict. If you do them one at a time you'll know which is the troublemaker. If this doesn't work I would try logging in with another browser, I use Firefox. I've read somewhere that clearing the browser's cached can clear up conflicts too, but I'm not 100% certain of that, worth a try.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic