MyBB Hacks

Full Version: YouTube Video Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 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
(11-10-2011 08:04 AM)RateU Wrote: [ -> ]Do you want it to be displayed as ProPortal block or just like an usual plugin?

Thanks RateU, like a ProPortal block is fine.

Best Regards.
Try this attachment.

Open up the file, find:

PHP Code:
$block_xtlatest_videos_fid = 3;// XThreads YouTube Video Gallery Forum ID
$block_xtlatest_videos_limit = 3;// Number of video(s) should be displayed


Edit the value.

Then add the file as ProPortal block.
Just use ProPortal default block template.

(11-10-2011 09:10 AM)RateU Wrote: [ -> ]Try this attachment.

Open up the file, find:

PHP Code:
$block_xtlatest_videos_fid = 3;// XThreads YouTube Video Gallery Forum ID
$block_xtlatest_videos_limit = 3;// Number of video(s) should be displayed


Edit the value.

Then add the file as ProPortal block.
Just use ProPortal default block template.


Ahhh¡¡ works like a charm.. beautiful¡¡ Yipi

[attachment=627]

Thanks RateU.

Best Regards.
Any easy solution to limit the number of new videos/threads per day/user? (:

*day - any set time.
I think you'll need a separate plugin for that.
See if there's any plugin where you can limit the number of threads created by a user in a specific forum, for a period of time.
Hi, i have followed the instructions on the first page and got a page like this going http://dragonnestplus.com/forum/forumdisplay.php?fid=68

but the video doesnt display. I also didn't see a custom field for the video url link. I pasted the link here in the body of the form.

What am I doing wrong?
What is the contents of your newthread template?
(05-03-2012 06:42 AM)RateU Wrote: [ -> ]What is the contents of your newthread template?

Code:
 <html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1" width="20%"><strong>{$lang->thread_subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<td class="trow1">
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}{$postsExpire}</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$pollbox}
{$captcha}
</table>
{$attachbox}
<br />
<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$footer}
</body>
</html>

(05-03-2012 07:18 AM)RateU Wrote: [ -> ]Adds {$extra_threadfields} to the template:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=288&pid=18
http://mybbhacks.zingaburga.com/showthread.php?tid=1235

Ah so I just missed some parts in the templates haha.

It works now, thank you!
Pages: 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
Reference URL's