Thanks for your help paul. I am still having problems as the first bit of code didn't work and the below doesn't work either. I will try your code now.
sub user_signup {
# -------------------------------------------------------------------
# This subroutine will get called whenever the hook 'user_signup'
# is run. You should call GT::Plugins->action ( STOP ) if you don't
# want the regular code to run, otherwise the code will continue as
# normal.
#
my $arg1 = shift;
my $arg2 = shift;
my $arg3 = shift;
GT::Plugins->action ( STOP );
print $IN->header();
my $arg;
;
print qq|
$arg1 $arg2 $arg3
|;
}
sub user_signup {
# -------------------------------------------------------------------
# This subroutine will get called whenever the hook 'user_signup'
# is run. You should call GT::Plugins->action ( STOP ) if you don't
# want the regular code to run, otherwise the code will continue as
# normal.
#
my $arg1 = shift;
my $arg2 = shift;
my $arg3 = shift;
GT::Plugins->action ( STOP );
print $IN->header();
my $arg;
;
print qq|
$arg1 $arg2 $arg3
|;
}