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: #171
RE: YouTube Video Gallery
(06-13-2012 07:44 AM)alexsubri Wrote:  RateU --I've edited all three templates, still not changing?
You still don't have any classes applied to the tables.

HTML Code
1
2
3
4
5
6
7
8
9
10
<table width="100%" border="0" cellspacing="1" cellpadding="4" style="clear: both;">
	<tr>
		<td valign="middle" colspan="2">
			<a href="forumdisplay.php?fid=13"><strong>Categories</strong></a>
			<table border="0" width="100%">
				<tr>
					<td align="center">
						<a href="forumdisplay.php?fid=13&amp;filtertf_ytvgalcat=Music"><img src="http://i28.tinypic.com/2vskbwx.jpg" alt="" /></a><br />
						<a href="forumdisplay.php?fid=13&amp;filtertf_ytvgalcat=Music"><strong>Music</strong></a>
					</td>

Check other MyBB templates if you want to match the layout with them.

(06-13-2012 08:03 AM)wethegreenpeople Wrote:  Also, rateu, what do I need to do in order to get the thread name to appear with the video thumbnail in the side bar?
Check the xtlatest_videos_video template and edit where necessary.

My Blog
06-13-2012 11:32 AM
Find all posts by this user Quote this message in a reply
alexsubri Offline
Junior Member
**
Posts: 23
Joined: Jun 2012
Post: #172
RE: YouTube Video Gallery
still can't get it zinga Frown
06-13-2012 01:35 PM
Find all posts by this user Quote this message in a reply
wethegreenpeople Offline
Junior Member
**
Posts: 19
Joined: Jun 2012
Post: #173
RE: YouTube Video Gallery
Please, please make back up's of any templates if you feel like using mine. It took me a while to tinker with everything to get it working and I'd feel really bad if I messed up your hard work. It just takes one extra second, cut, paste.

Anything that has a '*', is the same template without any changes, so if you already have that template you should be able to get by without touching it.

