News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Tip/Trick] Unbold News Fader (1.x)

Started by Yigal, August 04, 2009, 02:09:58 AM

Previous topic - Next topic

Yigal

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]
Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

Yigal

Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

Advertisement: