Microblogging plugin - announce articles?

Creating and modifying plugins.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Microblogging plugin - announce articles?

Post by Don Chambers »

Looking at the Microblogging plugin, there are a number of configuration options. One of those is "Announce articles?" (y/n). The description of this option (in English) is "If enabled, the plugin will announce published articles to twitter or Identica acounts."

When creating an entry, there is a checkbox that reads "Do *not* announce this article using microblogging services"

This checkbox still exists even if the option to announce is turned off. I'm thinking the plugin should be revised so that it does not exist if the plugin option to announce articles has been turned off.

Another request: Can we get a plugin option for the default value for this checkbox? Personally, I would prefer the checkbox to be checked, ie, default to NOT announce entries unless I uncheck the box.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Microblogging plugin - announce articles?

Post by garvinhicking »

Hi!

That's a good suggestion, I removed the option when not enabled.

About reverting the default setting, adding a config option would be nice. I'm lacking the time to implement this right now because it's actually quite hard. A checkbox always only returns "true", and if not checked, it behaves as if it is not set at all. So it's hard to detect whether you are subitting the article with the box being checked, or if you are entering the first time. To deal with that, a radio button YES/NO would be the better choice...

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/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Microblogging plugin - announce articles?

Post by Don Chambers »

Thanks Garvin!
=Don=
Post Reply