Thanks for the great time saver.

Would love to see an option to hide the homepage field on the comment form for anonymous users.

Comments

lelizondo’s picture

Title: Homepage for Anonymous Users » Disable Name, Email & Homepage for Anonymous Users
Version: 6.x-1.2 » 6.x-1.x-dev
Status: Active » Fixed

this was implemented in version 6.x-1.x-dev please test. if you find any problems (specially with js) please let me know in a separate issue

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robertdjung’s picture

is this still just in dev, or did it make it in to 1.4? I can't seem to find these options anywhere. Thanks!

lelizondo’s picture

Is in both.. You'll find them in the Comments Fieldset

robertdjung’s picture

In the comments fieldset, I have:

Default comment setting:
Disabled
Read only
Read/Write
Users with the administer comments permission will be able to override this setting.
Default display mode:
Flat list - collapsed
Flat list - expanded
Threaded list - collapsed
Threaded list - expanded
The default view for comments. Expanded views display the body of the comment. Threaded views keep replies together.
Default display order:
Date - newest first
Date - oldest first
The default sorting for new users and anonymous users while viewing comments. These users may change their view using the comment control panel. For registered users, this change is remembered as a persistent user preference.
Default comments per page:
Default number of comments for each page: more comments are distributed in several pages.
Comment controls:
Display above the comments
Display below the comments
Display above and below the comments
Do not display
Position of the comment controls box. The comment controls let the user change the default display mode and display order of comments.
Anonymous commenting:
Anonymous posters may not enter their contact information
Anonymous posters may leave their contact information
Anonymous posters must leave their contact information
This option is enabled when anonymous users have permission to post comments on the permissions page.
Comment subject field:
Disabled
Enabled
Can users provide a unique subject for their comments?
Preview comment:
Optional
Required
Forces a user to look at their comment by clicking on a 'Preview' button before they can actually add the comment
Location of comment submission form:
Display on separate page
Display below post or comments
Comment author name:
Enabled
Disabled
Preview button:
Enabled
Disabled
Important: If you set the Preview button to Required you need to show the button here
Hide the word 'Comment'?:
Enabled
Disabled
Input Format Fieldset:
Enabled
Disabled
Size of the comment textarea:
Submit button title:
Attachments on comments:
Disabled
Enabled
Image attachments on comments:

Checked on a fresh install D6.15.. Any ideas?

lelizondo’s picture

Assigned: Unassigned » lelizondo
Status: Closed (fixed) » Active

I made a mistake when I committed this feature, I'll commit it tomorrow.

robertdjung’s picture

thanks!

lelizondo’s picture

If you're in a hurry, all the code is here: http://drupalcode.org/viewvc/drupal/contributions/modules/nodeformsettin...

I wanted to make a patch but I'm going to sleep now, I'll do it tomorrow..

lelizondo’s picture

Can you please try the dev version..? It seems that the error is only on the the 1.4 version.

lelizondo’s picture

Remember that you *must* give the anonymous users permissions to 'post comments'

lelizondo’s picture

Status: Active » Fixed

I double checked that this is actually working. The dev version *is* working. Please use that one. I will release a stable version soon.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robertdjung’s picture

ok will use dev. thanks.

mitylite’s picture

Using the latest dev, the homepage field is not hidden in spite of setting it to hidden in the options when using node comments. Other settings work fine.