Previous Thread
Next Thread
Print Thread
Rate Thread
#47221 04/28/2001 5:12 PM
Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
Is there a chat hack or something like that, that i can include in my ubb?
Thanks

Sponsored Links
#47222 04/28/2001 9:07 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
no

#47223 04/29/2001 8:47 AM
Joined: Feb 2001
Posts: 105
Member
Member
Offline
Joined: Feb 2001
Posts: 105
its a "message board" and not a chat room .. hence the name Ultimate Bulletin Board

#47224 04/29/2001 12:33 PM
Joined: Jan 2001
Posts: 184
Member
Member
Offline
Joined: Jan 2001
Posts: 184
Quote
quote:
Of course there is no "chat hack" as others stated, for the reasons they stated. However, I have a suggestion. I purchased JPilot, one of the rediculously easy to setup IRC style chat applets and integrated it into my frames driven UBB.

Please visit my UBB (see link in signature below) login as guest and you'll see what I mean. I kinda took it a step further and wrote a script which reads the ubber cookie UBB generates so it "steals" the PDN to use it in the IRC chat room as their nick, including a special nick for me.

All of this has *nothing* to do with UBB code hacking. I advise you do that externally as I did and not ask hackers. Why? Because, simply, I've proven it's not necessary.

1) Get JPilot at http://www.jpilot.com and install it as instructed
2) use a chat.cgi called via a link somewhere (either in menu on your UBB or add HTML tag to a wordlet or wherever) similar to what you see below. I wrote it. Of course it's up to you to customize the source for your own needs.

Remember, visit my UBB and you'll see this exact script in action. Click on "Chat Area" in my menu on the left.

Note: I have removed the license key in the code snippet below for obvious reasons..

--- snip ---

#!/usr/bin/perl5


# UBB stuff - do not delete or modify in any way
#use strict;
use Fcntl ':flock';
use CGI ':standard';
#use CGI::Carp qw(fatalsToBrowser carpout);
use CGI qw(:cgi-lib);

eval {

($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX / or Windows /
($0 =~ m,(.*)\[^\]+,) && unshift (@INC, "$1"); # Get the script location: Windows

require "vars_config.cgi";
require "ubb_lib_2.cgi";
require "ubb_lib.cgi";
require "ubb_lib_time.cgi";
require "$vars_config{VariablesPath}/vars_display.cgi";
};

if ($@) { print "Content-type: text/htmlnn";
print "Error including required files: $@n";
print "Make sure these files exist, permissions are set properly, and paths
are set correctly.";
exit (0);
}

@login = cookie("ubber$vars_config{Cookie_Number}");
$authorized=$login[0];
if ($login[2] ne '') { $authorized = $login[2]; }

$startup="/join #AccessDeniedBBS ; /me has connected via the BBS and says hello...";
if (lc($authorized) eq "sysop" || lc($authorized) eq "jim")
{$authorized="BBS-SysOp";
$startup="/topic #AccessDeniedBBS Welcome www.accessdeniedbbs.net members and IRC users...";}

&display;

sub display {print "Content-type: text/htmlnn";
print <

IRC Web Chat at <a href="http://www.accessdeniedbbs.net.." target="_blank">www.accessdeniedbbs.net...</a>





















Click on this logo to exit chat and return to the forums...VSPACE=4 BORDER=0 align=CENTER>


Server: webzone.ok.us.dal.net | Port: 6667 | Channel: #AccessDeniedBBS

Jim's nick: BBS-SysOp - if you see him online





Your default nick: "$authorized" (IRC server may alter if duped)

















































SIZE="+2"> Please enable Java in your browser then accept the certificate when asked.



SIZE="+2"> Use any major browser version 4.0 or later which supports Java applets.

SIZE="+2"> If you are using a recent browser - enable Java capability to use chat,
then

SIZE="+2"> re-visit/reload this feature. Or visit using mIRC or any other IRC client.





To return to the forums
CLICK HERE
after you disconnect

Double click on a nick in the list to PRIVATE CHAT or
type "/help" when connected to IRC | © 2001




TOBROWSER
}
exit (0);

--- snip ---

You're own your own after here. I've all but spelled it out for ya and if none of this makes sense to you.. you should not be asking! This is for advanced users who know HTML, applets, CGI and UBB6 very, very well.

I do NOT do consulting work nor will I answer any questions beyond this unless generic in nature. This is not a hack.

Good luck and have fun!

-Jim


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)