Comments - Force Use Of Email Address

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
jameshontishar

Comments - Force Use Of Email Address

Post by jameshontishar »

Hi

i am using the comments module 1.8.0 and have selected spam and email notify but have a few problems.

1. When I send a comment from my site without putting in an email address it does not notify me at the email address, but if I do put an email address in on the comments form it does email me.

Is there anyway to make them put their email address in!

2. Also how can i make it so the add a comment comes up in another page and not on the page it displays.


Thanks in advance

James
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Comments - Force Use Of Email Address

Post by Elijah Lofgren »

Those things wouldn't be very hard to add/fix.

I've filed FRs to remind me to do them once I'm not so busy with college (maybe Spring break or Summer):
http://dev.cmsmadesimple.org/tracker/in ... 3&atid=172
http://dev.cmsmadesimple.org/tracker/in ... 3&atid=172

Sorry I can't help right now,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Blue Lou

Re: Comments - Force Use Of Email Address

Post by Blue Lou »

Open modules/Comments/action.default.php in notepad.

Find line 176:

if ($email!='' && !$this->isValidEmail($email))

and change it to:

if (!$email || $email!='' && !$this->isValidEmail($email))

Save file and reupload

That will make sure people need to leave a valid email address.  ;D
Locked

Return to “CMSMS Core”