Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBChat v2.3 Details »»
vBChat v2.3
Version: 2.3, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 10-26-2004 Last Update: 02-28-2005 Installs: 936
DB Changes
 
No support by the author.

NOTCE: ALL SUPPORT SHALL NOW BE ANSWERED HERE

This is a php/mySQL powered chat system, just brought into production. It's features for v1.0.0 are wide but more are to follow i future versions, this version has the following features:

Key:
  • White Text - Original Features
  • ColorA Text - v1.0.1 Features
  • ColorB Text - v1.1.0 Features
  • ColorC Text - v1.1.1 Features
  • vBChat Page
    • Shows All Messages
    • Shows Users Currently In The Chat
    • Click usersname to auto add /msg [username] into post field
    • Ability To Post A Message
    • "/me" is also available to be used
    • "/msg [USERNAME] msg here" command added
    • Auto scrolling to bottom of page (If msg's set to latest at bottom)
  • vBChat User Preferences Page
    • Ability to choose desired font color when posting in the chat
    • Ability to choose desired font face when posting in the chat
    • Ability to ignore as many user's as desired in the chat
      • Ignore users will not display any messages by those users specified on the vBChat page
      • The inputs for ignoring users are "Auto Creating", baisically when you have filled all the inputs in, 2 more will automatically create to allow the user to input more users without having to submit and reload the page, the inputs are added aslong as the rest are filled in. This requires javascript to be enabled, but it is compatible in IE/FireFox/Netscape
  • Admin Controls
    • vBChat Options
      • Turn the chat system on/offline
      • Allow users to enter bbcode
      • Ban specific usergroups from accessing the vBChat system
      • Ban specific members from accessing the vBChat system
      • Choose which way msg's are displayed, newest at top or newest at bottom
    • vBChat Prune Options
      • Prune By Days - Prunes messages older than number of days inputted
      • Prune By Member - Prunes all messages by member inputted
      • Pune By Private MSG's Sent By User - Prunes All Private MSG's sent by user
      • Pune By Private MSG's Recieved By User - Prunes All Private MSG's recieved by user
      • Complete Prune - Removes All Messages
  • v1.0.1 FEATURES
  • Smilie Box - Smilies Are displayed above the chat input
    • Additional Features
    • ACP - Select if the smilies are displayed
    • ACP - Select amount of smilies shown
    • Query Reduction - No extra queries are required for the smilies to be loaded

  • User Status - User status is displayed in the vBChat Page (in replace of time/date)
    • Additonal Features
    • User can edit there user status in the vBChat User Preferences page

  • User Auto Responder - User can choose to have an auto message auto sent to anyone that Private MSG's them on vBChat
    • Additional Features
    • User can input a message that will be displayed with the auto responder
    • User can select if the auto responder is on or off

  • Private MSG Link Updated (When you press people's names at the side on vBChat, the command to private msg them pop's into the input box)
    • Additional Features
    • If using internet explorer, the text "<Your Private MSG Here>" will automatically be highlighted

  • Admin/SMod Ban/Unban Abilities - Type in /ban [Username] or /unban [Username] to ban/unban members
    • Additonal Features
    • ACP - Choose if unban/ban tags are operational

  • Chat Rooms
    • Additonal Features
    • ACP - Edit/Remove Chat Rooms
    • ACP - Delete "All" Inactive Rooms
    • ACP - Set max number of rooms that can be open at the same time
    • Optional Password Protection

  • Display Users In Chat On Forum Index Page
    • Additional Features
    • None

New v1.1.1 Features:
  • Ability to change smilie information to DB Call to stop Red X's (Optional because setting it to yes will cause 1 extra query, and should only be set to yes if you have the Red X's problem)
  • vBChat Auto Pruning - Ability to turn auto pruning on, and set how many days old messages that will be deleted to be


Version 2.0 Features
- Iframe Refresh Abolished
--- The system now uses hidden iframes to gather data, then uses Javascript to transport the HTML to the display iframe, which never reloads, and never flashes white when recieving chat messages or posting, just like any of chat system like MSN etc...

- Users Currently In vBChat Reformatted
--- The display of users is now more formal, showing the there chat status here, also displaying a link to send a private message instead of clicking there username

- Timestamp in messages
--- The timestamp has been put back, it was removed in an earlier release due to the user chat status, however this has been moved to Users Currently In vBChat Display

- vBChat Preferences Redesigned
--- The vBChat Preferences form has been re-designed to be a more neater and easier to use form.

- Smilies Animation Problem
--- Before when clicking to insert an emoticon, the animation of any current ones would come to a complete pause, this has been fixed, you can click on them continually and the animations will continue to play onwards.

- Improved Users In vbChat
--- The users in vbchat display is now more correct, and works towards your forums session cut-off time, where as before it may of displayed a user offline, but still showed them within vBChat, this is no longer a case, improving accuracy more

- Chat Now In Pop Up Window
--- The chat will be displayed as a pop now instead of a normal page, allowing users to chat & browse at the same time

- Inactive Rooms Auto Pruned
--- This is admin controllable, you may set if rooms with inactivity will be auto pruned, you can select from 1 to 24 hours, if rooms havn't had any inactivity in the last x hours, they will automatically be removed.

- Permanent Rooms
--- When admins/smods create a chat room, they have the option to make it permanent, doing this will stop the room from been pruned due to inactivity, the only way to remove it then is via the ACP.

- What Room Are You In
--- The main chat page will now display which room you're chatting within

- Total Users
--- The main chat page will now display the total amount of users currently within that chat room

- User Joining Rooms
--- Upon first joining vBChat, the chat will display: "[user] Joins Room"

- User Changing Rooms
--- Upon changing rooms, the previous room you were in will display "[user] Leaves Room" and the new room will display "[user] Joins Room"

- Exit vBChat Link
--- Upon clicking, chat automatically closes and a message is left in the room saying "[user] Leaves Room"

- /status Command
--- Change your vBChat Status by typing: "/status YOUR STATUS HERE"

- /exit Command
--- Same as the Exit vBChat link, only you may type it in as a command

- vBChat Help
--- Displays all chat commands, descriptions and examples of using them

- Close Chat Window
--- Upon closing the chat window, the system recognizes this and displays a message in the chat saying you have left: "[user] Leaves Room"


Version 2.1 Updates:

- Uncached template "chat_iframe_blank" has now been cached
- Clicking smilies will now enter the code into the post field
- Upon exiting vBChat, your session will be deleted so other users will instantly see you removed from "Users Currently In vBChat"
- Internet Explorer may delete your message half way through typing, this has been fixed

vBChat v2.2 Updates:

- Bug Fix: Window too large upon opening
- Bug Fix: Other vBChat Links Didn't Open Pop Up For vBChat
- Admin CP interface for Usergroup & User banning completely re-designed, no more manual inputting of id's, the system will use a new format to add/remove banned usergroups/users to make it even easier.
- Usergroup Permissions
--- Group Can Create Custom Rooms (Yes/No)
--- Group Can Join Custom Rooms (Yes/No)
--- Group Can Join Permanent Rooms (Yes/No
--- Permissions removed if usergroup is banned
- Upon changing room you are redirected straight to vBChat instead of been stuck at the room select page
- Upon deleting chat rooms (via ACP or Auto Prune) all chat messages inside are deleted for good
- When editing a chat room via ACP you may choose if it is a permanent room or not

vBChat v2.3 Updates:
- Now only 1 refreshing iframe, eliminating a minimum of 8 queries per page refresh, cutting the system resources needed by nearly half!
- Several queries have been optomized, selecting data which wasn't required.
Note: This was a maintenance update, to optomize the system, no new features have been made.

Installation Update For v2.3
You may install v2.3 fresh
You may upgrade from v2.2 -> 2.3

(Archived versions included for those who missed updates!)


The install has an automatic script to add templates and database modifcations.

Previews are available below showing the vBChat system and admin controls.

Branding Free Option
Should you wish to have the visible copyright removed from vBChat, please send me a private message here on vbulletin.org, the price is $30. If you require any other details on this, please make sure all enquiries are put into a PM, and not the thread itself. Note: Payment method must be via PayPal

Donations
All donations great or small are appreciated to the greatest extent, wether it's for the modification itself or just a little incentive for myself, if you would like to donate then you can do so via PayPal, my email to send to is: webmaster@gzevolution.net
Thanks to all those who have currently donated for this modification!

Enjoy

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #532  
Old 01-21-2005, 08:41 PM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1nf3rn0
i too have the same problem...shows duplicates of members on th emain forum page in the whos online...if there is a quick solution..can someone point me to it..

do appreciate the knowledge here and the hack is awsome!..thx again!

UPDATE:never mind...i found the problem and fixed it..thx anways!!...also it fixed seeing my own username on the forums!..
How did you fix it?
Reply With Quote
  #533  
Old 01-22-2005, 07:21 AM
1nf3rn0 1nf3rn0 is offline
 
Join Date: Jan 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ambrosious
How did you fix it?

wellif you loook at the instructions given it shows this as a replacement variable in the index.php (under //Guest & Before //Configure Peeps In VBChat):

Code:
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}

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

}
Now i dontknow anything when it comes to html or java..but idid look at one thing that was a lil a different and instead of actully manually editing it....i just copied from the main index.php from the original forum folder and pasted it to the revision for the chat (figured why not, it worked right when it was original):

Code:
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
}

foreach($userinfos AS $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') . '";');
}
}
now this showed myself online and also got rid of the dup members....currently active users is right now as well...now...because i couldnt get the whos in chat to work i just completely removed it from the forums....to me its all good....the chat is the most important part...and BTW...i did this with vb3.0.5...i dont see a problem with it woking with 3.0.6....which i will be upgrading to, soon...i hope this has helped you as all i did was copy the original index.php variable from the original vbulletin 3.0.5 and re-replaced the instructions given (since i had already followed the instros and edited the index.php)...attached is the index edited...so in essence all you have to do is open the file and edit the license # with your LEGIT license # from vbulletin (i edited my license # out for this attachment for security reasons of course) then replace the index file...:nervous:
Reply With Quote
  #534  
Old 01-22-2005, 08:47 AM
1nf3rn0 1nf3rn0 is offline
 
Join Date: Jan 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nonet
Hi everyone!



However in my file I have:

Code:
while ($loggedin = $DB_site->fetch_array($forumusers))
	{
		$userid = $loggedin['userid'];
		if (!$userid)
		{	// Guest
			$numberguest++;
			$inforum["$loggedin[inforum]"]++;
		}
		else if (empty($userinfos["$userid"]['lastactivity']) 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') . '";');
			}
		}
	}
I tried several variations and just got errors. Any ideas.

Thanks for the help!
just leave what you have alone.....and add the first part of lines in the instructions:

Code:
// Get the users in vBChat
	$vbchat_users = array();
to the top of the index variable >>
Code:
while ($loggedin = $DB_site->fetch_array($forumusers)

Now get the last line of the instructions:

Code:
// 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>";
	}
and enter it at the end of the index variable:

Code:
$numbervisible++;
				eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
			}
		}
	}
so once done it should look somehting like 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;
        }
    }

    foreach($userinfos AS $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') . '";');
        }
    }
// Configure Peeps In vBChat
$invBChat ="";

if(is_array($vbchat_users)){
foreach($vbchat_users as $invbc){
if($invBChat == ""){
$extra = "";
} else {
$extra = ", ";
}
Reply With Quote
  #535  
Old 01-22-2005, 10:20 PM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

    foreach(
$userinfos AS $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') . '";');
        }
    }
// Configure Peeps In vBChat
$invBChat ="";

if(
is_array($vbchat_users)){
foreach(
$vbchat_users as $invbc){
if(
$invBChat == ""){
$extra "";
} else {
$extra ", ";


I put that in and it took care of all the multiple names, all the commas. The only issue I currently have is each person sees themselves twice.

Looks much better! Any ideas why they still see themselves twice? (And edited to say that the "Who's In Chat" shows no one chatting, ever, but they are?

Can you help again?
Reply With Quote
  #536  
Old 01-23-2005, 09:10 PM
Toky0's Avatar
Toky0 Toky0 is offline
 
Join Date: Aug 2003
Location: USA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Newb here.. How do you uninstall this hack? I like it, but it's murder on my 56k users.
Reply With Quote
  #537  
Old 01-24-2005, 01:41 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I updated vb from .3 to .5 now what do I have to do to get this hack working again? There are no options in my admin cp and the who in chat is not showing up.
Reply With Quote
  #538  
Old 01-24-2005, 09:33 PM
NFLForums NFLForums is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toky0
Newb here.. How do you uninstall this hack? I like it, but it's murder on my 56k users.
Same here -- I love it, but occasionally posts disappear...and the dialup users are whining...so we have to go with a different format...
Reply With Quote
  #539  
Old 01-26-2005, 02:28 AM
MaXxed MaXxed is offline
 
Join Date: Jun 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also looking for some help to uninstall this, I hope someone could help us?
Reply With Quote
  #540  
Old 01-26-2005, 12:40 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1nf3rn0
ut that in and it took care of all the multiple names, all the commas. The only issue I currently have is each person sees themselves twice.

Looks much better! Any ideas why they still see themselves twice? (And edited to say that the "Who's In Chat" shows no one chatting, ever, but they are?
Did this, worked, but I see myself twice on the list. Any ideas?
Reply With Quote
  #541  
Old 01-26-2005, 01:44 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheSpecialist
Did this, worked, but I see myself twice on the list. Any ideas?
If I read all these problemes... I was planning to install it but I think I won't.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05844 seconds
  • Memory Usage 2,363KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete