vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=71049

vBChat v2.3
by Zero Tolerance
27 Oct 2004 08:52

10 Attachment(s)
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: [email protected]
Thanks to all those who have currently donated for this modification!

Enjoy :)

- Zero Tolerance

Skyline_GT 27 Oct 2004 08:55

very nice ZT:)

/me installed:)

ice chrono 27 Oct 2004 08:58

Sweet code man
i installed it in less than 7 minuts :-D

bendigo-tech 27 Oct 2004 09:22

Fantastic work buddy! Installed in a matter of minutes.

Cheers :)

mrcancel 27 Oct 2004 10:01

installed !!! thanks for this mod !

HiDeo 27 Oct 2004 10:14

Thanks for this nice hack ;)

Cyn 27 Oct 2004 14:24

It looks veeeeeeeery nice ZT!! Bravo!! And I must compliment you on the excellent instructions. Worded very clearly and with examples for those who are not experienced in code modifying.

One question - If I ban specific usergroups will they be aware that the chat is present? In other words is it possible for me to upload this for use by administrators and moderators only without the other forum members aware of it?

AlexanderT 27 Oct 2004 16:16

Wooow!

Bolas 27 Oct 2004 17:08

very nice!

But Are U able to let people (by usergroup or not...) to create private chat rooms with or without password (or filter by username)? :D

SVTOA 27 Oct 2004 17:39

Awesome, well done!

nautiqeman 27 Oct 2004 17:41

/me installs

TheRealFragger 27 Oct 2004 18:01

/me installs the crap outta it

I need a new chat, good job man all my users thank you

Red Blaze 27 Oct 2004 18:11

Works well for VB 3.0.0. *clicks install* :)

TheRealFragger 27 Oct 2004 18:37

there is one thing so far that i do not like, its the fact that if there are enough messages to warrent a scroll bar it pops back to the top of the page so i have to scroll back down. When it gets populated it might be a problem

EDIT: It also does this when it refreshes too

EDIT2: my little temp fix is to limit the number of messages i changed in vbchat.php;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

into


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


mrcancel 27 Oct 2004 19:56

Quote:

Originally Posted by Bolas
very nice!

But Are U able to let people (by usergroup or not...) to create private chat rooms with or without password (or filter by username)? :D

Ya, me too !
I want to creat private chat rooms !!!

NuclioN 27 Oct 2004 20:34

Nice :) The refresh is a flash of white, can this be dark so a refresh is not so...noticable?

Red Blaze 27 Oct 2004 21:53

Quote:

Originally Posted by TheRealFragger
there is one thing so far that i do not like, its the fact that if there are enough messages to warrent a scroll bar it pops back to the top of the page so i have to scroll back down. When it gets populated it might be a problem

EDIT: It also does this when it refreshes too

Well, I think it'd be better if the messages were from top to bottom rather bottom to top. In other words, instead of the new messages being the bottom ones, make the new messages appear at the top.

SVTOA 27 Oct 2004 21:58

Quote:

Originally Posted by TheRealFragger
there is one thing so far that i do not like, its the fact that if there are enough messages to warrent a scroll bar it pops back to the top of the page so i have to scroll back down. When it gets populated it might be a problem

EDIT: It also does this when it refreshes too

EDIT2: my little temp fix is to limit the number of messages i changed in vbchat.php;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

into


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


I had to set it to 10 to work for me... There must be a line we can chage so it will not go to the top, as this is the only complaint members have, although your solution seems to work ok. As long as nobody posts a picture that is. :D

TheRealFragger 27 Oct 2004 22:22

i have it set to 13 because of the fact that i have quite a few in there and some of the messages got lost

EDIT: and i agree with bolth of you

bendigo-tech 28 Oct 2004 00:02

Quote:

Originally Posted by TheRealFragger
there is one thing so far that i do not like, its the fact that if there are enough messages to warrent a scroll bar it pops back to the top of the page so i have to scroll back down. When it gets populated it might be a problem

