PDA

View Full Version : Language Phrases For vBChat ?


Mechanical Mind
03-02-2005, 11:49 AM
Hi all. I would like to modify the following phrase:

"No one is currently inside vBChat"

I would like to modify this phrase to ____ (nothing there, like   ) But I can't find it anywhere in a search in phrase manager.

Any suggestions?

Zero Tolerance
03-02-2005, 11:57 AM
That's because i don't like vBulletin's phrase system :p

Just search in index.php for that and you will see it :)

- Zero Tolerance

Mechanical Mind
03-02-2005, 12:00 PM
Hmmm...

I logged into my server via FTP and I searched in the index.php that is in the ROOT-ROOT directory, the one that is in the FORUM-ROOT directory, and the one that is in ADMINCP... I could not find any trace of this phrase or even "vBChat" for that matter?

Am I doing something wrong? Looking in the wrong place?

I would like to donate some loot to your fund. Where the "Sticky" up top to "Donate" ??? :surprised:

Zero Tolerance
03-02-2005, 12:09 PM
Perhaps you didn't make the edit to index.php, but it is there, search for:
$invBChat = "<i>No one is currently inside vBChat</i>";
In your forums root directory index.php

If you would like to donate, then read the first post in the vBChat topic, near the bottom :)
https://vborg.vbsupport.ru/showthread.php?t=71049

- Zero Tolerance

Mechanical Mind
03-02-2005, 12:36 PM
Well, by cracky! It was there. But for some reason my "find" feature would not locate it. Ah well, anyway...

Here is a section of code from forumroot/index.php: (with the section in question highlited)

if(is_array($vbchat_users)){
foreach($vbchat_users as $invbc){
if($invBChat == ""){
$extra = "";
} else {
$extra = ", ";
}
// Get Username Style
$invbc['musername'] = fetch_musername($invbc);
$invBChat .= "{$extra}<a href='member.php?{$session['sessionurl']}&u={$invbc['userid']}'>{$invbc['musername']}</a>";
}
}
if($invBChat == ""){
$invBChat = "<i>No one is currently inside vBChat</i>";
}
foreach($userinfos AS $userid => $loggedin)
{
$numberregistered++;
if ($userid != $bbuserinfo['userid'])
{
$inforum["$loggedin[inforum]"]++;
}
$loggedin['musername'] = fetch_musername($loggedin);
if (fetch_online_status($loggedin))

How do I modify the phrase to be BLANK (as in non-existent)?

And does this phrase appear anywhere else besides on the forumhome stats area?

Zero Tolerance
03-02-2005, 12:37 PM
Change it to:

$invBChat = "";

And if no users are inside, it will be blank.

And it appears no where else :)

- Zero Tolerance

Deaths
03-02-2005, 12:38 PM
$invBChat = "";
;)

Mechanical Mind
03-02-2005, 12:39 PM
Thanks ZT.

I would like to take this opportunity to encourage others "enjoying" this hack to donate. It's only right.

:up:

UPDATE

OOPS! I erased index.php in Root-Root directory. Now I can't even access my website. Time to contact my webhost, I think. Any suggestions anyone?

Zero Tolerance
03-02-2005, 12:56 PM
Do you have index.php on your HD?

- Zero Tolerance

Mechanical Mind
03-02-2005, 01:03 PM
Do you have index.php on your HD?

- Zero Tolerance

Oh, ya... :nervous:

I guess that is why I do those weekly file and database backups. Thanks ZT.

I simply FTP'ed a copy of my root-root/index.php file back to the server. et voila!

Zero Tolerance
03-02-2005, 01:04 PM
No problem, this can be an example to all that backing up is estential for scenarios like this one :)

- Zero Tolerance