Project

General

Profile

Actions

Bug #2138

closed

Rotating Post Gallery Widget not rotating

Added by Rowena Li over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Dominic Giglio
Category name:
WordPress (misc)
Target version:
Start date:
2012-09-21
Due date:
% Done:

100%

Estimated time:
Deployment actions:

Description

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


Related issues

Related to CUNY Academic Commons - Bug #2294: Google Calendar PluginResolvedDominic Giglio2012-11-23

Actions
Related to CUNY Academic Commons - Bug #2549: GSLIS720 Twitter WidgetResolvedDominic Giglio2013-04-23

Actions
Actions #1

Updated by Matt Gold over 11 years ago

  • Category name set to WordPress (misc)
  • Status changed from New to Assigned
  • Assignee set to Boone Gorges
  • Target version set to 1.4.6
  • Severity set to Low impact
Actions #2

Updated by Boone Gorges over 11 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.

Actions #3

Updated by Dominic Giglio over 11 years ago

Boone,

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.

In my chrome console I see three errors related to the second point above. One of the css files and one of the js files are returning "500 Internal Server" errors because they can't be found. I believe the absence is causing the javascript error you mentioned above. The readme does not say anything about needing to upload additional plugin files to make it work (like shadowbox for example).

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?

Actions #4

Updated by Matt Gold over 11 years ago

Thanks, Dom. Just FYI, Rowena (the original reporter) created the ticket and thus is receiving these updates. Rowena, are there other plugins you might use here? And Dom, do you have similar plugins to suggest?

Actions #5

Updated by Dominic Giglio over 11 years ago

I didn't know that reporters were automatically added as watchers.

Sorry Rowena, I would have addressed that question directly to you had I known.

Actions #6

Updated by Dominic Giglio over 11 years ago

The nextgen-gallery plugin is the most popular gallery plugin on the WordPress plugin repository.

It might be a little more advanced than the gallerypress plugin but it should do everything that's needed.

And it's already intstalled on The Commons.

Actions #7

Updated by Matt Gold over 11 years ago

Dom, does nextgen have the rotating feature that Rowena is looking for?

Actions #8

Updated by Dominic Giglio over 11 years ago

According to the nextgen plugin repo page:

Display Galleries

  • 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.
Actions #9

Updated by Matt Gold over 11 years ago

Thanks, Dom. Rowena, will those features meet your needs and do they align with how you were using the Rotating Post Gallery Widget?

Actions #10

Updated by Rowena Li over 11 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.

Actions #11

Updated by Dominic Giglio over 11 years ago

This page should describe everything that Nextgen Gallery can do:

http://www.nextgen-gallery.com/tutorials/

Actions #12

Updated by Rowena Li over 11 years ago

I tried inserting the images with Nextgen, but the images don't come up. Did I set up wrong? It is the second one on the home page. Thanks.

Actions #13

Updated by Dominic Giglio over 11 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.

Actions #14

Updated by Rowena Li over 11 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.

Actions #15

Updated by Dominic Giglio over 11 years ago

Rowena,

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?

Actions #16

Updated by Boone Gorges over 11 years ago

  • Target version changed from 1.4.6 to 1.4.7
Actions #17

Updated by Rowena Li over 11 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.

Thanks

Actions #18

Updated by Dominic Giglio over 11 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.

Actions #19

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.7 to 1.4.8

Rowena,

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.

Actions #20

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.8 to 1.4.9
Actions #21

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.9 to 1.4.10

Hi Rowena,

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.

Actions #22

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.10 to 1.4.11
Actions #23

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.11 to 1.4.12
Actions #24

Updated by Dominic Giglio over 11 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.

Actions #25

Updated by Dominic Giglio over 11 years ago

  • Target version changed from 1.4.12 to 1.4.13
Actions #26

Updated by Boone Gorges over 11 years ago

  • Target version changed from 1.4.13 to 1.4.14
Actions #27

Updated by Boone Gorges over 11 years ago

  • Target version changed from 1.4.14 to 1.4.15
Actions #28

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.15 to 1.4.16
Actions #29

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.16 to 1.4.17
Actions #30

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.17 to 1.4.18
Actions #31

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.18 to 1.4.19
Actions #32

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.19 to 1.4.20
Actions #33

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #34

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.21 to 1.4.22
Actions #35

Updated by Boone Gorges about 11 years ago

  • Target version changed from 1.4.22 to 1.4.23
Actions #36

Updated by Boone Gorges almost 11 years ago

  • Target version changed from 1.4.23 to 1.4.24
Actions #37

Updated by Boone Gorges almost 11 years ago

  • Target version changed from 1.4.24 to 1.4.25
Actions #38

Updated by Dominic Giglio almost 11 years ago

  • Target version changed from 1.4.25 to 1.4.26
Actions #39

Updated by Dominic Giglio almost 11 years ago

Rowena,

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.

Actions #40

Updated by Rowena Li almost 11 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.

Actions #41

Updated by Dominic Giglio almost 11 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.

Actions

Also available in: Atom PDF