Hey, I am using the Blogreen template/theme on my MyBB forum.
I don't know if the "Important thread" comes with the template/theme or if it's just from original code.
But I want to change it to "Sticked threads" or something like that.
I wonder how do I find this code so I can change it?
You can either change it in the language file through the Admin CP, or go to Templates -> Forum Display Templates -> forumdisplay_sticky_sep
It's only 3 lines of code but find {$lang->sticky_threads} and replace it with Sticked Threads. Or whatever you want there.
If you change it through the language file, you won't need to replace that code.
(2012-07-18, 10:32 PM)Tecca Wrote: [ -> ]You can either change it in the language file through the Admin CP, or go to Templates -> Forum Display Templates -> forumdisplay_sticky_sep
It's only 3 lines of code but find {$lang->sticky_threads} and replace it with Sticked Threads. Or whatever you want there.
If you change it through the language file, you won't need to replace that code.
Eh, what? you sure about that? Because as it says "important thread", there must be a text that is "Important thread", to replace?
If I now understanded you correctly that I should change {$lang->sticky_threads} to {$lang->sticked_threads}
[edit]
And where is this language file?
(2012-07-18, 11:18 PM)Sozu Wrote: [ -> ]Eh, what? you sure about that? Because as it says "important thread", there must be a text that is "Important thread", to replace?
If I now understanded you correctly that I should change {$lang->sticky_threads} to {$lang->sticked_threads}
[edit]
And where is this language file?
The {$lang->sticky_threads} is pulling information from the language file.
Go to:
Configuration -> Languages -> English (American) and click on "options" then Edit.
Find
forumdisplay.lang.php and click edit. Find "
sticky_threads" and in the box you'll see the words "Important Threads"
Change that to what you want it to say. If you do it this way, you don't need to edit your Forum Display Template.
hey i have another question
how to change the sticked threads color please
Where it says "Important Threads" or the actual topic color?
For the first, find trow_sep in the global CSS and change the background color.
For the second, add this to the CSS and change the color to what you want:
.forumdisplay_sticky {
background-color: #D9F4FF !important;
}