My first mod, ported to 6.2
Here we go:
Name: Chat Mod
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, shows how many people are currently chatting and even invites people to the chatroom (by Recent Visitors, thanks to Olson).
Demo:
http://www.lkubb.dns2go.com Link:
ZIP File or MultiHack File Requirements: UBB™ 6.2.0 Beta Release 1.0 ,
Mod Wordlets ,
jPilot License (unless you want to see an "unregistered" line after every line)
Special thanks to: Ryan Olson for Invitation Script, dj_rava for the Admin Command Buttons idea and Troy for MultiHack, hosting and supporting me all the way
.
Screenshots:
Forum Summary ,
Chat Window ,
CP
your quick
hell im not upgrading t'll 6.2 is full and final
I agree Mr. Ace!
But I ain't going anywhere without LK's chat mod! So it's nice to know it's ready for us.
Thanks LK!!
Bandit
ZIP file updated, there was some problem with WOL.
Rehack ubb_forum_summary.cgi.
is anyone else having a problem with the multihacked version installed into 6.2 beta 1.0?
install apparenttly goes perfect, but it produces an error with the ultimatebb.cgi file after?
MHK file updated, it used some WOL (not PNTF) code in ultimatebb.cgi
there's still a problem LK
quote:
Originally posted by Wando™:
there's still a problem LK
No there isn't
have you fixed it now? what was it?
I fixed mod wordlets and that works fine, but I still have the same problem as before
No, there isn't because it worked in my test board
Just installed this, cleared cache and get an error when trying to access my board:
Execution of ultimatebb.cgi aborted due to compilation errors.
UBB Test Board:
http://www.barox2.f2s.com/ultimatebb.cgi ????
[ 01-03-2002 09:12 PM: Message edited by: BigMrC ]
Did you install Mod Wordlets?
missed that - trying it now.
[ 01-04-2002 06:29 AM: Message edited by: BigMrC ]
ok just downloaded and installed your mod_wordlets 1.5
Still getting same error on main UBB page as above.
Installing the mods_wordlets, I already had the file vars_wordlets_mods.cgi so all I did was edit it so it included _ => q~~,
Is this right? or am I supposed to substitute names for !hackname! or something.
No, you don't need this line
Do you have AIM, ICQ, Yahoo, MSN, etc etc?
call me thick again, but what do you mean ?
Enter
http://messenger.microsoft.com , download the program and use your Hotmail/real mail account. Then PM me/post your ID.
Done, he didn't install Mod Wordlets
thanks LK, seems to be working fine now, a few questions:
1. If I register and pay for this jirc can I then use the same registration number when I impliment this hack on my main board as well as my test board? ie would I have to pay for it twice?
2. You say I didn't have wordlet mod installed, I thought I did, can you tell me EXACTLY what you had to do to get my board running as I want to put this on my main board now.
1. If it's from the same domain.
2. You didn't install it at all, only added that line to vars_wordlets_mods.cgi
I've added it to cp.cgi, cp_common.pl, cp_wordlets.cgi and ultimatebb.cgi.
in the install file for mods_wordlets it first asks if you have a file vars_wordlets_mods which I did, then proceed to step 3, add that one line then proceed to step 5 and that's all you have to do ?!??
Even though you had the file, you should've chose you don't
ah. so to be clear before I screw up my main board
, all I do is step 4 and nothing else ?
About to purchase the jirc chat. Just incase I make a boob here what's the domain I should enter at registration, is it the exact location of where the chat thing will be, eg:
http://www.campbellwebdesign.co.uk/cgi-bin/ultimatebb.cgi?ubb=chat or is it above without ?ubb=chat, or is it my cp address or what?
Please be clear as I don't want to have to pay for it twice!
thanks
You won't pay twice anyway
Make it: campbellwebdesign.co.uk
LK help, just installed modwordlets and chat on my live board and getting compilation errors. Will PM you details.
Tried to sort this out with LK but we couldn't figure it out. Everything works fine except Send Invitation feature, says its sent invitation but no invitation pops up for person you've sent it to. Anybod else having this problem or know how to fix it let us know.
Will this hack work with 6.2.0 final ?
Greetings.
I installed this mod in my site, but the chat applet never loads, so far that is the only thing that doesn't work (yes I know it's also the most impotant one
). When i run the mouse over the window, it says "load:class not found"
Any Ideas on what I'm doing wrong?
Any help is appreciated.
Rabriar
Make sure you uploaded the jirc_* files to NonCGI directory.
I did.
I think the problem might be with the configuration in the CP board.
My parameters might be wrong.
I left the ones that came with it, but still not good.
and the configuration that jIRC gives you does not match the parameters in the CP board.
I'll keep trying, in the mean time, any suggestions will be appreciated.
Rabriar
Nevermind, I got tired of trying
So I modified script to work with my chat program.
Great Hack!
Rabriar
After installing this hack TWICE and it still giving the aborted due to compilation error I am posting here.
Now there are differences in the mod_wordlets_install instructions.
It says to find in ultimatebb.cgi:
display misc email time search pm registration template_match wordlets wordlets_err wordlets_img wordlets_date
That line does NOT exist as it is there.
The line that does exist is:
display misc email time search pm registration pntf template_match wordlets wordlets_err wordlets_img wordlets_date wordlets_pntf
To which I am having to guess as there are no clear instructions, that you add wordlets_mods chat to the end of that line.
Even doing that and following EVERYTHING in the hack it simply DOES NOT WORK on 6.2 final. Also the instructions throughout the hack itself are some what confuseing. When you say that mod_wordlets haven't been installed, would they come up in the control panel under modifications wordlets if not installed? I had to make a slight correction through the control panel as the connecting message was blank. I have cleared my cache. What exactly in clear instructions do I have to do to get it to actually work?
This is the only hack that I haven't been able to install. It seems to me that the mod kit 1.5 is only designed for ubb 6.1 as that is what it states beside it on the download page, yet its a requirement for a 6.2 board, why is this??
Please help clear this up.
Christopher.
Welcome to UBBDev Christopher, do you have ICQ/AIM/Yahoo/MSN?
Hello LK,
Yes my icq number is: 15359024
I have even now tried the multi-hack to do the hacking of the files and it resulted in the same problem.
Regards
Christopher.
hi
i have installed this, cleared cache and get an error when trying to access my board:
Execution of ultimatebb.cgi aborted due to compilation errors.
i have installed vars_wordlet_mods correctly..
Please help me
thx
You get that error when you add this below i don't know why because i get it too.
(if ($ubb eq 'chat') {
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&chat;
exit(0);
}
if ($vars_chat{Invite}) {
if ($ubb eq 'newinvite') {
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite_form("$vars_wordlets_mods{invite_message}");
exit(0);
}
if ($ubb eq 'invite') {
&GetOrPost("POST");
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite;
exit(0);
}
})
Something here causes the compilation error everything else works when i take this out. But ofcourse the hack doesn't if i take this out!
At a guess there must have been a slight codeing change between the beta 6.2 and the final version. I am glad that at least two others are having the same problem. I just wish it could be resolved relatively quickly.
Christopher
I had the same problem and gave up.
UBB 6.2.0
It's actually a bug in Mod Wordlets. I'll include a text file that has a working version of it in a few minutes...
Anyway, ZIP file updated. Rehack ubb_forum_summary.cgi and vars_wordlets_mods.cgi (the chat_visitors_X parts), and upload the updated ubb_chat.cgi.
Fixed: now it uses &IPAddress instead of $ENV{REMOTE_HTTP}.
Updated: now there is 1 wordlet for 1 visitor, more than 1 and less than 1.
Use %%URL%% to open a href, %%ENDURL%% to close it and %%NUMBER%% to show the number of visitors.
Redid it all LK and i still end up with that Compilation error
ZIP file updated, now it uses jIRC 4.6.
Upload ubb_chat.cgi, cp_vars_chat.pl, vars_wordlets_mods.cgi (new lines), vars_chat.cgi (new lines) and rehack cp_lib.cgi.
I'll probably do the MHK one tomorrow
.
ZIP file updated. Please reupload ubb_chat.cgi, cp_vars_chat.pl and jirc_*, and rehack cp_lib.cgi.
Added another parameter and jPilot fixed a bug in jirc_*...
Did the mhp get updated with the latest LK? I was wondering if I should create one or not
Oh, sorry, I forgot... I don't have a lot of free time lately, so if you wish you can make it
BTW, also 'sound_join.au' was added, upload it to noncgi.
Allen, I'm updating the MHK file now
MultiHack file updated
Greetings.
After installing the Multihack files I was still getting the "compilation error". What i did was open up the ultimatebb.cgi file and look at the code, I noticed something diferent around line 578, after modifying it it looked like this:
if ($vars_chat{Invite}) {
if ($ubb eq 'newinvite') {
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite_form;
exit(0);
}
if ($ubb eq 'invite') {
&GetOrPost("POST");
&RequireCode("$vars_config{CGIPath}/ubb_chat.cgi");
&invite;
exit(0);
}
}
if ($ubb eq 'msg') {
&RequireCode("$vars_config{CGIPath}/ubb_msg.cgi");
&im_form;
exit(0);
}
when you look at your code, you'll find something after "&invite", what I did was delete it, and it works now.
I hope I was of help to somebody.
remember your code should look like that after you delete what is after "&invite"
Good Luck
Did you install Mod Wordlets? If so, do you have ICQ, AIM, MSN, etc?
LK - upgraded to 6.2.1 and reinstalled chat mod. All working fine except:
when first goto board it says "there is currently 1 person" or whatever in chatroom, click to join.
When view a forum or post and come back to main page the wording next to chat has disappeared or it just has the number 1 or 2 in place of "There are currently..."
Think therefore its not displaying properly for .php only for .cgi
can somebody give me the license code? =
i cant buy the program....
BigMrC, did you update chat settings?
Ysomething, yeah, right!
ZIP file updated, it was a bug. Rehack ultimatebb.php, cp_lib.cgi and update chat settings.
LK updated those 2 files with your latest zip, same thing still happening.
nice hack!
LK any ideas on how to fix above prob ?
Oops, I uploaded the old files
Try again
LK downloaded your latest ones just now, amended the 2 files, same thing still happening.
Nah, I checked, it's fine this time
Try to clear your temporary internet files/disconnect from the proxy and try again.
I installed the hack on a german version of 6.2.1, but there is nothing displayed in the Forum.
The jirc can´t connect to
Any ideas?
www.none.de ? nice name :rolleyes:
LK I have cleared cache, cookies, history, the works. Everyone viewing my board still seems to have the same prob as above
?
LK, can we use this mod with an earlier version of jpilot?
Vars: yes, but it's not recommended: JPilot fixes stuff in every new release, and adds new features.
Mr: Do you have ICQ? AIM? MSN? Y!?
LK I have MSN, you should have my email, we've talked before on it. I can't access my cp just now, do you want me to contact you when I can in a few days or do you have some advice meantime ?
I was using the old chat mod on 6.1.04. I just upgraded to 6.2.1 and put the mod wordlets back on and then the chat mod. When I go to the chat page, it clicks over and over as if it is loading something over and over, even though the applet, etc. is already there. Also, it tells me my nickname is already in use and just gives me a shorter version of the name.
http://www.tropictravelonline.com/cgi-bin/ultimatebb.cgi?ubb=chat
Set refresh rate at CP to like 10 minutes
BigMrC, what is it again?
Lk, i've tried to install this two times and both times i get a software error.
Is it possible that this error appears because i did not fill in the chat parameters in the CP and clear the cache? It would be strange when this is the case isn't it.
Make sure you've installed Mod Wordlets correctly. If you have, ask your server admin for the error log.
Thanks LK, there was no L in the wordletline in ultimatebb.cgi (don't ask me how) "wordets.mods"
Superb deployment.
OK, I must be tired tonight, but I just don't see refresh settings in the real control panel or the file itself. Can someone spell it out? Thanks.
"Refresh Rate", after "Allow Invitations?"
I have a question for you, LK, especially since I got a message at your site that your chat is "down" due to server issues--how much of a bandwidth drain is the chatroom?
Hi,
Allen installed this chat mod for me (in addition to a ton of other things) at
http://www.ponyexpresshorses.com/cgi-bin/ubbcgi/ultimatebb.cgi The chat room works great but it rarely shows anyone as being in the chat room on the forum summary page. When I looked at LK's board his showed the members and guests who were in the chat room right there on the forum summary page in the who is/recent visitors area. How can I make mine do that?
A couple of my members who are as computer illierate as I am have said that they had to log in about three times for the applet to work correctly and then after that it works just fine. My members love it because more than two people can chat at the same time. Thanks.
??? I have just tried it myself in your board and it works...
Thanks LK. It must have been a gremlin or something. It saw ya coming and now seems to be working just fine. Its a great addition to my forums and the members love it. Thanks again for making it available.
error at this part in ultimatebb.cgi
[code][/code]works only if i delete this last line. can u help me ?
error:
######
Execution of /homepages/cgi-bin/bd2/ultimatebb.cgi aborted due to compilation errors
#####
ZIP/MHK files updated, I added 'Nickname Extension' part to the CP. It adds an extension to the nickname, so nicks shouldn't be 'reserved' anymore if you'll use this optional feature.
For example, if you'll use '-IP' as the extension and 'navaho' as the nickname, the nickname will be 'navaho-IP'.
LK,
I had your chat hack on my old 6.05 and Ive just upgraded from 6.2.1
I left all the var files alone, didnt lose a thing. Excellent work.
I am now having the same trouble I had originally with access to the chat page however.
I would like to prevent any guest and/or member without posting privledges from accessing the chat room.
Thanks!
michael
I got everything working ok. But whenever I try to connect to a server I always get an error that says USER * not enough parameters. Any ideas what I am doing wrong?
Bizkit73,
I had the same problem.
I removed some of the parameters from ubb_chat.cgi that I wasn't using and it fired right up!
Here's what I took out.
Of course, your list may be different.
Bandit
Can you tell me if it works when you'll use the code I provided, but with:
[/code]Instead of your:[code]
?
LK,
I put the code back in with your correction and it gave me the "not enough parameters" error again.
It would probally work if the question were answered in the cp. I just didn't need them for my chat server. I think.
BTW, I took that code from a clean copy of ubb_chat. I didn't change it.
Bandit
It seems to be working fine with one major problem.
All the buttons that affect channel mode act fine until I click the OK button. Then I get the following responce.
*** #%$C You're not on that channel
I checked the code against the board of have working with the old version and it reads.
OLD CODE
Both connect to the same server and channel, so it has to be a variable getting dropped somewhere, but I am not sure where to begin looking.
Excellent mod LK; I've always wanted a way to implement a fully-controllable IRC environment for my BB.
Is there a way to connect to the chat server through a proxy on a per-user basis? I work on a Naval Station and can't connect because I don't see a way to connect through our proxy. I can connect from home just fine. I see in the CP that I can input SOCKS4 information, but this would affect everyone's connection, and I don't believe we use SOCKS4 anyway.
Also, what is the field Hostname for in the CP?
LSGOLF, URL? the one in your homepage is 6.05
AKD, 1. Display Config Sock thing, I think; 2. no idea
http:dynamic3.gamespy.com/~links/ubb6211/ultimatebb.cgi is the url to the test board that I am working with. I ended up hardcoding the channel (replacing the #%/$C with the actual channel name in the code.) I will revert it back to the original code if you want to diagnosethe problem, but it works this way, so I am happy.
Yes, revert back.
And it's , not /
Reverted Back
You can ICQ me (if you have it) at 784268 if you have questions.
I found the answer to my own question....
I am befind firewall, can I connect to IRC servers outside ?
Currently, jIRC does not support proxy connection. It means that jIRC applet can only connect to IRC servers inside your local network if you are behind company's firewall.
Oh well. Looks like I can't use government time to test my chat room until they add proxy functionality!
LS, can you paste that /topic line from http://dynamic3.gamespy.com/~links/ubb6211/ultimatebb.cgi?ubb=chat ? Only admins can see it...
Anyhow, I strongly suggest you to remove this rightclick block - you can always use the menubar and you can always remove javascript support from the browser with 1 click. But it's very annoying.
Not sure what you mean by
quote:
LS, can you paste that /topic line from http://dynamic3.gamespy.com/~links/ubb6211/ultimatebb.cgi?ubb=chat ? Only admins can see it...
I switched to a different style then the one I was using to get rid of the right click block (we are going to need that because of link theft) for now.
If you want to test it out as an admin, sign up for an account and I will gladdy grant you admin rights.
quote:
You do not have permission to access this area.
» Use your browser's back button to return.
I get this error when I try to enter the chat settings in the control panel. could anyone help me out?
How do you add sounds to the chat room ?
cupid, rehack cp.cgi
LSGOLF, 1. in the HTML source, find a line with '/topic' in it, and paste it here.
2. in noncgi directory, add sound_X.au to add /sound X.
In the future release I plan on adding a selectbox with all sounds.
[code][/code]I add the sounds by the specs but they don't seem to play.
sound_test.au is in there, but it won't play. Is there some special properties like mono 8 bit or something needed
Make sure you're using AU format.
I meant from the HTML source, not the UBB source - enter ?ubb=chat and paste from there
BTW, (for everybody - not just ls), I fixed something in ubb_lib_files, please rehack it.
quote:
Originally posted by LK:
Make sure you're using AU format.
I meant from the HTML source, not the UBB source - enter ?ubb=chat and paste from there
BTW, (for everybody - not just ls), I fixed something in ubb_lib_files, please rehack it.
LK i just redownloaded the files from your hack page but the zip is missing the instruction .txt
Is ubb_lib_files the only files that need to be update?
thx
Inka
Oops, try again now
Yes, only this file.
thank you
will this update affect the IM hack ?
Ink-A
If you have IM hack, don't hack this file.
ZIP file updated. Now it adds sound selectbox (optional). Rehack cp_lib.cgi and re-upload cp_vars_chat.pl, ubb_chat.cgi. Then enter chat settings and enable it.
Thank you LK
I will do that
why i don't have to hack ubb_lib_files with IM hack?
what did you fix on it ?
thank you
Inka
I mean don't hack CHAT MOD's ubb_lib_files
The only difference is that chat mod only reads your FIRST message, while IM can read all of them.
Your not chatting on your own server right, so it doesn't need much data does it? I have a limited data traffic...
Right
Download again and re-upload ubb_chat.cgi, now the sound stuff uses a capital letter as the first letter
(like 'Join' instead of 'join')
[code][/code]From the html page.
FYI, I moved the board into production. The new url is
Links Corner
As far as the sound stuff goes. They are all au files. I tried playing with case, and the ones that worked before work as lowercase or upper case. The ones that don't work don't seem to care about case, they still won't work.
Come on, if you don't want us to know you're using a cracked version you can hide the about button
Can you do the following in ubb_chat.cgi:
[code][/code]
I bought it of a member about a year ago who said he was no longer using it and offered it to me for $ 25.00 He gave me the licence number to fill in and it worked so I thought all was kosher. I had no clue he had pirated it.
THNAK YOU for catching that. I registered it the second I read your post.
Resigtration Confirmation If you see anything else there that is not licensed, let me know. I work with a number of large software companies as a consultant and don't want any of that **** on my sites.
Just to let everybody know, a license key is special for any domain - nobody that says that stuff can actually do it legally.
Updated UBB_CHAT.CGI as per your request
The topic thing works fine here
BTW, if you want to fix that public name problem, get member file stripper from
www.ubbcentral.com
Awesome, thanks for the fix to that, it is driving me nuts.
Still getting same No Channel Found here.
By the way, I am looking to get a custom hack done. One that will allow me to have a forum where users can not reply unless they are the original poster or have been granted permission to reply. It is for a tech support forum and we have assigned techs. The problem is the users have to start a new post if the tech asks them a question. How hard is this to do and if you would do it, how much would you charge ?
I found the issue, the new Java Script from JPILOT fixes the bug. However, the java script does not download when accessing the page. So I am using an old version it seems to access the room. How do I get it to download ?
I forgot to add a Wordlet for "Sounds:"... Rehack vars_wordlets_mods.cgi and re-upload ubb_chat.cgi
Sorry for updating the file 4 times in two days or so, but... I made the invitation thing like in IM hack
(like redirection, more than one message, disable option, etc).
Please rehack ultimatebb.php and vars_wordlets_mods.cgi (invite_disable), and re-upload ubb_chat.cgi.
I updated the hack to the latest version. Now when I invite a user it when it finishes the invite process, it opens a second chat window and I am in there twice.
Ok, I guess I was wrong when I decided to move back to the last page
ZIP file updated, re-upload ubb_chat.cgi
hi LK,
if i invite i become this error:
#############################################
Software error:
Execution of /homepages/htdocs/cgi-bin/ultimatebb.cgi aborted due to compilation errors.
For help, please ...
#############################################
and if i delete this part in ultimatebb.cgi
[/code]my board and the chat works fine - only the invite part is dead - wy ?!?
*****************
the part in ultimatebb.cgi near # forum summary
[code]
Make sure that you have installed mod wordlets correctly.
Fixed the bug I mentioned in IM's thread, p.12, re-upload ubb_chat.cgi
ubb_chat.cgi need at:
#####################
sub invite {
###########
# get assigned style template!
$title_wording = "$vars_wordlets_mods{chat}";
&LoadStyleTemplate($vars_chat{Template});
&set_page_elements;
my %logins = %{$PNTF->{DATA}->{uniq}->{logins}};
################
idea: popup windows for chat_invite - test it at:
http://chat.loveground.com click the button "EINLADUNG" at the right top.
LK take a look to my ubb_chat.cgi:
http://www.loveground.com/database/ubb_chat.zip
invite_disable ? for me or the online users ? i don´t understand wy ...
i can´t invite with php !!!
check out ultimatebb.php or ubb_chat.cgi - if u invite a user and open your ultimatebb.php site ! u become a script error - only if u open ultimatebb.cgi it works ...
right at the start and I'm a little lost, when I analyse the MH file - I get an error with ultimatebb.php.
Where is the file - do I have to create it - if so how?
thanks . . .
When I try to connect to irc.enterthegame.com #netwerkin (registered) I get an error saying that there are too few parameters for ***user, is there something I'm missing that should be painfully obvious?
quote:
Originally posted by XPerT:
When I try to connect to irc.enterthegame.com #netwerkin (registered) I get an error saying that there are too few parameters for ***user, is there something I'm missing that should be painfully obvious?
I solved the problem by entering some text in server password and channel password
File updated, please rehack cp_lib.cgi and vars_wordlets_mods.cgi's 3 last lines. Then upload ubb_chat.cgi, jirc_mss.cab, jirc_nss.zip, jirc_pure.zip and cp_vars_chat.pl, see 3 new options in the CP - Allow Leave Sound, Allow TimeStamp and TimeStamp Something and set them.
Tada - you got jIRC 2.6.1 beta release. If you want 2.6.0, get its files from jp.com.
quote:
Originally posted by XPerT:
When I try to connect to irc.enterthegame.com #netwerkin (registered) I get an error saying that there are too few parameters for ***user, is there something I'm missing that should be painfully obvious?
I got the sme problem. With Chat Hack for ubb6.1 all wok fine.
The Text output if i try to connect:
*** USER not enough parameter
closing Link´
I try to enter some text in server and channel password but this dosn't solve it. Any clue ?
Update 1:
The default chat user name must be without spaces in the name ! I use 'DC User' and this dosn't work, change it to 'DC_User' and ist work fine
Update 2:
And agin it does not work There is something strange
I need the URL for the UBB
Does anyone know the admin commands for using this chat? I can't seem to stop having the first person in the chat room become the admin.
Sorry I'm not quite experienced in mIRC chats.
The current multihack does not place the cp_vars_chat.pl in the Templates directory. Just thought you should know.
Thanks, fixed
Terminator, please check the 6.0 thread, I think it's there.
Has anyone ever had the following show up on the UBB page?
"1020882822Nobody is in the chatroom. Click here to join it."
The number of people in the chat room is never correct and the "1020882822" shows up.
Running on a win2k server with, IM, calendar, last reply in forum, news fader, spell check, mod wordlets, mod cp.
http://hack.turboford.org It seems to work well, but the message above bugs me.
Hey Can anybody help please i installed this hack i have the chat window and everything but thats as far as it goes the error i get is "Load Class Chat Not Found" Many thanks in advance
chat works great!!
but usernames that start with numbers dont work!?!? they get an eroneous nickname alert. anything to fix this>??