Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube Video Gallery
Zenk Offline
Junior Member
**
Posts: 27
Joined: Nov 2011
Post: #241
RE: YouTube Video Gallery
Okay, thanks. If anyone needs it:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!--start:CategoryChanger-->
<style>
div.ismoderator_0 {display:none;}
div.ismoderator_1 {display:inline;}
</style>
<div class="ismoderator_{$mybb->usergroup['issupermod']}">
<form action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<select style="width: 20em;" name="xthreads_ytvgalcat" size="1">
	<optgroup label="Current:">
		<option selected="selected" value="{$GLOBALS['threadfields']['ytvgalcat']}">{$GLOBALS['threadfields']['ytvgalcat']}</option>
	</optgroup>
	<option value="Category1">Category1</option>
	<option value="Category2">Category2</option>
</select>
<input type="submit" class="button" name="submit" value="OK" accesskey="s">
<input type="hidden" name="action" value="do_editpost" />
<input type="hidden" name="posthash" value="{$posthash}" />
</form>
</div>
<!--end:CategoryChanger-->

(You can add the CSS from <style> to an external CSS file.)

02-17-2013 09:07 AM
Find all posts by this user Quote this message in a reply
Razteck Offline
Junior Member
**
Posts: 1
Joined: Feb 2012
Post: #242
RE: YouTube Video Gallery
Can you put the thumbs of the videos in the profile?
I would add the thumb of the last video in the profiles

Can you? I just need the code, then I'd fix it with CSS.
03-14-2013 12:32 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #243
RE: YouTube Video Gallery
Try this plugin (attached).
Edit these lines as your needs:

PHP Code:
94
95
$xt_video_fid = 14;// YouTube Video Gallery forum id
$xt_video_limit = 5;// Max num of videos to be displayed on profile

You can edit the xtlatest_videos_on_profile and/or xtlatest_videos_on_profile_video templates (in Global Templates) to style it.
Move the {$xtlatest_videos_on_profile} variable in your member_profile template if you want to put it in other area on the profile page.



Attached File(s)
.php  xtlatest_videos_on_profile.php (Size: 5.94 KB / Downloads: 446)

03-14-2013 02:29 AM
Find all posts by this user Quote this message in a reply
Jonatthu Offline
Junior Member
**
Posts: 34
Joined: Mar 2013
Post: #244
RE: YouTube Video Gallery
(03-14-2013 02:29 AM)RateU Wrote:  Try this plugin (attached).
Edit these lines as your needs:

PHP Code:
94
95
$xt_video_fid = 14;// YouTube Video Gallery forum id
$xt_video_limit = 5;// Max num of videos to be displayed on profile

You can edit the xtlatest_videos_on_profile and/or xtlatest_videos_on_profile_video templates (in Global Templates) to style it.
Move the {$xtlatest_videos_on_profile} variable in your member_profile template if you want to put it in other area on the profile page.


Something like that plugin but for photos gallery?

and How to do a list in posbit_first of a related videos with the images of videos? (RateU or somebody else?)
05-15-2013 08:31 AM
Find all posts by this user Quote this message in a reply
dthiago Offline
Junior Member
**
Posts: 30
Joined: Sep 2012
Post: #245
RE: YouTube Video Gallery
How to increase thumbnail size?

[Image: captureirg.th.png]


And

http://youtu.be/SQEbPn36m1c - this url. How to?
(This post was last modified: 06-01-2013 04:55 PM by dthiago.)
05-31-2013 05:46 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #246
RE: YouTube Video Gallery
And why isn't the forumdisplay page good enough?

My Blog
07-17-2013 12:55 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #247
RE: YouTube Video Gallery
The thing is, you can't simply copy code across and hope it works (unlike say, HTML/CSS) because it needs to run in the same context.
Sounds like you could just use the portal then?  Make a copy of portal.php and point it to your specific forums.
I presume that's what you want?

My Blog
07-17-2013 03:05 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #248
RE: YouTube Video Gallery
Maybe the attached plugin in this post is more simple to modify for your needs:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=292&pid=94

07-19-2013 12:05 AM
Find all posts by this user Quote this message in a reply
Jonatthu Offline
Junior Member
**
Posts: 34
Joined: Mar 2013
Post: #249
RE: YouTube Video Gallery
Thanks!
(This post was last modified: 07-19-2013 06:15 AM by Jonatthu.)
07-19-2013 04:18 AM
Find all posts by this user Quote this message in a reply
dthiago Offline
Junior Member
**
Posts: 30
Joined: Sep 2012
Post: #250
RE: YouTube Video Gallery
With Latest XThreads YouTube Videos On Index how to increase video number on index?

thx...xthreas is awesome
10-25-2013 10:34 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: