jDownloadsownloads.com


Author Topic: track user publish/unpublish file  (Read 3272 times)

0 Members and 1 Guest are viewing this topic.

Offline antex

  • Newbie
  • *
  • Posts: 2
track user publish/unpublish file
« on: 11.04.2014 15:36:09 »
to track publish/unpublish action  I modify admin.jdownload.php but found twice record into log for only one action.
snipet code is
/*FILES*/
   case 'files.publish':
   logfilesPublish($cid,'files.publish' //my code     
   filesPubublish($cid,1,$option,$cat_id);
   
   break;
how can I get only one record
thanks in advance


[gelöscht durch Administrator]

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: track user publish/unpublish file
« Reply #1 on: 12.04.2014 10:54:36 »
Hi,
you will add your code:
Code: [Select]
logfilesPublish($cid,'files.publish'in the admin.jdownloads.php ?
This is the wrong file.

See
Code: [Select]
function checkLog($fileid, $user)in jdownloads.php in frontend folder.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline ennecor

  • Newbie
  • *
  • Posts: 2
Re: track user publish/unpublish file
« Reply #2 on: 07.08.2014 09:25:44 »
Location is good but if there are a lot more than me.