vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Embedded chat (https://vborg.vbsupport.ru/showthread.php?t=36651)

Axel Foley 03-31-2002 11:16 PM

I also changed these 2 lines of code in the chatbit template:

Code:

<param name="FilterKeys" value="&gt;:) ;) :~( &sect;:o) :) :( :D :P lol LOL LoL">
<param name="FilterVals" value="gfx/evil.gif gfx/winkface.gif gfx/cry.gif gfx/clown.gif gfx/smile.gif gfx/frown.gif gfx/biggrin.gif gfx/tongue1.gif gfx/lol.gif gfx/lol.gif gfx/lol.gif">

To:

Code:

<param name="FilterKeys" value=":) ;) :( :~( :D :P >:) ?:o) lol LOL LoL">
<param name="FilterVals" value="chatgfx/smile.gif chatgfx/winkface.gif chatgfx/frown.gif chatgfx/cry.gif chatgfx/biggrin.gif chatgfx/tongue1.gif chatgfx/evil.gif chatgfx/clown.gif chatgfx/lol.gif chatgfx/lol.gif chatgfx/lol.gif">

The smilies didn't work...;)

You can also remove popup.js from the zip file, it isn't needed.

Lady, a question, there are OP functions for the BAN, but I don't see an unban action, does jPilot support it?

VolSports 04-01-2002 02:36 AM

for some reason my name stayed logged in..so when i eva i try to log in it says my name has already been taken...how do i log my name out now?

wot-Mike 04-01-2002 03:19 PM

Quote:

Originally posted by VolSports
for some reason my name stayed logged in..so when i eva i try to log in it says my name has already been taken...how do i log my name out now?
Depends on what chat you are using. Which one did you install?

Lucky 04-02-2002 01:24 AM

Great work my friend

atrl 04-02-2002 11:34 PM

How would i go about adding on my Main forum pages Users in Chat:

wot-Mike 04-03-2002 10:14 AM

(Hmm, sent a reply by email, but it's not showing up here???)

I'm working on such a thing, but there are some things to consider:
This is not an easy thing to make, and it will have a fair bit of impact on the vBulletin system. That is something I want to minimize at all cost. I think it's possible to do this without changes to the database, so at least we have that :)

Other things to consider: the time out. People in chat are no longer active under "vB terms" (as they are no longer browsing the forum, or whatever), which means their session will time out within 15 minutes or so. Any hack to display users in chat will have to deal with this stuff, which makes it much harder, especially since I want to minimize "hacking" at all costs.

Something else to consider: any such code might become totally useless with vB3, so is it worth the time or effort right now to create a hack that will surely NOT work under vB3?!

That doesn't mean I'm not looking into it though, hehe

Oh, those who peeked at our forums and noticed the one lined "users in chat" up and running there, the code for that can not and will not be made public :(

Oh, and version 1.4 of this hack is about ready, very much the same, but without that checking array, so setting particular sizes should be easier.

MarkB 04-03-2002 09:11 PM

Works fine! I'm using the same applet that vb.org uses on two vBs I admin for, and both work flawlessly (after setting them up on the same server as the IRC box) -- top work!! Thanks! :)

Tech_Koss 04-04-2002 12:28 AM

will this program affect bandwidth ??

wot-Mike 04-04-2002 05:16 AM

Depends on the chat you install, but if you use the raidersoft or similar service, then it won't cost bandwidth at all other then loading the chat page.
The applet gets loaded from raidersoft's server, and all communications is done between their server and the client pc's.

And thanks for the compliment, MarkB :)

Tech_Koss 04-04-2002 07:52 AM

Quote:

Originally posted by wot-Mike
Depends on the chat you install, but if you use the raidersoft or similar service, then it won't cost bandwidth at all other then loading the chat page.
The applet gets loaded from raidersoft's server, and all communications is done between their server and the client pc's.

And thanks for the compliment, MarkB :)

thats wonderful news!
thanks for the hack buddy! :classic:

tweak 04-07-2002 02:24 AM

IS it {ossible to make the CHAT appear Under your forum???? so when users log into the forum the chat would be below it???

beemer 04-07-2002 06:05 AM

This may sound simple to most, but how do you add a link in my site to the chat.php file? Where do you do this and how do I add a button to my page? Sorry guys but I am somewhat new to this.

tweak 04-07-2002 06:54 AM

Quote:

Originally posted by beemer
This may sound simple to most, but how do you add a link in my site to the chat.php file? Where do you do this and how do I add a button to my page? Sorry guys but I am somewhat new to this.
PHP Code:

 <a href="chat.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_chat.gif" alt="Chatroom" border="0"></a

you can add it anywhere u want in the header or where ever your buttons are located.

beemer 04-07-2002 07:19 AM

Thanks, that works but I am now getting a connection error. I can connect if I just use the link from my browser, but when integrated into my site, I get this error:

Unable to Connect
Server is teporarily unavailable. Please try again later.

As I said, this works fine in a browser but not from the site. I am using the professional version of Raidersoft.

Here is my chatbit template:

<applet codebase="http://freechat.raidersoft.com" archive="scclient4.zip" code="Client.class" width=$setwidth height=$setheight
<param name="port" value="45007">
<param name="room" value="my code is here">
<param name="canvaslength" value="1000">
<param name="USERNAME" value="$username">
</applet>

wot-Mike 04-07-2002 10:34 AM

Quote:

Originally posted by tweak
IS it {ossible to make the CHAT appear Under your forum???? so when users log into the forum the chat would be below it???
I think you mean under the forum on the main index page. Yes, it's possible, but people have a habit of passing by the index page a lot of times when visiting your forums. Meaning that they would log in and out each time they visit and leave the index. Believe me, that wouldn't make it much fun for those who are chatting. You can work with frames maybe.


And beemer, are you behind a firewall or proxy? If so then TCP ports 80 and 45007 need to be open on the firewall/proxy. Do you have an url to your forum? PM the url (and a test account) if you don't wish to go public with that info.

wot-Mike 04-07-2002 10:38 AM

Oh, and when adding a button, I don't think it would be nice to link to the one at vbulletin.org (bandwidth stealing)
Create your own button on your own site and use that one :)

beemer 04-07-2002 02:45 PM

Wot-Mike, the hack does work when using my browser, it just doesn't work when I use the link I created in my site. I am not using a firewall or proxy. I will create test account so you can see what I am doing.

wot-Mike 04-07-2002 03:34 PM

Just send you a reply PM :)

*crosses fingers*

wot-Mike 04-07-2002 03:37 PM

Oh, currently this mod checks for a valid vBulletin username.

Guests will be redirected to a login page when trying to enter chat, but any valid member will be given access. There's no support for seperate usergroups (yet?)

tweak 04-08-2002 01:51 AM

WEll On the Main index page Couldnt you make the CHAT POP UP??? is that possible? So they wouyld have a BOX opened and be free to surf the net.

wot-Mike 04-08-2002 02:47 PM

Here's something that you may be looking for:
http://vbulletin.com/forum/showthrea...threadid=43174
look at the last post

dgessler 04-09-2002 09:03 PM

Quote:

Originally posted by tweak
WEll On the Main index page Couldnt you make the CHAT POP UP??? is that possible? So they wouyld have a BOX opened and be free to surf the net.
Well on my site I just use the target=_blank feature in my link to let it popup in a new window, works fine.. :bunny:

ps. THANKS FOR THE HACK!! :)

