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)

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. :)


All times are GMT. The time now is 09:33 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.01218 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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