-
AuthorPosts
-
Martin Hagen Friend
Martin Hagen
- Join date:
- March 2007
- Posts:
- 44
- Downloads:
- 14
- Uploads:
- 11
- Thanks:
- 10
- Thanked:
- 5 times in 1 posts
August 24, 2010 at 4:22 pm #153786Hello,
howto disable approval system for registered useres and / or guestsAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
August 28, 2010 at 2:16 am #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
February 25, 2011 at 8:40 pm #378498Is there an option to only need to approve guest comments without having to approve member comments?
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
March 1, 2011 at 7:51 am #379019Hi 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-292Thanks,
March 7, 2011 at 7:02 pm #380115Thanks for the info thuanlq
msmedia Friendmsmedia
- Join date:
- September 2009
- Posts:
- 33
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
September 8, 2011 at 7:18 am #411421Any progress in that case? I have site with few thousands of registered users and i don’t want a component without that option.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 9, 2011 at 4:21 am #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!
1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
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