×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: NewComment:!!!

NewComment:!!! 13 years 11 months ago #10929

  • scott
  • scott's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hi there!

there are two super admins registered for my site ( www.zhongwenmovies.com ). currently, when a new comment is written, both admins receive an email notification.

does anyone know how to 1) make it so only one admin receives notification or 2) turn notifications off entirely?

thanks very much for your help.

NewComment:!!! 13 years 11 months ago #10930

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Log into your backend -> components->compojoomcomment->settings->open the settings->go to the security tab.
There you have options such as - notify moderator and enable user notifications.

You can disable the user notification and leave only the administrator get an e-mail when someone posts a comment.

There is no point and click interface to exclude an administrator from the notifications. You will have to go to
components/com_comment/classes/joomlacomment/JOSC_notification.php on line 169 you can fine the following function:
function getMailList($contentid='', $exclude='')
change it to this:
function getMailList($contentid='', $exclude='xxx@xxx.xx')

This email address is being protected from spambots. You need JavaScript enabled to view it. = the email that you don't want to receive notification

NewComment:!!! 13 years 11 months ago #10934

  • scott
  • scott's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hey, thanks so much for your reply.

i'm going to give it a try!!!

NewComment:!!! 13 years 11 months ago #10935

  • scott
  • scott's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hi!

can you explain 'components/com_comment/classes/joomlacomment' again? i can't locate com_comment, nor classes.

thank you.

NewComment:!!! 13 years 11 months ago #10936

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, you are not using compojoomcomment????

Well I think that in joomlacomment the file should reside in components/com_comment/joscommetn/comment.class.php

Search for comment.class.php - in it should be all classes - also the josc_notify class.
Daniel
  • Page:
  • 1
Time to create page: 0.111 seconds