Thanks Mark.
According to what I read, and comparing with login.cgi it seems to me that I would need at least half a page from ultimatebb.cgi, starting from
#use strict
use Fcntl ':flock';
use CGI::Carp qw(fatalsToBrowser carpout);
use CGI qw(:cgi-lib :standard);
all the way to:
if ($ubb eq 'login') {
&set_page_elements;
do "http://mysite.com/cgi-bin/page_I_want_to_call.cgi";
exit;
}
making sure that I replaced all those Vars with their full path.
meaning that If I place that subrouting at the beginning of the non UBB software.cgi, I'll be telling it to go to the UBB verification subroutine and if it passes, then execute the page.
Am I close?