Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Postbit Tabs
MasterZuFu Offline
Member
***
Posts: 97
Joined: Dec 2010
Post: #31
RE: Postbit Tabs
(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 05:36 AM)MasterZuFu Wrote:  I'm using the most up-to-date stable version of jquery, so i just changed the file extention numbers to match.

I've tried in demo forum using the most up-to-date stable version of jquery. I don't have any problem at all.

*mmmm not sure then. Let me undo everything I did with the postbit and see if the problem goes away. It may take some time though, I'm busy this holiday season.

(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 05:36 AM)MasterZuFu Wrote:  I'm not sure what the link leefish posted is about, please elaborate.

It is if we forgot to put the thread.js in our showthread template.

Oh, ok. No problems then Smile

(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 05:36 AM)MasterZuFu Wrote:  +It's no huge issue though to be honest.

No, it is a huge issue if we add some features in our forum, but we lost other features.
We can see, XThreads has a lot of features. No other features lost when installing XThreads.
I don't want to make you lost other feature just because this postbit tabs.
If you don't mind, we can try to solve it.
The worst thing is, maybe we need to change this tabs.

Try to move around the code above. Maybe at the beginning of the showthread template.
Are you using MyBB 1.4?

I suppose that's the truth. I'm using MyBB 1.6. I try to stay up-to-date with everything I have on my site. I learned the hard way last time about not keeping things up to date Tongue. I suppose I could shift the code around, I'll give that a shot. Smile

(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 07:17 AM)MasterZuFu Wrote:  is there a way to make that 'button' a single image with a specified size that can be clicked on?

Should be (if you mean like the New Thread, New reply button image).

Well, something like that. Actually, nevermind this idea of an "image", the quote right after this one is the one that seems most promising.

(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 07:17 AM)MasterZuFu Wrote:  Or make the button a specified width? another thing is they aren't symmetrical, if you only have two tabs then one is shorter than the other.

I think we can put width properties in the <td> tags, in the Blank Replacement Value and Display Format.

Hmm...alright, well this sounds promising. The thing is with different resolutions the screen is wider, thus, the website is wider. And if I'm using a screen that's particularly wide, then if I have tabs it stretches the entire distance of the thread, and if there are only two tabs one is often bigger than the other. I just need something that looks a little more presentable that's all Smile

(12-26-2010 10:57 AM)RateU Wrote:  
(12-26-2010 05:36 AM)MasterZuFu Wrote:  Yes, that's what I mean about the postbit tabs contents and title being below the post message.

Need a bit modification.

Ok Smile

Thanks for your reply Smile

12-26-2010 01:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #32
RE: Postbit Tabs
I think it is better to solve the "quick reply" issue first.
We can try to "remodeling" the tabs later.

12-27-2010 05:24 AM
Find all posts by this user Quote this message in a reply
MasterZuFu Offline
Member
***
Posts: 97
Joined: Dec 2010
Post: #33
RE: Postbit Tabs
hmmmmm...alrighty then. I disabled the postbit tabs entirely from all the forums but one forum (my test forum). I tried to edit some threads elsewhere in the site, and still no quick edit option. I'm beginning to think that the postbit tabs are not what's damaged the showthread options. Let me take a look around and see where this problem lays.

12-28-2010 12:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
MasterZuFu Offline
Member
***
Posts: 97
Joined: Dec 2010
Post: #34
RE: Postbit Tabs
I was looking at some other threads here and there on mybb.com to see if maybe it's something I did. I'm thinking I'm going to downgrade to the other version of XThreads and see if that's the problem (please advice for or against this, would this further damage my board?). I only installed plugins from this forum as well, so I'll check those out also. This is going to take some investigation of course, but I don't have the time to deal with it at this moment. Currently it's not a huge issue for me is that big a problem, but I also understand how important it is for you guys being the devs.

12-28-2010 01:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #35
RE: Postbit Tabs
(12-28-2010 01:54 AM)MasterZuFu Wrote:  I'm thinking I'm going to downgrade to the other version of XThreads and see if that's the problem (please advice for or against this, would this further damage my board?).

There are some changes in database scheme between 1.337 and 1.4.
If you really really want to do that, you can read the xt_upgrader.php file.
But I think, the "quick reply" issue is not caused by XThreads version. I think it is caused by javascript.

Reading your showthread template here:
(12-26-2010 05:36 AM)MasterZuFu Wrote:  

HTML Code
10
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>


and MyBB version you are using here:
(12-26-2010 01:33 PM)MasterZuFu Wrote:  I'm using MyBB 1.6

it seems that you need to re-check your templates again?
Try looking at your headerinclude too.
Not quite sure whether that is the problem or not.
But you can try it if you want.

12-28-2010 04:00 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #36
RE: Postbit Tabs
I think I am going to try this example with my trivia forum project!  Just one question to get me started...

Where do I add the templates?  The first one is edit but there  are 2 titles?  The second one needs added but again, 2 titles?  Please explain!

Thanks...Wink

[Image: gallery_2_628_39582.jpg]
01-12-2011 12:10 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #37
RE: Postbit Tabs
(01-12-2011 12:10 PM)RocketFoot Wrote:  Where do I add the templates?
Global template (if you want this for a specific forum). Use template prefix.

(01-12-2011 12:10 PM)RocketFoot Wrote:  The first one is edit but there  are 2 titles?  The second one needs added but again, 2 titles?  Please explain!
I don't really understand what you mean?

01-13-2011 01:17 AM
Find all posts by this user Quote this message in a reply
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
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #39
RE: Postbit Tabs
Try removing the comma (,) in line #7.

01-29-2011 06:05 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #40
RE: Postbit Tabs
Geezus!  I no longer have any hair on my head from pulling it all out over one little comma!  LOL!  

Thanks once again!

[Image: gallery_2_628_39582.jpg]
01-29-2011 06:09 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: