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
The last week I migrate to version 1.63, and It's not compatibility with "Thank You/Like System" Pluging from G33k or maybe a Issue with Dynamic to top... let me try to explain, because I think that  I have an incompatibility with others scripts...

When I click on button "Thanks" to display the list of users that have given thanks, not displayed, instead, scroll the page back to the top. (If I disable - at forums & Post deleting the template prefix - both plugins works sucessfully )

I already review the code, but I haven't found the error until today.
Update your ytvgal_showthread template for fullscreen video.

search:

Code:
<div align="center">
				<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}" /><param name="FlashVars" value="playerMode=embedded" /><p>{$thread['subject']}</p></object>
			</div>


replace to:

Code:
<div align="center">
				<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="playerMode=embedded"></param><p>{$thread['subject']}</p></object>
			</div>


thanks

Thanks for that. I've edited the ytvgal_showthread template.
CAn update to new url youtube?

How to reinstalling/upgrading forum without lost link videos in videogallery?
(01-10-2014 10:31 AM)dthiago Wrote: [ -> ]CAn update to new url youtube?
I'm not aware of any new Youtube URLs, but sure, change it as you like if you can get it to work.
I did edit the Text Mask in post #5 just then so that HTTPS URLs are parsed too.

(01-10-2014 10:31 AM)dthiago Wrote: [ -> ]How to reinstalling/upgrading forum without lost link videos in videogallery?
Upgrading has no effect.
Reinstalling = wipe all data, so of course you'll lose everything.
(01-10-2014 03:48 PM)ZiNgA BuRgA Wrote: [ -> ]
(01-10-2014 10:31 AM)dthiago Wrote: [ -> ]CAn update to new url youtube?
I'm not aware of any new Youtube URLs, but sure, change it as you like if you can get it to work.
I did edit the Text Mask in post #5 just then so that HTTPS URLs are parsed too.

I found this

http://stackoverflow.com/questions/29646...http://stackoverflow.com/questions/2964678/jquery-youtube-url-validation-

and

http://linuxpanda.wordpress.com/2013/07/...http://linuxpanda.wordpress.com/2013/07/24/ultimate-best-regex-pattern-to-get-grab-parse-youtube-video-id-from-any-youtube

Code:
^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$



but not function

Can help me?




my tips to thumbnails quality ( ytvgal_forumdisplay_thread )

Code:
<img src="http://img.youtube.com/vi/{$GLOBALS['threadfields']['ytvgalid']}/hqdefault.jpg" width="480" height="360" alt="" title="{$thread['subject']}" />


Player Background Thumbnail (480x360px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/0.jpg
Normal Quality Thumbnail (120x90px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/default.jpg
Medium Quality Thumbnail (320x180px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/mqdefault.jpg
High Quality Thumbnail (480x360px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/hqdefault.jpg
Start Thumbnail (120x90px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/1.jpg
Middle Thumbnail (120x90px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/2.jpg
End Thumbnail (120x90px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/3.jpg

Standard Definition Thumbnail (640x480px) :

http://i1.ytimg.com/vi/HIrMIeN5ttE/sddefault.jpg
Maximum Resolution Thumbnail (1920x1080px) :
http://i1.ytimg.com/vi/HIrMIeN5ttE/maxresdefault.jpg

My edit already incorporates everything in your first link.
I edited it again to add the short URL form, but don't really know of people that post it.
if for example want to play video on my forum but the url from xvideos / xnxx.com or from another website How do you let in the enter / in play in the player ,,,, Biggrin

please answer,,,,thank you for your response,,, Smile
There's A way to not lost videos after upgrading?
(01-18-2014 06:26 PM)ZiNgA BuRgA Wrote: [ -> ]My edit already incorporates everything in your first link.
I edited it again to add the short URL form, but don't really know of people that post it.

"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
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