Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: Yigal on August 04, 2009, 02:09:58 AM

Title: [Tip/Trick] Unbold News Fader (1.x)
Post by: Yigal on August 04, 2009, 02:09:58 AM
Tip/Trick: Unbold Your News Fader
Description: Just a little modification unbolding your news fader so you can bold certain words  :P  Subject basically says it all
A Note To Everyone Who Is Packaging This Edit:  Already packaged

---------------------------------------------------------------------
For 1.x
---------------------------------------------------------------------

BoardIndex.template.php:

Find:

<div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b>', $context['news_lines'][0], '</b></div>

Replace with:

<div id="smfFadeScroller" style="width: 90%; padding: 2px;">', $context['news_lines'][0], '</div>

Find:
var smfFadeBefore = "<b>", smfFadeAfter = "</b>";

Replace with:
var smfFadeBefore = "", smfFadeAfter = "";


Index.english.php: [optional]

Find:
$txt[102] = 'News';

Replace with:
$txt[102] = 'Global Forum News';
PS: You can change the "Global Forum News" to any other text you prefer




Also, if someone could move this to Tips/Tricks board, that would be great ;)[/code]
Title: Re: [Tip/Trick] Unbold News Fader
Post by: Yigal on August 04, 2009, 02:18:15 PM
Glad to give you my services ;)