Previous Thread
Next Thread
Print Thread
Rate Thread
#259730 10/02/2003 12:33 PM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I would like to edit this but not sure where (lang file?)
[]http://www.vhfans.com/images/wol.gif[/]

I would also like to be able to add some text (just below 562 Registered users) I have the variable all worked out, to this but again I don't know where.
[]http://www.vhfans.com/images/extra.gif[/]

Thanks

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Generally the /english/online.php language file.

Although that looks like a hack. Not sure which one, or if it even used language files. There's been a number of the who's online boxes around here. If it didn't use language files then it's probably hardcoded in ubbt.inc.php

But to ask about the hack, best to ask in the thread where you got the hack, as then we'd know exactly what it was.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
[]JoshPet said:
Generally the /english/online.php language file.

Although that looks like a hack. Not sure which one, or if it even used language files. There's been a number of the who's online boxes around here. If it didn't use language files then it's probably hardcoded in ubbt.inc.php

But to ask about the hack, best to ask in the thread where you got the hack, as then we'd know exactly what it was. [/]

LOL I was going to do that but I can't remember which one it was I have searched in the lang/online.php and the ubbt.inc.php for "10 minutes" and cannot find it anywhere Same with the Extra Information when I search for "Welcome to our newest member".

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Which page does that appear on?

ubbthreads.php?
Might try that language file, script or template to see if that's where it is.

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Welcome to our newest members appears in the ubbthreads.php language file as:
$ubbt_lang['NEW_MEM'] = "Welcome to our newest member,";
and the catagories.php language file as:
$ubbt_lang['NEW_MEM'] = "Welcome to our newest member,";

So, you should be able to enter the text you want to above
{$ubbt_lang['NEW_MEM'] in ubbthreads.tmpl and language.tmpl and put a <br /> after your text.

If that doesn't work, as someone else had problems getting a hard coded disclaimer to show up in posts, you may need to define it as a varible in the language files and call the varible.

Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Exactly what I needed, I already had the variable and I created

$ubbt_lang['T_POSTS'] = "Total Posts.";

and called it up through ubbthreads.php. Thanks for your help


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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)