Admin CP -> Templates & Style -> Templates -> Global Templates:
  1. *Template Name: ytvgal_forumdisplay_group_sep

    HTML Code
    </tr><tr>

  2. *Template Name: ytvgal_forumdisplay_inlinemoderation_col

    HTML Code
    <td align="center" width="1" style="background: #ADCBE7; border-top: 2px solid #0F5C8E; border-bottom: 2px solid #0F5C8E;"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /></td>

  3. *Template Name: ytvgal_forumdisplay_nothreads

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    <td>
    	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="border-bottom: 2px solid #8DC93E;">
    		<tr>
    			<td style="background: #D6ECA6; border-top: 2px solid #8DC93E; border-bottom: 2px solid #8DC93E;">
    				<strong>No Video</strong>
    			</td>
    		</tr>
    		<tr>
    			<td align="center">
    				{$lang->nothreads}
    			</td>
    		</tr>
    	</table>
    </td>

  4. Template Name: ytvgal_forumdisplay_searchforum_inline

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    <br />
    <table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" class="tborder">
    	<tr>
    		<td class="thead"><strong>{$lang->search_forum}</strong></td>
    	</tr>
    	<tr>
    		<td class="trow1" style="text-align: center;">
    			<form action="forumdisplay.php" method="get">
    				<input type="text" class="textbox" name="search" value="{$searchval}" /> {$gobutton}
    				<input type="hidden" name="fid" value="{$fid}" />
    				<input type="hidden" name="sortby" value="{$sortby}" />
    				<input type="hidden" name="order" value="{$sortordernow}" />
    				<input type="hidden" name="datecut" value="{$datecut}" />
    				{$xthreads_forum_filter_form}
    			</form>
    		</td>
    	</tr>
    </table>

  5. *Template Name: ytvgal_forumdisplay_sticky_sep

    HTML Code
    <td colspan="{$colspan}" style="display: none;"></td>
    </tr>
    <tr>

  6. Template Name: ytvgal_forumdisplay_thread

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    <tr>
    	<td align="center" class="{$bgcolor}" width="1">
    		<a href="{$thread['threadlink']}">
    					<img src="http://img.youtube.com/vi/{$GLOBALS['threadfields']['ytvgalid']}/default.jpg" alt="" title="{$thread['subject']}" />
    				</a>{$GLOBALS['threadfields']['value']}
    	</td>
    	<td class="{$bgcolor}" width="100%">
    		<strong>
    			<a href="{$thread['threadlink']}" class="{$inline_edit_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>
    		</strong>
    		<div class="smalltext"><strong>{$lang->author} {$thread['profilelink']}</strong> - <em>{$thread['threaddate']} {$lang->at} {$thread['threadtime']}</em></div>
    		<div class="smalltext">{$thread['postpreview']}</div>
    		<div class="smalltext">{$thread['views']} {$lang->views} | {$thread['replies']} {$lang->replies} | {$thread['numratings']} {$lang->rating}</div>
    	</td>
    	{$modbit}
    </tr>

  7. Template Name: ytvgal_forumdisplay_threadlist

    HTML Code
    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
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="clear: both; width: 100%;">
    	<tr>
    		<td valign="top" width="300">
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    				<tr>
    					<td class="thead"><strong>Categories</strong></td>
    				</tr>
    <tr>
    <td class="trow1">
    						<strong><a href="http://skatingwith.us/Forum-Media">All</a></strong>
    					</td>
    </tr>
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$forumurl_q}filtertf_ytvgalcat=Freelines">Freelines</a></strong>
    					</td>
    				</tr>
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$forumurl_q}filtertf_ytvgalcat=Skateboard">Skateboards</a></strong>
    					</td>
    				</tr>
    				
    			</table>
    			<br />
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
    				<tr>
    					<td class="thead">
    						<div><strong>Sorting</strong></div>
    					</td>
    				</tr>
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc&amp;xtmvmost=most">Most Viewed</a></strong>
    						<div class="smalltext">Display {$mybb->settings['threadsperpage']} Most viewed videos</div>
    					</td>
    				</tr>
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc&amp;ytvgalmost=most">Most Commented</a></strong>
    						<div class="smalltext">Display {$mybb->settings['threadsperpage']} Most commented videos</div>
    					</td>
    				</tr>
    <tr>
    				
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$sorturl}&amp;sortby=started&amp;order=desc&amp;ytvgalmost=most">Last added</a></strong>
    						<div class="smalltext">Display {$mybb->settings['threadsperpage']} Last added</div>
    					</td>
    				</tr>
    				<tr>
    					<td class="trow1">
    						<strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc&amp;ytvgalmost=most">Last commented</a></strong>
    						<div class="smalltext">display {$mybb->settings['threadsperpage']} Last commented</div>
    					</td>
    				</tr>
    			</table>
    			{$searchforum}
    		</td>
    		<td valign="top">
    			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    				<tr>
    					<td class="thead" colspan="2">
    						<div>
    							<strong><a href="{$forumurl}">{$foruminfo['name']}</a></strong>
    						</div>
    					</td>
    					{$inlinemodcol}
    				</tr>
    				{$threads}{$nullthreads}
    			</table>
    			<div class="float_left">
    				{$multipage}
    			</div>
    			<div class="float_right" style="margin-top: 4px;">
    				{$newthread}
    			</div>
    		</td>
    	</tr>
    </table>
    <br style="clear: both;" />
    <br />
    <div class="float_right" style="text-align: right;">
    	{$inlinemod}
    	{$forumjump}
    </div>
    <br style="clear: both" />
    <div class="smalltext" align="center">
    	{$foruminfo['name']}<br />
    	Powered By <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a>
    </div>
    {$inline_edit_js}

  8. Template Name: ytvgal_forumdisplay_threadlist_rating

    HTML Code
    1
    2
    3
    4
    5
    6
    <tr>
    	<td class="trow1">
    		<strong><a href="{$sorturl}&amp;sortby=numratings&amp;order=desc&amp;xtldirmost=most">{$lang->ytvgal_most_rated}</a></strong>
    		<div class="smalltext">{$lang->ytvgal_displaying} {$mybb->settings['threadsperpage']} {$lang->ytvgal_most_rated}</div>
    	</td>
    </tr>

  9. *Template Name: ytvgal_forumdisplay_threads_sep

    HTML Code
    <td colspan="{$colspan}" style="display: none;"></td>
    </tr>
    <tr>

  10. *Template Name: ytvgal_forumdisplay_thread_modbit

    HTML Code
    <td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap; width: 1px;"><input type="checkbox" class="checkbox" name="inlinemod_{$multitid}" id="inlinemod_{$multitid}" value="1" {$inlinecheck}  /></td>

  11. Template Name: ytvgal_forumdisplay_thread_null

    HTML Code
    <td></td>

  12. *Template Name: ytvgal_forumdisplay_thread_rating

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <div id="rating_table_{$thread['tid']}" align="center">
    	<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
    		<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
    	</ul>
    	<script type="text/javascript">
    		<!--
    			Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' });
    		// -->
    	</script>
    </div>

  13. Template Name: ytvgal_postbit

    HTML Code
    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
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    {$ignore_bit}
    <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}" class="tborder">
    	<tbody>
    		<tr>
    			<td class="trow1 {$unapproved_shade}">
    				<div class="float_left smalltext">
    					{$lang->author} <a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a>
    					<br />{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
    				</div>
    				{$post['posturl']}
    				<div class="post_body clear" id="pid_{$post['pid']}">{$post['message']}</div>
    				<div class="post_meta" id="post_meta_{$post['pid']}">{$post['iplogged']}</div>
    				<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
    					<div class="popup_item_container">
    						<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
    							<tr>
    								<td class="trow1" valign="top" align="center">
    									<div><strong>{$post['profilelink']}</strong></div>
    									<div class="smalltext">{$post['useravatar']}</div>
    									<div class="smalltext">{$post['usertitle']}</div>
    									<div class="smalltext">{$post['userstars']}</div>
    									<div class="smalltext">{$post['groupimage']}</div>
    									<div class="smalltext">{$post['user_details']}</div>
    								</td>
    							</tr>
    							<tr>
    								<td class="tcat" align="center">
    									{$post['button_email']}
    									{$post['button_pm']}
    									{$post['button_www']}
    									{$post['button_find']}
    									{$post['button_rep']}
    								</td>
    							</tr>
    						</table>
    					</div>
    				</div>
    				<div class="post_management_buttons float_right clear">
    					{$post['button_edit']}
    					{$post['button_quickdelete']}
    					{$post['button_quote']}
    					{$post['button_multiquote']}
    					{$post['button_report']}
    					{$post['button_warn']}
    				</div>
    			</td>
    		</tr>
    	</tbody>
    </table>
    <script type="text/javascript">
    // <!--
    	if(use_xmlhttprequest == "1")
    	{
    		new PopupMenu("profile_{$post['pid']}");
    	}
    // -->
    </script>

  14. Template Name: ytvgal_postbit_first

    HTML Code
    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
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    {$ignore_bit}
    <a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    	<tbody>
    		<tr>
    			<td class="thead">
    				{$post['posturl']}
    				<div style="text-align: center;"><strong>{$post['subject']}</strong></div>
    			</td>
    		</tr>
    		<tr>
    			<td class="trow1 {$unapproved_shade}">
    				<div class="float_left" style="width:530px;">
    					<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>{$GLOBALS['threadfields']
    		['value']}
    					<div style="margin-top: 3px;">
    						
    						</div></div>
    <div class="float_left" style="width:530px;">
    <a title="Twitter" href="http://twitter.com/share?text=<func urlencode>{$thread['subject']}</func>&url=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>" target="_blank"><img src="http://in2eastafrica.net/wp-content/themes/NewsNew/images/twitter.png" alt="Twitter" /></a>
    							<a title="Facebook" href="http://www.facebook.com/share.php?u=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>&t=<func urlencode>{$thread['subject']}</func>" target="_blank"><img src="http://www.mricons.com/store/png/114668_31303_16_facebook_icon.png" alt="Facebook" /></a>
    <a href="https://plus.google.com/share?url=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>&t=<func urlencode>{$thread['subject']}</func>" onclick="javascript:window.open(this.href,
      '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img
      src="https://www.gstatic.com/images/icons/gplus-16.png" alt="Share on Google+"/></a>
    							<a title="Digg" href="http://digg.com/submit?url=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>&t=<func urlencode>{$thread['subject']}</func>" target="_blank"><img src="http://www.dbachrach.com/showyourself/widget_images/digg.png" alt="Digg" /></a>
    							<a title="Reddit" href="http://reddit.com/submit?url=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>&t=<func urlencode>{$thread['subject']}</func>{$thread['subject']}" target="_blank"><img src="http://www.rexp.com/wp-content/themes/tribune/images/icons/small/reddit.png" alt="Reddit" /></a>
    							<a title="StumbleUpon" href="http://www.stumbleupon.com/submit?url=<func urlencode>{$mybb->settings['bburl']}/showthread.php?tid={$tid}</func>&t=<func urlencode>{$thread['subject']}</func>" target="_blank"><img src="http://www.davidleeparker.com/wp-content/plugins/about-me-3000/stumbleupon.png" alt="StumbleUpon" /></a>
    				</div>
    </div><br>
    <div class="float_left" style="width:530px;">
    						{$GLOBALS['ratethread']}
    </div>
    
    
    					</div>
    				</div>
    				<table border="0">
    					<tr>
    						<td>
    							{$GLOBALS['threadfields']['xtmv_thumb']['value']}
    						</td>
    						<td>
    							<div>
    								<strong>{$post['subject']}</strong>
    								<div class="smalltext">
    									{$lang->author} <a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a>
    								</div>
    								<em class="smalltext">{$post['postdate']}, {$post['posttime']}</em>
    								<div class="smalltext">
    									{$GLOBALS['thread']['views']} {$lang->views}, {$thread['replies']} {$lang->replies}
    								</div>
    							</div>
    						</td>
    					</tr>
    				</table>
    				<br />
    				<div class="post_body" id="pid_{$post['pid']}">
    					{$post['message']}
    				</div>
    				<div class="post_meta" id="post_meta_{$post['pid']}">{$post['iplogged']}</div>
    				<div id="edited_by_{$post['pid']}" class="float_right clear">{$post['editedmsg']}</div>
    				<br class="clear" />
    				<div>{$post['attachments']}{$post['signature']}</div>
    				<br class="clear" />
    				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    				</div>
    				<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
    					<div class="popup_item_container">
    						<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
    							<tr>
    								<td class="trow1" valign="top" align="center">
    									<div><strong>{$post['profilelink']}</strong></div>
    									<div class="smalltext">{$post['useravatar']}</div>
    									<div class="smalltext">{$post['usertitle']}</div>
    									<div class="smalltext">{$post['userstars']}</div>
    									<div class="smalltext">{$post['groupimage']}</div>
    									<div class="smalltext">{$post['user_details']}</div>
    								</td>
    							</tr>
    							<tr>
    								<td class="tcat" align="center">
    									{$post['button_email']}
    									{$post['button_pm']}
    									{$post['button_www']}
    									{$post['button_find']}
    									{$post['button_rep']}
    								</td>
    							</tr>
    						</table>
    					</div>
    				</div>
    			</td>
    		</tr>
    	</tbody>
    </table>
    <script type="text/javascript">
    // <!--
    	if(use_xmlhttprequest == "1")
    	{
    		new PopupMenu("profile_{$post['pid']}");
    	}
    // -->
    </script>

  15. Template Name: ytvgal_postbit_iplogged_hiden

    HTML Code
    <strong><a href="moderation.php?action=getip&amp;pid={$post['pid']}">[IP]</a></strong>

  16. Template Name: ytvgal_showthread

    HTML Code
    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
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    <html>
    <head>
    <title>{$thread['subject']}</title>
    {$headerinclude}
    <script type="text/javascript">
    <!--
    	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    // -->
    </script>
    <script type="text/javascript" src="jscripts/thread.js?ver=1600"></script>
    <script type="text/javascript" src="flowplayer/flowplayer-3.2.6.min.js"></script>
    </head>
    <body>
    {$header}
    {$pollbox}
    <div id="posts">
    	{$first_post}
    	<br />
    	<div style="text-align: center;">
    		<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
    	</div>
    	<br class="clear" />
    	<div class="float_right largetext">{$lang->replies}</div>
    	<br class="clear" />
    	{$posts}
    </div>
    <br class="clear" />
    <div class="float_left">
    	{$multipage}
    </div>
    <div style="padding-top: 4px;" class="float_right">
    	{$newreply}
    </div>
    <br style="clear: both;" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="float_right" style="text-align: right;">
    	{$moderationoptions}
    	{$forumjump}
    </div>
    <br style="clear: both;" />
    {$usersbrowsing}
    <div class="smalltext" style="text-align: center;">
    	{$forum['name']}<br />
    	Powered by <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> &ndash; <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a>
    </div>
    {$footer}
    </body>
    </html>

  17. Template Name: ytvgal_showthread_noreplies

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    <table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" id="xthreads_noreplies" class="tborder">
    	<tr>
    		<td class="trow1">
    			<div style="text-align: center;" class="post_body">{$GLOBALS['lang']->xtmv_no_comment}</div>
    		</td>
    	</tr>
    </table>

  18. Template Name: ytvgal_showthread_ratethread

    HTML Code
    1
    2
    3
    4
    5
    6
    <div class="float_left smalltext">
    	<a href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}"><img src="images/like.png" alt="{$lang->rate_thread}" title="{$lang->rate_thread}" /></a>
    </div>
    <div class="float_left smalltext" style="margin-left: 5px; margin-top: 5px;">
    	{$ratingvotesav}
    </div>

  19. Template Name: ytvgal_showthread_search

    HTML Code
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    <br class="clear" />
    <br class="clear" />
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" style="border-bottom: 2px solid #0F5C8E;">
    	<tr>
    		<td style="background: #ADCBE7; border-top: 2px solid #0F5C8E; border-bottom: 2px solid #0F5C8E;">
    			<strong>Search Comments</strong>
    		</td>
    	</tr>
    	<tr>
    		<td align="center">
    			<form action="search.php" method="post">
    				<input type="hidden" name="action" value="thread" />
    				<input type="hidden" name="tid" value="{$thread['tid']}" />
    				<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
    				<input type="submit" class="button" value="Search" />
    			</form>
    		</td>
    	</tr>
    </table>

  20. Template name: xtmv_postbit_first_inlinecheck

    HTML Code
    <input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck}  />

  21. Template name: xtmv_postbit_first_posturl

    HTML Code
    <div style="float: right; width: auto; vertical-align: top">{$post['inlinecheck']}</div>

  22. Template name: xtmv_postbit_posturl

    HTML Code
    <div style="float: right; width: auto; vertical-align: top"><span class="smalltext"><strong><a href="{$post['postlink']}#pid{$post['pid']}">#{$postcounter}</a></strong>{$post['inlinecheck']}</span></div>

  23. Template name: ytvgal_most_multipage

    HTML Code
    <div class="pagination" style="display: none;"><span class="pages">{$lang->multipage_pages}</span>{$prevpage}{$start}{$mppage}{$end}{$nextpage}</div>

  24. Template name: ytvgal_threadfields_inputrow

    HTML Code
    <tr> <td class="trow2"> <strong>{$tf['title']}</strong><br /> {$inputfield}<small style="display: block;">{$tf['desc']}</small></td> </tr>



