Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Martin Hagen Friend
    #153786

    Hello,
    howto disable approval system for registered useres and / or guests

    Anonymous Moderator
    #353916

    <em>@hagen 191459 wrote:</em><blockquote>Hello,
    howto disable approval system for registered useres and / or guests</blockquote>

    Hi,

    You can login as administrator via this link administrator/index.php?option=com_jacomment&view=configs&group=comments, uncheck “Admin need to approve new comment” check box to get it functioning

    max power Friend
    #378498

    Is there an option to only need to approve guest comments without having to approve member comments?

    thuanlq Friend
    #379019

    Hi Max power,

    The current version of jacomment doesn’t have an option to only need to approve guest comments, without having to approve member comments. We will notice your comments to update for new version of jacomment component.
    Please view the bugs tracking page to get updated: http://pm.joomlart.com/browse/JACOMMENT-292

    Thanks,

    max power Friend
    #380115

    Thanks for the info thuanlq

    msmedia Friend
    #411421

    Any progress in that case? I have site with few thousands of registered users and i don’t want a component without that option.

    Sherlock Friend
    #411623

    <em>@msmedia 266163 wrote:</em><blockquote>Any progress in that case? I have site with few thousands of registered users and i don’t want a component without that option.</blockquote>

    Hi msmedia,

    you can try as following to get registered users commenting without approve
    open the file of componentscom_jacommentcontrollerscomments.php, look for this code
    [PHP]
    //if admin need approve comment and this user isn’t special user
    if($jacconfig[‘comments’]->get(“is_allow_approve_new_comment”,0) && !$helper->isSpecialUser()){
    $messageBlacklist = “Your comment shall be approved before being shown”;
    $post[‘type’] = 0;
    }
    else{
    $post[‘type’] = 1;
    $post[‘date_active’] = date(“Y-m-d H:i:s”);
    }
    [/PHP]
    change to
    [PHP]
    //if admin need approve comment and this user isn’t special user
    if($jacconfig[‘comments’]->get(“is_allow_approve_new_comment”,0) && $currentUserInfo->guest){
    $messageBlacklist = “Your comment shall be approved before being shown”;
    $post[‘type’] = 0;
    }
    else{
    $post[‘type’] = 1;
    $post[‘date_active’] = date(“Y-m-d H:i:s”);
    }
    [/PHP]

    hope this make sense!

    msmedia Friend
    #413802

    Hi – it works like a charm. TY 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 6 voices, and was last updated by  msmedia 13 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum