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)
-   -   A phpMyChat integration Hack (https://vborg.vbsupport.ru/showthread.php?t=21329)

Stasik 08-29-2001 06:08 PM

show url plz ;)

PuntoZ3r0 08-29-2001 11:46 PM

url
http://www.pourquoipas.it
the forum is here..
http://www.pourquoipas.it/forum
Now I'm using a MultyChat.
(Just to have a chat..)
Oh..
It's in Italian.. (yeah.. translated..)

phpMyChat is HERE

thx

Sarge 08-30-2001 12:21 AM

// Registration of users
define("C_REQUIRE_REGISTER", '0');
define("C_EMAIL_PASWD", '0');

I changed my setting to that

phpMyChat 0.14.5
And vb 2.0 but I cannot login. I can login and change my profile but if I try to login under
http://www.dlrarmy.com/forums/chat/index.php3 it tells me wrong password

It alos wont allow new registrations

Anyone know?

Sarge 08-30-2001 12:56 AM

oh yeah this is from a fresh install

(never had it before)
and it was working fine till I added the changes

Stasik 08-30-2001 04:32 AM

Quote:

Originally posted by Sarge
oh yeah this is from a fresh install

(never had it before)
and it was working fine till I added the changes

why have u changed it?

Stasik 08-30-2001 04:33 AM

Quote:

Originally posted by PuntoZ3r0
url
http://www.pourquoipas.it
the forum is here..
http://www.pourquoipas.it/forum
Now I'm using a MultyChat.
(Just to have a chat..)
Oh..
It's in Italian.. (yeah.. translated..)

phpMyChat is HERE

thx

i can only suppost to try the english version, mayne there is a problem with language.... reallly dont know why

Sarge 08-30-2001 01:07 PM

Quote:

Originally posted by Stasik


why have u changed it?

It worked fine earlier in the day until I added this hack

Stasik 08-31-2001 03:33 AM

i dont understand why it works fine for me and many other users

gokeeper 09-04-2001 12:45 PM

i am using phpmychat 14.5
after i edit the index.lib.php3 file
chat/index.php3 show 2 errors

Parse error: parse error in /usr/local/gokeeper/htdocs/chat/lib/index.lib.php3 on line 275

Fatal error: Call to undefined function: send_headers() in /usr/local/gokeeper/htdocs/chat/index.php3 on line 20

Stasik 09-04-2001 01:11 PM

can u post your line 275 here?

gokeeper 09-04-2001 01:50 PM

273 if($exit == "1"){header ("Location: $exiturl"); exit;}
274 }
275 }
276 }

Stasik 09-04-2001 02:08 PM

are u sure u have installed the hack correctly?

gokeeper 09-04-2001 03:42 PM

i think so...
just find and replace in 2 files
and modi the vb &chat location
without doing anything else...:(
ft..

can u give me a index.lib.php file include the hack?
thx

Stasik 09-04-2001 05:05 PM

u had to repace paths and $exitur there and rename it from txt

jhkvi 09-09-2001 04:12 PM

Have you figured out how to enable users to use the /join command? Or is this an impossible dream?:rolleyes:

Stasik 09-09-2001 05:55 PM

yes.... i have done it.... searching now for changes i have done :(

jhkvi 09-10-2001 12:33 AM

Great:cool:

I am awaitng your next reply.

VirtueTech 09-26-2001 04:47 AM

any updates? :)

Stasik 09-26-2001 11:27 AM

no time.. :( AND its hard to find changes now.... :( stay turned

diavolo11 09-28-2001 11:15 AM

I am so close--

Fatal error: Call to undefined function: layout() in /usr/local/www/htdocs/texasflashers/chat/index.php3 on line 43
-
What's that mean?

Stasik 09-28-2001 11:27 AM

no idea.... has u installed it ok_

diavolo11 09-28-2001 11:46 AM

i think so --I am getting this now
Fatal error: Cannot instantiate non-existent class: db in /usr/local/www/htdocs/texasflashers/chat/lib/index.lib.php3 on line 186

Stasik 09-28-2001 12:03 PM

post this line here....

make sure all mySQL-workings files are included

diavolo11 09-28-2001 12:24 PM

thanks for the quick replys, I will try this later on today, but befor you go..can you tell me a quick way to find this line? I don't wanna count to 200.

Stasik 09-28-2001 04:25 PM

search inet for editr with line names

diavolo11 09-28-2001 07:35 PM

here is the line:
$DbLink = new DB;

Stasik 09-28-2001 11:15 PM

are the mysql.php and another things connected correctly? had it worked before installing the hack?

diavolo11 09-28-2001 11:32 PM

yup here check it:
http://www.texasflashers.org/chat/index.php3

H3NrY 10-01-2001 09:11 AM

Where in index.php do I add the code??? I cant seem to get it working :(

Stasik 10-01-2001 01:44 PM

You should add code to /lib/index.lib.php3

H3NrY 10-01-2001 01:48 PM

I dont get it ... I want a new section under "Currently Active Users" ... How do I add it in Vbulletin's index.php??

H3NrY 10-01-2001 02:42 PM

I just want this integrated with "Currently Active Users" Its working but how to get it integrated?

Code:

<?php
// This script is an example of display, in another page of your website,
// the list or number of users connected to the chat

// Lines below must be at the top of your file and completed according
// to your settings

// relative path from this page to your chat directory
$ChatPath = "../../chat/web/";

// HTML link to launch the chat (used by constants below)
$ChatLaunch = "<A HREF=\"http://my.url.nl\~chat\" TARGET=\"_self\">chatting</A>";

$ShowPrivate = "1";    // 1 to display users even if they are in a private room,
                                                // 0 else

$DisplayUsers = "1";    // 0 to display only the number of connected users
                        // 1 to display a list of users

define("NB_USERS_IN","users are ".$ChatLaunch." at this time.");        // used if $DisplayUsers = 0
define("USERS_LOGIN","User ".$ChatLaunch." at this time:");                        // used if $DisplayUsers = 1
define("NO_USER","Nobody is ".$ChatLaunch." at this time.");

require("./${ChatPath}/lib/connected_users.lib.php3");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>

<HEAD>
                <?php
                display_connected($ShowPrivate,$DisplayUsers,($DisplayUsers ? USERS_LOGIN : NB_USERS_IN),NO_USER);
                ?>
       

</HTML>


diavolo11 10-03-2001 02:35 AM

ok ok! I am closer--it seems to work fine except I still can't exit. I read and re-read everything, but I must be doing something wrong. It keeps redirecting me to the chat. and i set the
$exiturl = "http://www.texasflashers.org/forums/";
going nuts here.
Could you toss me a working exit.lib.php3?

thanks

diavolo11 10-03-2001 02:45 AM

nevermind, got it--
thanks and nice hack.

Sukij 10-17-2001 05:56 AM

Hi..

May be you can help.. I want to add the Current Chat Active User to the Forum Main Page, same as Who's Online. Is it possible to do that ? Can you help ?

Thanks

Stasik 10-17-2001 10:53 AM

there is a file smth like, "current _user.lib.php3"

Sukij 10-17-2001 11:50 AM

NO.. cannot find the file you mentioned.

Stasik 10-17-2001 01:22 PM

chat_activity.php3

Sukij 10-18-2001 03:02 AM

Thank, I found that file and I modify it to my need. Then I insert this line into forumhome_loggedinusers, but I don't know how to add that file into this statement. Can you please help.. Thanks

<normalfont color="{categoryfontcolor}"><b> [ Currently Chat Active Users</b></normalfont>
</a><normalfont color="{categoryfontcolor}"><b>: ] </b>

Stasik 10-18-2001 08:33 AM

u need to edit index.php


All times are GMT. The time now is 11:11 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.01497 seconds
  • Memory Usage 1,793KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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