Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Postbit Tabs
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #38
RE: Postbit Tabs
Me again!  LOL!

I am building an FAQ forum using this example but i have a reoccuring problem:

http://www.7173mustangs.com/thread-how-t...http://www.7173mustangs.com/thread-how-to-add-photos-to-your-p

The question and answer both show on the main tab!  When you click the answer tab, it is correct!  RateU fixed this for me on the trivia forum, but now i can't remember what to do!

faq_showthread template:

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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<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>
<script type="text/javascript" src="jscripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
	$.noConflict();
</script>
<style type="text/css">
.at {background: #026CB1 url(images/thead_bg.gif) top left repeat-x;color: #ffffff;}
#tc2, {display: none;}
</style>


<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "500";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
    var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "showthread";
-->
</script>

</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
	{$multipage}
</div>
<div class="float_right botones">
	{$newreply}<P>
</div>
<br style="clear: both;" />
<table border="0" width="100%">
	<tr>
		<td width="200" valign="top">
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="thead">
						<strong>Weekly Fun Question for Regular Members!</strong>
					</td>
				</tr>
				<tr>
					<td class="trow1" colspan="{$colspan}">
						<strong><a href="{$forumurl}">Back to Member's Index</a></strong>
					</td>
				</tr>
				<tr>
					<td class="trow1" colspan="{$colspan}">
						<strong><a href="http://www.7173mustangs.com/forum-weekly-fun-questions">Main WFQ Index</a></strong>
					</td>
				</tr>
				<tr>
					<td class="trow1" colspan="{$colspan}">
						<strong><a href="http://www.7173mustangs.com/myawards.php?awid=1">Winner's List</a></strong>
					</td>
				</tr>
				<tr>
					<td class="trow1" colspan="{$colspan}">
						<strong><center>Remember, all replies in this thread are moderated so you <u>will not</u> see your post after you click submit!</center></strong>
					</td>
				</tr>
			</table><P>
			{$search_thread}
		</td>
		<td valign="top">
			<script type="text/javascript">
				jQuery(document).ready(function($){
					$('.tab').click(function(){
						$('.at').removeClass('at');
						$(this).addClass('at');
						$('.content').slideUp();
						var catshow = $(this).attr('abbr');
						$('#'+ catshow).slideDown();
					});
				});
			</script>
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
				<tr>
					<td class="tcat at tab" title="Question" style="cursor: pointer; text-align: center;" abbr="tc1">
						<strong>Question</strong>
					</td>
					<td class="tcat tab" title="Answer" style="cursor: pointer; text-align: center;" abbr="tc2">
						<strong>Answer</strong>
					</td>
				</tr>
			</table>
			<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0; border-top-width: 0;">
				<tr>
					<td class="thead" colspan="2">
						{$ratethread}
						<strong><a href="{$threadurl}">{$thread['subject']}</a></strong>
					</td>
				</tr>
			</table>
			<div>
				{$first_post}
			</div>
			<br class="clear" />
			<div 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 class="clear" />
			<strong>Comments</strong>
			<div id="posts">
				{$posts}
			</div>
			<div class="float_left">
				{$multipage}
			</div>
			<div style="padding-top: 4px;" class="float_right botones">
				<P>{$newreply}
			</div>
			<br style="clear: both;" />
			{$quickreply}
			{$threadexbox}
			{$similarthreads}
			<br />
			<div class="float_right" style="text-align: right;">
				{$moderationoptions}
				{$forumjump}
			</div>
		</td>
	</tr>
</table>
<br style="clear: both;" />
<div class="smalltext" align="center">
<b>Trivia Forum</b><br />
Powered By <b><a href="http://mybbhacks.zingaburga.com">XThreads</a></b>
</div>
{$footer}
</body>
</html>


[Image: gallery_2_628_39582.jpg]
(This post was last modified: 01-29-2011 05:33 AM by RocketFoot.)
01-29-2011 05:31 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Postbit Tabs - RateU - 10-16-2010, 07:42 AM
RE: Postbit Tabs - Imran - 10-16-2010, 08:03 AM
RE: Postbit Tabs - ZiNgA BuRgA - 10-16-2010, 10:00 AM
RE: Postbit Tabs - leefish - 10-16-2010, 07:29 PM
RE: Postbit Tabs - 1master1 - 10-16-2010, 07:55 PM
RE: Postbit Tabs - leefish - 10-16-2010, 09:06 PM
RE: Postbit Tabs - ZiNgA BuRgA - 10-16-2010, 09:05 PM
RE: Postbit Tabs - x-Treme - 10-16-2010, 10:44 PM
RE: Postbit Tabs - 1master1 - 10-16-2010, 11:09 PM
RE: Postbit Tabs - Jumper - 10-25-2010, 08:38 AM
RE: Postbit Tabs - leefish - 10-25-2010, 09:01 AM
RE: Postbit Tabs - RateU - 10-26-2010, 06:49 AM
RE: Postbit Tabs - Jumper - 10-28-2010, 01:09 AM
RE: Postbit Tabs - Jumper - 10-28-2010, 03:16 AM
RE: Postbit Tabs - RateU - 10-28-2010, 03:39 AM
RE: Postbit Tabs - Vapor - 10-28-2010, 06:08 AM
RE: Postbit Tabs - Jumper - 10-28-2010, 08:15 AM
RE: Postbit Tabs - ZiNgA BuRgA - 10-28-2010, 01:22 PM
RE: Postbit Tabs - RocketFoot - 12-11-2010, 02:24 AM
RE: Postbit Tabs - RateU - 12-11-2010, 02:56 AM
RE: Postbit Tabs - leefish - 12-11-2010, 03:20 AM
RE: Postbit Tabs - RocketFoot - 12-11-2010, 03:30 AM
RE: Postbit Tabs - RateU - 12-12-2010, 07:18 AM
RE: Postbit Tabs - MasterZuFu - 12-23-2010, 08:46 AM
RE: Postbit Tabs - RateU - 12-24-2010, 01:40 AM
RE: Postbit Tabs - leefish - 12-24-2010, 01:48 AM
RE: Postbit Tabs - RateU - 12-26-2010, 02:01 AM
RE: Postbit Tabs - MasterZuFu - 12-26-2010, 05:36 AM
RE: Postbit Tabs - MasterZuFu - 12-26-2010, 07:17 AM
RE: Postbit Tabs - RateU - 12-26-2010, 10:57 AM
RE: Postbit Tabs - MasterZuFu - 12-26-2010, 01:33 PM
RE: Postbit Tabs - RateU - 12-27-2010, 05:24 AM
RE: Postbit Tabs - MasterZuFu - 12-28-2010, 12:47 AM
RE: Postbit Tabs - MasterZuFu - 12-28-2010, 01:54 AM
RE: Postbit Tabs - RateU - 12-28-2010, 04:00 AM
RE: Postbit Tabs - RocketFoot - 01-12-2011, 12:10 PM
RE: Postbit Tabs - RateU - 01-13-2011, 01:17 AM
RE: Postbit Tabs - RocketFoot - 01-29-2011 05:31 AM
RE: Postbit Tabs - RateU - 01-29-2011, 06:05 AM
RE: Postbit Tabs - RocketFoot - 01-29-2011, 06:09 AM
RE: Postbit Tabs - Kobo - 06-14-2011, 08:05 AM
RE: Postbit Tabs - ZiNgA BuRgA - 06-14-2011, 08:57 AM
RE: Postbit Tabs - 1master1 - 06-15-2011, 12:14 PM
RE: Postbit Tabs - asadkhan1084 - 10-02-2011, 03:27 PM
RE: Postbit Tabs - RateU - 10-03-2011, 01:18 AM
RE: Postbit Tabs - anori - 04-14-2012, 12:16 AM
RE: Postbit Tabs - ZiNgA BuRgA - 04-14-2012, 10:59 AM
RE: Postbit Tabs - anori - 04-14-2012, 01:29 PM
RE: Postbit Tabs - ZiNgA BuRgA - 04-14-2012, 03:25 PM
RE: Postbit Tabs - Gstone - 08-23-2012, 11:57 PM
RE: Postbit Tabs - Gstone - 08-27-2012, 04:55 AM
RE: Postbit Tabs - WhiteEagle - 08-24-2012, 12:10 PM
RE: Postbit Tabs - RateU - 08-27-2012, 05:05 AM
RE: Postbit Tabs - Gstone - 08-27-2012, 09:24 AM
RE: Postbit Tabs - Gstone - 09-24-2012, 09:24 PM
RE: Postbit Tabs - RateU - 09-25-2012, 12:52 AM
RE: Postbit Tabs - admin2u - 12-18-2012, 03:15 AM
RE: Postbit Tabs - ZiNgA BuRgA - 12-18-2012, 09:16 AM
RE: Postbit Tabs - xensor - 09-22-2016, 08:54 AM
RE: Postbit Tabs - Grumpykitty - 08-26-2017, 07:58 AM

 Standard Tools
Forum Jump: