Hi all,

I'd like to make it as easy as possible for anon flaggers, and would like to make name and email not required fields.

Can you guys think of any reason why all 3 fields (name, email, reason) are required on the flagging form? If not, I'll try rolling a patch that allows admins to control whether the fields are required or optional.

Thanks in advance.
Greg

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kbahey’s picture

Version: 5.x-2.9 » 5.x-2.x-dev

Hey Greg

Go ahead and roll a later in the week (I am at DrupalCon).

As long as it is backwards compatible, I am cool with it.

Greg Go’s picture

Status: Active » Needs review
FileSize
2.33 KB

Here's a patch to make the flagging fields (name, email, reason) required/optional by admins. This patch adds a fieldset to the flag_content settings page with 3 checkboxes to set the fields for name, email, and reason to required/optional. Sets default to all fields optional, so users don't have to enter anything to flag content.

This was rolled against flag_content 5.x-2.9. I don't have a 6.x version installed anywhere, so hopefully someone can port it to D6.

kbahey’s picture

Version: 5.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

This is committed, and should be in the 5.x-2.x-dev around 9 pm Eastern tonight.

Can someone please port it to 6.x?

dropchew’s picture

Subscriibe!

chilledoutbeardedman’s picture

Issue tags: +anonymous flagging

adding 'anonymous flagging' tag to relate this to other projects regarding anonymous flagging.