The Arcive of vBulletin Modifications Site. |
|
Language Phrases For vBChat ? Details »»
|
|||||||||||||||||||||||||
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? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
That's because i don't like vBulletin's phrase system
![]() Just search in index.php for that and you will see it ![]() - Zero Tolerance |
|
#3
|
||||
|
||||
|
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: |
|
#4
|
||||
|
||||
|
Perhaps you didn't make the edit to index.php, but it is there, search for:
Code:
$invBChat = "<i>No one is currently inside vBChat</i>"; 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 |
|
#5
|
||||
|
||||
|
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) Code:
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))
And does this phrase appear anywhere else besides on the forumhome stats area? |
|
#6
|
||||
|
||||
|
Change it to:
Code:
$invBChat = ""; And it appears no where else ![]() - Zero Tolerance |
|
#7
|
|||
|
|||
|
PHP Code:
|
|
#8
|
||||
|
||||
|
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? |
|
#9
|
||||
|
||||
|
Do you have index.php on your HD?
- Zero Tolerance |
|
#10
|
||||
|
||||
|
Quote:
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! |
![]() |
|
|