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 07-13-2001 12:59 PM

Hi

you have to allow the chat-use to unregistered useres (using setup.php3 or manually in config file)

--OR/AND--

you have to delete all users from chat and leave only Admin-nick

bye

webhost 07-15-2001 02:51 AM

Will it work with version 2.0.1 and phpmychat version 14.2 if so where do I place it because fix security holes is not found in version 14.2

Thanks

Stasik 07-15-2001 04:25 PM

hi

try to enter this text BEFORE
"require("./${ChatPath}config/config.lib.php3");"

if not then

try to upgrade your chat or post index.lib.php3 here

BYE

webhost 07-15-2001 04:53 PM

I am waiting to upgrade my chat until 15.0 comes up.

Here is the url http://chat.realwebhost.net

Here is the link to my forums http://forums.realwebhost.net

I have attached the zip file. I did try to place code where you stated and I tried this for the paths
board path I tried http://forums.realwebhost.net and also tried http://www.realwebhost.net/forums I think it should be the first one because that is how I get to my forums.

Niether worked gave a error saying bad path.

Then I tried chat path the same way switching the word forums with chat and I got the samew errors.
I have attached the file

Joey

Stasik 07-15-2001 05:06 PM

enter a hack code before:

"require("./${ChatPath}config/config.lib.php3");"

for the both path i will need a tree of your server.

webhost 07-15-2001 05:17 PM

this is the error I get with the attached file. I have attached the file to this thread with the script change in it
Warning: ChDir: No such file or directory (errno 2) in /home/realweb/public_html/chat/chat/lib/index.lib.php3 on line 60

Warning: ChDir: No such file or directory (errno 2) in /home/realweb/public_html/chat/chat/lib/index.lib.php3 on line 62
no

When I ftp in I have files and directories including public)html underneath this I have the forums directory which has forums/gobal.php and also the chat directory which is chat/chat/lib/index.lib.php

Stasik 07-15-2001 06:01 PM

your both path are not ok

try smth like this

fist
/home/realweb/public_html/forums/

second
/home/realweb/public_html/chat/chat/

webhost 07-15-2001 06:02 PM

Here is the script I put in and below that is the error I get.

chdir("public_html/forums");
require("http://www.realwebhost.net/forums/global.php");
chdir("./${ChatPath}");

Warning: ChDir: No such file or directory (errno 2) in /home/realweb/public_html/chat/chat/lib/index.lib.php3 on line 60
no

webhost 07-15-2001 06:07 PM

OK HERE is the script change you recommended and below that is the error I get

chdir("/home/realweb/public_html/forums/ ");
require("/global.php");
chdir("/home/realweb/public_html/chat/chat/");

==========================================

Warning: ChDir: No such file or directory (errno 2) in /home/realweb/public_html/chat/chat/lib/index.lib.php3 on line 60

Fatal error: Failed opening required '/global.php' (include_path='') in /home/realweb/public_html/chat/chat/lib/index.lib.php3 on line 61

Stasik 07-15-2001 06:07 PM

NOOOOOOO

here are the parts... i think they are ok

look and replace

//a VBB integration hack by Stasik - source parts were taken from other authors ;)
chdir("/home/realweb/public_html/forums/");
require("./global.php");
chdir("/home/realweb/public_html/chat/chat/");


All times are GMT. The time now is 09:13 PM.

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.01221 seconds
  • Memory Usage 1,732KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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