Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #261
RE: YouTube Video Gallery
(01-25-2014 06:23 AM)dthiago Wrote:  There's A way to not lost videos after upgrading?
Why would you lose videos after upgrading?

(01-25-2014 07:12 AM)dthiago Wrote:  "Invalid value supplied for "Youtube VideoID" when i try a short youtube link


http://forum.bf4brasil.com.br/topico-pro...http://forum.bf4brasil.com.br/topico-problemas-n
I don't know what the purpose of your link there is.
In either case, you have not supplied any sample URL or any details to test with.

My Blog
01-25-2014 11:37 AM
Find all posts by this user Quote this message in a reply
dthiago Offline
Junior Member
**
Posts: 30
Joined: Sep 2012
Post: #262
RE: YouTube Video Gallery

After reinstalling...not upgrading.There´s way to not lost?

About supplied for YouTube VideoID - try to post a link like this http://youtu.be/93wqWC798DE

I don´t know but all my user prefer to post short link and some videos short link is default.

And can i detect if a user access our VideoGallery from myBBgoMobile and change the video visualization from 1 or 2 videos or change layout to vertical.
Thinking in a small mobile not iPad , iPhone or similar.


Thx.
(This post was last modified: 01-26-2014 02:19 AM by dthiago.)
01-26-2014 01:20 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #263
RE: YouTube Video Gallery
(01-26-2014 01:20 AM)dthiago Wrote:  After reinstalling...not upgrading.There´s way to not lost?
I think you're confusing yourself over two completely different things.

Upgrade: you replace old files with newer ones
Reinstall: you wipe your existing installation (ie, you lose all data implicitly), then create a new installation with no existing data

If you want to keep everything, you upgrade.  If you want to delete everything, you reinstall.
You do indeed lose everything in a reinstall, because that's the whole point of it.

(01-26-2014 01:20 AM)dthiago Wrote:  About supplied for YouTube VideoID - try to post a link like this http://youtu.be/93wqWC798DE
Thanks for the example, I've changed the text mask again - see if that works.

(01-26-2014 01:20 AM)dthiago Wrote:  And can i detect if a user access our VideoGallery from myBBgoMobile and change the video visualization from 1 or 2 videos or change layout to vertical.
Thinking in a small mobile not iPad , iPhone or similar.
You'll have to edit the mobile theme to accommodate that.

My Blog
01-26-2014 10:32 AM
Find all posts by this user Quote this message in a reply
dthiago Offline
Junior Member
**
Posts: 30
Joined: Sep 2012
Post: #264
RE: YouTube Video Gallery
Quote:
(01-26-2014 01:20 AM)dthiago Wrote:  And can i detect if a user access our VideoGallery from myBBgoMobile and change the video visualization from 1 or 2 videos or change layout to vertical.
Thinking in a small mobile not iPad , iPhone or similar.
You'll have to edit the mobile theme to accommodate that.

Can help us with mobile?

Thx

About Mask...ok

I try this link and gone http://youtu.be/8kBAjztW5EY
(This post was last modified: 01-26-2014 10:44 AM by dthiago.)
01-26-2014 10:42 AM
Find all posts by this user Quote this message in a reply
MAAU Offline
Junior Member
**
Posts: 1
Joined: Feb 2014
Post: #265
RE: YouTube Video Gallery
Sorry for the language but i speak spanish.
I need to use something like {$GLOBALS['threadfields']['ytvgalid']} on my portal.php because im editing the lastthreads block tu show the lastest videos of my gallery. Specifically i use:          <img src="http://img.youtube.com/vi/{$GLOBALS['threadfields']['ytvgalid']}/mqdefault.jpg" class="panel-image-preview"> to try that the block show the video thumb. ¿How can i get this?
02-09-2014 04:57 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #266
RE: YouTube Video Gallery
XThreads does not pull threadfield information for the latest threads block on the portal.  You'll need another modification for that.

My Blog
02-10-2014 10:20 AM
Find all posts by this user Quote this message in a reply
Zenk Offline
Junior Member
**
Posts: 27
Joined: Nov 2011
Post: #267
RE: YouTube Video Gallery
Any way to display the current category selected in the template?

EG: If I pressed on Category2: filtertf_ytvgalcat=Category2, Category2 would be displayed on the web page?
06-04-2014 09:12 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #268
RE: YouTube Video Gallery

Code:
{$filters_set['ytvgalcat']['value']}


My Blog
06-05-2014 12:00 PM
Find all posts by this user Quote this message in a reply
Zenk Offline
Junior Member
**
Posts: 27
Joined: Nov 2011
Post: #269
RE: YouTube Video Gallery
Great, that helps a lot thanks.
06-13-2014 08:01 PM
Find all posts by this user Quote this message in a reply
Zenk Offline
Junior Member
**
Posts: 27
Joined: Nov 2011
Post: #270
RE: YouTube Video Gallery
I've got over 9000 youtube videos in my gallery, there are also a lot of videos that are deleted. I'd like to move them to another "Trash" forums. Anyone knows how would I go about doing it?
Maybe it would be easier to just sort them and then I can just highlight them all and move them.

@Edit:
Mm. I found this:

PHP Code:
$headers = get_headers('http://gdata.youtube.com/feeds/api/videos/' . $videoId);
if (!strpos($headers[0], '200')) {
    echo "The YouTube video you entered does not exist";
    return false;
}

stackoverflow.com/.../check-if-a-youtube-video-has-been-removed-using-php
No idea how to get the IDs from the mybb forums though. If anyone is bored feel free to help me : )

(This post was last modified: 09-01-2014 11:02 PM by Zenk.)
09-01-2014 10:59 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: