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
Hey guys, how do I change the colors of the light blue and light green headers on the showthread template?
You can try to edit your ytvgal_postbit_first and ytvgal_postbit template.
OK, I will look there...

Another proble just cropped up!  

http://www.7173mustangs.com/thread-351-boss-engine

A member posted videos in the comments and broke my margins.  How can I resize the videos to preserve margins?  This is the problem with 2 column layouts!
(01-09-2011 06:42 AM)RocketFoot Wrote: [ -> ]OK, I will look there...

Another proble just cropped up!  

http://www.7173mustangs.com/thread-351-boss-engine

A member posted videos in the comments and broke my margins.  How can I resize the videos to preserve margins?  This is the problem with 2 column layouts!

If you are using MyBB 1.6, you can disable video img in that forum.
Or, you need to modify the layout. Use one column only.
(01-09-2011 07:17 AM)RateU Wrote: [ -> ]
(01-09-2011 06:42 AM)RocketFoot Wrote: [ -> ]OK, I will look there...

Another proble just cropped up!  

http://www.7173mustangs.com/thread-351-boss-engine

A member posted videos in the comments and broke my margins.  How can I resize the videos to preserve margins?  This is the problem with 2 column layouts!

If you are using MyBB 1.6, you can disable video img in that forum.
Or, you need to modify the layout. Use one column only.
If I disable video img in that forum, would members still be able to post videos in the first post?
Hmm, Rocketfoot, if you want to play about with stuff you can use my test board - just delete attachments once finished testing Smile
I just tested on my forum with video off in the video gallery forum and it still worked the same.  It allowed me to post an HD video in the first post as well as in the comments.  What I noticed is that the HD video was resized to fit in the first post!  How can I do that with replies also?

I think the secret lies here: (from: ytvgal_showthread template)

Code:
<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>


But I don't know how to extend it to replies??

maybe - you could make a mycode that wraps around the id of the video? Then bring it in here to see if its sanitised ok -I would GUESS that you can use the sanitizing bit from the Xthreads custom field as the expression to check?

Sorry, I don't know all the words to say it. Frown
(01-09-2011 09:43 AM)RocketFoot Wrote: [ -> ]I just tested on my forum with video off in the video gallery forum and it still worked the same.  It allowed me to post an HD video in the first post as well as in the comments.

If you disabled the MyBB Video BB Code in that forum, the video won't be parsed in postbit. Video added by XThreads custom thread fields in the showthread still can be displayed. Unless you want your users still able to post video on their comments in the YouTube Video Gallery.
(01-10-2011 01:06 AM)RateU Wrote: [ -> ]
(01-09-2011 09:43 AM)RocketFoot Wrote: [ -> ]I just tested on my forum with video off in the video gallery forum and it still worked the same.  It allowed me to post an HD video in the first post as well as in the comments.

If you disabled the MyBB Video BB Code in that forum, the video won't be parsed in postbit. Video added by XThreads custom thread fields in the showthread still can be displayed. Unless you want your users still able to post video on their comments in the YouTube Video Gallery.

I"ll have to try again...i may have still had automedia on when I turned off the video's in the forum.  It still let me post a video in the comments even though I had it turned off at the forum level.
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