cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
[cc-devel] [ cctools-Feature Requests-1587772 ] Upload Email Notification
- From: "SourceForge.net" <noreply AT sourceforge.net>
- To: noreply AT sourceforge.net
- Subject: [cc-devel] [ cctools-Feature Requests-1587772 ] Upload Email Notification
- Date: Thu, 16 Apr 2009 01:50:53 +0000
Feature Requests item #1587772, was opened at 2006-10-31 01:50
Message generated for change (Comment added) made by fourstones
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=1587772&group_id=80503
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ccHost
Group: Next Release (example)
>Status: Closed
Priority: 7
Private: No
Submitted By: abraham attis (abattis)
Assigned to: Jon Phillips (kidproto)
Summary: Upload Email Notification
Initial Comment:
Can we set up ccHost to spam admins' emails when new
fonts are added to the library so we can keep tabs on
possible copyright infringing uploads?
kidproto writes:
"We could set-up an activity email for uploads. For
now, I could add this to this list, but it might get
out of control...maybe for now that is good. Basically,
we need to code an admin notification system that hooks
into various hooks and we can get info back from ccHost
about this via email...this is actually quite easy to
do and could get out of control how much info we could
harvest."
----------------------------------------------------------------------
>Comment By: Victor Stone (fourstones)
Date: 2009-04-15 18:50
Message:
drop this code
CCEvents::AddHandler(CC_EVENT_UPLOAD_DONE, 'upload_mailer');
function upload_mailer($upload_id)
{
$user = CCDatabase::QueryItem('SELECT user_name FROM
cc_tbl_uploads,cc_tbl_user WHERE upload_user=user_id and upload_id = '
.$upload_id);
$url = ccl('files',$user,$upload_id);
mail( ..... )
}
into local_files/lib with PHP extension
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=1587772&group_id=80503
- [cc-devel] [ cctools-Feature Requests-1587772 ] Upload Email Notification, SourceForge.net, 04/15/2009
Archive powered by MHonArc 2.6.24.