Support » Fixing WordPress » Changing the required fields on a comment

  • Hi,

    When users click “comment” on my weblog posts they are presented with the default fields – Name, e-mail, website and comment.

    This isnt relevant for my audience. Is there anyway to change these fields to Name | School | Country | Comment?

    If so, does it require database changes, or can I simply change the lables next to the text boxes?

    UPDATE |||||||||||||||||||||||

    Just realised that when the comments are shown, I would like the school and country to show as well as the name so I presume the PHP will need to be altered. Thanks
    Thanks

    Adrian

Viewing 4 replies - 1 through 4 (of 4 total)
  • “If so, does it require database changes, or can I simply change the lables next to the text boxes?”

    Yes and yes. It depends on whether you can live with the potential confusion caused by referring email => school and website => country in the admin section and the comments table. As a bare minimum, you’ll have to change the admin comments section to reflect the changed field names.

    Hi Pizdin,

    thanks for your response. Can you elaborate on your final comment please?

    Also can you refer me to any documentation that might help with this change. I need to be able to display the school and country in the comments.

    Thanks again

    ade

    OK!

    I have settled for changing the names of the lables on the form and I have managed to get the comments to spit out the relevant information when you view comments, however for the URL field (which is now country) it is automatically putting http:// in front of the response.

    I have checked the database and cant see anywhere that it states this and I have also checked the theme files.

    Does anyone know how to take off this http://??????

    Thanks

    Hi,

    More issues – If the user to comment is logged in as an administrator I do not want it to show the school country etc. Just the name.

    I am hoping to also change it so that a comment by an administrator is shaded and the rest are not.

    Please see my blog for clarification – http://www.macmillan-academy.org.uk/blog_connect/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing the required fields on a comment’ is closed to new replies.