Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 xthreads request
x-Treme Offline
Member
***
Posts: 68
Joined: May 2010
Post: #11
RE: xthreads request
Yes like that. Leave the comments part in there. I'm still not sure if I will use the facebook comments, or MyBB replies as comments.

Forum Freebies
11-07-2010 08:59 AM
Find all posts by this user Quote this message in a reply
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
x-Treme Offline
Member
***
Posts: 68
Joined: May 2010
Post: #13
RE: xthreads request
That's perfect!
Thanks so much...how can I ever repay you.

Now I have to run off and add the FB button and test the FB comments.

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

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: