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)

X-Fan 11-11-2004 11:03 PM

Very, very, very cool addition! I was using phpMyChat but I've switched to vBChat now and will be sticking with it for the long haul! Thanks ZT!

djjeffa 11-11-2004 11:12 PM

i reistalled and still no luck with the who is in chate and still cant fix the smilies? also can i make it so the time goes next to the messages like the first version?

Harley D 11-12-2004 02:40 AM

Had this working perfectly with the first version, now that I updated my VBCHAT page is blank? ADMINCP is working fine. VBv 3.0.3

Harley D 11-12-2004 02:55 AM

DOH, I forgot, the install only changes one on the skins templates, the rest have to be manually edited.
My bad

bendigo-tech 11-12-2004 03:22 AM

Upgrade went smoothly. Took 5 minutes to upgrade... very sweet!

Thanks.

Jaxx 11-12-2004 05:13 AM

Thanks for the update.

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

RsX 11-12-2004 10:03 AM

yey works ^^ only 1 problem..............

How can i chang inframe background without killing the style?

How can i select how many/Witch smilies can be viewed?

SVTOA 11-12-2004 11:43 AM

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.

Harley D 11-12-2004 12:24 PM

Quote:

Originally Posted by wattieuk
Got this working this morning - thank you very much for all the help and for developing the mod - it's much appreciated. The only thing I would like to change is the size of the messages window which at the moment needs to scroll to the right to be able to see all of the posted messages.
Is there any way to stop this from happening? Cheers.

Anyone have any luck correcting this?

RsX 11-12-2004 12:56 PM

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.

It works, but the only problem is that i cannot see myself online, how can i fix this? please help


All times are GMT. The time now is 11:13 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.01661 seconds
  • Memory Usage 1,771KB
  • 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
  • (6)bbcode_code_printable
  • (2)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