My first mod, ported to 6.3
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.lkworld.com Link:
ZIP File or MultiHack File Requirements: UBB™ 6.3.0 Beta Release 1.0 ,
Mod Wordlets ,
jPilot License (unless you want to see an "unregistered" line after every line)
Number of downloads: [img]https://ubbdev.com/lk/num.php?s=chat.zip,chat.mhp[/img]
Special thanks to: Ryan Olson for Invitation Script, Brett (raiyan) for JavaScript idea, 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
Great work LK, installed and working!
But the invite is not working, it gives errors.
I checked the readme again but all was put in the right place.
It has something to do with templatenumber(s) ???
Fixed
Can't find this in my ultimatebb.cgi:
Find:
=====
} elsif ($in{ubb} =~ m/^(pntf|pntf_js|pntf_admin|preview_post)$/) {
$templatefile = $template_match{summary_page};
Ignore that part, I forgot to upload the ZIP without it
ZIP/MHK files updated - I forgot about a Wordlet - "FieldNameSignoff" - please add it
Modified files: ubb_chat and vars_wordlets_mods
Error:
LoadStyleTemplate no longer takes a number.
(Backtrace: : ubb_lib.cgi:1830 -> sub main::Tracer)
(Backtrace: : ubb_chat.cgi:15 -> sub main::LoadStyleTemplate)
(Backtrace: : ultimatebb.cgi:526 -> sub main::chat)
Call me an idiot. I forgot to upload the 3 cgi-and-pl-files in chat.zip :rolleyes:
Just one question: in this new version, the chat reloads continuesly - isn't that to much serverload?
*ahem*
Forget that too. I wasn't at 100% yesterday. Had to run the config in CP once... It loads cont., if you don't give any time for how often the userlist refreshes :rolleyes:
Just ignore all my text in here
Where it says to look for this...
quote:
sub OpenFileAsVar {
push (@openedfiles, $_[0]);
local (*FILE);
local ($str);
if (-e "$_[0]") {
my $handle = $filehandle->open('file', 'readonly', $_[0]);
$str = $handle->readfile();
$filehandle->close($handle);
} else {
&CheckCachedFile($_[0]);
}
chomp($str);
It is actually:
quote:
push (@openedfiles, $_[0]);
local (*FILE);
local ($str);
if (&FileExists($_[0])) {
my $handle = $filehandle->open('file', 'readonly', $_[0]);
$str = $handle->readfile();
$filehandle->close($handle);
} else {
&CheckCachedFile($_[0]);
}
chomp($str);
The part that is different:
In your code you have
quote:
if (-e "$_[0]") {
In the ubb 6.3X file it is:
quote:
if (&FileExists($_[0])) {
At least it was that way for me.
Yup, sorry, thanks
Your welcome!!!
I'm glad I could put my 1 cent in and help out a little.
LK, I haven't looked at the code in a while. Is it possible to shorten the random digits for guests to like 3 or 4? I know a place where they would never get over 999 Guests using Guest### (actually the chatserver would probably crash)
5 digits == world standard.
But:
$nick = "Guest$digit[rand(10)]$digit[rand(10)]$digit[rand(10)]$digit[rand(10)]$digit[rand(10)]";
Delete the last two $digit[]
Fixed a problem: most admin commandbuttons didn't work. Please upload the new ubb_chat.cgi
I have a probelm, i see the little logo chat and no the text for connect to the chat :
My URL
Reinstall Mod Wordlets -
www.qasic.net and rehack vars_wordlets_mods.cgi part of chat mod.
ZIP/MHK files updated - added HTML feature to CP.
Please re-upload cp_vars_chat.pl, ubb_chat.cgi and rehack cp_lib.cgi.
Fixed a bug in the counter - please re-upload ubb_chat.cgi
Now i have this message when i run my forum :
Software error:
Execution of /home/sites/site1/users/jano/web/cgi/ubbcgi/ultimatebb.cgi aborted due to compilation errors.
For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.
What can i do ?
Thanks.
It doesn't really help, rehack everything
If it still doesn't work, please leave your ICQ/AIM/MSN/Yaho! ID
I send you PM for ICQ.
If i re-hack ultimatebb.cgi i have the same problem, in manual mode or with multihack. I use 6.3 beta 2.
Thanks.
I tried it on 6.3 Beta 2... no luck. Any major changes to get it to work here. Love to have this one on my board.
Thx
Using multihack I also get
Software error:
Execution of /home/sites/site4/web/cgi/cgi-bin/ultimatebb.cgi aborted due to compilation errors.
For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.
Ive rehacked it 3 different times. Ive tryed it live on the web and incase I did permissions wrong or something strange, I also hacked it on my PC local board and still same error.
Blame Qasic
Open ultimatebb.cgi.
Find:
wordlet_mods
Replace with:
wordlets_mods
Open vars_wordlets_mods.cgi.
Try to find:
wordlet_mods
Replace with:
wordlets_mods
If even 1 of them is there, it should work after fixing it. If not, do you have AIM/ICQ/MSN?
Yup, the spelling error was the problem. Works now, Thanks!
Fixed a minor bug in ubb_chat.cgi, please re-upload from the updated ZIP/MHP.
hi i'm getting htat complication error too and i checked if the spelling was correct and they are
any help would be nice thnx in a advanced
Hi LK,
Mod works great, now that I figured out the spelling error for wordlets_mod etc. Mind you the chat message in category view is showing up twice, and twice in the CP as well - weird, will have to edit those out.
Question - how does the invite work, as although no errors happen, no invite is ever received. Is there anything else I need to add.
Ian
1) so you hacked it twice
2) it should work, try to rehack public_common.pl?
a) probably correct
b) public_common.pl fine - just the one line added - but still no joy
Re-checked each file, just in case
Ian
Invite feature doesn't work on my board either. Sometimes you get a delayed invite message and other times it doesn't work at all.
Canvey, I visited your site and can say for sure that you didn't hack JCTemplates/public_common.pl correctly
Eagle, I need a demo user/pass for eaglecrew.com.
LK sent the login nfo to your dkldkl2@ email address.
Thanks!
Okay, the problem is in ultimatebb.php - doesn't chop.
Try the following and tell me if it works before I update the ZIP:
Open ultimatebb.cgi.
Find:
I think you meant to say Open ultimate.php not ultimate.cgi?
Edited the php file and still doesn't seem to work right and now I show up twice in the chatroom?
Worked when I tried
(notice: it only works in forum summary, forum page, topic page, faq, ubbcode page)
ZIP/MHK files updated... Added the changes to ultimatebb.php, and now ubb_chat.cgi uses $ULTIMATEBB
Had no problem hacking everything and from what I've seen it works great! Thanks a lot LK!
Updated, using instead of that thing (now it doesn't break cache).
Thanks brett (raiyan) for the idea!
Updated again, fixed a bug in chat.cgi, re-upload it.
Hehe, I just downloaded this yesterday to do a reinstall on my boards and came back to mention a bug... but, looks like it's all fixed.
Nice timing LK!
~Z
I have just installed new version, now i haven't text on the line for start chat on :
http://www.motorlegend.com/users/jano/cgi/ubbcgi/ultimatebb.cgi Wordletmod is installed and chat running fine after. How fix it ?
Thanks.
LK, please, Helpe Me
!
I missed your post
You didn't CHMOD 755 "chat.cgi" (a new file in cgi-bin dir), or you didn't change the first line (#!/usr/bin/perl) to reflect your server's one. If you don't know what it is, check ultimatebb.cgi's first line.
It's fine now, THANKS !!!
ZIP file updated, re-upload chat.cgi (only to fix an error in the error log, it doesn't matter)
Getting the following error when modifying setting in control panel
Undefined subroutine &main::set_vars_chat called at /home/links/cgi-bin/2003/cp.cgi line 305.
Bump!
The links aren't working.
Bump again.
Has this mod been pulled for some reason?
Thank you Maurice
Updated to 6.3.1 (cp_lib.cgi, cp_common.pl)
I'm getting:
ubb/Templates/cp_vars_chat.pl: Undefined subroutine &main::AlternateColors called at /ubb/Templates/cp_vars_chat.pl line 19.
When I go to Chat Settings.
Hey LK, I get this wierd Chat I-frame page when trying to backup on my board. It will not backup with the browser (IE6). Check it out:
http://ubb.turboford.org
I am using 6.3.1.1.. I have templates installed and at the end of the templates text it says to edit ubb forum_summary.cgi if you have the chat hack installed, which I do! everything seems to work as far as I can tell but the code below this dosent exsist
#################################################
DO THIS STEP ONLY IF YOU HAVE CHAT MOD INSTALLED #################################################
Is there something Im missing ??
Speed, you don't need to do it anymore
Thanks LK (Less is better)
ZIP/MHK files updated - re-upload ubb_chat.cgi and cp_vars_chat.pl; also, it's RECOMMENDED that you re-upload jirc_*.
Updates - jIRC 2.6.0 preview 3 (not 2); you can now use Hex code in the colors (not only RGB and names)
LK, this is definitely the coolest mod I've seen. Thank you!
BTW, is it a deliberate feature design that non-registered members (guests) cannot connect to the IRC chatroom? (they never successfully complete the session connection) I like it this way, but am curious.
Hey, I posted earlier, we cannot use the back button anylonger. The I frame shows up as a back page but we cannot backup. Any way to get rid of the Iframe stuff?
My members LOVE the new chat feature and the chat room is frequently full of people. A lot of them have now contact me with an idea for a new feature (maybe you've considered this):
Have the forum summary page list the actual members in the chat room rather than just a number count.
Just tossing this out as an idea. Thanks for all your work!
Just two things :
I also get the :alternate colors message in the CP... so is there any chance to get the Mod work with a 6.3.0 UBB ?
And where is the iframe shown ?
caroth, you can set the refresh time in chat mod to 1000, then it won't refresh unless the user leaves the site open and goes to another state
August, good idea...
dbode, read what I said in my other hacks: just remove "&AlternateColors;" from anywhere in the cp_vars_chat.pl file...
Oh, and.. hmm.. 6.3.1 is better anyway
Hehe, yes I know, but I need a german version.
Perhaps I´ll upgrade when UBB is Version 6.6 *g*
One Question - we were 5 People in the chat yesterday evening from 10 to 12 PM. My system shows me that there are over 2900 Hits on the chat.cgi yesterday.
I didn´t expect hat it reloads so much - when I open it to the public, there will be around 10 or 20 times the traffic.
So are there just so much hits because it is also loaded when the category pages are loaded ? Then there would be no increase from yesterday to any time. But if that traffic is just because of 5 persons, my virtual webhoster will kill my account today
Any help ?
Best regards,
Dennis
Hi All,
Was just introduced to this forum afew days ago. Since then I've installed Quick Reply and the Calendar and some other mods but not sure what they do. lol
I just installed Chat but when I go to the CP, I don't see any setting parameters. It is in the drop down menu but when the page refreshes there are no options.
any ideas? I know it is probably something very simple I left out.
Thanks,
Jon Engalla
http://www.filambasketball.com/messageboard.html
dbode, no ideas, I'm gonna check soon
FilAm, re-upload cp_vars_chat.pl to noncgi/Templates folder.
I re-uploaded cp_vars_chat.pl to the noncgi/Templates folder and still no change.
All I see is:
FilAm Basketball Chat Settings
Chat for UBB6.3 by LK
UBB-related Parameters
License Key: XXXXXXXXXXXXXXX
Nothing else...
Please help...
BTW the license key isn't the UBB one, and it can be seen from the source. You get it from JPilot, and if you don't have one yet just leave it empty...
About your problem, make sure you removed all "&AlternateColors;" from cp_Vars_chat.pl.
Oh, and btw, please fix your copyright image - it has to say "Powered by Infopop" like the original one.
Changes Done... Works fine. Thank you LK!
How come the Chat link is just a small icon at the bottom of the forum page? Any way to enhance that?
Is there a way to make the chat link more visble on my site?
URL=http://www.filambasketball.com/cgi-bin/ultimatebb.cgi
As we use the chat more and more, the I Chat reloads have become a major problem and my PM inbox is literally filled with complaints now asking why I disabled the 'back' button. This is happening on ALL pages in the forum, including the forum home summary, not only the chat room page.
I went to increase the refresh rate -- you can only set it up to 99, so I set it at 99, reset the cache, and it still reloads in intervals of around 5 minutes.
Didn't even realize that it would be driving page-view traffic stats, but that is going to be a problem too.
Any advice on a solution would be hugely appreciated.
Okay, I removed that thingy. Please re-download chat mod, re-upload chat.cgi and rehack public_common.pl.
Thanks LK, but now after the new change when the forum summary page loads, a "File Download" box automatically pops up asking if you want to open chat.cgi "from its current location" or "save this file to disk".
You can see what happens on my test site:
http://www.epic-ski.com/cgi-bin/ultimatebb.cgi
No, I can't, because you probably removed it
Anyhow, are you sure you re-hacked public_common.pl and not just chat.cgi?
Ok, I'm an idiot -- sorry! I did re-hack the public_common.pl, but I didn't clear the server's and my PC's caches so wasn't actually testing the re-hacked public_common.pl. It was a rookie mistake, and I'm totally embarrased by it.
Thank you so much for this quick fix.
Can Anyone Answer my question...
PLEASE.
public_forum_summary.pl, where chat mod modifies... Replace size="1" with size="$vars_style{TextSize}". then make yourself a big icon for chat.gif.
My Forum Summary does not let members know how many are in the chat room. I've seent his feature on several sites... Am I missing something. Currently it just has the CHAT ICON and no text on the right of it.
Please help.
Thanks!
Oh and I see a new verion as well. If I have a working version of 1.1
What do i need to do to upgrade? Thanks in advance.
1. Make sure you uploaded "chat.cgi" to cgi-bin folder, and CHMODded it to 755.
2.
quote:
Originally posted by LK:
Okay, I removed that thingy. Please re-download chat mod, re-upload chat.cgi and rehack public_common.pl.
Who was this in response to LK?
Please help...
1 was your first post, 2 was your second (I listed the files you have to upgrade there
)
The Chat works fine... And I've uploaded the new files, but I still don't have any text mentioning how many users are currently in the Chat Room.
Chat.cgi is in my cgi-bin directory and chmod correctly. Cache has been cleared... What else am I missing?
When I type in this url:
http://www.filambasketball.com/cgi-bin/chat.cgi?f=summary A download button comes up... If that helps.
Are you sure you have Mod Wordlets, and added Chat Mod wordlets for it?
Just made sure... Yes. Cleared cache... Still nothing.
Well, I'm sure you did it incorrectly
I'm gonna try to re-hack again... Everything else seems to work, it's just the summary of who's online that is not showing?!?! I know it must be something real simple. Should I just redo everything?
I'm sure you're right... I am missing something. Just thought I could skip the entire rehack...
Probably vars_wordlets_mods instructions of chat mod, or ultimatebb.cgi instructions of wordlet mods... If you still can't fix it, please gimme a user/pass for your board
still not working...
Hey LK,
Still trying to figure out why the chat summary is not displaying on my forum summary page.
Any other ideas?
Hi, does anyone know if this chat mod will work with version 6.3.1.1 of UBB?
Ta much.
Please try it before asking
LK, I am running your chat mod on my 6.1.0.4 system. I noticed that your new version includes a drop down for sounds. Could you tell me where and what code to place so I can do the same?
Thanx
quote:
Originally posted by FilAm Basketball:
Hey LK,
Still trying to figure out why the chat summary is not displaying on my forum summary page.
Any other ideas?
If you get it working can you tell me as i am having the same problem and when i try going to ultimatebb.cgi?ubb=chat it tells me:
You are attempting to reach a page that does not exist.
» Please use your browser's back button to return.
Any ideas?
SSJ
about ?ubb=chat - rehack ultimatebb.cgi
about forum summary - I need your URL.
QuickSI:
if ($vars_chat{Sound}) {
local(*DIR);
opendir(DIR, "$vars_config{NonCGIPath}") || die "can't opendir NonCGI dir: $!";
my @sounds = grep { /sound_.*?.au/ } readdir(DIR);
closedir DIR;
$ImportantButtons .= qq~<td align="center">n<form id="sound">n<select id="sounds" onchange="if(sound.sounds.options[sound.sounds.selectedIndex].value != '') { jchat.processJInput('/s '+sound.sounds.options[sound.sounds.selectedIndex].value) }">n<option value="" selected="selected">$vars_wordlets_mods{chat_sounds}</option>n<option value="">------------</option>n~;
my $upname; my $regname;
foreach(@sounds) {
$_ =~ m/sound_(.*?).au/;
$upname = $regname = $1;
$upname =~ s/$upname/u$upname/;
$ImportantButtons .= "<option value="$regname">$upname</option>n";
}
$ImportantButtons .= "</select>n</td>";
}
LK, thanx! But what file does this go into and after/before what?
ubb_chat.cgi, it goes after
$ImportantButtons .= qq~<td align="left">n<font face="$vars_style{FontFace}" size="$vars_style{TextSize}"><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=newinvite" target="_blank"><img src="chat_envelope.gif" alt="$vars_wordlets_mods{chat_send_invitation}" border="0" /> $vars_wordlets_mods{chat_send_invitation}</a></font>n</td>n~;
}
and if you don't have it, put it after $ImportantButtons = line.
Ok tried to place it after one of those lines and nothing appeared. Here is the section I was using:
$Graemlins .= qq~
</td></tr>
$TBB
</td></tr></table>
~;
}
$ImportantButtons = qq~<table width="$vars_chat{Width}" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td width="100%">~;
if ($vars_chat{Invite}) {
$ImportantButtons .= qq~<font face="$vars_style{FontFace}" size="$vars_style{TextSize}"><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=newinvite" target="_blank"><img src="chat_envelope.gif" alt="$vars_wordlets_mods{chat_send_invitation}" border="0" /> $vars_wordlets_mods{chat_send_invitation}</a></font></td>~;
}
if ($vars_chat{Sound}) {
local(*DIR);
opendir(DIR, "$vars_config{NonCGIPath}") || die "can't opendir NonCGI dir: $!";
my @sounds = grep { /sound_.*?.au/ } readdir(DIR);
closedir DIR;
$ImportantButtons .= qq~<td align="center">n<form id="sound">n<select id="sounds" onchange="if(sound.sounds.options[sound.sounds.selectedIndex].value != '') { jchat.processJInput('/s '+sound.sounds.options[sound.sounds.selectedIndex].value) }">n<option value="" selected="selected">$vars_wordlets_mods{chat_sounds}</option>n<option value="">------------</option>n~;
my $upname; my $regname;
foreach(@sounds) {
$_ =~ m/sound_(.*?).au/;
$upname = $regname = $1;
$upname =~ s/$upname/u$upname/;
$ImportantButtons .= "<option value="$regname">$upname</option>n";
}
$ImportantButtons .= "</select>n</td>";
}
Here is the link if you need it:
http://www.hostboard.com/cgi-bin/ultimatebb.cgi?ubb=chat ...
Because you should remove the if ($vars_chat{Sound}) { thing (and the "}" at the end)
Hey now for someone who know zero perl I am getting by pretty well
But isn't that part of the code you just told me to add?
It's part of the code that handles sounds, I didn't tell you to add it
I've rehacked ultimatebb.cgi and still the same.
The owner doesnt want me giving out the forum address - Soz.
Anymore ideas?
SSJ
Forum summary - rehack vars_wordlets_mods.cgi, then rehack ultimatebb.cgi steps from MOD WORDLETS instructions @
www.qasic.net ?ubb=chat - rehack ultimatebb.cgi (chat mod, not wordlets) again
the step with if ($ubb eq 'chat') {
Got the forum summary working but i re and rehacked the ?ubb=chat part and i still get the same. is there anything else?
SSJ
Nothing else, do it AGAIN
It _has_ to be it.
code:
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);
}
}
That is what i'm adding in ulitmatebb.cgi right?
code:
[qb] # forum summary
if ($ubb eq '') {
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
exit(0);
[/qb]
Under that?
SSJ
quote:
Originally posted by SuperSaiyan-Jin:
That is what i'm adding in ulitmatebb.cgi right?
code:
[qb] # forum summary
if ($ubb eq '') {
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
&forum_summary;
exit(0);
[/qb]
Under that?
SSJ
You forgot the "}" after "exit(0);"
Nevermind. One to many }'s
Thanks for your help LK
SSJ
*EDIT*
Its working now THANK YOU!!!!
*EDIT*
Question: Does the chat run off your server or IRC's server?
Thanks to
http://www.vwcorrado.de , we have a TCL version for the eggdrop: it shows the exact details about chat visitors.
untested.
TCL file:
https://www.ubbdev.com/ubb/upload/00004463/userlist.zip Instructions:
What I did to chat.cgi was:
if ($in{f} eq 'topic') {
my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi");
my $chat_topic = $file[0];
my $chat_user = $file[1];
my $chat_counter = $chat_user =~ tr/,/,/s;
$chat_counter++;
$chat_topic =~ s/</</g;
$chat_topic =~ s/>/>/g;
$chat_topic =~ s/"/"/g;
if (length($chat_topic) > 55) {
$chat_topic = substr($chat_topic,0,54);
$chat_topic .= "[...]";
}
$ChatHTML .= "Aktuelle Besucher: $chat_counter</b> - Thema: '$chat_topic'";
$ChatHTML =~ s/"/\"/isg;
print "Content-type:
text/javascriptnndocument.write("$ChatHTML");"; exit(0);
}
if ($in{f} eq 'summary') {
my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi");
my $chat_topic = $file[0];
my $chat_user = $file[1];
my $chat_counter = $chat_user =~ tr/,/,/s;
$chat_counter++;
my $ChatHTML;
$ChatHTML .= "$chat_user";
$ChatHTML =~ s/"/\"/isg;
print "Content-type:
text/javascriptnndocument.write("$ChatHTML");"; exit(0);
}
That is instead of everything between if ($in{f} eq 'summary') { and }.
Additionaly, you should put a
code:
<script type="text/javascript" src="$vars_config{CGIURL}/chat.cgi?f=topic"></script>
in public_forum_summary.html where you would like to display the topic. I did it just right after $vars_wordlets_mods{chat}
I put this code after
$Top .= $pntf_locations[1];
code:
[qb] $Top .= qq~
<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="8">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=chat"><font size="1" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}"><b>$vars_wordlets_mods{chat} - <script type="text/javascript" src="$vars_config{CGIURL}/chat.cgi?f=topic"></script></font></a>
</td>
</tr>
<tr>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="center"><img src="$vars_config{NonCGIURL}/chat.gif" border="0" alt="" /></td>
<td colspan="6" bgcolor="$vars_style{AltColumnColor2}">
<font size="1" face="$vars_style{FontFace}">
<script type="text/javascript" src="$vars_config{CGIURL}/chat.cgi?f=summary"></script>
</font></td></tr>
~;
[/qb]
and deleted the other chat-display-stuff in "sub PageBottom {"
Yes, thanks, I forgot about it
BTW, the code I posted above has "Thema", "Aktualle Besucher"... It's "Topic" and "Actual Guests"/"Actual Users", it's suggested to translate it to English
LK,
I installed this ages ago on 6.2... and to stop everyone that entered the board being asked to change their name because it was already being used you gave me a fix that made it when anyone joined it would add "-Ox" to the end of their name thereby making it unique. Just installing it again on different server and latest version - can you give me it again?
thanks
In CP, go to Chat Settings and make "Extension" "-Ox"
ok I think that's working - although if I log in as A. Blonde which is one of my usernames it says erroneous nickname?
Also - and I had this problem with the last board - on my main page where it says chat it doesn't say "there are currently such and such people in the chatroom click here to join it" - it just says nothing on the main page, even though I've got those settings in chat mod wordlets (haven't changed from default) ?
board:
http://www.scotiwis.pwp.blueyonder.co.uk/ubb/ultimatebb.php
1) Try to remove the dot. Remind me to fix it in the 6.4 version
2) Upload chat.cgi from the ZIP file to cgi-bin folder.
thanks - success !
now all I have to do is get my license key transferred to new domain - have emailed them hopefully they can do it.
A couple of other things:
1. With the old one when I join as The Webmaster it isn't allowed and you changed it before so that when I joined as The Webmaster it would show as The W3bmaster or The W3bmaster-Ox which would allow it. Can you advise again how you did this ?
2. The first 3 of my graemlins/smilies don't work - any idea?
3. When you join - how do you get rid of all the crap that comes up - eg, WALLCHOPS/MODES etc etc - I just want it to say Welcome !
4. Is there any way possible to connect to the chat board when I or anybody else is at work - ie behind a firewall ?
thanks
1. ubb_chat.cgi, under:
code:
$nick .= $vars_chat{Extension} if $vars_chat{Extension};
Add
code:
[qb] $nick =~ s/Webmaster/W3bmaster/i;
[/qb]
2. no
3. I don't think it's possible, the IRC server generates it...
4. I have no idea, but in chat settings you can choose to show some more fields in the connection box, enable all of them and try to find something similar
thanks again LK. I have tried everything I can think of for no.2 (the first 3 smilies not appearing). Could you possibly see a reason why they're not showing up?
thanks
There are some problems in the applet for big images. If you choose to use regular smilies for that (in CP - Chat Settings - Filter Vals, choose for example smile2, rolleyes2, etc and then make X2 the stock UBB's X), it should work.
LK I've had some requests from users to be able to send people an invitation to join the chatroom, even if the person sending the request is not registered or logged in. Can you possibly hack it somehow to allow guests to invite members into the chatroom? This would be much appreciated on my board.
I get this error when I try to run cp.cgi
Software error:
"use" not allowed in expression at cp.cgi line 55, at end of line syntax error at cp.cgi line 55, near "pm use constant " BEGIN not safe after errors--compilation aborted at cp.cgi line 56.
I'm getting the following error on my CP:
An error has occured:
Undefined subroutine &main::AlternateColors called at C:/Client Websites/www.catcherman.com/web/ubb/Templates/cp_vars_chat.pl line 19.
I need help here guys.
I have installed this chat mod three times on my test site with the same results, zilch!!
Everything appears to be correct but you can only enter the chat forum by clicking on the category header, once inside which ever command you attempt it generates a new blank page. Here's my test site addy, anyone point me to where I'm wrong??
http://www.themotorhead.net/cgi-bin/ultimatebb.cgi
havoq, try to rehack cp.cgi from a clean version.
catcherman, it requires 6.3.1+.. If you use 6.3.0, remove all "&AlternateColors;" from cp_vars_chat.pl
BRIT, you got a test user/pass?
I have if I can find it, for ftp access?? or for cp access??
LK ... I just PM'd you the user/pass for themotorhead.net
this is a user login ... are you looking for ftp access also ?
Thanks LK, that did it.
Some more questions:
1) I invited one of my users into the chat and the pop-up won't stop popping up on his system. It happens everytime he visits a forum.
2) Are there instructions somewhere about what all the stuff in the Chat CP does?
2) Are there instructions somewhere about what all of the 20 buttons at the bottom of the chat window do?
3) Will my non-moderator and non-admin users be seeing these buttons too? Is that appropriate, and if not, how do I remove them from member view?
Thanks for this great mod - it is perfect for my community.
Does anyone else that uses this mod have any of these answers? Please.
1) I invited one of my users into the chat and the pop-up won't stop popping up on his system. It happens everytime he visits a forum.No idea, what browser is he using?
2) Are there instructions somewhere about what all the stuff in the Chat CP does?In the Chat CP
Anything specifically? Seemed fairly self explanatory to me and Im a noob
2) Are there instructions somewhere about what all of the 20 buttons at the bottom of the chat window do?They are basic IRC Commands that unless you own the IRC server serve no real purpose for you. Op and Voicing give users elevated status in the channel. (Voice allows for private conversation among the regualr chat if I recall, OP allows you to voice users, kick, ban etc.) Do a search for IRC commands for more indepth information. Very common and very wide spread, but nothing to fear
3) Will my non-moderator and non-admin users be seeing these buttons too? Is that appropriate, and if not, how do I remove them from member view?No it checks for Admin/Mod status before drwing them, you can turn them off in the Chat CP, just have to stop the jumble of sentences from spinning around to actually spot it
I wish to eliminate the text that says:
There is currently ??? person in the chatroom. Click here to join it.
The majority of my "chatters" use mIRC, so the number of people shown would be false, and often times 0. What I want to be able to do, is replace this with my own text, letting everyone know what time we generally Chat every evening.
How do I do this..?
Again, I must have been stuckin {Idiot Mode}, because I didn't even stop to think that this solution was staring me in the face, in the mods_wordlets file...
Hey, at least I'm beginning to respond with a solution to my own questions, so there is hope!
Is there a version out yet for UBB Classic 6.4?
LK,
This Mod rocks
Thanks!
is there a way to OP and DEOP etc for this applet?
Yes, but in order to receive OP's, a nick must first be registered with nickserv.
I have a select few of my Mods & Admins setup for auto-OP's, when they enter the chatroom.
As an Admin that spends a lot of time in my chatroom, I obviously find it a lot easier to use mIRC since I have a greater level of control over my channel. Most of my "chatters" however, use the Java portal.
is it possible to display the part where it says "there are # of users in the chatroom" lets say on ur main index.html home page? It doesnt use SSI , so is there alternative ways? ANyone?
Hi, I used to have this mod working okay, but then the users started to have problems. When I had a look the error message ended "...Cannot join channel: Only registered, identified users can create channels".
Can anyone tell me what this means and if I am supposed to create a channel? Where?
Also, the line of text which shows how many users are in the chat room on the forums summary page has dosappeared.
Any help much appreciated.
Spiffy.
Oddly enough, and all of a sudden, my CHAT room no longer automatically joins the channel...
Is anyone else having this problem - if you have the chat installed could you check please?
Hi tgreene can you tell me if your chat is working now?
Do I have to set up my own chat server/channel to get this to work? It worked before, but has recently stopped saying that I cannot join a channel.
I'm getting confused, maybe it was just luck that it worked earlier...
It suddenly works fine from the Java based CHAT portal on my site, but not through mIRC, which is what I generally prefer to use...
I only have the CHAT portal as a convenient option for my members that are not IRC savvy.
Anyone help here with Chat mod.?
Nevermind - I got it working
FYI
You are attempting to reach a page that does not exist.
» Please use your browser's back button to return.
uploaded and CHModded all the files, re & re & re-hacked/checked again.
Board: 63.1.1
http://www.tuwclan.com/cgi-bin/ubb/ultimatebb.cgi?ubb=chat
done that about 3 times now. everything is copy/paste and correct.
ok my mistake, placed a } in the wrong place. It works now!