Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Blacklisting & Notification settings don't work with EZComments 2.0.0 #7

Closed
hvorragend opened this issue Aug 5, 2011 · 1 comment
Closed
Assignees

Comments

@hvorragend
Copy link
Member

Hello,

I've upgraded EZComments to version 2.0.0, everything was working before as expected.

Now the settings for Blacklisting & Notification are ignored.
I checked the boxes for "Send mail on new comment" and "Send mail on comment requiring moderation" and words like "ringtones" are in my blacklist. Also comments with more than 5 links should be blacklisted.

But these settings seem to get ignored, as you can see in the comments of my website. http://series60-remote.sourceforge.net/index.php?module=Content&func=view&pid=8

I also don't receive a mail if anybody writes a new comment.


comment:1 Changed 13 months ago by LuHe

I changed pnuserapi.php, line 243 from

            $status[] = _EZComments_userapi_checkcomment($$checkvar);

to

            $status[] = _EZComments_userapi_checkcomment($args[$checkvar]);

and it seems to work now.
comment:2 Changed 13 months ago by LuHe

The mail to the administrator doesn't work, because
$argsuid? is 0 and $owneruid is also 0, so the if statement is false.

Solved this by removing !in_array($argsuid?, array(2, $owneruid) from the two if blocks,

@ghost ghost assigned hvorragend Aug 12, 2011
@hvorragend
Copy link
Member Author

Fixed now with latest commits.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant