Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Having a bit of trouble
a.live Offline
Junior Member
**
Posts: 8
Joined: Feb 2013
Post: #1
Big Grin Having a bit of trouble
Hi all!
I'm super excited to get this plugin working, it looks really powerful and it's given me a lot of ideas for how to run my forum!  I'm having a little bit of trouble, however, and was hoping that I could get a little bit of help.

I've tried to do the simplest of the listed plugins - the thread description - and I'm having a lot of trouble getting it to work for me.  I've added the custom field, and when I make a new thread/edit an existing one, the description field comes up... it just doesn't take the information and display my inputs ... at all.  The table at the head of the thread DOES appear, but it's the title of the input field, then a blank box to the right.

I'm working on a template that's not the default, and I've been able to locate most of the template addons and either make sure that they're not impacted, or fixed them so that they aren't commented out/removed/etc..  I've tried using the global option in the locations that I want it to be displayed (showthread template and the forumdisplay_thread template), but it's to no avail. Strangely, the field DOES show if I indicate a blank replacement value, but not if I input an entry.  It also DOES NOT save the inputs that I put in there.

I'm not sure what I'm doing wrong - I've followed the tutorial provided to the "T" (minus the blank entry input), and followed the described modifications... if anyone could help, I'd really appreciate it!

These are the two files I mentioned that I've edited, if anyone can see an amature mistake I might have made, feel free to slap me x)

forumdisplay_thread

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<tr>
	<td style="width:2px;" colspan="2" align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.png" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			{$GLOBALS['threadfields']['tdescript']}<div class="author smalltext">{$threadfields['tdesc']} {$thread['profilelink']}</div> 
			</div>
	</td>
	<td width="25" colspan="2" align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	{$rating}
	<td width="120" class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;" align="right">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>


showthread

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
<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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js?ver=150"></script>
<script type="text/javascript">
<!--
	var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
	var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
	var tylUser = "{$mybb->user['uid']}";
-->
</script>
</head>
<body>
	{$header}
	{$pollbox}
	<div class="float_left">
		{$multipage}

	</div>

<div class="float_right"><span class="smalltext"><a href="showthread.php?tid={$tid}&action=usernotes"><img src="http://aevum-live.net/forum/images/english/threadnote.png" /></a>{$newreply}</span></div>
	<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>
					<strong>{$thread['threadprefix']}<span title="Thread ID #: {$tid}">{$thread['subject']}</span></strong>
<Br />{$GLOBALS['threadfields']['tdesc']}				
</div>
			</td>
		</tr>
		{$threadfields_display}{$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" style="vertical-align: middle;" class="tfoot">				
				<ul class="thread_tools">
					<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>
			</td>
		</tr>
	</table>
<div class="float_right">{$newreply}</div>
	<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>

(This post was last modified: 02-20-2013 11:15 PM by a.live.)
02-10-2013 08:24 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Having a bit of trouble - a.live - 02-10-2013 08:24 PM
RE: Having a bit of trouble - ZiNgA BuRgA - 02-10-2013, 10:18 PM
RE: Having a bit of trouble - a.live - 02-11-2013, 09:55 AM
RE: Having a bit of trouble - ZiNgA BuRgA - 02-11-2013, 04:53 PM
RE: Having a bit of trouble - a.live - 02-12-2013, 10:36 PM
RE: Having a bit of trouble - RateU - 02-13-2013, 02:13 AM
RE: Having a bit of trouble - ZiNgA BuRgA - 02-13-2013, 05:10 PM
RE: Having a bit of trouble - a.live - 02-16-2013, 09:47 PM

 Standard Tools
Forum Jump: