The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
YAPIH (Yet Another PHPMyChat Integration Hack) 1.0 Details »» | |||||||||||||||||||||||||||
YAPIH (Yet Another PHPMyChat Integration Hack) 1.0
Developer Last Online: Nov 2002
YAPIH (Yet Another PHPMyChat Integration Hack) 1.0 by Joshua McNeese <jmcneese@enterthemuse.com>
Now, first off, this is not an 'out-of-the-box' hack, that you can just uncompress and change a config file and expect to work right off the bat. This hack was the result of me spending a considerable amount of time hand-editing files and replacing variables to convice PHPMyChat to use the VBulletin user database table. You will have to modify this to work with your server/configuration, and if you are not familiar with the PHP internals of VBulletin or with MySQL, turn back now. You have been warned. (1) Uncompress YAPIH-1.0.zip in the ServerRoot of your server, so that you will access the chat via http://yourhost.com/chat/ (2) Execute the SQL commands in the file 'chat.sql'. This will create the tables needed for PHPMyChat as well as modify your user table. Altering your user table is dangerous, so be sure to have backups handy. (3) Modify your VB templates: ADD these two variables to your 'phpinclude' template: PHP Code:
(4) Edit the /chat/config/config.lib.php3 to match your server/configuation/preference. (5) Now, the last (and tricky) part. What you have now is a working PHPMyChat installation that will authenticate on the VBulletin user table, if you followed the instructions faithfully and received no errors. What must be done now is provide your users with a way to access the chatrooms that you have created. I do this via a DHTML/PHP4 menu panel that lists the available chatrooms, and opens the chatroom in a 600x400 java popup box. You can do this anyway you want, so long as the link is provided via a template in VBulletin, or if you know how to pass variables to custom PHP scripts from within the 'phpinclude' template (which is what I do). The URL you must use is in this format: Code:
/chat/index.php3?U=$chatname&PWD_Hash=$chatpass&Ver=H&L=english&R0=$chatroom&T=1&D=10&N=200&EN=1 To see the end-user representation of this hack, go to http://www.enterthemuse.com/ and login as 'test', password 'test'. On the left side of the site is a panel-based menu that will include a section 'Chat'. Take a look around, pay attention to where the URLs point and try it out. It might work for you, it might not, it's totally dependent on your understanding of how to pass variables from your VB templates (in particular 'phpinclude'). Try it, and if all else fails, post your experiences on vb.org. Download it HERE. Good luck, Joshua McNeese Show Your Support
|
Comments |
#32
|
|||
|
|||
Quote:
|
#33
|
|||
|
|||
it's in the phpmychat docs..(probably why you didn't get a answer)
it is in the /chat/lib/welcome.lib.php3 |
#34
|
||||
|
||||
Is this my best option to intergrate the two?
|
#35
|
|||
|
|||
Quote:
Warning: Access denied for user: 'user_com@localhost' (Using password: NO) in /home/oursite/public_html/forums/global.php(302) : eval()'d code on line 23 Warning: MySQL Connection Failed: Access denied for user: 'user_com@localhost' (Using password: NO) in /home/oursite/public_html/forums/global.php(302) : eval()'d code on line 23 Can't open connection to MySQL |
#36
|
|||
|
|||
somewhere in there, you need to include either global.php, or admin/config.php
your variables for the username and password are not getting set. |
#37
|
|||
|
|||
Quote:
|
#38
|
|||
|
|||
Nevermind, I got it to work. Thanks!
|
#39
|
||||
|
||||
Though version hasn't been on in a while, I wanted to say that despite looking like a difficult hack to install, it went in rather smoothly.
Very cool hack!!! |
#40
|
||||
|
||||
Ummm...anyone know where I can get this hack...the download link doesn't seem to work.
Cheers |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|