It is working great on my forum, especially since the AfterNic Forums/Chat got taken down 2 days ago, we are trying to get old AN'ers to my board, I also got the pro version of the chat, it's awesome :)

wot-Mike 04-10-2002 05:51 AM

I'm using the blank thing as well. I showed that link, cause it's a beautiful way of linking to chat as well.

And thanks for the kind words :)

dprice 04-17-2002 11:49 AM

Installed this hack without any problems and was up and running in about 20 minutes!

Excellent work Mike!

Guess I have to get the ole credit card out and upgrade! Thanks again for the great work.

dprice 04-17-2002 07:14 PM

I have upgraded to the professional account and have went into the settings to give my moderators online administrator privledges.

I entered in the Forum name, left the password field blank, and checked online administrator.

BUT, when they log on, they dont have /ban /kick etc features. Is there a way around this?

wot-Mike 04-17-2002 07:53 PM

The auto-login feature doesn't really care about user accounts, so you can't login that way with any admin privileges. If you have admins set up without passwords, then please do assign passwords to their accounts to avoid mis-use.
auto-login works seperate from any user accounts.

There's an url to an admin thingy however. If you log in to your raidersoft account, then on the right you'll see the link. Just pass that link on to your fellow admins. They can login that admin thing using their account credentials and do whatever's necessary.

There's also an url their to the chat room via raidersoft's website. If you start it up from there, then you can login the "regular" way, with account credentials and such, but it's away from the forum.

dprice 04-17-2002 08:03 PM

Thanks for the update

Again, great hack!

wot-Mike 04-25-2002 09:28 PM

Small update:

This extra bit of code will allow Admins and SuperModerators to login to chat via their chat account credentials, and thus giving them admin control while in chat. You must ofcourse have accounts to log into (like the Professional chat in the case Raidersoft).

Every other forum member will still be logged in via auto-login. When an admin or supermoderator logs in, they get an invalid username warning, and can then log in manually.

Now, in chat.php find:
PHP Code:

eval("\$forumchat = \"".gettemplate("chatbit")."\";"); 

And before that, add this bit of code:
PHP Code:

if ($bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != 6) {
        
$username '';
    } 

There's a better way, but this is the easiest one to do :)

-=dm=- 04-26-2002 01:23 AM

Hi wot-mike
This is cool hack :)
I have little problem, when I login the chat it say user name takken :( (Im the admin)

and also on bottum of the page I get errors (sometimes)
something like this:
Quote:

HTTP/1.1 200 OK Date: Fri, 26 Apr 2002 02:07:12 GMT Server: Apache/1.3.23 (Unix) mod_gzip/1.3.19.1a mod_bwlimited/1.0 PHP/4.1.2 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.7 OpenSSL/0.9.6b X-Powered-By: PHP/4.1.2 Content-Encoding: gzip Content-Length: 1960 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html (and much more:()
I have the sigma free chat but Im going to get the pro version :)

FWC 04-26-2002 02:53 AM

Quote:

Originally posted by wot-Mike
Every other forum member will still be logged in via auto-login. When an admin or supermoderator logs in, they get an invalid username warning, and can then log in manually.
Thanks for the idea wot-Mike. I did it a little differently. Only two of us are chat moderators, so I took:
PHP Code:

if ($myLength 15) { 
$username substr$username1015 ); 
} else { 
$username $username1


and changed it to:
PHP Code:

if ($bbuserinfo['userid'] == or $bbuserinfo['userid'] == Y) {
    
$username '';
    } elseif (
$myLength 15) { 
    
$username substr$username1015 ); 
    } else { 
    
$username $username1


I just substituted our userids for X and Y and it works great. :)

wot-Mike 04-26-2002 02:45 PM

-=DM=-,
Sometimes when you get disconnected, your name stays logged in. Which is a bugger in the free chat, cause you can't do anything about it.
But you can still log in using a different name :)

The errors you have, I had those as well. In my case they were the result of having gzip turned on the server as well as in vBulletin.
If gzip is already active on your website, then you don't need to set the options for it in vBulletin, so turn it off in the vB admin panel.


And that's another cool of doing it FWC. Thanks for sharing that :)

tkeil69575 04-30-2002 12:48 PM

Hi Mike,
I just installed your hack and its working great. Thanks for the great work. Im quite happy with the chat from raidersoft and updated to pro now.

The only think thats really bugging me (cause my users are asking for it constantly) is the "Who is in Chat" on the index.php.
I know you said your not making your Solution public, so may I be bold and ask if you'd make it "un-public" like via mail?

regards
Tina

Quote:

Originally posted by wot-Mike
Oh, those who peeked at our forums and noticed the one lined "users in chat" up and running there, the code for that can not and will not be made public :(

Oh, and version 1.4 of this hack is about ready, very much the same, but without that checking array, so setting particular sizes should be easier. [/B]

wot-Mike 04-30-2002 04:32 PM

There's nothing bold about asking, Tina :)

It's not about public or not. It's a promise to keep some information from going public to anyone but ourselves.

I haven't done any work for a "Who's Chatting" yet. I've not been well for a couple of weeks, and didn't feel like doing anything. Guess it's about time I started working on this, but it will be a big change, and it will contain changes to the vB database, which sucks in my opinion, but there's no other way.

tkeil69575 04-30-2002 04:45 PM

Hi Mike,
ok, I understand and sorry to hear you haven't been well. Hope you get better soon.

Yes, Ive been searching here for some solution, but as you say it involves Database changes. And I don't like that idea either. One thought came to me today though. What about reading the logfile supplied by raidersoft. I guess though you'd need permission from them and the version supplied has stuff in it which would have to be filtered out.

Mmh guess I'll have to wait till you get your version out ...

Tina :)

-=dm=- 04-30-2002 05:11 PM

Hi Wot-Mike
ok everything working fine now :)
I have now purchased the pro version hehe cool mate.
the message color inside the chat how do I change that?I couldnt find it anywhere in the templates:( I know I can change all other colors in the admin section for the chatroom.

thanx :)

mtalcott 04-30-2002 11:50 PM

Hello... I so want a chat on my forums, however I am afraid I will really mess it up... Is there anyone willing to install this hack and a chat program for me? I can work out something in trade... gift certificate from amazon? name a fee?

thanks
please pm me, i want to add this asap!

wot-Mike 05-01-2002 02:23 PM

Quote:

Originally posted by mtalcott
Hello... I so want a chat on my forums, however I am afraid I will really mess it up... Is there anyone willing to install this hack and a chat program for me? I can work out something in trade... gift certificate from amazon? name a fee?

thanks
please pm me, i want to add this asap!

Hey, if you follow the simplest way, then there's no way you can mess up. The simplest way of installing this hack is:

* Sign up for a (free) chatroom
* Just upload the chat.php to your forums directory
* Edit the chatbit template to link to the correct chatroomnumber
* Link to the chat.php from your forums


That's really it. Nothing more is needed to integrate this hack. There's still a small hack for cosmetic reasons, but it's not required. Download the zip for better instructions.

Just remember that if you edit files .php files, then use a good text editor and NOT something like Wordpad. I use Editpad Lite, but more good tools are mentioned in the hacking tips forum I believe.
If you still need help, then PM me :)

And Tina, thanks! You're really a nice person :)
Using the logfiles is not really an option. They can grow pretty big (mine are well over 200 KB at some point), and you'ld have to download them over and over again. The extra bandwidth consumption for RaiderSoft would go through the roof. It wouldn't be fair, or affordable, for anyone.
I'll start working on the Who's Chatting thingy now :)

-=dm=- 05-01-2002 07:48 PM

Quote:

Originally posted by wot-Mike

I'll start working on the Who's Chatting thingy now :)

sounds great :)

malken00 05-02-2002 01:16 AM

wotmike:

Which chat provider are you using? I would prefer to stay away from banners, and don't mind paying a fee.

wot-Mike 05-02-2002 05:40 AM

Check the very first post in this thread for a link to the one we use ;)


All times are GMT. The time now is 08:06 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.01442 seconds
  • Memory Usage 1,852KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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