LK This hack is one that I rely like I had some problem with it. I have change some thing about it to make it run on my board.
First of all you have mentioned in im.txt
Quote
code:
Code
************************* * Open public_common.pl * *************************
Find: =====
# Forum Home push(@items, qq(<a href="$ULTIMATEBB" title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</a>));
Add after: ==========
# IM push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=msg" title="$vars_wordlets_im{im}">$vars_wordlets_im{im_link}</a>)) if ($vars_modifications{instant_message_perms} ne 'none');
I cold not find this in public_common.pl * But I found this
code: [qb]
Code
************************* * Open ubb_lib.cgi * *************************
Find: ===== # Forum Home push(@items, qq(<a href="$ULTIMATEBB"><acronym title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</acronym></a>)); Add after: ========== # IM push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=msg" title="$vars_wordlets_im{im}">$vars_wordlets_im{im_link}</a>)) if ($vars_modifications{instant_message_perms} ne 'none');
[/qb]
in
Code
************************* * Open ubb_msg.cgi* *************************
============== the header of ubb_checkmsg.cgi should be like this ============== #!/usr/bin/perl use CGI ':standard';
BEGIN { # get our modules directory set up ($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules"); } use lib("./Modules", "."); # if there's no $0, or it's not sane... use strict; use Fcntl ':flock'; use UBBCGI qw(:cgi); # CGIPath/Modules/UBBCGI.pm use UBBCGI::Carp qw(fatalsToBrowser set_message); # CGIPath/Modules/UBBCGI/Carp.pm use vars qw(@ubber $line @message $username %vars_wordlets_date %vars_wordlets_im $password $user_number @msg_profile $HTML $username @messages $HTML $random $refresh %vars_config $filehandle %vars_modifications);
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.