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 |
#122
|
||||
|
||||
dang, and I thought I'd found it !! sorry...
|
#123
|
|||
|
|||
Can any one help me make this addon for 2.01 ver.
https://vborg.vbsupport.ru/showthrea...349#post218349 Please, please!! thank you guys so much!! |
#124
|
|||
|
|||
What I am trying to accomplish is that when users login to our site through the forum, when they go to the Chat button it will do a popup like this. I have a contact who did this but cannot get ahold of him on how to do this. Here's the popup:
http://members.shaw.ca/kak/chat.jpg How can I get it so I can do a graphical window as such with jIRC integration and also be able to pull a banner in at the bottom?? |
#125
|
||||
|
||||
[QUOTE]Originally posted by moe@hack100.com
I have these changes already but still doesnt work, ant suggestions. |
#126
|
|||
|
|||
Jakeman
I have vb and phportals installed on my board, the hack works great and have had only one issue. if ur on the vbportal page and click the link i only get a blank window, if ur on the forums page, it works fine.. i seen in the chat.php it makes its call to the global.php file of vb, now seeing as vbportal dont use this in its directory, is there a way to include it? |
#127
|
||||
|
||||
other people have had problems with this hack and vBPortal. i have always referred them to www.phpportals.com for help.
however... if the chat php files are not in the forum directory then you should be able to use a chdir line at the top of the script to make it so the script is executed from the forum directory: PHP Code:
|
#128
|
|||
|
|||
the files are in the forum directory already, i will try what you suggest though, thanx
|
#129
|
|||
|
|||
Love this hack. Working beautifully and am about to try your 'who in chat' hack. Got one teensy little prob tho.......
For some reasons, Mac users - using IE5.1 and 5.5 do not get the applet loading properly in the normal popup. Think it has something to do with the percentages - I customized the table so it resized the whole thing in IE, when make window tiny the table goes tiny too without any need to scroll to see things. But that doesn't work in Mac versions (or in NS6 on PC). So we put a script at top of page redirecting to a Mac friendly version if it recognised the browser was on a Mac. Now, I pasted that script into the chatmain template, but tho it still redirected fine, it doesn't include that page as part of the intergration. So I'm figuring maybe I need to add the script to the chatmain.php, (converted to php?) so it will load either 'chatmain', or the 'chatmac' template for the mac version, in the popup. What would be the code - I assume it'll go before the ''gettemplate chatmain'' - to assess whether the browser is on a Mac? Could I use the java script I used on the html page in the chatmain.php or do the two not mix? This is the previous code we used: //var myURL = "url of the alternate Mac html"; //if (navigator.appName == "Microsoft Internet Explorer" && //navigator.appVersion.indexOf("Mac") != -1 ) { //location = myURL; } Thanx for any help. |
#130
|
||||
|
||||
Installed on 2.2.7, modified quite a bit. Working well, thanks.
|
#131
|
|||
|
|||
I have this working in Vbportal with VB 2.29. Lots of modifications were needed. Users in chat show in the forums and I am now working a mod to get it to show up on the VBportal home page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|