See, the thing is, I haven't modified that code. It's part of the Gossamer Forum code. That's why I'm posting the question here!
The code in Convert.pm where this occurs is as follows:
sub convert_signature { GT::Plugins->dispatch("$CFG->{admin_root_path}/Plugins/GForum", 'convert_signature', \&_plg_convert_signature, @_) }
sub _plg_convert_signature {
my ($text, $sig) = @_;
$$text =~ s/\[\s*(\.*)\s*\Q$CFG->{markup_signature_tag}\E\s*\]/
if ($USER and not $USER->{user_view_signatures}) {
'';
}
Line 40 is the 3rd-last line that starts "if ($USER".
Can someone tell me what might be wrong with it? Thanks.
Dan Cooperstock
info@Software4NonProfits.com
The code in Convert.pm where this occurs is as follows:
sub convert_signature { GT::Plugins->dispatch("$CFG->{admin_root_path}/Plugins/GForum", 'convert_signature', \&_plg_convert_signature, @_) }
sub _plg_convert_signature {
my ($text, $sig) = @_;
$$text =~ s/\[\s*(\.*)\s*\Q$CFG->{markup_signature_tag}\E\s*\]/
if ($USER and not $USER->{user_view_signatures}) {
'';
}
Line 40 is the 3rd-last line that starts "if ($USER".
Can someone tell me what might be wrong with it? Thanks.
Dan Cooperstock
info@Software4NonProfits.com