popfetcher: comments only moderated // german special chars

Creating and modifying plugins.
Post Reply
snafu
Regular
Posts: 108
Joined: Sat Dec 17, 2005 7:34 am

popfetcher: comments only moderated // german special chars

Post by snafu »

hello, 2 additional questions about the popfetcher plugin.

by default all stories posted via mail are not enabled for comments but comments have to be moderated. i cant find where to enable comments without moderation. any idea?

german umlauts are converted to "?". as an workaround i typed the umlauts as html - entyties like &uuml für ü, but this is a bit lame. is there any modification for this problem?

nevertheless: mobile blogging is nice with this tool, so i've got an extra reason to have bought a new mobile phone :-)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popfetcher: comments only moderated // german special ch

Post by garvinhicking »

Hi!

The popfetcher takes the default settings of the user account personal preferneces to indicate if a new entry has moderated comments. Check your personal configuration to see if you have that default set to "no"?

The popfetcher uses the PEAR mime class to decode mails. If it contains "?" characters than either the charset of your emails are faulty (you should use iso-8859-1) or the mime class doesn'T correctly do inconv/recode transcoding. Does your PHP have iconv or recode installed?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
snafu
Regular
Posts: 108
Joined: Sat Dec 17, 2005 7:34 am

Re: popfetcher: comments only moderated // german special ch

Post by snafu »

hi garvin, thanks for your answer,
garvinhicking wrote: The popfetcher takes the default settings of the user account personal preferneces to indicate if a new entry has moderated comments. Check your personal configuration to see if you have that default set to "no"?
(the umlaut problem is for an other day)

yes, i double checked this. i also created an test user with various user roles - the comments are to be moderated in all cases. it has no effect whether this item "Comments & trackbacks to this entry requires moderation" is set to "yes" or "no".

then i disabled "Allow comments to this entry" - comments remained open.

this time i double checked the author, whitch will used for mailed stories in popfetcher plugin - that was ok, it was the author i was editing all the time.

then i tried to change "Permissions" of the popfectcher plugin on the page "Configure Plugins" to only this user i enabled whithin the plugin - no change (btw: the change of this permission seems not to be stored, after "save" it displays "all authors" again.)

next time i disabled spam-protect plugin - no change.

so i disabled all event plugins except:

Markup: Serendipity
Browser Compatibility
Spartacus
Static Pages
POPfetcher
Extended properties for entries

no change

do you have any other suggestions?

thanks in advance!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popfetcher: comments only moderated // german special ch

Post by garvinhicking »

Hi!

Now that I looked into the code I just see that it really was only applying the hardcoded defaults DEFAULT_COMMENTS and DEFAULT_MODERATE that were stroed on top of the file.

I just made them configurable and committed the change to CVS, so the new plugin version should be available within the next 48 hours.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
snafu
Regular
Posts: 108
Joined: Sat Dec 17, 2005 7:34 am

Re: popfetcher: comments only moderated // german special ch

Post by snafu »

garvinhicking wrote:I just made them configurable
that's marvellous! thank you very much!

(we are working on an alternative online newspaper for kassel, because the paper "HNA" sucks, which is the only one in town)
snafu
Regular
Posts: 108
Joined: Sat Dec 17, 2005 7:34 am

Re: popfetcher: comments only moderated // german special ch

Post by snafu »

edit:

"geil" - it works!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popfetcher: comments only moderated // german special ch

Post by garvinhicking »

You're welcome! Have fun! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply