Would something like this work in the global?
Right after the:
if ($IN->param('report_post')) {
insert something like this:
if ((my $group_id = $user->{user_status} == ANONYMOUS) or
(my $group_id = $user->{user_status} == NOT_VALIDATED))
{
# insert a link to encourage registration or just a return() here.
}
Thanks,
Ishmael
Right after the:
if ($IN->param('report_post')) {
insert something like this:
if ((my $group_id = $user->{user_status} == ANONYMOUS) or
(my $group_id = $user->{user_status} == NOT_VALIDATED))
{
# insert a link to encourage registration or just a return() here.
}
Thanks,
Ishmael