vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - EzIRC 2.1 (https://vborg.vbsupport.ru/showthread.php?t=228345)

Hasanudin 01-02-2010 12:34 PM

this is own script to correct xml (modif)..

+ correct for connection
+ if guest/unregisterd displaying eror message.

RDX1 01-08-2010 05:24 AM

When will mibbit be disabled?

GrossKopf 01-08-2010 01:59 PM

Quote:

Originally Posted by Hasanudin (Post 1944906)
this is own script to correct xml (modif)..

+ correct for connection
+ if guest/unregisterd displaying eror message.

Your version seems to have irc.myQuran.org hard-coded as the IRC server no matter what you put in the Admin CP settings.

abnvet 01-08-2010 05:42 PM

Is this still planning on being ported to work with 3.8.4

toonysnn 01-08-2010 05:49 PM

Yeah sorry. My life has been a living hell for weeks and weeks, and I'm just starting to recover from a bad situation. Internet access has been limited, and that's the only way I have access to my test boards.

toonysnn 01-08-2010 06:05 PM

Quote:

Originally Posted by Hasanudin (Post 1944906)
this is own script to correct xml (modif)..

+ correct for connection
+ if guest/unregisterd displaying eror message.

Please do not modify / redistribute the product without my permission. Bug fixes will be fixed as I see them.
Thank you.

Quote:

Originally Posted by RDX1 (Post 1950154)
When will mibbit be disabled?

It will never be disabled, but pjirc will be implemented to allow you the option of switching between the two.

RDX1 01-08-2010 08:33 PM

Quote:

Originally Posted by toonysnn (Post 1950574)
It will never be disabled, but pjirc will be implemented to allow you the option of switching between the two.

When will this be implemented then?

RDX1 01-08-2010 08:57 PM

Nevermind, went ahead and did it myself. Thanks for the base of the hack. Will upgrade to your version if it's better integrated. :)

toonysnn 01-09-2010 03:47 AM

It'll be implemented soon. I do apologize for the long delays. I know how easy it is to implement, but I'm looking into workarounds for some issues that other people were having on my previous version.

RDX1 01-09-2010 06:02 AM

Quote:

Originally Posted by toonysnn (Post 1950880)
It'll be implemented soon. I do apologize for the long delays. I know how easy it is to implement, but I'm looking into workarounds for some issues that other people were having on my previous version.

What are you looking to get around? I may be able to help.

Hasanudin 01-09-2010 07:44 AM

Quote:

Originally Posted by toonysnn (Post 1950574)
Please do not modify / redistribute the product without my permission. Bug fixes will be fixed as I see them.
Thank you.

ooh, so sorry..

i w'll remove..

toonysnn 01-09-2010 09:43 PM

Quote:

Originally Posted by RDX1 (Post 1950937)
What are you looking to get around? I may be able to help.

IIS file extension issues. Where ".pixx" does not exist, and disallows IIS to "show" them to the outside world.

RDX1 01-10-2010 01:43 AM

Quote:

Originally Posted by toonysnn (Post 1951501)
IIS file extension issues. Where ".pixx" does not exist, and disallows IIS to "show" them to the outside world.

I don't use IIS, but from PJIRC's FAQ:

http://www.pjirc.com/help.php?p=0&faq_id=15

Just rename them to txt and define it in the param.

There's quite a few resources on this in the PJIRC Forums.

toonysnn 01-10-2010 02:17 AM

Oh har. Didn't ever look there. Thanks.

I've been a little busy due to competitions and exams with my school, I'll finish up 2.0.2 asap.

Also, I've included a small way of starting usergroup permissions, but it's not a bitfield yet. It's currently an ACP option that denies guests, and another option that allows you to list IDs you want to deny from the chat.
Mibbit Settings hash is now a vBulletin option (don't mess with unless you know what you're doing)
not much more done but small template cleanups

RDX1 01-10-2010 03:13 AM

Quote:

Originally Posted by toonysnn (Post 1951631)
Oh har. Didn't ever look there. Thanks.

If you need any other help, let me know.

A few things I have noticed with PJIRC are:

Needs to be a CodeBase setting in the settings to allow for the IRC to work outside of the directory the JAR files are.

<applet code=IRCApplet.class codebase="{vb:raw vboptions.ezircvb4_codebase}" archive="irc.jar,pixx.jar" width=640 height=400>

codebase would be http://path.to/files


To make the nick of the user from the forums:

<param name="nick" value="{vb:raw bbuserinfo.username}">

To join a channel:

<param name="command1" value="/join {vb:raw vboptions.ezircvb4_chan}">

Also, the pixx GUI allows for color changing.

http://www.pjirc.com/help.php?p=0&faq_id=16

It will take some time, but I could help making an admincp option for this if you like.

<param name="pixx:color1" value="{vb:raw vboptions.ezircvb4_color1}">
<param name="pixx:color2" value="{vb:raw vboptions.ezircvb4_color2}">
<param name="pixx:color3" value="{vb:raw vboptions.ezircvb4_color3}">

toonysnn 01-11-2010 04:09 AM

Nah it'll be fine, but you've got a lot more time it seems to actually go through the PJIRC website lol I just usually glance over it and figure things out by messing with crap. I'll make a option group for the colors itself.
The nicks are going to have to work the same way I did mibbit, and didn't ever get to do for my EzIRC 1.x for 3.x
The channel joining is obvious lol xD
And as far as the codebase goes, I usually set it to just the folder "pjirc" or something along those lines, with a index.php leading to the forums.

I appreciate the help, I sure as heck didn't know how to do colors. Will implement into next version :)

Floris 01-11-2010 09:36 AM

I am getting requests to clean up the usernames from vbulletin to work on irc.

Extended characters should be stripped,
spaces should be stripped,
irc nickname can't start with a number,
can only be up to length x.

Stuff like that.

function cleanUp(); // cleaning up forum name to be ready for irc

a function could be used perhaps to clean up the forum name to be ready or irc, and parse that on to pjirc and/or mibbit. This way something like:

"00mr floris@¡™£" should end up "mrfloris"

And properly connect.

toonysnn 01-11-2010 12:06 PM

I've actually had a function that does that. I suppose it wasn't working too well.

EDIT: I've rewritten the regular expression. It seems to have succeeded in a test. Implementing in 2.0.2

Could anyone check and tell me if this'd be alright?
([a-zA-Z\_\`\^]{1,32}[a-zA-Z0-9\_\`\^]{0,31})

toonysnn 01-11-2010 11:39 PM

If you'd like usernames to work as suggested (which I never knew the proper rules for the IRC names so it'll be fun working out little bugs with it :P) here's the code.

First, open ezirc.php and find:
PHP Code:

function parseName($name

Replace the entire function with:
PHP Code:

function parseName($name)
{
        
$name ereg_replace("([^A-Za-z\_\`\^]{1}[^a-zA-Z0-9\_\`\^]{0,31})"""$name);
        return 
$name;


This is (obviously) included with 2.0.2
And for further notice, this thread will be a secondary checking place for support. I'll check every day, but I will mainly be on my forum (while debugging and working on EzIRC live, as well as backend functionality, etc.)

toonysnn 01-12-2010 02:56 AM

2.0.2 is released, you may ignore the last post.
  • 2.0.2
    • PJIRC Support with Color editing options
    • Multiple Channel Support
    • Ability to change Mibbit Settings hash
    • Updated PHP file to include proper regex for irc nicknames.
    • Select screen created
    • User Group Disallow and Deny Guest options, (temporary solution)

taffy056 01-12-2010 03:21 PM

thanks for the update with that snn :) gonna have to figure out irc as I am still struggling with it lol

R1chardYoung 01-12-2010 05:45 PM

I've tried this with the example IRC server and it worked fine, however, I'm trying to connect through to irc.gamesurge.net and its failing. Any ideas?

Server: irc.gamesurge.net
Room: lucky_golem

Any ideas?

R1chardYoung 01-12-2010 05:53 PM

Found it, for Game Surge you need to use: webirc.gamesurge.net:6007

toonysnn 01-12-2010 06:27 PM

That's rather odd, I've never had to do that with GameSurge before. I'll see if that's the only way or not.

mechanist 01-12-2010 07:45 PM

Is this still working with VB 3.7.x ?

merlin_de 01-12-2010 08:01 PM

Please read the first Post:
Quote:

vB Version: 4.0.x
And look at the forumstitle : vBulletin 4.0 Add-ons: vBulletin 4.0 Alpha/Beta products and plugins.
Greets,Micha

toonysnn 01-12-2010 10:31 PM

Quote:

Originally Posted by mechanist (Post 1953850)
Is this still working with VB 3.7.x ?

There will be a version backported in a later release, once I get proper usergroup permissions implemented.
Quote:

Originally Posted by merlin_de (Post 1953863)
Please read the first Post:

And look at the forumstitle : vBulletin 4.0 Add-ons: vBulletin 4.0 Alpha/Beta products and plugins.
Greets,Micha

Thank you. :)

Alien 01-13-2010 05:06 PM

I'm having a problem with pjirc auto-joining a particular room.

It says not enough join parameters. If I just type "/join #roomname" it works fine.

Could you look at that? I'm using various EFnet servers (such as irc.prison.net)

toonysnn 01-13-2010 09:00 PM

Quote:

Originally Posted by Alien (Post 1954649)
I'm having a problem with pjirc auto-joining a particular room.

It says not enough join parameters. If I just type "/join #roomname" it works fine.

Could you look at that? I'm using various EFnet servers (such as irc.prison.net)

I just attempted connecting to irc.prison.net and joined #ezirc using the default settings, no problems whatsoever. Did you install this before the latest version (2.0.2) was released? If so, you need to go into vBulletin Options -> EzIRC: General Options and make the channel start with # instead of just the channel name (without #)

toonysnn 01-13-2010 11:51 PM

Quote:

Originally Posted by Alien (Post 1954649)
I'm having a problem with pjirc auto-joining a particular room.

It says not enough join parameters. If I just type "/join #roomname" it works fine.

Could you look at that? I'm using various EFnet servers (such as irc.prison.net)

Alien, I've joined your forum, and I do see the problem that's being encountered. I don't know why it wouldn't even register the channel name.

Are you sure you've edited the channel field properly? Haven't heard from you, but I do see the problem now.

Bug Found: Doing ?select=pjirc/mibbit allows bypass of admin set options. Will be fixed in 2.0.3.

The BackPort to 3.8 will be done tomorrow, and minor bug fixes will be done tomorrow.

KURTZ 01-14-2010 10:05 AM

just tested on irc.azzurra.org and it runs ...

anyways there are some troubles with the pjirc mode ... it seems to be slow when connecting, but with the mibbit it's fast but don't connect automatically to my registered channel ...

so just a question: what about security for my site?

HansMuenchen 01-14-2010 10:39 AM

Hello,

after I updated my Forum and reinstall the addon, there is no Menue shown like on the Screenshot (Live Chat).

How can I fix this?

Thank you very much for the help.

Greetings
Hans

toonysnn 01-14-2010 12:28 PM

Quote:

Originally Posted by HansMuenchen (Post 1955348)
Hello,

after I updated my Forum and reinstall the addon, there is no Menue shown like on the Screenshot (Live Chat).

How can I fix this?

Thank you very much for the help.

Greetings
Hans

The navbar tab is not automatically enabled, for those whom prefer to just link to it.
vBulletin Options > EzIRC: General Options > Enable Header Tab?
Set this to "Yes." For now on though (in 2.0.3) it's automatically enabled.

Quote:

Originally Posted by KURTZ (Post 1955321)
just tested on irc.azzurra.org and it runs ...

anyways there are some troubles with the pjirc mode ... it seems to be slow when connecting, but with the mibbit it's fast but don't connect automatically to my registered channel ...

so just a question: what about security for my site?

Java is slow, there's no question about that. Mibbit is AJAX based and is much, much faster. There is no surprise that PJIRC is slower.

What do you mean about the security for your site? :confused:
This modification doesn't open any holes, it doesn't use any sockets, it doesn't do much more than display [based off of administrator input] to connect to a chat room, change colors / etc. for the clients, etc.

KURTZ 01-14-2010 12:52 PM

OK thx for the explanation Billy ... :) great hack!

Skyrider 01-14-2010 03:37 PM

Demo link is down! :o

toonysnn 01-14-2010 05:15 PM

Actually, no it isn't. It was working as it was intended to. It denies guests by default. Switched the option, demo link now works properly.

HondaATC 01-14-2010 06:36 PM

Great mod, I will be installing this soon. Is there any plans to integrate an eggdrop script to display some the chat statistics (topic, users, who has ops, etc) in the near future? When I was on 3.6.5 I used a hack called the "Eggdrop IRC manager" that was great, but it doesnt work with vb4. I've got full shell access to both my forum and the IRC server this would be on, so I wouldn't mind trying to help out testing things if need be.

Skyrider 01-14-2010 06:41 PM

Quote:

Originally Posted by toonysnn (Post 1955762)
Actually, no it isn't. It was working as it was intended to. It denies guests by default. Switched the option, demo link now works properly.

Sorry, but it doesn't.
Quote:

The server can not find the requested page:

vbwms.com/ezirc.php (port 80)

Please forward this error screen to vbwms.com's WebMaster.
Going to the main vbwms.com website:
Quote:


If you feel you have reached this page in error, please contact the web site owner:
webmaster@vbwms.com

It may be possible to restore access to this site by following these instructions for clearing your dns cache.

toonysnn 01-14-2010 06:43 PM

There's something along those lines that was being worked on for vbirc.com, I don't know if it's still being worked on or not.
I might be able to do that, but you'd have to be on your own VPS or Dedicated server.

@FF|Skyrider:
vbwms.com is not the website...?
edit: i don't know why vbwms.com was set to the website, but it wasn't supposed to be. I've found another bug with the script, so at the moment, you have to register to view ezirc

edit2: you don't have to register now. bug fixed. I do recommend registering though, the primary support thread is being moved there.

HondaATC 01-14-2010 06:51 PM

Cool, keep me posted on the eggdrop manager. I'd definitely be interested in it and I bet some other people would be too.

My friend that manages the IRC server I use, and I were just talking last night about trying to possibly setup some checks in the database tables that would require someone to login with their forum name and password before the java applet would load (I use pjirc right now). And then possibly once thats done automatically have their IRC friendly username and password registered via NickServ via some small script. Require that to be done for anyone to join the server. Would cut out a lot of the idiots and trouble makers that come in ours. Sounds like thats pretty much exactly what you guys are working on, which would be awesome. I'll even toss a few bucks your way when its done to help out because I'd love to see something with that kind of implementation on my site.


All times are GMT. The time now is 01:35 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.04647 seconds
  • Memory Usage 1,852KB
  • 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
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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