That is the only thing I don't like about it as well. Thanks for your little workaround. Worked a treat!

Cheers :)

Zero Tolerance 28 Oct 2004 00:25

Yeah i have updated the one on my forum so it auto scrolls down., part of v1.0.1

I will be including other features such as:
Create Rooms
/noicon command (cancels out emoticons)
Choose message order (top-bottom / bottom-top)
Display Name's for the chat
/msg {user} command (only the user inputted will see the message)

As for th flash of white, im afraid that cant be changed, on load the webpage is white, this will only occur for people on slower modems tho.

- Zero Tolerance

SVTOA 28 Oct 2004 00:31

Zero T- Will there be an upgrade script as well? I have other forums I would like to install this on, perhaps i should wait for the update?

Very nice work, thank you sharing this with us.

Zero Tolerance 28 Oct 2004 00:34

Yes there will be an update script and a fresh install script when new versions are released :)

- Zero Tolerance

SVTOA 28 Oct 2004 00:38

Quote:

Originally Posted by Zero Tolerance
Yes there will be an update script and a fresh install script when new versions are released :)

- Zero Tolerance


Spoken like a true professional. :)

Sypher 28 Oct 2004 00:39

nice hack zt!

dndog 28 Oct 2004 01:33

Awesome.

/me clicks install

Skaterscafe.com 28 Oct 2004 01:38

Awsome.

ZT, I have one question....I have the vBadvanced CMPS v1.0.0 and in the AdminCP/index.php there's really nothing there just a few statements, nothing like should be...any suggestions?

Here is what's in the file:


<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0 RC2 ||
// || 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

http://www.skaterscafe.com/public.html

// ============================================
// No Further Editing Necessary!
// ============================================

require_once('./global.php');

print_portal_output($home);

?>

Zero Tolerance 28 Oct 2004 03:03

Well i havnt used the vBAdvanced Portal cms thingy, but are you sure your admin files are not in another directory, or the admin index.php is renamed to something else when you install this? If so then edit the renamed file.

vBChat v1.0.1 40% Done

- Zero Tolerance

SVTOA 28 Oct 2004 05:13

ZT, you are top-notch. Upgrade worked perfectly.

Zero Tolerance 28 Oct 2004 05:27

Good to hear :)

Enjoy the new features.

- Zero Tolerance

Blam Forumz 28 Oct 2004 06:04

Installed v1.0.0, but it doesnt show up on any skin but the default, any ideas?

bendigo-tech 28 Oct 2004 06:06

Upgraded to 1.0.1 and that went nicely. I get the following error though when I try and change where the newest message appears:

Warning: Cannot modify header information - headers already sent by (output started at /home/raywells/public_html/forums/includes/adminfunctions.php:223) in /home/raywells/public_html/forums/admincp/admin_vbchat.php on line 126

yinyang 28 Oct 2004 06:30

excellent work *clicks install*. is it possible to put to create a vbadvanced module and put this chat in there instead of having it's own page? then it can be left on in the home portal page and people can instantaneously join and see what's going on.

Zero Tolerance 28 Oct 2004 07:57

Quote:

Originally Posted by Blam Forumz
Installed v1.0.0, but it doesnt show up on any skin but the default, any ideas?

Change your "default skin" in your vb options, then run the skin installer part, it will then install on that skin :)

Quote:

Originally Posted by bendigo-tech
Upgraded to 1.0.1 and that went nicely. I get the following error though when I try and change where the newest message appears:

Warning: Cannot modify header information - headers already sent by (output started at /home/raywells/public_html/forums/includes/adminfunctions.php:223) in /home/raywells/public_html/forums/admincp/admin_vbchat.php on line 126

I decided not to go with redirects with this acp control, so i used the header(); function, now default the vb acp does not echo/output any html before the script has executed, so a modification has changed this, you will have to find out what im afraid.

Quote:

Originally Posted by yinyang
excellent work *clicks install*. is it possible to put to create a vbadvanced module and put this chat in there instead of having it's own page? then it can be left on in the home portal page and people can instantaneously join and see what's going on.

I arn't familiar with the system but ill look to see what i can do :)

- Zero Tolerance

Blam Forumz 28 Oct 2004 10:07

Quote:

Originally Posted by Zero Tolerance
Change your "default skin" in your vb options, then run the skin installer part, it will then install on that skin :)


Thanks,

0_0

I have to do alot of non-lazy mans work now

Blam Forumz 28 Oct 2004 10:30

1 Attachment(s)
Ok, sorry for the trouble, but how would i do these? (Attached image)

Blam Forumz 28 Oct 2004 15:33

Also

why doesnt the child style inherit the templates from the parent style when it comes to this hack?

Lethal 28 Oct 2004 16:05

can you show users currently in chat on forumhome?

Bolas 28 Oct 2004 17:13

SuperHack! :)
I'm sure that Zero is reserving us lot of features for the next upgrade! ;)

Zero Tolerance 28 Oct 2004 18:17

@Blam Forumz:

You need to change your skin to get rid of the background, the chat uses iframes, and also modify the templates to merge the menu's.
And the templates added get inherited to child styles, if you install it on the parent style.
______________________________________________

@Lethal

It is a possibility for future versions
______________________________________________

@Bolas

Seems your 1 step ahead.
______________________________________________

- Zero Tolerance

TheRealFragger 28 Oct 2004 18:20

ZT i thank you for the quick response and fixes. This great hack just got better :)

NuclioN 28 Oct 2004 19:17

Zero, is it possible to transform this so it will function as a shoutbox alternative in the forumhome template? It then needs to be smaller. I've tried this but can't modify it as it sould be. Maybe it has to have a refreshbutton because people are complaining about the flash-refresh.

busy boards??
by Nordinho
28 Oct 2004 19:44

Heya,

The hack looks great, but can it be used on busy boards/does it use a lot of server resources??

Greets,

Blam Forumz 28 Oct 2004 20:35

Quote:

Originally Posted by Zero Tolerance
@Blam Forumz:

You need to change your skin to get rid of the background, the chat uses iframes, and also modify the templates to merge the menu's.
And the templates added get inherited to child styles, if you install it on the parent style.
- Zero Tolerance

I did instal it on the parent style :| maybe i just messed up somewhere

Thanks for the advice on the first one though (I like my background :( oh well)

I tried modifying the templates, but i couldnt ;| Everytime i tried, i messed up

Polo 28 Oct 2004 20:49

thanks Zero Tolerance i may give it a try :)

khaleel 28 Oct 2004 21:39

Looks AWESOME! Just what ive been looking for ill post back once ive installed it and give some feedback thanks mate :D

scrollbar
by crashys
28 Oct 2004 22:55

hi there, im kinda new to these things, so im having a little problem, I need to change the vBChat scrollbar colors to the ones I have in my website, can you guys point me out the code to do it? I dont know, maybe ZT knows it, or any of you guys? Thanks in advance :)

Zero Tolerance 29 Oct 2004 01:31

Quote:

Originally Posted by NuclioN
Zero, is it possible to transform this so it will function as a shoutbox alternative in the forumhome template? It then needs to be smaller. I've tried this but can't modify it as it sould be. Maybe it has to have a refreshbutton because people are complaining about the flash-refresh.

The whole idea is that this program is a chat client, not a shoutbox. If you desire a shoutbox i suggest you actually install a shoutbox, theres a few floating around here on vbulletin.org

Quote:

Originally Posted by Nordinho
Heya,

The hack looks great, but can it be used on busy boards/does it use a lot of server resources??

Greets,

vBChat Page uses 1 extra query to the default vb amount, so thats 6, iframes use 1-3 queries. So id say it uses hardly any resources what so ever.

Quote:

Originally Posted by crashys
hi there, im kinda new to these things, so im having a little problem, I need to change the vBChat scrollbar colors to the ones I have in my website, can you guys point me out the code to do it? I dont know, maybe ZT knows it, or any of you guys? Thanks in advance

On your website no doubt your scroll bar colours are structured something like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the "BODY" to "HTML" and stick it in your forums skin css additional css. If your not sure where that is then follow these guidelines:

ACP -> Styles & Templates -> Style Manager -> Main CSS -> Scroll To Very Bottom To See: Additional CSS Definitions -> Paste CSS In There.

Hope that helps you,

- Zero Tolerance

miz 29 Oct 2004 03:35

hey Zero Tolerance, few words :

i have downloaded this hack (didnt installed it yet) and took a look on the code
i must say it is a very clean and impressive coding, also from what i see around no problems or any major bugs. very good work and only 1 word to say

wow.

Thank you for sharing your great work with us.
MiZ.

Red Blaze 29 Oct 2004 04:08

Ah, so much better. Do you have other plans for this?

Question: Where do I edit to change the background of the IFrame? o.O;

OrangeFlea 29 Oct 2004 04:39

One of the questions I would like to have seen an answer to went largely ignored. Is there a way to show the users in chat (or at least how many are in chat) on the forumhome? If so, then you've answered my 3 month-long prayers.

Squally 29 Oct 2004 05:05

First of all, great job man. Question though, I seem to be having a problem with the users online, it keeps taking everyone off except for me. So people are in there but they aren't showing up on my screen.

Zero Tolerance 29 Oct 2004 05:57

Quote:

Originally Posted by miz
hey Zero Tolerance, few words :

i have downloaded this hack (didnt installed it yet) and took a look on the code
i must say it is a very clean and impressive coding, also from what i see around no problems or any major bugs. very good work and only 1 word to say

wow.

Thank you for sharing your great work with us.
MiZ.

Thanks, small code so it was easy to tidy up to look presentable :)

Quote:

Originally Posted by Sonikku
Ah, so much better. Do you have other plans for this?

Question: Where do I edit to change the background of the IFrame? o.O;

Modify your skins css in the acp, change the body background attributes so it has no image, but this will cause the bg image to be removed on all pages.

Quote:

Originally Posted by OrangeFlea
One of the questions I would like to have seen an answer to went largely ignored. Is there a way to show the users in chat (or at least how many are in chat) on the forumhome? If so, then you've answered my 3 month-long prayers.

Im pretty sure i answered the same question a couple of pages back, anyway, as i said before, this is a feature to be in a possible future versions.

Quote:

Originally Posted by Squally
First of all, great job man. Question though, I seem to be having a problem with the users online, it keeps taking everyone off except for me. So people are in there but they aren't showing up on my screen.

Depending on the user's browser and ISP this may occur, to get the users in chat a query is ran to see who is on the vBChat page, if there browser/ISP is causing the session to delete and recreate on every page load then it may result in users in chat appearing and disapearing over and over.

- Zero Tolerance

StevenIsProek 29 Oct 2004 09:16

thanks bro

Nordinho 29 Oct 2004 11:20

Quote:

vBChat Page uses 1 extra query to the default vb amount, so thats 6, iframes use 1-3 queries. So id say it uses hardly any resources what so ever.
Just installed it...excellent instructions and easy install (5 min)..thanks a lot!!

Greets Nordinho,

Red Blaze 29 Oct 2004 16:31

*hrm* So there is no body tag in these templates for it? Thing is my bg clashes with the text and you can't see it that well unless highlighted.

Also a suggestion: How about having an option to make the chat page a pop up. No navigation bar or address bar. Just the window alone with the Iframes. That would work well when users want to surf the forums and chat at the same time.

crashys 29 Oct 2004 19:04

Okay, thanks for the scrollbar info, im going to try it out. :)

djjeffa 30 Oct 2004 00:01

damm even a newb like me installed it no problem

lisagriff 31 Oct 2004 04:38

