In UBB v5, I had modified Ultimate.cgi so that an action=include query resulted in printing the number of registered members and the newest member line. Through an SSI execution I was able to have it print to any page on the website. The code was simply:
if ($in{'action'} eq "include") {
&GetMemberListArray;
my $TotalMembers = @members;
@lastmember = reverse(@members);
$LastReg = $lastmember[0];
$LastRegCoded = $LastReg;
chomp($LastReg);
$LastRegCoded =~ tr/ /+/;
chomp($LastRegCoded);
print "
";
}
I want to add this feature to my UBB v6, but all modifications to existing queries seem to have processes performed before my modification takes place. I don't know Perl at all, I was able to fiddle around to get the v5 mod to work. Anyone know how I can do this on version 6?