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

very basics not working


  • Please log in to reply
14 replies to this topic

#1 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 11 November 2011 - 01:23 PM

Hello:

[ edited ... problems in this first posting were solved ]

Frank

#2 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 11 November 2011 - 07:23 PM

In the meantime, I got the SEARCH thing half working ... **but** the theme setting with e.g. "sidebar" as theme clearly does not work ... that is simply ignored. Since others get it working it can't be a bug (please advice).

But the following seems a real bug!
SEARCH does not work with non-ASCII scripts ... on the YouTube website itself I can search in Korean or Chinese or use any other Unicode font. And if there are entries (often there are in native script), then the search works. But with the TubePress search implementation this does NOT work. (NOTE that I use non-ASCII fonts elsewhere on the website .. works fine with a simple "charset=UTF-8" in the header.) Anyone can suggest a hack to get this fixed -- is very important for my site.

And another related bug (or at least restriction):
GOOGLE CHROME browser:
- Non-ASCII titles are NOT showing correct ... if you go to the YouTube website and search FOR EXAMPLE for "K-Pop" you will see that many video clip titles show with native Korean or Japanese script ... not so via TubePress!!
FIREFOX:
- any attempt to play a YouTube video in Firefox, latest version (at least on a Mac) produced a "prewatch settings" warning (video can be played, but the warning does show).

Another SEARCH related question:
Is there a way to edit what's in the "placeholder gallery" -- these are the images that are shown BEFORE someone performs a search. It would certainly be nice if those would have some relationship to the website ... so, maybe it could show a set search result?

Best,
Frank

#3 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 12 November 2011 - 10:04 AM

Any response?

Regards,
Frank

#4 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 12 November 2011 - 07:18 PM

Another issue:

The Ajax SEARCH functions works half the way ... please see here:
http://koreaweb.ws/19-video.php
You can do a search and get a page with results on the right.
P r o b l e m : when clicking on any of the follow-up pages |2| |3| |4| or |Next| you will see another window popping up, with images, but no clickable ones.

What's wrong?

Frank

#5 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 12 November 2011 - 07:22 PM

Hi Frank,

First thing we'll need to address is that your site has a few JavaScript errors on page load. Screenshot: http://i.imgur.com/ZJPCn.png.

I think this is a result of the fact that you're loading TubePress's content in an iframe. Another customer is in the same situation, and I would recommend the same advice that I suggested to them. Here's the thread in question. So basically you'll want to load jQuery and the other TubePress resources in your "parent" page of 19-video.php. Then in your iframe page (video/index5.php) you'll just load the actual TubePress content.

Let's get to this point before - no JavaScript errors, and correctly-loading iframes - until we continue to address the other issues. Thanks!

#6 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 13 November 2011 - 10:09 AM

Eric, I tried to follow ... but am at a loss (with the other thread you referred me to).

There are now TWO versions, to make things easier to trouble shoot:

1. http://koreaweb.ws/19-video2.php
THIS page does NOT have any iFrame, and there is no pre-loading of anything. Just the Ajax SEARCH.
Problem, as described before, clicking on any follow-up pages (after having performed a search), |2| |3| |4| etc. will produce a new, more or less unfunctional pop-up window.

2. http://koreaweb.ws/19-video.php
And THIS is the version with the iFrame on the right ... you can go from page to page fine, UNTIL you perform a search (using Ajax), which replaces the pre-defined display.

On my Mac I see no warnings ... but using a Windows clone and IE as a browser I do see what you posted. But I am not understanding what you suggest (from that other page).

======= UPDATE ========
I now understand what you suggest as regards to the iFrame.
But that does not work at all ... result of that is here:
http://koreaweb.ws/19-video3.php
The page that is being loaded -- if you load it alone (http://koreaweb.ws/video/index6.php) will already give you an error without the headers.

Frank

#7 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 14 November 2011 - 12:46 AM

Hi Frank,

Thank you for creating the separate pages. Definitely will make this easier to troubleshoot!

http://koreaweb.ws/19-video2.php
THIS page does NOT have any iFrame, and there is no pre-loading of anything. Just the Ajax SEARCH.
Problem, as described before, clicking on any follow-up pages (after having performed a search), |2| |3| |4| etc. will produce a new, more or less unfunctional pop-up window.


Let's fix this issue first. Try changing your shortcode from

[tubepress output="ajaxSearchInput" searchResultsDomId="#fra1" orderBy="relevance"            descriptionLimit="40" resultsPerPage="12" playerLocation="popup"]
to

[tubepress output="ajaxSearchInput" searchResultsDomId="#fra1" orderBy="relevance"            descriptionLimit="40" resultsPerPage="12" playerLocation="popup" ajaxPagination="true"]
I'm pretty sure this will fix the broken pagination links after you search. Please give it a whirl and let me know. Assuming that works, we can then tackle the iframe issues. Thank you, sir.

#8 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 14 November 2011 - 02:30 AM

Hi Eric:

You were right on ... adding ajaxPagination="true" fixed the problem with the Ajax search results.
Thank you!

Any suggestion of how to pre-populate that search window, and how to possibly combine these two search methods? Please see http://koreaweb.ws/19-video.php, the already mentioned version with the iFrame. Ideally, I would pre-populate that space, and also add links which then create specific searches ... as already done on that above page. Those links work fine, those "link-searches work" fine (EXCEPT for excluding search terms from the search!), but I then can't combine this with an Ajax search, it seems.

Thanks for your time and effort, I appreciate it.

Frank

#9 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 14 November 2011 - 06:52 PM

UPDATE:

Got it *almost* working ... see example here:
http://koreaweb.ws/19-video2.php

You can click on any of the links BELOW the search window and will see the results of the pre-defined searches on the right, inside the iFrame. You can then perform an Ajax search for whatever other terms from the SEARCH window, which will overwrite the iFrame (since the iFrame is within the table element which Ajax/Java writes to).
P R O B L E M still ... once you used the Ajax search, you can't go back (clicking on one of the pre-defined searches), the iFrame will NOT appear. So, what is needed is a method to clear the DOM element when clicking onto one of those pre-defined search links (to see the iFrame again).
I found these infos below ... but am not sure how to implement one of these methods? Any simple way you can think of???
http://www.daniweb.c...t/...ads/138845
http://stackoverflow...75...d-via-ajax

Best,
Frank

#10 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 15 November 2011 - 12:25 AM

Hi Frank,

Looking good indeed. Have you tried empty() ? You could probably simply empty out the entire element where the iframe is...

Let us know. Thanks.

#11 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 15 November 2011 - 09:10 AM

Any suggestion of how to implement .empty() into a link (instead of a button)?

Also, Eric, do you have any fix (important!) for the problem of searching with Unicode (for Asian languages, in this case). As mentioned, other than on the YouTube.com site itself, with your script only ASCII works to search. That is a huge limitation for a site like mine.
Thanks for looking into this.

Frank

#12 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 18 November 2011 - 07:25 PM

Hi Frank,

Would you mind filing a bug report for the Asian languages issue? The more detail you could provide, the easier it would be for me to implement a fix. I try to have TubePress use UTF-8 and Unicode wherever possible, so I'd be interested in finding anywhere that I missed. Any examples you could provide would be most appreciated. Thanks!

#13 Frank Hoffmann

Frank Hoffmann

    Member

  • Members
  • PipPip
  • 27 posts

Posted 18 November 2011 - 09:57 PM

The bug report is right here:
It is not an Asian Language issue (as I thought) but a general Unicode issue:
Two examples right here, for copy/paste: 양희은 - 아침이

#14 Caesar Quick

Caesar Quick

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 20 November 2011 - 11:25 PM

Hey guys installed Tubepress, use the following Shortcode for playlist (see below).. and i keep getting No matching Videos i doubled and triple checked my playlist id was correct, and even used another one on youtube which worked ! can someone tell me why my particular playlist id wont work with the code.. I will say i just created the playlist today.. does it need need time before tubepress syncs up with youtube.. ? use the following shortcode [Tubepress mode="playlist" playlistvalue'"PL9E25244F9096BF35" theme="youtube" playerlocaton="popup" hqThumbs="true"resultCountCap="50"] website link http://helpingothers...form.com/videos disregard the other videos and the youtube gallery(plugin which i disabled, the "NO MATCHING VIDEOS" shows up towards the bottom of the page after my clients regular youtube videos

#15 Caesar Quick

Caesar Quick

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 20 November 2011 - 11:51 PM

Admin, disregard i found the fix under one of the other topics.. will share here again, for anyone getting the No Matching Videos error, from using your playlist shortcode, remove the new "PL" (youtube has recently added) From your User You Tube playlist id, do this in the global settings, as well as the shortcode.. this should be a first troubleshooting effort, before trying the other fixes mentioned across the board.