Great chat however,

I changed the iframe background color to white so the whole background doesn't flash everytime it refreshes and that helped. Is there anyway to refresh and not have the text flash? It is SO distracting and difficult to look at for very long. Or did I do something wrong when I installed it?

Lisa

Wential 31 Oct 2004 05:30

How did you change the background color to white? I'd like to do the same.

lisagriff 31 Oct 2004 12:53

to change background to white:

chat_iframe template

change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Lisa

RWDF1 31 Oct 2004 15:19

it is installed and working fine. I wanted a chat room for my forum for a while, but most were external and not intigrated with the forum, and I had no control over who would use them. This one is different, it meets all my needs and I can control who uses it, IE only members.

THANK YOU.

djjeffa 31 Oct 2004 16:38

Quote:

Originally Posted by lisagriff
Great chat however,

I changed the iframe background color to white so the whole background doesn't flash everytime it refreshes and that helped. Is there anyway to refresh and not have the text flash? It is SO distracting and difficult to look at for very long. Or did I do something wrong when I installed it?

Lisa


Quote:

Originally Posted by Zero Tolerance
As for th flash of white, im afraid that cant be changed, on load the webpage is white, this will only occur for people on slower modems tho.

- Zero Tolerance

Now I need to figer out how to ad a smilly menue on the template and also I would like too add a whos in chat on the index but I searched with no luck
Besides that its awsome

madhouse 31 Oct 2004 19:32

Zero Tolerance,

Just a suggestion or an idea is to actually have like an announcement script to post to the vbchat system sorta like a news post that runs thru every 2 to 3 minutes like irc does.
If its possible then this would be a great add-on for it.

Red Blaze 31 Oct 2004 21:41

Quote:

Originally Posted by lisagriff
to change background to white:

chat_iframe template

change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Lisa


That didn't really fix it. o.o;

Zero Tolerance 31 Oct 2004 23:45

Try changing

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Announcement idea sounds good, i was thinking of implementing when i thought about multiple-rooms, since then it would post it all rooms.

User's currently in chat on the index page will be in the next version btw peeps :)

- Zero Tolerance

arpy 01 Nov 2004 01:02

Hi,

Thank you for this great hack, I've been waiting for this.

/me clicks install ;)

A few post above there was the suggestion to show how many people are online on "whoisonline".

Because this type of chat uses many resources on server, a max. user count would be very nice.

Another suggestion is to update the "who is in chat" only every 60 seconds (maybe include a button to refresh immediatly...

arpy

Ganon 01 Nov 2004 01:48

Hmm, looks interesting. Does it have an option to show who'se online in chat near the forum who'se online list by any chance?

lisagriff 01 Nov 2004 02:24

Quote:

Quote:
Originally Posted by Zero Tolerance
As for th flash of white, im afraid that cant be changed, on load the webpage is white, this will only occur for people on slower modems tho.

- Zero Tolerance
The white flashed even on my DSL until I changed the background to white. But what I was really referring to in my previous post was that not only did the white flash, but the text also flashes when it refreshes.

So now the background doesn't flash but the text does!

Quote:

<body class=' '>
I knew I could change the bgcolor instead of hte class but I wanted to leave it there for the time being until all was set up the way I wanted it to so that I wouldn't forget where to change it back if I wanted to.

Lisa

SVTOA 01 Nov 2004 03:02

Quote:

Originally Posted by Ganon
Hmm, looks interesting. Does it have an option to show who'se online in chat near the forum who'se online list by any chance?


Yes it does clearly show who is in chat if one views "Who's Online" (and has proper permissions to do so)
One of the filemods is to includes/functions_online.php

SVTOA 01 Nov 2004 03:06

Just re-read your request, sorry, it sounds like you mean in addition to the forumhome listing of who is on line you want to see who is in chat without having to click the who's online detail link. There is no option for that.

Red Blaze 01 Nov 2004 04:48

For some reason it still doesn't work. I'll figure out what I'm doing wrong eventually.

TwinsForMe 01 Nov 2004 04:54

Thanks. Great hack!

lisagriff 01 Nov 2004 08:30

Quote:

So now the background doesn't flash but the text does!
I just want to make sure that this is the way it is suppose to be working as I am not familiar with any other chat programs other than ICQ, MSN, etc... and they don't do this.

Is the text suppose to "blink" when the screen refreshes?

Thanks,
Lisa

djjeffa 01 Nov 2004 12:38

Quote:

Originally Posted by lisagriff
I just want to make sure that this is the way it is suppose to be working as I am not familiar with any other chat programs other than ICQ, MSN, etc... and they don't do this.

Is the text suppose to "blink" when the screen refreshes?

Thanks,
Lisa

Yes :nervous:

djjeffa 01 Nov 2004 12:40

Quote:

Originally Posted by lisagriff
I just want to make sure that this is the way it is suppose to be working as I am not familiar with any other chat programs other than ICQ, MSN, etc... and they don't do this.

Is the text suppose to "blink" when the screen refreshes?

Thanks,
Lisa

Yes it dose

coldpride 01 Nov 2004 16:16

Very good ZT :) 2/5 of my users use netscape/firefox so :)