And those are all my templates. I hope this works for you! If you did everything right (and I didn't leave out any templates) it should end up looking like http://skatingwith.us/Forum-Media
06-13-2012 03:54 PM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #174
RE: YouTube Video Gallery
Haha  @wethegreenpeople, this your Video Gallery not YT Gallery.



@alexsubri  this is not difficult, just follow the instructions in the post #5.
06-13-2012 08:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
wethegreenpeople Offline
Junior Member
**
Posts: 19
Joined: Jun 2012
Post: #175
RE: YouTube Video Gallery
Actually sir.... this IS my youtube gallery. I didnt quite like the design for the default youtibe gallery so I took the design of the video gallery and made it a youtube one.

If you follow the link in my last post, you can see that all the videos posted are youtube videos Wink
06-13-2012 11:57 PM
Find all posts by this user Quote this message in a reply
alexsubri Offline
Junior Member
**
Posts: 23
Joined: Jun 2012
Post: #176
RE: YouTube Video Gallery
THANK YOU SIR! I will try it out now. I will report back later anyways because I have more questions, but this is a start! Smile +rep
(06-13-2012 03:54 PM)wethegreenpeople Wrote:  And those are all my templates. I hope this works for you! If you did everything right (and I didn't leave out any templates) it should end up looking like http://skatingwith.us/Forum-Media

I am going to have to start from sctrach...Eyes I redited it with your template and I am still getting the same page I had before.
(This post was last modified: 06-14-2012 01:35 AM by alexsubri.)
06-14-2012 01:12 AM
Find all posts by this user Quote this message in a reply
wethegreenpeople Offline
Junior Member
**
Posts: 19
Joined: Jun 2012
Post: #177
RE: YouTube Video Gallery
Really? Nothing changed?

At the most, one of the biggest changes is ytvgal_forumdisplay_thread , the actual thread display, that didn't even change?

Have you tried looking at it in a different browser?
06-14-2012 02:04 AM
Find all posts by this user Quote this message in a reply
alexsubri Offline
Junior Member
**
Posts: 23
Joined: Jun 2012
Post: #178
RE: YouTube Video Gallery
this is so weird, what am i doing wrong. i just reinstalled it and can't even make it display...

http://montagesnmore.com/forum/forumdisplay.php?fid=14

what is your settings in configuration -> Custom Thread Fields ?
(This post was last modified: 06-14-2012 02:11 AM by alexsubri.)
06-14-2012 02:10 AM
Find all posts by this user Quote this message in a reply
wethegreenpeople Offline
Junior Member
**
Posts: 19
Joined: Jun 2012
Post: #179
RE: YouTube Video Gallery
I'm pretty sure it's just the regular ytvgal settings. I didn't touch it. Lemme check

....

I have two custom thread fields

YouTube Video ID / URL


Video Catagory

Do you have both of those?
06-14-2012 04:14 AM
Find all posts by this user Quote this message in a reply
alexsubri Offline
Junior Member
**
Posts: 23
Joined: Jun 2012
Post: #180
RE: YouTube Video Gallery
(06-14-2012 04:14 AM)wethegreenpeople Wrote:  I'm pretty sure it's just the regular ytvgal settings. I didn't touch it. Lemme check

....

I have two custom thread fields

YouTube Video ID / URL


Video Catagory

Do you have both of those?

These pics are from my previous post

[Image: attachment.php?aid=844]
[Image: attachment.php?aid=845]
06-14-2012 01:02 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: