UBB.Dev
Posted By: MTO Hardcoded texts - 06/10/2002 5:57 PM
Not sure of what hack it is (if posted), so I am reporting it here:
The current (just now placed) hack that shows who is online, at the top of the index, is not using the language variables.

These would be:
[:"green"]$ubbt_lang['C_ONLINE'] = "There are";
$ubbt_lang['C_ONLINE2'] = "registered and";
$ubbt_lang['C_ONLINE3'] = "anonymous users online.";
$ubbt_lang['C_ONLINE4'] = "anonymous users are browsing this forum."; [/]

I would suggest that in all hacks, we always use the available language variables instead of hardcoding text. This should almost be a requirement.
Posted By: JustDave Re: Hardcoded texts - 06/10/2002 6:01 PM
Those don't quite match the wording needed at the top. Would need to have new language files added.
Posted By: MTO Re: Hardcoded texts - 06/10/2002 6:02 PM
On a more careful look, it looks like for this specific hack you would need to add a different language variable... as the ones I just posted are not exactly the ones you want.

Anyway, the thing about always trying to use language variables is still valid.
© UBB.Developers