The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
JPILOT / vBULLETIN INTEGRATION by jake (first hack! wOOtie! )
-for jpilot 2.5.1 and vbulletin 2.2.6 to see this in action visit my site at www.macsubculture.com (there is a link in the nav column called IRC Chat) please see http://www.jpilot.com/ for info on the jpilot chat applet. instructions: -upload all the jpilot files to your vb root. see jpilot site for download and instructions. -upload both scripts in the scripts folder to your vb root. -create the new templates in your vb admin cp. see templates folder... templates to be named the same as each file, etc. -configure the jpilot params in the chatmain template. see the jpilot site for a list of all params and their functions. -put this link in your header template or where ever you want the IRC chat link to be: <a href="chat.php?s=$session[sessionhash]" onClick="window.open('chat.php?s=$session[sessionhash]','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=5 0,top=50,screenX=50,screenY=50');return false">IRC Chat</a> -that's it! how it works: -link to the chat.php file first... this pulls the "chat" template which is an intro type of thing with info about the chat. put whatever "intro" type stuff you want in the "chat" template. the chat.php script does not check for registration. -in the "chat" template that the chat.php pulls there is a link to the chatmain.php file which checks for registration. if the user isn't registered or not logged in they are directed to the "chatnoreg" template which gives them a note saying they aren't logged in, etc. you can customize the chatnoreg template to say whatever you want. if they *are* logged in then they are directed to the chatmain template which has the applet and the params which loads the chat. -my jpilot params are set up so the user isn't even given a chat config screen. their name is auto filled in and they are auto logged into chat. i also have a param that disables the /nick command. only registered members can chat and they can't change their name in chat to impersonate people. if you want this set up differently it's all in the params (see the jpilot site for info). --jake *cream pie* Show Your Support
|
Comments |
#52
|
||||
|
||||
Just FYI.....
There is actually a MUCH easier way to integrate the IRC into the forums...by using a wonderful little Jirc add-on called WTK. You can find it at http://jirc.webt.dk/frontend.php I use the "open chat in new window" box on my forums, with a slight modification, i was able to auto fill in everything so that all they have to do is enter their nick and hit enter. It is clean, attractive, and works well with little complications..just follow the install stuff, and then add the relevant HTML/PHP code into your templates (I put mine in the header so that the chat box appears on every page). It also have a lot of tools with it, such as buttons and such to automatically interact with Nickserv/chanserv or even act as a channel op. It may not be perfect for those on a shared server (i am not honestly sure what complications that causes), but for myself and others who are colo or dedicated server people, it gives you an outstanding interface, and there are also many different image sets to choose from. Just thought I would mention that Now...if i could just get that "Chatting Now" thing working with the rest of my setup, I would truly be a happy camper |
#53
|
||||
|
||||
that isn't vB integrated then. this hack denies people who aren't logged in, and autofills the user name if they are logged in. otherwise it might as well be stand-alone.
|
#54
|
||||
|
||||
I understand that. I also understand that the same thing can be accomplished by using the WTK software, since it is already written in PHP, simply by adding an include, and calling for the username & login routine.
Since it is a Chat Front End already written in php, it is simply much easier to integrate...and with the same results. |
#55
|
||||
|
||||
nya!
|
#56
|
||||
|
||||
This is a cool hack, i've just installed it, and now i'm looking for an IRC server, can anyone suggest one?
|
#57
|
|||
|
|||
irc.undernet.net?
Download mIRC and look at all the servers available or start your own :-) I have this weirdo error with version 2.2.2 of vBB Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60 Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85 Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85 Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88 Would that be my php.ini file settings?? Ramprage |
#58
|
||||
|
||||
Thank you for the suggestion, i'm using www.dal.net at the moment, but i'll try that one too
|
#59
|
||||
|
||||
[QUOTE]Originally posted by smleg
irc.undernet.net? Download mIRC and look at all the servers available or start your own :-) I have this weirdo error with version 2.2.2 of vBB Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60 Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85 Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85 Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88 Would that be my php.ini file settings?? Ramprage |
#61
|
|||
|
|||
Well this is very strange folks...
On my private server, the one where I previously posted the error, it still doesn't work. I think it's because my PHP/MySQL isn't setup properly on my Win 2k machine. To convince myself I setup the forum and chat onto my real webhost and everything went perfect! (Win 2k hosting....) So the question remains, what is in my php/mysql that isn't setup properly to cause this error? Thanks and great hack! smleg |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|