Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Custom Thread Style
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #11
RE: Custom Thread Style
This is rather cool, someway to include the '{$GLOBALS['threadfields']['xtcstyle_tc']}' into 'forumbit_depth2_forum_lastpost' template?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
12-01-2011 06:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #12
RE: Custom Thread Style
No, thread fields aren't available on any forumbit_* template.

My Blog
12-02-2011 09:08 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #13
RE: Custom Thread Style
(12-02-2011 09:08 AM)ZiNgA BuRgA Wrote:  No, thread fields aren't available on any forumbit_* template.

Where can we show them then? Just forumdisplay, showthread, search, and what else?

And do you plan to make them available in forumbit_* themplates?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
12-02-2011 11:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #14
RE: Custom Thread Style
(12-02-2011 11:25 AM)Sama34 Wrote:  Where can we show them then? Just forumdisplay, showthread, search, and what else?
From memory, portal.

(12-02-2011 11:25 AM)Sama34 Wrote:  And do you plan to make them available in forumbit_* themplates?
Not at the moment, no.

My Blog
12-02-2011 01:18 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #15
RE: Custom Thread Style
(12-02-2011 01:18 PM)ZiNgA BuRgA Wrote:  
(12-02-2011 11:25 AM)Sama34 Wrote:  Where can we show them then? Just forumdisplay, showthread, search, and what else?
From memory, portal.

(12-02-2011 11:25 AM)Sama34 Wrote:  And do you plan to make them available in forumbit_* themplates?
Not at the moment, no.

Well, I do not use the portal, so hope you include support for more templates later.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
12-02-2011 01:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #16
RE: Custom Thread Style
Think these instructions are still good for 1.8 as well?

[Image: TVGF_signature.png]
04-17-2015 09:12 AM
Find all posts by this user Quote this message in a reply
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #17
RE: Custom Thread Style
Hey all, im trying to add thread title colours to my theme I am using for 1.8. Adding However the template is different than the standard 1.8 theme and im not too sure where to put ['xtcstyle_tc'].

Experimenting as lead to weird results that breaks the layout of threads.

Again here is the 1.8 theme forumdisplay_thread template:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span></span><br />
          {$threadfields['desc']}<span class="smalltext">{$lang->xstyled_startedby} {$thread['profilelink']}</span>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['multipage']}</td>
    {$rating}
	<td align="left" class="{$bgcolor}{$thread_type_class}" style="width: 70px; padding-right: 20px;">
      	<i style="font-size: 14px;" class="fa fa-comments fa-fw" title="{$lang->xstyled_replies}"></i> {$thread['replies']}</a>{$unapproved_posts}<br />
		<i style="font-size: 14px;" class="fa fa-eye fa-fw" title="{$lang->xstyled_views}"></i> {$thread['views']}
	</td>
	<td class="{$bgcolor}{$thread_type_class}" style="width: 200px; text-align: left;">
      	{$lastposterlink} <a class="effect" href="{$thread['lastpostlink']}" title="{$lang->xstyled_golastpost}"><i style="font-size: 14px;" class="fa fa-toggle-right fa-fw"></i></a><br />
      	<span class="smalltext">{$lastpostdate}</span>
	</td>
{$modbit}
</tr>


[Image: TVGF_signature.png]
06-18-2015 08:44 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #18
RE: Custom Thread Style
So what have you experimented with?

My Blog
06-19-2015 11:12 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #19
RE: Custom Thread Style
In your posted template you have some HTML issues.  Badly formed HTML will often not display as you expect.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 06-21-2015 08:10 AM by leefish.)
06-21-2015 08:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: