Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 xthreads request
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #12
RE: xthreads request
xtfblp_showthread

HTML Code
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<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=1600"></script>
</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newreply}
</div>
<br class="clear" />
<div>
	{$first_post}
</div>
<br />
<div style="text-align: center;">
	<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
</div>
<br />
<div id="posts">
	{$posts}
</div>
<br />
{$search_thread}
<br class="clear" />
<div class="float_left">
	{$multipage}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />

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

Modify it as your needs. If you use the Facebook comments, maybe you need to remove some variable from that template, like {$multipage}, {$newreply}, {$quickreply} and etc. And maybe you need to place the Facebook comments code in the template above.

xtfblp_postbit_first

HTML Code
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
31
32
33
34
35
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>
		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
				<strong><span class="largetext">
					{$post['onlinestatus']} {$post['profilelink']} :
					{$post['subject']} {$post['subject_extra']}
				</strong></span>
				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				<div class="post_management_buttons float_left">
					<img src="images/english/newthread.gif" alt="" title="" />				
				</div>
				<div class="author_buttons float_right">
					{$post['button_report']}{$post['button_warn']}
				</div>
				<br class="clear" />
				<div class="post_meta" id="post_meta_{$post['pid']}">
					{$post['iplogged']}
				</div>
			</td>
		</tr>
	</tbody>
</table>

Modify it as your needs. Replace the image tag in line #23 with the Facebook Like Button code.

Skip this template if you use the Facebook Comments:
xtfblp_postbit

HTML Code
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
31
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>
		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
				<div class="post_body" id="pid_{$post['pid']}">
					<strong><span class="smalltext">
						{$post['onlinestatus']} {$post['profilelink']} :
					</strong></span>
					{$post['message']}
				</div>
				<div class="author_buttons float_right">
					{$post['button_report']}{$post['button_warn']}
				</div>
				<br class="clear" />
				<div class="post_meta" id="post_meta_{$post['pid']}">
					{$post['iplogged']}
				</div>
			</td>
		</tr>
	</tbody>
</table>


11-07-2010 09:03 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
xthreads request - x-Treme - 11-07-2010, 06:32 AM
RE: xthreads request - RateU - 11-07-2010, 07:04 AM
RE: xthreads request - x-Treme - 11-07-2010, 07:11 AM
RE: xthreads request - RateU - 11-07-2010, 07:26 AM
RE: xthreads request - x-Treme - 11-07-2010, 07:32 AM
RE: xthreads request - RateU - 11-07-2010, 07:50 AM
RE: xthreads request - x-Treme - 11-07-2010, 07:56 AM
RE: xthreads request - RateU - 11-07-2010, 08:09 AM
RE: xthreads request - x-Treme - 11-07-2010, 08:14 AM
RE: xthreads request - RateU - 11-07-2010, 08:22 AM
RE: xthreads request - x-Treme - 11-07-2010, 08:59 AM
RE: xthreads request - RateU - 11-07-2010 09:03 AM
RE: xthreads request - x-Treme - 11-07-2010, 09:24 AM

 Standard Tools
Forum Jump: