vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   jIRC Chat Integration (https://vborg.vbsupport.ru/showthread.php?t=43461)

FleaBag 11-26-2002 04:23 PM

Quote:

Originally posted by mark99
Small problem, I also want general site visitors to be able to access this chat system, however if they're not registered then they get that usual 'YOU NEED TO BE REGISTERED' vB page.

How can I turn this off?

Replace your chat.php with the file attached.

You may also want to edit some of the options in the chat template to allow users to choose their own username, rather than being logged in as a guest.

FleaBag 11-26-2002 04:23 PM

Quote:

Originally posted by fraqheart
Is it easily able to be designed like vBulletin.org's or does it have to stay in it's default form?
Not really, you can edit colours but not the general layout.

FleaBag 11-26-2002 04:25 PM

banjolawyer: The next version I [eventually] release will have such a feature. Sorry to be blunt but I don't currently have time to look over the mentioned code... I have an assignment to do!

banjolawyer 12-22-2002 04:58 AM

Looking forward to it. The IRC Chat Room is one of the most popular functions on my site.

I just installed a WebChat module found at www.phpportals.com too, for the benefit of people who want to chat a little at work, but have firewall issues. They love that too.

I have noticed on the www.jpilot.com website that newer versions of jpilot have options such as being able to choose rooms, insert a smilie, play a sound, etc.

Are we able to just replace the jpilot files in your hack or will using a newer version of jpilot cause your hack to malfunction? I belive the version you included 2.4. The current version is 2.6 and a preview was just released of 2.7

mackers8923 01-15-2003 12:12 AM

I am interested to know, when my users go into the chat area I have no control over, who gets access or banned words etc etc.. Did I miss something or does it not exist with this hack?

NoAhBoDy 01-15-2003 12:47 AM

Quote:

Originally posted by mackers8923
I am interested to know, when my users go into the chat area I have no control over, who gets access or banned words etc etc.. Did I miss something or does it not exist with this hack?
That has nothing to do with the hack itself...what you are asking is a function of the irc server daemon that you are connecting to and the jpilot irc application. Typically, for example, if you use a common irc client such as mIRC (www.mirc.org) then you would issue commands in the channel to ban someone (ex: /mode #channel +ban *!*@hostmask.com)

All this hack does is integrate the launch of jpilot to a link from your forum to allow ease of use for non-irc junkies and give you the option to make it as painless as possible (ie, join a specific server/port/channel, assign nick name, etc)

dbode 01-16-2003 05:24 PM

Hi,

I already used this hack for UBB, but now I am swapping to VB and I won?t miss it *g*

As you can see here, the hack works :
http://213.133.98.229/hardware/forum/chat.php

But where do I put in the license key ? I did not find any value to put it in ?

As well, is it possible to ad the smilies etc. which are available in the UBB version ?

See here : http://www.forumdeluxx.com/cgi-bin/u...b.cgi?ubb=chat


Thanks for your answeres,
Dennis

NoAhBoDy 01-17-2003 12:40 AM

The license key goes in the template that you create. As for the smilies, I'm sure it's doable but I haven't done it myself so have no idea how.

dbode 01-17-2003 06:01 AM

I think it has to go in the param name section, is that right ? So these are my settings, but in the UBB version, there was a value "licensekey" which is not present and which also does not work, when you put it in :-)

Code:

<param name="CABBASE" value="jirc_mss.cab">
<param name="ServerPort" value="6667">
<param name="ServerName1" value="irc.de.quakenet.org">
<param name="Channel1" value="Hardwareluxx">
<param name="AllowURL" value="false">
<param name="AllowIdentd" value="true">
<param name="WelcomeMessage" value="Willkommen im $bbtitle - Chat ! T?gliche Hardwarenews gibts bei $bburl!">
<param name="RealName" value="$bbtitle Java Chat User">
<param name="NickName" value="$bbuserinfo[username]">
<param name="UserName" value="$bbtitle">
<param name="isLimitedServers" value="true">
<param name="isLimitedChannels" value="true">
<param name="MessageCol" value="80">
<param name="BackgroundColor" value="99,132,181">
<param name="TextColor" value="white">
<param name="TextScreenColor" value="black">
<param name="ListTextColor" value="black">
<param name="TextFontName" value="Arial">
<param name="TextFontSize" value="12">
<param name="ConfigNickOnly" value="true">
<param name="NickNChannelOnly" value="true">
<param name="LogoBgColor" value="white">
<param name="BorderVsp" value="3">
<param name="DirectStart" value="true">
<param name="FGColor" value="black">
<param name="TitleBackgroundColor" value="black">
<param name="TitleForegroundColor" value="white">
<param name="InputTextColor" value="white">
<param name="InputScreenColor" value="black">
<param name="IgnoreLevel" value="3">
<param name="DisplayConfigRealName" value="false">
<param name="DisplayConfigServer" value="false">
<param name="DisplayConfigPort" value="false">
<param name="DisplayConfigMisc" value="false">
<param name="InitCommands" value="/clear;/me enters">
<param name="UserListWidth" value="160">
<param name="RefreshColorCode" value="false">
<param name="DisplaySoundControl" value="false">
<param name="NoConfig" value="true">
<param name="DisplayAbout" value="false">
<param name="AliasList" value="/nick=/echo Nick command disabled">
<param name="IgnoreServerMsg" value="true">
<param name="IgnoreModeMsg" value="true">
<param name="IgnoreMOTD" value="true">
<param name="IgnoreChannelChangeMsg" value="true">

Can anyone compare this to his own settings, where you put in the license key ?

Thanks :paranoid:

Dennis

lifesourcerec 01-17-2003 06:11 AM

It will look like this. Add this to that list:

Quote:

<param name="LicenseKey" value=" (your license key goes here)">

dbode 01-17-2003 06:36 AM

Hmmm, I put in the following (this is not MY license key, I just changed the numbers into xxxx)

<param name="LicenseKey" value="XXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX">

.. but I still have this *Unregistered*Messages...

lifesourcerec 01-17-2003 06:50 AM

If it still says that, the key is wrong.

NoAhBoDy 01-18-2003 01:07 AM

My key works and here's my main_chat template:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - $foruminfo[title]</title>
$headinclude
</head>
<body>

<table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
<tr>
        <td valign="top">$navbar
        <smallfont>$moderatedby$onlineusers</smallfont></td>
        <td valign="bottom" align="right"><smallfont>$newthreadlink&nbsp;</smallfont></td>
</tr>
</table>

<br>

<!-- jIRC applet -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center" valign="top">
<applet name="jchat" codebase="../jIRC" archive="http://mydomain.com/jirc/jirc_nss.zip" code="Chat.class" width=750 height=450>

<param name="CABBASE" value="http://mydomain.com/jirc/jirc_mss.cab">

<param name="ServerPort" value="6667">
<param name="ServerName1" value="my.ircserver.com">

<param name="Channel1" value="mychannel">
<param name="ChannelPassword" value="mychannelkey">

<param name="AllowURL" value="true">
<param name="AllowIdentd" value="true">

<param name="WelcomeMessage" value="Welcome to my private chat">
<param name="RealName" value="$bbusername">
<param name="NickName" value="$bbusername">
<param name="UserName" value="VB_$bbusername">
<param name="isLimitedServers" value="true">
<param name="isLimitedChannels" value="false">

<param name="IgnoreMOTD" value="true">

<param name="DisplayConfigNick" value="false">
<param name="DisplayConfigNickPass" value="false">
<param name="DisplayConfigChannel" value="true">
<param name="DisplayChannelPass" value="false">
<param name="DisplayConfigRealName" value="false">
<param name="DisplayConfigServer" value="false">
<param name="DisplayConfigPort" value="false">
<param name="DisplayConfigMisc" value="false">

<param name="InitCommands" value="/me says Hola!!">

<param name="BackgroundColor" value="99,132,181">
<param name="TextColor" value="black">
<param name="TextScreenColor" value="white">
<param name="ListTextColor" value="blue">

<param name="TextFontName" value="Arial">
<param name="TextFontSize" value="12">

<param name="LogoBgColor" value="white">
<param name="BorderVsp" value="5">
<param name="DirectStart" value="true">

<param name="FGColor" value="black">

<param name="InputTextColor" value="black">
<param name="InputScreenColor" value="white">
<param name="TitleBackgroundColor" value="black">
<param name="TitleForegroundColor" value="white">

<param name="AliasList" value="/nick=/echo Nick command disabled">

<param name="IgnoreServerMsg" value="true">
<param name="IgnoreModeMsg" value="false">
<param name="AcceptCommands" value="true">

<param name="FieldNameChannel" value="Choose a room:">
<param name="FieldNameConnectNow" value="Connect">
<param name="FieldNameTitleTopic" value="">
<param name="FieldNameConfig" value="Change room">
<param name="DisplayAbout" value="false">

<param name="LicenseKey" value="My license key">

</applet>
</td>
</tr>
</table>
<!-- /jIRC applet -->

</body>
</html>

....hope this helps..

Grunt 01-21-2003 04:32 AM

got this working fine..however..
I have it set so that before launching, the users can select their nick. Great, works fine.

But, If a user wants to change their nick while in the channel using /nick..it returns ***echo UNKNOWN COMMAND.

??

NoAhBoDy 01-21-2003 04:41 AM

if you copied my template, remove the following:
Code:

<param name="AliasList" value="/nick=/echo Nick command disabled">

Grunt 01-21-2003 04:52 AM

thanks!

Cyricx 03-06-2003 11:22 PM

Loaded this up, chat and everything works great, just got a problem in the header area, shows this above the chat.

Warning: Unknown(../vbp_includes.php): failed to create stream: No such file or directory in /home/gof/public_html/global.php(313) : eval()'d code on line 11

Warning: Unknown(): Failed opening '../vbp_includes.php' for inclusion (include_path='.:/usr/lib/php') in /home/gof/public_html/global.php(313) : eval()'d code on line 11

Warning: Unknown(vbs_counter.php): failed to create stream: No such file or directory in /home/gof/public_html/global.php(313) : eval()'d code on line 28

Warning: Unknown(): Failed opening 'vbs_counter.php' for inclusion (include_path='.:/usr/lib/php') in /home/gof/public_html/global.php(313) : eval()'d code on line 28

Any ideas? :ermm:

FleaBag 03-07-2003 03:21 AM

Do you use vBPortal?

Cyricx 03-07-2003 06:31 PM

Aye, I do. Guessing that's a lovely vbportal problem too eh? :)

[high]* Cyricx heads off to vbportal forums.[/high]

Cyricx 03-11-2003 03:48 PM

Welp, didn't get a peep of help over there lol.

Any ideas on how I can fix that? :(

amykhar 03-11-2003 04:14 PM

Cyricx, in your chat.php try putting this before the line that includes global.php:

Code:

chdir('/home/gof/public_html/forums');
And make sure the require statement doesn't have a path in it. It should be merely: require('./global.php');

Try it and see. I believe that will fix your probs if chat.php isn't in the same directory as the forums.

Cyricx 03-11-2003 04:51 PM

AHhhhhhhhh

Booya :) That was it, it had to be in the same folder as the forums. =/

Thank you tons! :)

amykhar 03-11-2003 04:57 PM

no prob.

Amy

FleaBag 03-11-2003 07:46 PM

Thanks Amy. ;)

Red Blaze 04-14-2003 04:14 PM

A friend of mine gets this error.

Connection: Not Encrypted

I have the address and everything else set up right. Any ideas on how I can fix this?

Jadelit 05-11-2003 01:28 AM

anyone know a good irc network to register on for free?

sajjid 06-07-2003 09:27 PM

Quote:

05-11-03 at 03:28 AM Jadelit said this in Post #66
anyone know a good irc network to register on for free?

yes
http://www.hashnet.org/

or
irc.unreal.pl

thesatman 06-21-2003 04:08 PM

any ideas how to get this working with V3 beta ??

I think it will only be the gettemplate in chat.php that needs changing , but i'm not sure what to change it to.

Thans
Chris.

thesatman 06-21-2003 04:20 PM

OK got it working with V3-

change chat.php to-

Code:

<?php
//Include global variables.
include("global.php");
//Check to see if the user is registered, if they are not, show them the login screen.
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
//If the user is registered, proceed to load the chat template.
error_reporting(E_ALL & ~E_NOTICE);

define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'myfile');

// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'my_custom_template'
);
// pre-cache templates used by specific actions
$actiontemplates = array();

