MyBB Hacks

Full Version: YouTube Video Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
(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.

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.
(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.
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
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?
XThreads does not pull threadfield information for the latest threads block on the portal.  You'll need another modification for that.
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?

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

Great, that helps a lot thanks.
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 : )

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Reference URL's