Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #91
RE: YouTube Video Gallery
Yea ive already done that the one in forum settings ...  not just the tempalte so far thats my result it only show TEXT " see previous post"   photos attached and url


ty again
(This post was last modified: 03-28-2011 02:27 AM by masterj.)
03-28-2011 02:24 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #92
RE: YouTube Video Gallery
You need to create at least ytvgal_showthread template to test it. The video will be displayed in this template. Again, please don't forget to set the Template Prefix setting in the edit forum setting.

Could you please let guests to see the thread temporary? I get no permission page when accessing the URL.

03-28-2011 02:29 AM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #93
RE: YouTube Video Gallery
TYVM sir it works now !!  howver the categories are wrong if i remember correctly i set different categories  in the custom thread ...
03-28-2011 02:35 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #94
RE: YouTube Video Gallery
If you use different category than the example category, you need to edit your ytvgal_showthread and ytvgal_forumdisplay_threadlist templates.
Edit this part of the templates:

HTML Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<table border="0" width="100%">
	<tr>
		<td align="center">
			<a href="{$forumurl_q}filtertf_ytvgalcat=Music"><img src="http://i28.tinypic.com/2vskbwx.jpg" alt="" /></a><br />
			<a href="{$forumurl_q}filtertf_ytvgalcat=Music"><strong>Music</strong></a>
		</td>
		<td align="center">
			<a href="{$forumurl_q}filtertf_ytvgalcat=Anime"><img src="http://i30.tinypic.com/30c9agi.jpg" alt="" /></a><br />
			<a href="{$forumurl_q}filtertf_ytvgalcat=Anime"><strong>Anime</strong></a>
		</td>
		<td align="center">
			<a href="{$forumurl_q}filtertf_ytvgalcat=Funny"><img src="http://i30.tinypic.com/34t6fsj.jpg" alt="" /></a><br />
			<a href="{$forumurl_q}filtertf_ytvgalcat=Funny"><strong>Funny</strong></a>
		</td>
	</tr>
</table>


You can see in the URL, there is Music, Anime and Funny. Change it as your needs, depends on what your category (in the value list of the Video category custom thread fields).


03-28-2011 02:43 AM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #95
RE: YouTube Video Gallery
Thank you got it working ...  tvmuch sir!!

what about for image do you have something like this like Image Gallery


also how do i change these fonts in the main thread.


By:  
Category:
03-11-2011, 04:31 PM
53 Views, 0 Comments

i want it white .


ty BiggrinBiggrin
(This post was last modified: 03-28-2011 04:30 AM by masterj.)
03-28-2011 03:15 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #96
RE: YouTube Video Gallery
(03-28-2011 03:15 AM)masterj Wrote:  what about for image do you have something like this like Image Gallery
Not quite sure what you mean. We have Image Gallery example applications here:
http://mybbhacks.zingaburga.com/showthread.php?tid=286
You can modify it as your needs.

(03-28-2011 03:15 AM)masterj Wrote:  also how do i change these fonts in the main thread.


By:  
Category:
03-11-2011, 04:31 PM
53 Views, 0 Comments

i want it white .

Edit your ytvgal_forumdisplay_thead template (this part):

HTML Code
<span class="smalltext">
	By: {$thread['profilelink']}<br />
	{$thread['threaddate']}, {$thread['threadtime']}<br />
	{$thread['views']} {$lang->views}, {$thread['replies']}{$unapproved_posts} Comments
</span>


(This post was last modified: 03-28-2011 06:23 AM by RateU.)
03-28-2011 04:34 AM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #97
RE: YouTube Video Gallery
Thanks what about the color how do i change it to white ?
By:                                  << CHaNge color to white
Category:                        << CHaNge color to white  
03-11-2011, 04:31 PM     << CHaNge color to white
53 Views, 0 Comments    << CHaNge color to white

Sir how come this mod is not in official mybb ?  This is the best mod ever created for mybb!!

Also how do i change the background color.


About the gallery:

I want something simillar to you tube gallery.

Instead of uploading you tube url  it will be the  Image url

Then the thumbnail will be a bit bigger , also with 3 Categories.






10000000thanks to you sir
(This post was last modified: 03-28-2011 05:02 AM by masterj.)
03-28-2011 04:42 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #98
RE: YouTube Video Gallery
For text color, you can try something like this:

HTML Code
<span class="smalltext" style="color: #FFFFFF;">
	By: {$thread['profilelink']}<br />
	{$thread['threaddate']}, {$thread['threadtime']}<br />
	{$thread['views']} {$lang->views}, {$thread['replies']}{$unapproved_posts} Comments
</span>


For background color, probably you need to use {$bgcolor} or trow1 or trow2 as a class in your ytvgal_forumdisplay_thread template.

For the Images Gallery, do you mean by the Image URL is, the images hosted in other server like ImageShack and etc?


03-28-2011 06:35 AM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #99
RE: YouTube Video Gallery
Yes sir exactly instead of the you tube url , they'll place the url of the image.  the reason im doing this because i don't have enough space and bandwidth.


so exactly the same with you tube gallery, also 3 categories  and bit bigger thumbnail.
(This post was last modified: 03-28-2011 02:32 PM by masterj.)
03-28-2011 02:30 PM
Find all posts by this user Quote this message in a reply
masterj Offline
Junior Member
**
Posts: 15
Joined: Mar 2011
Post: #100
RE: YouTube Video Gallery
Hi sir RateU disregard my request regarding the gallery im not gona do it anymore.

However, I still have few questions with you tube gallery only small glitch.

I set 3 Categories  

1st -Bodybuilding
2nd - Music
3rd -Misc

Also i've already change the pics and name in the templates.

The small bug or problem is when i open/play videos under the 2nd and 3d Category..  at the top of the video it always shows "Bodybuilding"  which is wrong

again the problem is only for category 2 and 3 , when i watch video it always show "Bodybuilding"

when i watch videos on category 1 , it shows the right category which is "bodybuilding"
03-28-2011 05:52 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: