Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: TheDisturbedOne on October 18, 2008, 01:23:07 PM

Title: 2 questions re:templates
Post by: TheDisturbedOne on October 18, 2008, 01:23:07 PM
how do i make it so that the child boards show
Topics Posts
   89     77
instead of
60 Posts
15 Topics
I don't know which file to edit.  I would know how to change it from there


Also how do I add links and bold/colored text into a forum description?
Title: Re: 2 questions re:templates
Post by: vwf on October 18, 2008, 01:33:20 PM
This should answer your 1st question-


Admin>Boards>Settings>Check "Count Childs Posts in parents totals".
Title: Re: 2 questions re:templates
Post by: TheDisturbedOne on October 18, 2008, 01:44:38 PM
No I mean....
Ok go on my website:
www.disturbed.us.tc
Then you see how the posts and topics on the index page are ordered, instead of
60 Posts
15 Topics
They just show the numbers and on the top they show "Topics" and "Posts"

Now find a forum that has a child board and click on it.  the child board will sshow
60 Posts
15 Topics
Instead of
15 | 60
Title: Re: 2 questions re:templates
Post by: ChainLightning on October 18, 2008, 02:24:24 PM
Ahh, okay, I see what you mean. You want the child boards (on that second page) to show separate columns for topics and posts, just like it does on the index page, right?

The file you're looking to modify, then, is the MessageIndex.template.php.
Title: Re: 2 questions re:templates
Post by: TheDisturbedOne on October 18, 2008, 02:50:26 PM
Yeah!  Thanks.
Title: Re: 2 questions re:templates
Post by: TheDisturbedOne on October 19, 2008, 01:43:47 PM
This isn't resolved.  The other question wasn't answered
Title: Re: 2 questions re:templates
Post by: ChainLightning on October 19, 2008, 01:59:14 PM
What do you mean by "forum description"? The meta tag, that shows up as a description in search engines?

You can't use colored or bold commands inside those meta tags. URL's, though, you can just type out the address: www.whateversite.net.

Is that what you were asking about?
Title: Re: 2 questions re:templates
Post by: TheDisturbedOne on October 19, 2008, 02:08:37 PM
No I mean like:
English user help for SMF versions 1.1 and 1.0. Bumping topics less than 24 hours old is frowned upon.
And then having a link "24 hours old" to www.google.com, and having "24 hours old" be bold and colored.
Title: Re: 2 questions re:templates
Post by: ChainLightning on October 19, 2008, 04:30:18 PM
Ah, okay. It took me minute to figure out what you meant.  :)

You can just use regular HTML in those board descriptions.

For instance, using your example,

English user help for SMF versions 1.1 and 1.0. Bumping topics less than <a href="http://www.google.com"><font color="red"><strong>24 hours old</strong></font></a> is frowned upon.

Copy that into your board description will look like this:

English user help for SMF versions 1.1 and 1.0. Bumping topics less than 24 hours old (http://www.google.com) is frowned upon.
Title: Re: 2 questions re:templates
Post by: TheDisturbedOne on October 19, 2008, 05:57:32 PM
Thanks.