I work fine on it but I have a big problem: the user that introduce himself is able to see / edit it's own introduce while it is always approbation pending : this kind of work is working fine now.
But, it was possible to a moderator to reply to the introduce pending approbation : it cannot do that : into posting.php, there is this code:
Code: Select all
$post_data = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
if (!$post_data)
{
if (!($mode == 'post' || $mode == 'bump' || $mode == 'reply'))
{
$user->setup('posting');
}
trigger_error(($mode == 'post' || $mode == 'bump' || $mode == 'reply') ? 'NO_TOPIC' : 'NO_POST');
}
// Not able to reply to unapproved posts/topics
// TODO: add more descriptive language key
if ($auth->acl_get('m_approve', $forum_id) && ((($mode == 'reply' || $mode == 'bump') && $post_data['topic_visibility'] != ITEM_APPROVED) || ($mode == 'quote' && $post_data['post_visibility'] != ITEM_APPROVED)))
{
trigger_error(($mode == 'reply' || $mode == 'bump') ? 'TOPIC_UNAPPROVED' : 'POST_UNAPPROVED');
}
Only one callback in the begining of the file is called : core.modify_posting_parameters but I can do nothing with that!
Or ask to phpBB team to add a callback at this point to force a reply that let the right to post into an approval pending message.. Or a workaroud to find to make it possible...
No way, I have no idea...