vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB Chat (https://vborg.vbsupport.ru/forumdisplay.php?f=107)
-   -   Language Phrases For vBChat ? (https://vborg.vbsupport.ru/showthread.php?t=77322)

Mechanical Mind 03-02-2005 11:49 AM

Language Phrases For vBChat ?
 
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:
Code:

$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)

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))

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:

Code:

$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

PHP Code:

$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

Quote:

Originally Posted by Zero Tolerance
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!


All times are GMT. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06838 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete