Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:10 pm 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 02:10 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