TheRealFragger 01 Nov 2004 17:17

quick question: when does the "Users Currently In vBChat" refresh. It seems to take forever. For example one of my members that Whos Online doesnt show to be on the forums is somehow still in chat. Its kinda odd to be chatting to someone who isnt there anymore

Zero Tolerance 01 Nov 2004 20:49

The text may blink for slow modems because the page has to refresh, remember php outputs an HTML page and is not an applet, so cant dynamicly change, so a reload is needed im afraid.

And to the person who said this uses a lot of server resources needs to re-check the code, it barely uses anything at all, an additional 1 query on the page, the users in chat iframe uses 1 query, and the chat itself uses 1 query (possibly an extra few for extra msg's and such), but barely anything compared to the rest of the default page's on vBulletin forums itself.

As for refresh taking forever, possibly your server loading slow perhaps, both frames are set to refresh every 8 seconds.

As for giving me the code for the chat in forum-index, no need, its only a simple bit of php to draw out the data already loaded and a template edit, thanks for the offer but i prefer to do things on my own :)

- Zero Tolerance

TheRealFragger 01 Nov 2004 20:58

plus the /me is screwed up with bbcode is on like:

[11-01-2004 03:55 PM] Gdog4evr: * is scratching himself
[11-01-2004 03:55 PM] Warlord140: * is playing burnout 3
[11-01-2004 03:54 PM] TheRealFragger: +5 zing
[11-01-2004 03:54 PM] Warlord140: oh ok

TwinsForMe 01 Nov 2004 21:36

How do I uninstall this?

Bounce 01 Nov 2004 21:53

Quote:

Originally Posted by Zero Tolerance

User's currently in chat on the index page will be in the next version btw peeps :)

- Zero Tolerance

when's the next version https://www.vbulletin.org/forum/external/2005/04/3.gif

TwinsForMe 01 Nov 2004 22:48

Can anyone tell me how to uninstall it?

Blam Forumz 01 Nov 2004 22:52

run the /admincp/vbchat_install.php then click uninstall

TwinsForMe 01 Nov 2004 22:56

I tried that but it doesn't have an uninstall option.

ap0c 01 Nov 2004 23:01

sounds like a good script, will install. One option people will ask for, sound when a new message appears or when someone enters the room

Bounce 01 Nov 2004 23:03

Quote:

Originally Posted by Zero Tolerance
The text may blink for slow modems because the page has to refresh, remember php outputs an HTML page and is not an applet, so cant dynamicly change, so a reload is needed im afraid.

