Previous Thread
Next Thread
Print Thread
Rate Thread
#218505 06/10/2002 10:57 AM
Joined: Jan 2000
Posts: 796
MTO
Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
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.

Sponsored Links
D_Wolfwood #218506 06/10/2002 11:01 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Those don't quite match the wording needed at the top. Would need to have new language files added.

D_Wolfwood #218507 06/10/2002 11:02 AM
Joined: Jan 2000
Posts: 796
MTO
Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
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.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)