Okay, thanks. If anyone needs it:
PHP Code:
<!--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}&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.)
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.
Try this plugin (attached).
Edit these lines as your needs:
PHP Code:
$xt_video_fid = 14;$xt_video_limit = 5;
|
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.
(03-14-2013 02:29 AM)RateU Wrote: [ -> ]Try this plugin (attached).
Edit these lines as your needs:
PHP Code:
$xt_video_fid = 14;$xt_video_limit = 5;
|
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?)
And why isn't the forumdisplay page good enough?
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?
With Latest XThreads YouTube Videos On Index how to increase video number on index?
thx...xthreas is awesome