Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
phpMyChat Integration Details »»
phpMyChat Integration
Version: 1.00, by Buczilla Buczilla is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 12
Is in Beta Stage  
No support by the author.

This hack will add integrate vBulletin with phpMyChat. It uses some small (but effective) security measures to prevent users from using any username but their own.

++ To Do:
vBulletin files to edit: 0
phpMyChat files to edit: 1 (you must also install phpMyChat)
Queries to Run: 0
Templates to add: 0
Templates to modify: 2
Time to install: 10 Minutes

++ Known Issues
Users with a space in their name can not chat
Username can be bypassed



Enjoy! :squareeyed:

Show Your Support

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

Comments
  #2  
Old 01-04-2004, 05:18 AM
Alan Ang Alan Ang is offline
 
Join Date: Apr 2002
Location: Singapore
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

most of my users has usernames that has a <space> in them... can anyone resolve this problem? or are there free chat programmes that can allow the <spaces>?
Reply With Quote
  #3  
Old 01-18-2004, 08:57 PM
Ryan Ashbrook's Avatar
Ryan Ashbrook Ryan Ashbrook is offline
 
Join Date: Dec 2002
Location: Cincinnati, Ohio
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this as well, but nonetheless, nice job.
Reply With Quote
  #4  
Old 01-22-2004, 05:23 PM
Oxygen's Avatar
Oxygen Oxygen is offline
 
Join Date: Mar 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed phpMyChat..the latest version.
Modified the portion that goes into the header to look like:
PHP Code:
function my_chatwin()
{
var 
tmpName replace('$bbuserinfo[username]',' ','_');
tmpName replace(tmpName,',','');
window.open('/chat/index.php3?L=english&Ver=H&U='+tmpName+'&R=Home&T=1&D=10&N=20&ST=1&NT=1&First=1','mychatwindow','width=700,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
}
function 
replace(string,text,by) {
    var 
strLength string.lengthtxtLength text.length;
    if ((
strLength == 0) || (txtLength == 0)) return string;
    var 
string.indexOf(text);
    if ((!
i) && (text != string.substring(0,txtLength))) return string;
    if (
== -1) return string;
    var 
newstr string.substring(0,i) + by;
    if (
i+txtLength strLength)
        
newstr += replace(string.substring(i+txtLength,strLength),text,by);
    return 
newstr;
}
//--> 
</SCRIPT
works great...
resolves the space issue...
just need to modify the exit button to close the window instead of going to chat index.
Reply With Quote
  #5  
Old 01-23-2004, 10:21 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Oxygen, do you have this running on RC3?
Reply With Quote
  #6  
Old 01-23-2004, 11:45 AM
Oxygen's Avatar
Oxygen Oxygen is offline
 
Join Date: Mar 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, just RC2 - I did not even see that 3 was out yet.
Man they are fast.
although there is no reason for it not to work in RC3.
Quote:
Originally Posted by Smitty
Hey Oxygen, do you have this running on RC3?
Reply With Quote
  #7  
Old 01-24-2004, 06:12 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why no demo or screenshot???
Reply With Quote
  #8  
Old 01-27-2004, 08:31 AM
Khoder Khoder is offline
 
Join Date: Nov 2002
Location: Sydney, Australia
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys,

I keep getting the error message "This username is registered. Please type your password or chose another username"

Any ideas?

Thanx
Reply With Quote
  #9  
Old 01-29-2004, 09:10 AM
Khoder Khoder is offline
 
Join Date: Nov 2002
Location: Sydney, Australia
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess no one has any ideas.. Ill just keep trying till it eventually works.
Reply With Quote
  #10  
Old 01-29-2004, 07:25 PM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Khoder
I guess no one has any ideas.. Ill just keep trying till it eventually works.
I'd like to know what you find out. I want to install this hack in the near future.
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:41 PM.


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.04490 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)bbcode_php
  • (2)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
  • (2)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_onlinestatus
  • (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
  • postbit_imicons
  • 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