MyBB Hacks

Full Version: Showcase Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(01-30-2011 08:36 AM)Skiilz Wrote: [ -> ]Thats why it stopped working:

Code:
NOTICE: This domain name expired on 01/24/2011 and is pending renewal or deletion


Ah... Thanks for the info.
I will update the first post (and the Link Directory example application) if this still happens in some next days.
Update:
Removing the link thumbnail from the "standard" version from threadlist and showthread.

scf_forumdisplay_thread:

HTML Code
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" align="center" colspan="{$colspan}">
			<div><strong><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong></div>
			<div class="author smalltext">{$lang->author}: {$thread['profilelink']}</div>
		</td>
	</tr>
	<tr>
		<td class="{$bgcolor}" width="50%">
			<span class="float_left">
				<img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" />{$icon}{$prefix}{$gotounread}
			</span>
			<br class="clear" />
			<table width="100%" border="0">
				<tr>
					<td width="90">URL</td>
					<td>:</td>
					<td>http://{$GLOBALS['threadfields']['scfurl']}</td>
				</tr>
				<tr>
					<td>Link</td>
					<td>:</td>
					<td><a href="http://{$GLOBALS['threadfields']['scfurl']}"><strong>{$GLOBALS['threadfields']['scfname']}</strong></a></td>
				</tr>
				{$rating}
				{$GLOBALS['threadfields']['scflang']}
				{$GLOBALS['threadfields']['scffounded']}
				<tr>
					<td>Category</td>
					<td>:</td>
					<td>{$GLOBALS['threadfields']['scfcat']}</td>
				</tr>
				{$GLOBALS['threadfields']['scfslogan']}
			</table>
		</td>
	
		<td class="{$bgcolor}" width="50%">
			<table width="100%" border="0">
				<tr>
					<td align="center" valign="middle">
						<a href="http://www.alexa.com/siteinfo/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl']}'></script></a>
					</td>
				</tr>
			</table>
		</td>
		{$modbit}
	</tr>
	<tr>
		<td class="tfoot" colspan="{$colspan}" align="center">
			{$thread['views']} {$lang->views},
			<a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} {$lang->replies},
			<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}, {$lastpostdate} {$lastposttime}
		</td>
	</tr>
</table>
<br />


scf_showthread

HTML Code
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</head>
<body>
	{$header}
	{$pollbox}
	<br class="clear" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		<tr>
			<td class="thead" colspan="2">
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		<tr>
			<td class="tcat" width="50%">
				<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="trow1" style="clear: both;">
					<tr>
						<td width="50%">
							<table width="100%">
								<tr>
									<td width="90">URL</td>
									<td width="1">:</td>
									<td>http://{$GLOBALS['threadfields']['scfurl']}</td>
								</tr>
								<tr>
									<td>Link</td>
									<td>:</td>
									<td><a href="http://{$GLOBALS['threadfields']['scfurl']}"><strong>{$GLOBALS['threadfields']['scfname']}</strong></a></td>
								</tr>
								{$ratethread}
								{$GLOBALS['threadfields']['scflang']}
								{$GLOBALS['threadfields']['scffounded']}
								<tr>
									<td>Category</td>
									<td>:</td>
									<td>{$GLOBALS['threadfields']['scfcat']}</td>
								</tr>
								{$GLOBALS['threadfields']['scfslogan']}
								<tr>
									<td colspan="3">
										<span class="float_left smalltext">
											<em>
											{$lang->views} {$thread['views']},
											{$lang->replies} <a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} 
											</em>
										</span>
									</td>
								</tr>
							</table>
						</td>
						<td align="center" valign="middle">
							<table width="100%" border="0">
								<tr>
									<td align="center" valign="middle">
										<a href="http://www.alexa.com/siteinfo/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl']}'></script></a>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br class="clear" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		{$classic_header}
	</table>
	<div id="posts">
		{$first_post}{$posts}
	</div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
		<tr>
			<td colspan="2" class="tfoot">
				{$search_thread}
				<div>
					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}
	</div>
	<div style="padding-top: 4px;" class="float_right">
		{$newreply}
	</div>
	<br style="clear: both;" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
			<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
			<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br style="clear: both;" />
	{$footer}
</body>
</html>


If we want to use automatic thumbnail for the link, please read this post, in the Additional Info section:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=398&pid=65

Then, replace the template above with:
scf_forumdisplay_thread:

HTML Code
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" align="center" colspan="{$colspan}">
			<div><strong><a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong></div>
			<div class="author smalltext">{$lang->author}: {$thread['profilelink']}</div>
		</td>
	</tr>
	<tr>
		<td class="{$bgcolor}" width="50%">
			<span class="float_left">
				<img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" />{$icon}{$prefix}{$gotounread}
			</span>
			<br class="clear" />
			<table width="100%" border="0">
				<tr>
					<td width="90">URL</td>
					<td>:</td>
					<td>http://{$GLOBALS['threadfields']['scfurl']}</td>
				</tr>
				<tr>
					<td>Link</td>
					<td>:</td>
					<td><a href="http://{$GLOBALS['threadfields']['scfurl']}"><strong>{$GLOBALS['threadfields']['scfname']}</strong></a></td>
				</tr>
				{$rating}
				{$GLOBALS['threadfields']['scflang']}
				{$GLOBALS['threadfields']['scffounded']}
				<tr>
					<td>Category</td>
					<td>:</td>
					<td>{$GLOBALS['threadfields']['scfcat']}</td>
				</tr>
				{$GLOBALS['threadfields']['scfslogan']}
			</table>
		</td>
	
		<td class="{$bgcolor}" width="50%">
			<table width="100%" border="0">
				<tr>
					<td align="center" valign="middle">
						<img src="http://open.thumbshots.org/image.aspx?url=http://{$GLOBALS['threadfields']['scfurl']}" alt="{$GLOBALS['threadfields']['scfname']} Preview" title="{$GLOBALS['threadfields']['scfname']} Preview" />
					</td>
					<td align="center" valign="middle">
						<a href="http://www.alexa.com/siteinfo/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl']}'></script></a>
					</td>
				</tr>
			</table>
		</td>
		{$modbit}
	</tr>
	<tr>
		<td class="tfoot" colspan="{$colspan}" align="center">
			{$thread['views']} {$lang->views},
			<a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} {$lang->replies},
			<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}, {$lastpostdate} {$lastposttime}
		</td>
	</tr>
</table>
<br />


scf_showthread:

HTML Code
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</head>
<body>
	{$header}
	{$pollbox}
	<br class="clear" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		<tr>
			<td class="thead" colspan="2">
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		<tr>
			<td class="tcat" width="50%">
				<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="trow1" style="clear: both;">
					<tr>
						<td width="50%">
							<table width="100%">
								<tr>
									<td width="90">URL</td>
									<td width="1">:</td>
									<td>http://{$GLOBALS['threadfields']['scfurl']}</td>
								</tr>
								<tr>
									<td>Link</td>
									<td>:</td>
									<td><a href="http://{$GLOBALS['threadfields']['scfurl']}"><strong>{$GLOBALS['threadfields']['scfname']}</strong></a></td>
								</tr>
								{$ratethread}
								{$GLOBALS['threadfields']['scflang']}
								{$GLOBALS['threadfields']['scffounded']}
								<tr>
									<td>Category</td>
									<td>:</td>
									<td>{$GLOBALS['threadfields']['scfcat']}</td>
								</tr>
								{$GLOBALS['threadfields']['scfslogan']}
								<tr>
									<td colspan="3">
										<span class="float_left smalltext">
											<em>
											{$lang->views} {$thread['views']},
											{$lang->replies} <a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} 
											</em>
										</span>
									</td>
								</tr>
							</table>
						</td>
						<td align="center" valign="middle">
							<table width="100%" border="0">
								<tr>
									<td align="center" valign="middle">
										<img src="http://open.thumbshots.org/image.aspx?url=http://{$GLOBALS['threadfields']['scfurl']}" alt="{$GLOBALS['threadfields']['scfname']} Preview" title="{$GLOBALS['threadfields']['scfname']} Preview" />
									</td>
									<td align="center" valign="middle">
										<a href="http://www.alexa.com/siteinfo/{$GLOBALS['threadfields']['scfurl']}"><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url={$GLOBALS['threadfields']['scfurl']}'></script></a>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br class="clear" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		{$classic_header}
	</table>
	<div id="posts">
		{$first_post}{$posts}
	</div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
		<tr>
			<td colspan="2" class="tfoot">
				{$search_thread}
				<div>
					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}
	</div>
	<div style="padding-top: 4px;" class="float_right">
		{$newreply}
	</div>
	<br style="clear: both;" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
			<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
			<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br style="clear: both;" />
	{$footer}
</body>
</html>

after i change to apart theme this new thread is become normal. however lyric section and trading forum from xthread i still working like awesome. how to solve?

[Image: New+Thread+in+Promote+Blog+Anda_1297315626820.png]
open apart`s newthread template find {$posticons}, before that add {$extra_threadfields} and save the template....
or deactivate and reactivate XThreads (NOT uninstall)
how to call this template to our index home?
what code to use?
What do you mean by "this template"?
(10-11-2012 01:06 AM)RateU Wrote: [ -> ]What do you mean by "this template"?

i mean the new thread show in front of index in our forum...
like latest thread..how to do that?
i think in Text Mask Filter:

Code:
^(19|20)\d\d$


we cannot put it but choose it

i am cunfusing ???

[attachment=916]

Pages: 1 2 3 4 5
Reference URL's