Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-16-2000 Last Update: Never Installs: 0
 
No support by the author.

Here is the hack to integrate phpMyChat with vB. This is just a rudimentary integration that I plan on improving. Place the following under the line set_magic_quotes_runtime(0); in the index.php file of phpMyChat. If you would like to see a demo visit http://www.linuxquestions.org/questions and click on chat.

Code:
// start vB hack version .01
// Please send bug reports, questions and suggestions to:
// jeremy@linuxquestions.org

require("/path/to/global.php");

if ($userinfo[cookieuser]==1) {
$U=$userinfo[username];
$N=20;
$password = "1";
$E=10;
}
else {
print "Please register at <A HREF=\"Url to site\">Site Name</A>";
$U = "";
exit;
}

// end vB hack

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-28-2000, 03:10 AM
Guest
 
Posts: n/a
Default

I tried to log into your chat page after registering, but my user name was too long and had a space between the names and was rejected.

On my board, many of the members use their full names, so does that mean that this chat software will not work for such people?
Reply With Quote
  #13  
Old 07-28-2000, 03:55 AM
Guest
 
Posts: n/a
Default

I have corrected the error. You should now be able to log in. Thanks for the feedback.
Reply With Quote
  #14  
Old 07-04-2001, 03:13 PM
Iliana
Guest
 
Posts: n/a
Default

I am getting the following message when I integrate the hack.

Fatal error: Failed opening required './admin/config.php' (include_path='') in /home/www/theparentclub/forums/global.php on line 66


The weird thing is the link below is as follows in the index.lib.php3 file:require("/home/theparentclub/www/forums/global.php");
I am assuming that the global.php file is the one associated with the vbulletin forum.

The fatal message above has theparentclub/www reversed and I cannot find where to fix this problem. I entered the code exactly as described above and I only updated the required link.

What am I doing wrong?

For test go to http://www.theparentclub.com/chat/

Thanks
Reply With Quote
  #15  
Old 07-04-2001, 03:45 PM
Iliana
Guest
 
Posts: n/a
Default

Also,

Which global.php file are you talking about. The one in forums dir or forums/admin dir?

I assume is the first one...
Reply With Quote
  #16  
Old 07-05-2001, 05:26 PM
Iliana
Guest
 
Posts: n/a
Default

Can anyone help us?
Reply With Quote
  #17  
Old 07-05-2001, 06:58 PM
Fred
Guest
 
Posts: n/a
Default

cause he made the hack for version 1.1.x... not 2.x
Reply With Quote
  #18  
Old 07-05-2001, 07:03 PM
Iliana
Guest
 
Posts: n/a
Default

Quote:
Originally posted by customcpu
A new version of phpMyChat was released today. The vB integration hack still works great. The link on my site now points to the new version. Here is version .02 of the hack.
Code:
// start vB hack version .02
// Please send bug reports, questions and suggestions to:
// jeremy@linuxquestions.org

require("/path/to/global.php");
 
if ($userinfo[cookieuser]==1) {
$U=$userinfo[username];
$N=20;
$password = "1";
$D=10;
}
else {
print "To use the chat room you must be a registered user. <BR>";
print "Please register at <A HREF=\"../index.php\">YourSiteName</A>";
$U = "";
exit;
}
 
// end vB hack
Fred,

He did make the hack for the latest version as you can see above.

Reply With Quote
  #19  
Old 07-05-2001, 10:11 PM
Fred
Guest
 
Posts: n/a
Default

Nope, he made it for version 1.0.2 if I'm correct. Because he made the hack on 07-16-2000 and vBulletin 2.0.0 was NOT released back then.. lol
Reply With Quote
  #20  
Old 07-05-2001, 11:43 PM
customcpu
Guest
 
Posts: n/a
Default

I *think* I released the hack for phpMyChat .13 and vB 1.x. It probably doesn't work with newer versions of phpMyChat and I don't currently use it on my site, so I will probably not be updating it (altough you never know). Sorry.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09147 seconds
  • Memory Usage 2,264KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete