|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
so now it should read: # UBB Chat by LK for UBB 6.7.0 beta 1 &LoadTemplate("public_login") if (!$username); use strict;
use vars qw(%vars_chat); &RequireVars("$vars_config{VariablesPath}/vars_chat.cgi");
my $refresh = $vars_chat{refresh_time} * 60; my $jtime = time(); my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi"); my $IPAdd = &GetIPAddress; ??? or.. # UBB Chat by LK for UBB 6.7.0 beta 1
use strict; &LoadTemplate("public_login") if (!$username); use vars qw(%vars_chat); &RequireVars("$vars_config{VariablesPath}/vars_chat.cgi");
my $refresh = $vars_chat{refresh_time} * 60; my $jtime = time(); my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi"); my $IPAdd = &GetIPAddress; ??? or # UBB Chat by LK for UBB 6.7.0 beta 1
use strict; &LoadTemplate("public_login") if (!$username);
use vars qw(%vars_chat); &RequireVars("$vars_config{VariablesPath}/vars_chat.cgi");
my $refresh = $vars_chat{refresh_time} * 60; my $jtime = time(); my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi"); my $IPAdd = &GetIPAddress;
??
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It really doesn't matter 
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
also, it's not a big deal b/c I'm not using any images, but for some reason, the images/buttons are called from the cgi-bin rather than the noncgi. I'm not sure if it's something I did wrong or not. I just disabled them all anyways so as not to deal with them (I didn't want them in the first place). But still I figured it was worth mentioning.
Also the other thing was that I had initially wanted to load the jirc applet using the "pure" class. However my site is hosted with Digital Princeton and my irc server is here in my home. I had loaded the jirc applet ready to be served via Apache, but I didn't anticipate that the hack would have the applet already as a part of it to be hosted locally.
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
it took the chat page and put it under/into the login page. I just want it so that when people aren't logged in, it takes them to a page where they get:
FYI You are not logged in. You must be logged in (and registered) to perform this function.
Login or Register
» Please use your browser's back button to return.
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
here's how I placed it: # UBB Chat by LK for UBB 6.7.0 beta 1 &LoadTemplate("public_login") if (!$username); use strict;
use vars qw(%vars_chat); &RequireVars("$vars_config{VariablesPath}/vars_chat.cgi");
my $refresh = $vars_chat{refresh_time} * 60; my $jtime = time(); my @file = &OpenFileAsArray("$vars_config{MembersPath}/chat.cgi"); my $IPAdd = &GetIPAddress;
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yeah, I thought it would be better with the login page since it saves them a click.. If you still want the login page, make it: if (!$username) { &LoadTemplate("public_login"); exit; } otherwise, just make it:
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
LK, it doesn't do anything. They still get logged in as "guest###".. they just get two headers, and a log in form as well. The guest functionality is still there though. 
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
ahh ok... both of those last options worked quite nicely. I opted to go with the "&RequireUserLogin();" - I didn't realize it could be so simple. That works beautifully since it gives them the same thing they'd get otherwise if they tried to access any other resource that's restricted. Thanks LK. You know, I'll be some people would love to have that in the control panel. Maybe as a general option for the chat, you could have "require users to log in to utilize chat" or something. It could even go on the first page. 
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Yes, i would love that option in the CP! 
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
alright... one more question.. in the CP - CHAT - GUI & States, we have the option to set: quote: Border Spacing: The space of the border surrounding the applet. By default, there is no such border. After I set this to "2" I cannot seem to find where to set the color of the border. It seems to take the applet background color? I'd love to make the border black if possible. I can even just edit this in a file if necessary, Also - possibly a bug in the new beta jirc, when I enable the Title bar, nothing seems to appear in it? I thought that the topic was supposed to show in it? I thought maybe it was a color issue (text and bg having the same color), but it doesn't seem to be. Any help would be awesome.
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
what would really just solve this, is if I knew what file I could edit this stuff directly from.. I don't mind adding the applet parameters manually. I just don't know what file that would be in. 
|
|
|
|
Joined: Jul 2002
Posts: 42
Member
|
Member
Joined: Jul 2002
Posts: 42 |
My members are complaining that they can't send out invitations to the chat room via the board like they could in 6.5. Is there anyway to add this feature back to 6.7.1? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Which version is this one LK? 2.7.2? 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
This mod is great if you don't mind paying for a java applet; however I think there should be a freeware version using something like pJIRC :-/
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Originally posted by AllenAyres: Which version is this one LK? 2.7.2? umm..  I see you wrote it worked with 2.8 beta Didn't there used to be an "invite" link?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes, I dismissed it since it slowed down the board with the JS/iframe codes 
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Here I am again! My host literally disappeared off the planet, so I had to start over. I'm trying to get my chat to work again. As before, I can get into my channel #Tropictravelonline at MIRC using eu.undernet.org. From my UBB, though, I get get past the Nickname screen into the mod, and it pops up the name on the right, but in the text, I get nickserv no such nick on the first line and then on the next line I get not in any channel yet, type "join #your_channel" first. Whatever I try doesn't work. In my wordlet, I have tried Tropictravelonline as channel 1 w/ and w/o the # sign. Tried a number of other things in all the other parms.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I hope you don't mean "Wordlet" since it should be in the vars_chat.cgi file... URL please 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The "not in a channel" message is odd, since you are actually in a channel. About the nickserv thing, try to clear "Nick Authority String" (or NickAuthString of vars_chat.cgi).
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Yes, I agree on the first thing. What do you mean by trying to clear Nick AUthority String?
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Nobody ever answered this
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Oops Go to CP - Chat - Connections tab, and erase the contents of "Nick Authority String". 
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I did that and still got that join problem
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I can use the channel in mIRC, so the problem is somehow tied to this mod. I rehacked the whole thing, same problem.
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Could my problem be some other parameter? I have default name, nickname password, server password, channel password, server port, username, host name and also the channel name w/ # in front and server 1 and server 2. I just don't know why I get not in channel even though it puts the ID at the top.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Unfortunately, I don't think I can assist you without FTP details 
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I could give you that elsewhere if you are willing to help.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Please either PM me, or contact me the next time I connect to AIM 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Debbie, I think it's fixed now (you also have a brand new jIRC version) UPDATE: version 1.4.3 is out! I've decided not to include the jIRC version in the ZIP file anymore, so download 2.8.1 from www.jpilot.com . Added CP support to all the new features. There are probably a couple of bugs (ie. the "default" tag of some of the new features), please let me know Among the new features: multiple channels support (has to be enabled from CP). Updated files: ubb_chat.cgi, vars_wordlets_cp2.cgi, cp2_vars.cgi
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
nice update 
|
|
|
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
LK, I REALLY appreciate this. It is working great! 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Note that v2.8.2 is out. I couldn't test it yet, but the change log in jpilot.com notes it "Fiexed [fixed] user listing not appearing for private or secret channel type[s]"
|
|
|
|
Joined: Dec 2004
Posts: 6
Junior Member
|
Junior Member
Joined: Dec 2004
Posts: 6 |
Hiya - i think im having a moddy christmas!
Am i correct in the assumption that i can set this up to only allow registered members to connect and use the chat room? Is it alos possible to force them to keep the same loginnames and not allow them the option to change it.
Reason for the above is that the charity group i run this site for has a good few kids in it and naturally the safety of the ikkle ones is the important bit here.
Thanks
Howard
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Originally posted by LK: If you want the login page, make it: if (!$username) { &LoadTemplate("public_login"); exit; } otherwise, just make it: Put that under the first line of ubb_chat.cgi.
|
|
|
|
Joined: Jan 2003
Posts: 43
Member
|
Member
Joined: Jan 2003
Posts: 43 |
Has the jirc file package been moved? I installed this mod but whenever I go to the chatroom I get a big red X in the java window and the browser says loading java applet failed.
Any ideas?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I think LK quit including the chat files because jpilot updates pretty often. The best bet is to get the latest from jpilot.com 
|
|
|
|
Joined: Jan 2003
Posts: 43
Member
|
Member
Joined: Jan 2003
Posts: 43 |
Do you know which files I need to store locally on my server and where the code expects them to be?
Thanks!
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|