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
  #2  
Old 07-17-2000, 04:29 PM
Guest
 
Posts: n/a
Default

A few people have emailed me questions so I will clarify. You DO need to be a registered vB user to enter the chat room. Why? To enter the chat room you need the vB cookie (and to get the vB cookie you need to be a vB member ).
Reply With Quote
  #3  
Old 07-18-2000, 02:15 AM
Guest
 
Posts: n/a
Default

WOW, this is a VERY coo! hack. I've always wanted to use this. Really though this is sweeet
Reply With Quote
  #4  
Old 07-18-2000, 02:03 PM
Guest
 
Posts: n/a
Default

Thanks. I just made a few improvements (you can now logout ). I have a few more things I want to do and I'll release a .02 version. Are there any specific features that anyone is looking for?
Reply With Quote
  #5  
Old 07-18-2000, 03:20 PM
Guest
 
Posts: n/a
Default

Nice hack!
Can it be possible to have a pop-up or seperated window instant message function included in the chat room?
Private chat room is possible?
Reply With Quote
  #6  
Old 07-18-2000, 04:09 PM
Guest
 
Posts: n/a
Default

PaulLin,
Not sure why you would want an instant message feature? Is the chat not instant enough? I was trying to keep the interface simple and clean which is why I have it setup so everyone enters the same default room. If enough people want it I may add a private chat room option.
Reply With Quote
  #7  
Old 07-20-2000, 01:00 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #8  
Old 07-25-2000, 09:52 PM
Guest
 
Posts: n/a
Default

Does the chat script put very much of a strain on the server?
Reply With Quote
  #9  
Old 07-26-2000, 12:25 PM
Guest
 
Posts: n/a
Default

So far the load on the machine has been VERY minimal. To be honest though I have never had more than 6 simultaneous chat room users. As more people start to use it I will keep you posted.
Reply With Quote
  #10  
Old 07-26-2000, 08:48 PM
Guest
 
Posts: n/a
Default

A few people have asked me where to get phpMyChat. Here is a link: http://www.phpheaven.net/download.php3?a=phpMyChat
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:56 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.05865 seconds
  • Memory Usage 2,262KB
  • Queries Executed 23 (?)
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)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