Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Thumbnails not working- after going through TS and [SOLVED]


  • Please log in to reply
11 replies to this topic

#1 Anonymous

Anonymous

    Advanced Member

  • Members
  • PipPipPip
  • 81 posts

Posted 07 August 2012 - 01:32 PM

Hello!

After spending hours trying to find the best way to display videos, I finally settled on TubePress. However, I can't get it to work. I've carefully gone through all the troubleshooting articles and combed the forums, but I don't see any of the same issues on my page.

http://www.biosanes....and-press/heard (Yes, currently there is only one video.)

Am I still missing something, or is there another issue?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 07 August 2012 - 05:00 PM

Hi!

I think the problem is that you have multiple copies of jQuery loaded on your site. I can see loads from

  • http://www.biosanes.com/wp-includes/js/jquery/jquery.js
  • http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
You'll want to get rid of the second load, as it's using a version of jQuery that is too old for TubePress. Looking at your HTML source, I'm fairly certain that your theme is performing the load. So you'll need to either edit your theme's header.php, or ask your theme developer for an update. Either way, you'll want to get your site down to a single load of jQuery, then TubePress should be happy.

Does that make sense? Thanks!

#3 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 09 August 2012 - 02:49 PM

It does make sense, thank you!

Ah, I FOUND the second load of jquery! Pretty sure that was leftover from the previous coder, whose work I've been fighting to clean up for months. So I got rid of it and there is no jquery in my header.php. However, the theme I'm using is a wootheme, so there is a woo_head() similar to a wp_head(). In that woo_head(), it pulls several scripts that I'm unfamiliar with.

For whatever reason, Tubepress is still not working for me. :( Several cache clearings and page loads later.

Are there any known conflicts of Woo + Tubepress, or is there some other issue going on here?

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 10 August 2012 - 08:31 PM

Nice work cleaning up that duplicate load of jQuery. That part is looking good.

But, nothing is easy, right? The new problem is that there are a few JavaScript errors on page load that are preventing TubePress from initializing itself correctly. Screenshot: http://i.imgur.com/vkm7I.png.

The biggest problem seen there is the

ReferenceError: $ is not defined
error, which appears to be coming from wp-content/themes/biosaneschild/includes/js/contact-form.js. You could probably just replace the occurences of "$" with "jQuery" in that file - I would at least try that. Regardless, cleaning up that error will be good for your site and (hopefully) the last thing needed to initialize TubePress.

Let us know how it goes. Thanks!

#5 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 10 August 2012 - 09:21 PM

Thank you so much for all your help! I feel like I'm seeing the light at the end of the tunnel!! :D

I didn't see the errors you see... I saw the function reference error, but none of the others. So odd! Why would I not be seeing all the same errors you are? I'm using Firefox and Firebug, latest versions each.

At any rate, I did a little research on the "reference error" thing and ended up moving the line of code calling the contact-form.js below woo_head(), which is where jquery was being called. That seems to have gotten rid of the error. :D

I now do not see any errors with my firebug console. But then, I never saw all the same errors as you. And TubePress is still not working...

Thank you so much for all your help!

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 12 August 2012 - 11:06 AM

I'm still seeing almost exactly the same errors as before, even with clearing my browser cache. Screenshot: http://i.imgur.com/SgNwl.png. It's difficult to say why exactly you're not seeing these errors as well.. hmm. By any chance do you have a caching plugin enabled? Are you logged-in to WordPress when you view your site?

#7 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 13 August 2012 - 04:39 PM

Ah! Logging out and refreshing the page a certain way seems to have done the trick. I've taken care of all the errors. But the video still doesn't play. A new error is showing up only when I click on the video.

http://easycaptures..../9342065703.jpg

What does that mean?

#8 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 August 2012 - 05:32 PM

Any ideas? I'm so stumped... Is it possible my theme is the issue?

#9 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 21 August 2012 - 09:29 PM

Hi,

I too am a bit stumped. Here is the new JavaScript error that pops up when you click a thumbnail. The source of that error is a bit of a mystery. Here's what I would do to pinpoint it:

  • Temporarily switch to WordPress's "twentytwelve" theme and see if the problem persists. If the problem goes away, we know it's your theme
  • Start disabling your plugins one by one until the problem goes away.
Alternatively, you could swap the contents of wp-content/plugins/tubepress/sys/ui/static/js/tubepress.js with wp-content/plugins/tubepress/sys/ui/static/js/tubepress-dev.js. That will allow me to perform JavaScript debugging and might help me find the source of the problem.

#10 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 23 August 2012 - 09:03 PM

FOUND it! It's Shadowbox JS!

Is this still the best way to fix their incompatibility? viewtopic.php?f=19&t=1408

#11 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 24 August 2012 - 08:35 AM

Glad to hear! Yes, that thread has the correct technique to resolve conflicting Shadowbox installs. At least until this ticket is addressed.

Let us know how that works for you. Thanks.

#12 Afton Jones

Afton Jones

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 27 August 2012 - 05:00 PM

After the latest update, the patch in that thread WORKED!!!!

Thank you so much Eric!! Whew, I feel better now that it's done. XD Any clue when the bug will be fixed in an update?