vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBChat v2.3 (https://vborg.vbsupport.ru/showthread.php?t=71049)

reteep 11-14-2004 12:13 PM

Thanks Zero Tolerance, that's a really great hack!

djjeffa 11-14-2004 05:42 PM

Quote:

Originally Posted by stormblast
Thanks Zero Tolerance, that's a really great hack!

have we found a fix on the whosin chat and the smilly problem?

Sweet Evil 11-14-2004 06:18 PM

My Avatars are showing up in the chat smilies line.. Weird?

SVTBlackLight01 11-14-2004 07:05 PM

Quote:

Originally Posted by Jaxx
Thanks for the update.

Only problem I have is some the smilies are showing up as just red x's.

Same problem here.

Another feature could be to have a pop-up for the rest of the smilies like normal posting.

Harley D 11-15-2004 03:14 AM

Quote:

Originally Posted by SVTOA
If you have trouble with your forumhome "Who's online" or find that no members show up as chatting on the forumhome even when they are in the chat, this may work for you:

Make a backup of your forums root index.php file before you try this!

Now, in your fourms root index.php file, look for:

Code:

$inforum = array();
which should be around line 368.

Replace everything below it down to (but not including)

Code:

// memory saving
which should be around line 426 with this:

Code:

// Get the users in vBChat
        $vbchat_users = array();

        while ($loggedin = $DB_site->fetch_array($forumusers))
        {
                $userid = $loggedin['userid'];
                if (!$userid)
                {        // Guest
                        $numberguest++;
                        $inforum["$loggedin[inforum]"]++;
                }
                else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
                {
                        $userinfos["$userid"] = $loggedin;
                $numberregistered++;
                        if ($userid != $bbuserinfo['userid'])
                        {
                                $inforum["$loggedin[inforum]"]++;
                        }
                        $loggedin['musername'] = fetch_musername($loggedin);

                        if (fetch_online_status($loggedin))
                        {
                                $numbervisible++;
                                eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');

                if(preg_match("/vBChat.php/",$loggedin['location']) && $loggedin['userid']){
                $vbchat_users[$loggedin['userid']] = $loggedin;
                }
      }
  }
}
        // Configure Peeps In vBChat
        $invBChat = "";

        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>";
        }


This should work for 3.0.0 and 3.0.1.

This also worked on 3.0.3

Harley D 11-15-2004 03:16 AM

Can a time stamp replace the status text? I think it would be more usefull.

Europeanlee 11-16-2004 12:08 AM

Does this work on VB 2.3.2 by any chance?

Koutaru 11-16-2004 08:11 PM

Quote:

Originally Posted by Europeanlee
Does this work on VB 2.3.2 by any chance?

NO, it is only for vb3

Nice job by the way ;) I don't know why I never saw this hack here before o_O
Another cool feature would probably be AUTO prune as cron, but I'm sure that I will be able to set one up anyway

Zero Tolerance 11-16-2004 09:07 PM

vBChat 1.1.1 Released
This minor upgrade release has the following 2 features:

Ability to change the smilie data grab type - This will stop Red X's appearing (but will use 1 extra mySQL query)
Auto Prune vBChat - Turn On/Off And Set How Many Days To Prune MSG's

Enjoy :)

- Zero Tolerance

RsX 11-16-2004 09:40 PM

Thanks alot ^^ bdw, i wanned 2 know how i can set specific smilies to appear, and now for the 1 question that remains unanswered, and plz someone help me fix this:

How can I change the inframe background without killing the style sheet?


All times are GMT. The time now is 02:33 PM.

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.02093 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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