How do I turn off or change the "Started by" under the subject of each post. It makes it very difficult to read the Subjects. Is there a setting in SMF 2.0 to turn it off or does it need to have a mod? Maybe if the font size was a little smaller it would be ok as well.
Thanks,
RGecy
I hate to bump, but any help with this?
Thanks,
RGecy
Just to let you know I'm looking into this for you but it's not a simple switch, it will require some coding of the template/CSS.
I'll get back to you ASAP.
Chas
index.english.php, inside the default theme's languages directory.
$txt[109] = 'Started by';
Just change that text.
If you want to get rid of it, entirely, that's a different ballgame.
You need MessageIndex.template.php and this line:
<td class="catbg3" width="11%"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=starter', $context['sort_by'] == 'starter' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[109], $context['sort_by'] == 'starter' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></td>
Yeah, I want to remove it completely or move it over to the right in a seperate div next to replies.
Try removing that line, then. Keep a backup of the file, just in case.
@Chas thinks @Kat is looking at 1.1.11 files :)
The line in Index.english.php is:
$txt['started_by'] = 'Started by';
However this will just remove the text Started By and leave the username who started the topic there, plus you'll get lots of errors in the log.
To remove this line completely requires changes to the code that displays this line each time it is called.
OOPS! I was, yeah.
YOINK!
Ta, Chas!
So you know, I submitted a Mod to do this last month. When it's approved, you can do it automatically. To do it manually, though:
/Themes/default/MessageIndex.template.php
<p>', $txt['started_by'], ' ', $topic['first_post']['member']['link'], '
<p>
My Mod also removes the "Sort" link for "Started by" since the author is hidden. To remove that manually as well:
/Themes/default/MessageIndex.template.php
<th scope="col" class="smalltext"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] == 'subject' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a> / <a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=starter', $context['sort_by'] == 'starter' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['started_by'], $context['sort_by'] == 'starter' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></th>
<th scope="col" class="smalltext"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] == 'subject' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></th>
If you want it done automatically, hopefully the Mod will be approved soon.
Thanx Ha2, that saved me a bit of head scratching and I learned something too :)
Ha2
Thanks guys! I will work on it tonight. Can't afford to wait for the mod to be approved, but I know it will definitely be used. Will it remove the "started by" completely or will it put it over by the "Views/Replies"?
RGecy
Quote from: rgecy on February 19, 2010, 06:15:55 PM
Ha2
Thanks guys! I will work on it tonight. Can't afford to wait for the mod to be approved, but I know it will definitely be used. Will it remove the "started by" completely or will it put it over by the "Views/Replies"?
RGecy
It completely removes both instances of "Started by" from the message index. :) I have a screenshot, somewhere; I'll look for it.
Here we go... attached.
Cool mod.
I normally just copy and paste your name :p or if I'm to lazy for that just call you Ha. (sorry)
Learned something new though.
Quote from: Kill Em All on February 19, 2010, 07:31:18 PM
Cool mod.
I normally just copy and paste your name :p or if I'm to lazy for that just call you Ha. (sorry)
Learned something new though.
lol, it's fine. My signature is just to get rid of Ha2, really. Plus it makes people think I'm mad at them when I'm not, heh.
How can I add removed "Starter by" into separate column like in attach?
This looks like a dubbelpost :
http://www.simplemachines.org/community/index.php?topic=383174.0
It's also not realy wanted to kick topics that are sleeping for already 3 months.
fixed double ;D