And to the person who said this uses a lot of server resources needs to re-check the code, it barely uses anything at all, an additional 1 query on the page, the users in chat iframe uses 1 query, and the chat itself uses 1 query (possibly an extra few for extra msg's and such), but barely anything compared to the rest of the default page's on vBulletin forums itself.

As for refresh taking forever, possibly your server loading slow perhaps, both frames are set to refresh every 8 seconds.

As for giving me the code for the chat in forum-index, no need, its only a simple bit of php to draw out the data already loaded and a template edit, thanks for the offer but i prefer to do things on my own :)

- Zero Tolerance

Hi Zero

Quality hack mate

Is there a way to change it from 8secs to longer, i'm on 1.5 meg connection speeds and it blinks every 4-5 secs and is quite annoying - althou you do get used to it :nervous:

TwinsForMe 01 Nov 2004 23:12

I figured it out.

Rambo 01 Nov 2004 23:18

Installed and works a charm!

lisagriff 02 Nov 2004 01:04

I just found out that the text blinks on my LCD monitor, but not on my regular monitor and both computers are hooked up to DSL (1.5 meg). Must be the difference in the way the screens are refreshed or in the refresh rates. Or could it possibly be the video card? Anybody know?

I will need to be able to explain this in case anyone complains about it after my site goes live.

Thanks,
Lisa

Red Blaze 02 Nov 2004 03:19

2 Attachment(s)
It's actually the performance of your computer. Has nothing to do with monitors. :p For me, it sometimes blinks, but that's because of my server.

Here's a little something I wiped up. A few template edits to make it a pop up. Hope I didn't forget anything. I put a warning there saying to back up your templates. So do so. :p

If I'm brakin' some rule, I apologize and will take down the files. ._.'

lisagriff 02 Nov 2004 05:08

Would you care to elaborate on the reasoning why it has to do with my computer? I am really curious. This computer is the best one out of all the ones I tried and none of the others had any problems.

Lisa

Red Blaze 02 Nov 2004 05:52

No no, you said about it being your monitor or something. Or perhaps I misunderstood somewhere. But yeah, it's rather the performance of your computer, the browser, or the server your on. As far as I know, one of those could be it, but I'm sure there's other reasons that I'm not aware of.

qwertzu 02 Nov 2004 14:40

Quote:

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

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

Upgraders from 1.0.0 To 1.0.1 use an "automatic" upgrader script, makes everything so easy

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

Enjoy :)

- Zero Tolerance

thanks a lot
a least a good chat for vb3

qwertzu 02 Nov 2004 15:36

hi ZT
i got a problem with the refresh.......... how can i change it in 20 sec for example?
thanks a lot

Bounce 02 Nov 2004 21:39

Quote:

Originally Posted by lisagriff
Would you care to elaborate on the reasoning why it has to do with my computer? I am really curious. This computer is the best one out of all the ones I tried and none of the others had any problems.

Lisa

Our chat room is the same, its blinks contantly and the users don't like it

I've had to revert back to the sigma chat room i have also :ermm:

I liked the look about the vB one thou

Still maybe future versions will iron out the probs :rolleyes:

SuperGLS 03 Nov 2004 03:28

Thanks for the hack.

I'm eagerly awaiting the new versions.

Zero Tolerance 03 Nov 2004 04:15

The blinking text cannot be fixed, as i have explained before the page requires to reload, which may or may not result in blinking text, which depends on a few factors, mainly been:
Server speed, connection speed, cpu processor speed.

And for those wishing to change the refresh rate timer, edit the template "chat_main"
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the 8000 to what you want it to be.

Troobleshooting: 8000 = 8 Seconds, Thus 10000 = 10 Seconds.

And new versions will be released when new versions have been completed, thats the best answer i can give to that question =)

- Zero Tolerance

Wayne2k1.com 03 Nov 2004 11:11

Installed, and works fine :D

Good job ;)

Wayne2k1.com 03 Nov 2004 11:20

One question, since my chat will (probably) be kinda crowded: is there a way to make the admin name both in the chat window and in the user window differently colored?

:)


All times are GMT. The time now is 07:44.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.