|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
My first mod, ported to 6.7 and the new CP Modification Name: Chat Mod Author(s): LK Description: Lets you chat with jIRC. It has full CP support, it's 100% wordletized, it automatically gets the nick of the user/GuestXXXXX (5 random digits) if it's a guest, replaces smilies with real smilies, and shows how many people are currently chatting. Demo: http://www.lkworld.com Requirements: UBB.classic 6.7.0 Beta Release 1 , jPilot License (unless you want to see an "unregistered" line after every sent message) Download Link: ZIP File or MultiHack File (created by Allen) Credits: Brett (raiyan) for JavaScript on forum summary idea, dj_rava for the Admin Command Buttons idea and Troy for supporting me all the way and for MultiHack, which a chat 6.7 version should be released with its format soon Note: If you have an older version of Chat Mod, with jIRC 2.6.0 or older, you have to use http://www.jpilot.com/products/jirc/upgradekey.html to upgrade your license key. If you have an illegally-obtained key, it won't work Number of Downloads: [img] https://www.ubbdev.com/lk/num.php?s=chat67.zip[/img]
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
very cool..  yay. I just need to finish getting my IRC server up now. Just a note regarding the future of this hack though, word is that there will be a MAJOR upgrade to jirc very soon. This is supposedly to support multiple chans at the same time, etc. Kinda like a full mirc in jirc. So I just thought I'd let you know about it. Thanks for the mod LK.  I'm thrilled that you updated it. I'll be sure to get this up ASAP (after I get the server up).
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
YEY! now I will actually upgrade to 6.7! lol...
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Thanks, LK for upgrading this. As you know, I've been anxiously anticipating it. I'm sick with a sinus infection but hope to do this over the weekend. I see a couple of Unix versions to 6.7.1 beta at Infopop, but both readme's say they are full not upgrade. Is it OK to use these? I've done a backup and am ready to go.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I believe it's okay  I hope you'll get well soon...
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Hmm, I posted this hours ago, but it isn't here...
I upgraded to 6.7 beta and then did the chat mod. I got the chat "join" line on the summary page, but when I click it, I get that I'm trying to access a page that doesn't exist. I do have the ubb_chat.cgi file. Any ideas?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Originally posted by DebbieH103:
Interesting post
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
It would not let me delete the duplicate, so I blanked it out. Lame, I know! I am still interested in comments about getting the mod to work!!!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try to rehack ultimatebb.cgi...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Fixed some missing steps thanks to Debbie... Re-download chat67.zip if you've already got it. (differences: cp2_chat.pl, vars_wordlets_cp2.cgi, ultimatebb.cgi)
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Thanks, LK for helping get this installed yesterday! I still can't connect. I can't get past the ident on a connect, so I get dumped as a bogus user. Where can I control this w/o having people have to type a command or is there a server still out ther that doesn't need this? I'm so close!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
There are many servers, check the servers.ini file on mirc.com, try every one of them until you find a good one 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
irc.undergroundnews.com :x...
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I connect fine on mIRC but not w/ this mod, so mIRC must be doing the ident for me.
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I finally got it working and can get into mIRC and log my chat. I pretty well have it stripped down to where a person can only change nickname to enter and then change colors, do sounds, and graemlins in the chat session. I tried to turn off all the messages, but I do seem to be getting the server messages, which are lengthy at connect.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Sounds like a server problem if I understand what you're saying, try another server  yes, mIRC sends identd, and I don't know if jIRC does..
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
jIRC and mIRC both send identd, the identd port is low on the port scale and is blocked by windows XP's built in firewall; be sure it's disabled to have identd working.
IMHO, windows xp firewall = worthless, a real firewall is better :x... Something that at least allows you to customize access...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Does anybody have this working in 6.7.0? I followed the instructions and get: You are attempting to reach a page that does not exist.
» Please use your browser's back button to return. Here is my test board: http://hack.rothfam.com/cgi-bin/ultimatebb.cgi TIA
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
LK, ever think of using a free jIRC script? I use www.pjirc.com for UGN; has the same features and a whole lot more... Heck, multi channels and multi servers on mine  .
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
caroth, I had that error when I didn't pay enough attention when I modified ultimatebb.cgi
I failed to put the "if ($ubb eq 'chat') {" portion below BOTH instances of:
} # end if } # end if
When I changed it, it worked fine
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Originally posted by Ellen:
caroth, I had that error when I didn't pay enough attention when I modified ultimatebb.cgi
I failed to put the "if ($ubb eq 'chat') {" portion below BOTH instances of:
} # end if } # end if
When I changed it, it worked fine
ELLEN ROCKS!!! Thanks for the reply! 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Nice one Gizzy, never seen pjIRC before... might make a version for that (including CP support and stuff) if I have the time.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
yeh PJIRC is friggen nice, and free ($50+ for something with no multichannel support?), and has the features that jIRC doesn't... I've been using it for quite a while at UGN. You can see my demo at http://chat.undergroundnews.com/
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
the only reason I never installed this is because of the money, so I'd really like it if you did make the free version work 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Yeh, rather a free version that doesn't echo "buy this, buy this now!" lol...
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
oh, possibly support for www.searchirc.com !!! it can show how many people are actually on the server lol... as opposed to connecting from a script. Actually, i thin theres an option on pjirc to show everyone actually on the server, but i think that person was talking out of their...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
New version (1.4.1) released: now supporting jIRC 2.8 beta. Overwrite your classes folder, ubb_chat, chat files. Also overwrite vars_wordlets_chat if you haven't changed it. If you have, only copy the "profile_err_nosuchuser" line.
Also rehack cp2_vars.cgi.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
New in jIRC 2.8: you can use images instead of text buttons; DCC send; you can choose to see the IP address of users when they join the channel; you can choose to have special avatars for certain user names. New in Chat 1.4.1: the profile button redirects to the chatter's UBB user profile page.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Awwe, nothin on using PJIRC yet? If you played with it I bet you'd like it more than jIRC  ...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Just installed and licensed Jpilot, thanks for an excellent addon! ...but yes, PJIRC looks nice aswell... 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
I mean no disrespect to jpilot; but comeon, $10 would get you more users than $50...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
One issue with the user profiles...
My board policy says that every user should register with their full name, for example "Ronald Reagan". In the chat all spaces are converted to underscores, and his name will be "Ronald_Reagan".
That means that a right-click and "See user profile" never works on my board.
Is it possible to hack this addon, so that the rightclick "converts back" to the original UBB public name with spaces, and show the profile?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
My mistake.. In chat.cgi: Find: my @srec = &member_directory_slurp; add below: my $unick = $in{nick}; $unick =~ s/_/s/isg; then find: if ($_->[1] =~ m/^Q$in{nick}E$/i) { replace with if ($_->[1] =~ m/^Q$in{nick}E$/i || $_->[1] =~ m/^Q$unickE$/i) { Let me know if it works, if so I'll update the zip.
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
That's fixed now. Re-download the chat 6.7 zip file and re-upload chat.cgi.
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Worked!
But... In Sweden we have the strange letters Ă„ Ă… and Ă–. If a username contains one of those, the username is cut off...
Example: David Karlström become David_Karlstr
Doesn´t look nice and the profile-viewing doesn´t work for these users.
Is it possible to fix that too?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes, it is possible. Just in ubb_chat.cgi replace Ä, °A, Ö, etc with simple A, A, O. Then in chat.cgi, do the same with $_->[1]. The problem is that I don't know whether it works on all systems, because maybe a non-European system might have a problem with "special" characters.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
I don't believe that the IRC protocol supports non-english character's; so you'll have to have them filter to an english variable, such as what LK said above...
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
how might I disable the "guest" usability?
I'd like it for people to have to be logged in to the board to use the chat.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Add the following line to the second line of ubb_chat.cgi: &LoadTemplate("public_login") if (!$username); untested, but most definitely should work.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|