Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:22 pm EST

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 EST. The time is now 09:22 pm.

  • 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