MyBB Hacks

Full Version: Download System
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
I'm sorry, can you explain it more, please?
WWOWWW Thanks! It's Perfect!
But what I really like how it looks, as in this image bone
[Image: 105xwm9.jpg]
I could not say how to put it normal?
Could you explain it more, please?
Put it, normal, as it is here
http://mybbhacks.zingaburga.com/forumdisplay.php?fid=28
and not in the picture below
[Image: 105xwm9.jpg]
One question: i want to have the threadlist-view like here, not with complete threads (only text). i mean this view: http://mybbhacks.zingaburga.com/forumdisplay.php?fid=28

not this:
[Image: 105xwm9.jpg]

what must i change?
I guess you can just remove the forumdisplay_threadlist template from the global templates group for that forum prefix.
Then it will be back at default.
Maybe something like this (based on MyBB 1.4 template), you can modify it:

dld_forumdisplay_announcements

HTML Code
<tr>
<td class="trow_sep" colspan="9">{$lang->forum_announcements}</td>
</tr>
{$announcements}


dld_forumdisplay_announcements_announcement

HTML Code
<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>
<td class="{$bgcolor}">
	<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
	<div class="author smalltext">{$announcement['profilelink']}, {$postdate} {$posttime}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
{$rating}
{$modann}
</tr>


dld_forumdisplay_nothreads

HTML Code
<tr>
<td colspan="9" class="trow1">{$lang->nothreads}</td>
</tr>


dld_forumdisplay_sticky_sep

HTML Code
<tr>
<td class="trow_sep" colspan="9">{$lang->sticky_threads}</td>
</tr>


dld_forumdisplay_thread

HTML Code
<tr>
	<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
	<td class="{$bgcolor}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="smalltext">{$GLOBALS['threadfields']['fdesc']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}">
		<div class="author smalltext">{$thread['profilelink']}</div>
	</td>
	<td align="center" class="{$bgcolor}">
		<div class="author smalltext">{$GLOBALS['threadfields']['fupload']['downloads_friendly']}</div>
	</td>
	<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}">{$thread['views']}</td>
	{$rating}
{$modbit}
</tr>


dld_forumdisplay_threadlist

HTML Code
<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" colspan="9">
			<div style="float: right;">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
			</div>
			<div>
				<strong>{$foruminfo['name']}</strong>
			</div>
		</td>
	</tr>
	<tr>
		<td class="tcat" colspan="3"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">File</a> {$orderarrow['subject']}</strong></span></td>
		<td class="tcat" align="center" width="11%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">Uploader</a> {$orderarrow['starter']}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>Downloads</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">Comments</a> {$orderarrow['replies']}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
		{$ratingcol}
		{$inlinemodcol}
	</tr>
	{$announcementlist}
	{$threads}{$nullthreads}
	<tr>
		<td class="tfoot" align="right" colspan="9">
			<form action="forumdisplay.php" method="get">
				<input type="hidden" name="fid" value="{$fid}" />
				<select name="sortby">
					<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
					<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
					<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
					<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
					{$ratingsort}
					<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
					<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
				</select>
				<select name="order">
					<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
					<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
				</select>
				<select name="datecut">
					<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
					<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
					<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
					<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
					<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
					<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
					<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
					<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
					<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
				</select>
				{$gobutton}
			</form>
		</td>
	</tr>
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br style="clear: both;" />
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}


dld_forumdisplay_threads_sep

HTML Code
<tr>
<td class="trow_sep" colspan="9">{$lang->normal_threads}</td>
</tr>

Thank you RateU Wink

i build in the new codes, and it works.
i must modify only a few codes more, and now i understand the system much better ^^
All is working perfect now. Thx again for your great help Great

btw: you are really a big workoholic Tongue
(09-13-2010 09:48 AM)Jumper Wrote: [ -> ]btw: you are really a big workoholic Tongue

* RateU need a help because called workaholic Biggrin
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Reference URL's