require_once('./global.php');
eval('print_output("' . fetch_template('chat') . '");');
?>


dotagious 06-25-2003 05:19 AM

Ok, I have this working on vBulletin 2.3.0 and jPilot 7.0 and the only problem I've encountered is:

The default vbulletin "you are not logged in" page appears when trying to access domain.com/forums/chat.php even though you are in fact logged in. You have to hit refresh for it to recognize this. How can this be fixed?

sajjid 06-25-2003 03:05 PM

it is easy fix but because vb.org does not support vb3 beta on these forums i cant really tell you

SharkMatt 06-25-2003 09:41 PM

I get this error when trying to access the chat when im not login. it doesnt show the login screen like it should be doing.

Fatal error: Call to undefined function: show_nopermission() in /usr/local/psa/home/vhosts/sbhacsupport.ca/httpdocs/chat.php on line 6

could someone privmsg me or something and help me out plz????

thnx

SloppyGoat 06-28-2003 01:07 AM

Does anyone know if there's a way to register this on both sides of a router? See, I have to use the internal ip to access my board because it's on my own server which is behind a router. The registration for the JIRC applet asks for your url to generate the license. That means it'll only work with my external address, if that's the one I give, and not from behind my router! I'll be the only one who can't use the registered version, and that sucks! Does anyone know a way to fix this?


All times are GMT. The time now is 01:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01243 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete