Rotating Post Gallery Widget not rotating
I have a rotating post gallery widget on my homepage and it stopped rotating today. I guess something is changed after the new release? There is also an extra space after the image. Thanks.
My page is at http://gslis720.commons.gc.cuny.edu
#2 Updated by Boone Gorges almost 7 years ago
- Assignee changed from Boone Gorges to Dominic Giglio
Dom, I took a 15-second look, and the console is throwing an error along the lines of "...$("#comment").on is not a function". This makes me think that jQuery isn't being loaded in time. Might be a place to start looking.
#3 Updated by Dominic Giglio almost 7 years ago
I see two of things wrong here.
1.) the wp plugin repo has a warning stating that this plugin hasn't been updated in over two years.
2.) the main plugin code in
gallerypress.php appears to be attempting to
wp_enqueue_* a bunch of files that do not exist in the plugin's directory.
Here's a summary of what is being enqueued, but is missing:
PLUGIN_URL/css/gp_attachment.css PLUGIN_URL/js/gp_attachment.js PLUGIN_URL/js/jquery.tabs/jquery.tabs.min.js PLUGIN_URL/js/jquery.tabs/jquery.tabs.css PLUGIN_URL/js/prettyphoto/css/prettyPhoto.css PLUGIN_URL/js/prettyphoto/js/jquery.prettyPhoto.js (this missing file seems to be causing the error)
I downloaded a clean copy from the plugin repo and it DOES NOT contain these missing files.
Should we contact the original reporter if this issue and ask if they would consider replacing this plugin in light of these GLARING inconsistencies?
#8 Updated by Dominic Giglio almost 7 years ago
According to the nextgen plugin repo page:
- Two Gallery Types. Choose between two main display styles: Slideshow and Thumbnail, and allow visitors to toggle between the two.
- Slideshow Galleries. Choose from a vast array of options for slideshows, including slideshow size, transition style, speed, image order, optional >navigation bar.
- Thumbnail Galleries. Choose from a wide range of options to customize thumbnail galleries, including 5 different lightboxs for individual >images, optional thumbnails cropping and editing, thumbnail styles, captions, and more.
- Single Image Displays. Display and format single images.
- Work with Options Panel or ShortCodes.
#10 Updated by Rowena Li almost 7 years ago
Matt Gold wrote:
Thanks, Dom. Rowena, will those features meet your needs and do they align with how you were using the Rotating Post Gallery Widget?
Sorry. I was not informed about the conversations here (Should I receive these conversations in my emails? I remember I did for the past tickets.) Let me try nextgen. But can I insert it as a widget in my blog home page and any other pages? or it has to be on the sidebar as a widget. I will give it a try. Thanks... will let you know.
#13 Updated by Dominic Giglio almost 7 years ago
Yes, I can see the nextgen slider on the homepage, and you're right - only the spinning loader image shoes up.
Unfortunately I have never personally used the nextgen plugin. I assume that there is a miscommunication between the plugin and the images that you uploaded.
How are you putting the gallery on the page? With a [shortcode]? How were the images added? Uploaded through the nextgen plugin?
Off the top of my head It sounds like there is a setting somewhere that has either been set (or unset) incorrectly, or maybe an additional shortcode option is missing. Like [gallery option1="" option2-""] or something similar.
#14 Updated by Rowena Li almost 7 years ago
Thanks, Dom, for looking into this.
I tried this NextGen in the spring and it was like this. I used NextGen Slideshow widget. I did upload the images via Gallery and set up a gallery. So in the widget, I just click the name of the gallery. But I guess this widget doesn't work.
#15 Updated by Dominic Giglio almost 7 years ago
I've had some time to look into Nextgen and test it out locally. I'll outline, step by step, what I did to get it to work so you can compare to what you did and see if anything was missed.
1.) Activated plugin on a test site. This created a new "Gallery" menu item in the WordPress fly-out menu that runs vertically along the left hand side of the admin section.
2.) Clicked on "Add Gallery / Images" in the new Gallery menu and created a new gallery called test-gallery.
(as soon as I saved this new gallery the paged switched to display the "Upload Images" tab on that same page)
3.) Per the new tab's instructions, I dragged 5 images out of my Finder (I'm on a Mac, that would be Windows Explorer or My Pictures on a Windows machine), and I dropped them right onto the page.
4.) I selected my new gallery (test-gallery) from the dropdown menu and clicked the "Upload Images" button.
5.) I looked through all the options pages that are available from the Gallery menu in the right hand fly-out menu but did not see anything crucial, so I left all the default settings alone.
6.) Switched over to the widgets admin page and added the "NextGEN Slideshow" widget to one of my widget areas. I selected test-gallery from the widget's dropdown menu.
7.) Refreshed my homepage and there they were, just sliding away.
Let me know if this helps. If not, we'll figure something else out. Maybe we could schedule some time for a screen sharing session and we'll go through the steps one by one until we get it working?
#17 Updated by Rowena Li almost 7 years ago
Thanks, Dom. I tried NextGEN Slideshow and it displayed all the images one by one at the same time. I am not sure. Maybe my setup somewhere is wrong. Will you be able to go to my blog and give it a try? I put back the widget to the Widget Available pool on Widgets admin page. Current one on the homepage is not NextGen widget.
#18 Updated by Dominic Giglio almost 7 years ago
As a developer on The Commons I am a Network Administrator, which means I have access to your site's admin area. I would be happy to see what I can do about getting this working for you.
I will wait until much later tonight, when there will be the fewest people viewing your site, and see what I can do.
I'll update here once I've figured out what's going on.
#19 Updated by Dominic Giglio almost 7 years ago
- Target version changed from 1.4.7 to 1.4.8
I've figured it out. I had a similar issue on another one of our sites. WP themes and plugins use a specific kind of jQuery code to make their sliders work. The WordPress Google Calendar plugin is causing errors with this slider code. I believe with the recent updates to jQuery, theme and plugin authors are updating their libraries but The Google Calendar plugin is not.
The fix was simpler on the other site that experienced this issue. They were not using the plugin so we just removed it. You however are using it in your sidebar. So in this case I've elected to leave the calendar plugin active for now.
I've left Nextgen Gallery enabled as well, but I've moved the widget back to the Widget Available pool. I also disabled both GalleryPress and Rotating Post Gallery plugins. Nextgen is a much more advanced solution and I believe will serve you far better than these outdated plugins. My suggestion in this situation is for us to find you a replacement calendar plugin. If you disagree please let me know and we'll work together to find a solution.
I also suggest taking a look at your active plugins and deactivating any that you no longer use. You currently have 47 active plugins on your site. While there is nothing wrong with this, each plugin does take away a little performance. Unused plugins should be deactivated whenever possible. Foe example, Statpress is still active but you've moved to using Jetpack for stats. You also have two contact form plugins activated, both cforms and Contact Form 7.
I'd be happy to go through all these with you and clean them up if you'd like.
#21 Updated by Dominic Giglio over 6 years ago
- Target version changed from 1.4.9 to 1.4.10
I know we're all very busy taking care of ourselves or others after this destructive storm, but we're releasing version 1.4.9 of the Commons tonight and I wanted to touch base with you to see how everything is going with your site as far as the slider and other plugins go.
I hope you weathered this storm without too much difficulty and I look forward to hearing from you whenever you have a chance to respond.
#24 Updated by Dominic Giglio over 6 years ago
As I mentioned in your most recent issue (#2294), now that there is a new Google Calendar plugin, I think we should completely remove the old one from your sidebar and replace it with the new Google Calendar Events widget.
Then we can return to getting NextGEN gallery to work as a slider.
Please let me know if you need assistance.
#39 Updated by Dominic Giglio about 6 years ago
Now that we've removed the offending WPNG calendar widget we should be able to move forward on your gallery issues without any interference.
As a start, I've put a NextGEN slideshow widget in the sidebar. If you visit the site you should see that it's working. It's very basic, all it does is cycle through the images in the only gallery that is currently setup: Photoshop2 Gallery Spring 2012.
Since it's been so long since we began this discussion, could you please remind me what functionality you'd like to get out of NextGEN? As I said so long ago in one of the updates above, this is a very advanced plugin and should allow us to do many things. What would you like it to do? Do you just want a slideshow in the sidebar? Do you want a dedicated gallery page? Or are you looking to do something even more advanced like create and display individual galleries that show specific work submitted by your students?
I think we should start with something simple and work our way up if you'd like to get more advanced with the features and functionality. This way we can learn together how to best configure and use the plugin for your needs.
#40 Updated by Rowena Li about 6 years ago
Thanks a lot! It works! I inserted a widget in the middle of the homepage. Thanks.
Another question: somehow, my twitter doesn't show at the sidebar. I have the Twitter Pro set up before and it worked. Now it stopped working. I authorized the account. It still doesn't work. Could you please take a look? Thanks.
#41 Updated by Dominic Giglio about 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Great to hear. If you run into something that doesn't work or you can't get to work, open a new issue and we'll figure it out.
I've opened a new issue (#2549) for your twitter question. Now that we've gotten NextGEN and your calendar to work we should close this and use a dedicated issue for resolving the twitter issue.