Please Log in to join the conversation.
Hi, I installed CB Gallery Plugin and working fine.
When the user upload a photo avatar, the system send me an email with the details, I login in the site and the module mod_comprofilermoderator on the left on my site advice me that I must approve an avatar.
This is ok.
But when the user upload a photo on the gallery the system send me an email (I must approve it) I login in the site but I don't view any pending action.
I must search the name of username in the mail, search it in the site, open a user gallery tab and approve it.
We don't have a centralized management with alla photo of all user that must approved?
Thank's
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
$query = "SELECT a.userid,b.username from jos_comprofiler_plug_profilegallery a inner join jos_users b on (a.userid=b.id) WHERE a.pgitemapproved=0";
if(!$database->setQuery($query)) print $database->getErrorMsg();
$sphinxrow = $database->loadAssocList();
Before line 148 (if($totaluserpendapproval > 0 && $ueConfig) I addes a new line with the content:
$sphinxhttp = "index.php?option=com_comprofiler&task=userProfile&user=";
foreach($sphinxrow as $r) {
echo "User: <a href=$sphinxhttp$r[userid]>$r[username]<a/><br>";
}
quote]
Please Log in to join the conversation.