Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #11
RE: YouTube Video Gallery
excellent.

you should add that to your main mod and you can use this attachment as a preview:
   
07-30-2010 07:58 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #12
RE: YouTube Video Gallery
rateu,

maybe you can figure out why there's a lot of space between the  survival and miscellaneous categories:
http://www.pazrt.com/forum/forum-video-gallery

I looked through the code and it looks good...maybe I overlooked something.
07-31-2010 07:44 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #13
RE: YouTube Video Gallery
Just add width value to the first <td> and the last <td> tag in your ytvgal_forumdisplay_threadlist and ytvgal_showthread template for the category. Find this code in both templates:

ytvgal_forumdisplay_threadlist template (around line #7 and #15)
ytvgal_showthread template (around line #20 and #28)

HTML Code
<td align="center">


Change to:

HTML Code
<td align="center" width="33%">


Sorry for late reply, Shemo. I couldn't active yesterday Smile Ah, for your suggestion about the category link under the by:, thanks, I've added the note in the sample Smile


(This post was last modified: 08-01-2010 03:25 AM by RateU.)
08-01-2010 03:12 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #14
RE: YouTube Video Gallery
(08-01-2010 03:12 AM)RateU Wrote:  Just add width value to the first <td> and the last <td> tag in your ytvgal_forumdisplay_threadlist and ytvgal_showthread template for the category. Find this code in both templates:

ytvgal_forumdisplay_threadlist template (around line #7 and #15)
ytvgal_showthread template (around line #20 and #28)

HTML Code
<td align="center">


Change to:

HTML Code
<td align="center" width="33%">


Sorry for late reply, Shemo. I couldn't active yesterday Smile Ah, for your suggestion about the category link under the by:, thanks, I've added the note in the sample Smile


thanks..looks good now.
08-02-2010 06:30 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #15
RE: YouTube Video Gallery
Update:

Trying to use Text Mask Filter and capture the video ID from "watch" URL.

Edit our YouTube Video ID custom thread field. Change this part:
  • Title: YouTube Video ID / URL
  • Maximum Text Length: 50
  • Field Input Width: 50
  • Display Format :

    Code:
    {VALUE$1}{VALUE$2}

    If user fill the field with video id, the value 1 will be used, the value 2 will be "blank".
    If user fill the field with "watch" video URL, the value 2 will be used, the value 1 will be "blank".

  • Text Mask Filter:

    Code:
    ([a-zA-Z0-9_\-+]{8,16}$)|http:\/\/www\.youtube\.com\/watch\?v=([a-zA-Z0-9_\-+]*)[&\w;=\+_\-]*

    Trying to keep the "compatibility" with the existing video (using video id). And trying to add an ability to use "watch" video URL.


(This post was last modified: 09-27-2010 03:51 AM by RateU.)
09-27-2010 03:50 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #16
RE: YouTube Video Gallery
I've been using something similar.
BTW, you might want to anchor the URL as XThreads doesn't do it.
Here's my suggested mask.

Code:
^(?:([a-zA-Z0-9_\-+]{8,16})$|http\://(?:[a-z]{1,4}\.)?youtube\.com/watch\?v=([a-zA-Z0-9_\-+]{8,16}))


Thanks for the update BTW RateU Smile


My Blog
(This post was last modified: 09-27-2010 08:47 AM by ZiNgA BuRgA.)
09-27-2010 08:47 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #17
RE: YouTube Video Gallery
Yuuuhu! Yes! Now, this kinds of URL supported:

Code:
Video ID Only - Match - value 1
http://www.youtube.com/watch?v=video_id - Match - value 2
http://www.youtube.com/watch?v=video_id&feature=featured - Match - value 2
http://youtube.com/watch?v=video_id - value 2
http://youtube.com/watch?v=video_id&feature=featured - Match - value 2


Thank you very much, Yumi Smile I've updated the example Smile


09-29-2010 02:07 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #18
RE: YouTube Video Gallery
add the link to your first post. just copy the 5th post link from the top right corner of 5th post [ Post: #5 ]. a little suggestion for better understanding and easy landing on 5th post
10-13-2010 06:40 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,326
Joined: Mar 2010
Post: #19
RE: YouTube Video Gallery
Actually, the first post had another YouTube Video Gallery layout. I have a plan to update it so it can bypass the validator, and fully "compatible" with turning off thread rating.

I'm sorry for that.

10-13-2010 06:50 AM
Find all posts by this user Quote this message in a reply
awww Offline
Junior Member
**
Posts: 12
Joined: May 2010
Post: #20
RE: YouTube Video Gallery
is there a way to make it to where my users can upload their own videos onto my server instead of ebbing them from youtube?
10-19-2010 02:58 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: