Welcome to Geeklog, Anonymous Friday, June 14 2024 @ 08:06 am EDT

Geeklog Forums

Filemgmt modification for email notification when new file add in base on the permission


andy

Anonymous
Hi Guys, just wondering is modification for the filemgmt for email notifications base on the permission given on each user is possible?

so when the specific user upload the file then the system will send email notification for the members under this specified users.

thanks in advance

andy
 Quote

Jacek

Anonymous
Hi,
Just add:
Text Formatted Code
if (isset ($_CONF['notification'])) {
COM_mail ($_CONF['site_mail'], "New file", "A new file is waiting for your approval");
}

below each
Text Formatted Code
$AddNewFile = true;
in submit.php in the filemgmt directory.
Good luck,
Jacek
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
:shakehands: Nice feature.

Thanks.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 08:06 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content