|
|
|
[SOLVED] Where is the management?
|
|
Date: 2008/04/24 16:10
|
By: sphinx76
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 7 |   | |
|
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
Post edited by: sphinx76, at: 2008/05/08 15:38
|
|
The administrator has disabled public write access. |
|
|
|
Re:Where is the management?
|
|
Date: 2008/04/24 16:30
|
By: nant
|
Status: Admin
|
|
|
Karma: 445  
|
|
Admin  | Posts: 5477 |  | |
|
sphinx76 wrote: Hi, I installed CB Gallery Plugin and working fine.
Great! Feel free to support further development by supporting the CB Team!
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.
This module shows CB avatars that need approval - not CB Gallery items.
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
Yup, that's the way things currently work - at least until the next version. Nick A. CB Core Team Member Support CB Development and Get Detailed Documentation Developer of Nant's Gallery plugin CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site Developer of CB AutoWelcome Plugin CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site People ignoring your call for help? Read this! FAQ you Joomlapolis Extensions Directory (new)- check it out!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Where is the management?
|
|
Date: 2008/04/24 19:24
|
By: sphinx76
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 7 |   | |
|
|
Thank's you Nant, great job!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Where is the management?
|
|
Date: 2008/05/08 15:38
|
By: sphinx76
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 7 |   | |
|
Hi Nant, I changed some code lines to the module mod_comprofilermoderator.php (that show only avatar that must be approved) to include the link at the profile of the user that have image/file to be approved.
At line 130 on the file mod_comprofilermoderator.php I added a new sql query, this select the id/userid of the user that have the file not approved:
$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['allowModUserApproval']) 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>"; }
The code above show inside the module one list (with a user profile page link) where the image/file must be approved.
Now I have a simple management.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:[SOLVED] Where is the management?
|
|
Date: 2008/07/12 03:29
|
By: aiolos
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
can u send me that module please on my email ? kazazis@clockworx.com.cy or can you tell me from where to download it?
|
|
The administrator has disabled public write access. |
|
|