Just so I don't drive myself completely insane again.
It's a fairly standard theming problem, you have your Drupal comment form rendering thusly:
Your site is set to not allow posting by anonymous users, rendering the "Your name" field superfluous and you think the subject line looks ugly, is unnecessary or you just don't want users giving their comments subjects for whatever reason.
In Drupal 6, you do it like this. In Drupal 7, it's easier but harder to find. They're in the docs, but the docs are a bit of a mess still.
comment-wrapper.tpl.php
I'm either stupid or doing something wrong or both but I cannot for the life of e work out how to hide or unset those stupid formatting guidelines. So css it is.
style.css (or whatever you call yours)
.filter-wrapper {
display: none;
}
No comments yet
It can indeed. I suspect I wrote this before I realised that :) Thank you for the reminder!
You may hide the formatting guidelines in node.tpl.php
hide($content['comments']['comment_form']['comment_body']['und']['0']['format']);
Awesome, thanks for that Antti Tuppurainen!
What's not working and what kind of errors?
If you're using a custom theme you can add one, and then clear the cache, and Drupal will use it. The default themes in /themes each have one I think, but hacking core should be avoided where possible :)
Hi there! I know this is kind of off topic but I was wondering which blog platform are you using for this site? I'm getting sick and tired of Wordpress because I've had problems with hackers and I'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.
I use Drupal for the blog (and pretty much everything). Check any plugins you're using for security holes, I don't often hear about WP being constantly cracked but then again I don't pay close attention to other cms :)
I didn't even notice I'd left the . off. Thanks for that :) Edited to put it back in and reformatted the code to look more codey while I was about it.
I did this one with a minimal install so it only came with plain text. I wanted them defaulting to the editor.
Hi! Sorry for taking so long to answer you. You can use Honeypot and Mollom (either together or separately), the first one helps to cut down on spambots and the second one is a subscription based service (they have free basic accounts for personal blogs and small websites that don't get a lot of traffic if yours fits either of those criteria, otherwise their prices aren't bad) that compares what is posted to known spam material and if it decides it's spam it prevents the content from being posted, otherwise allows it through.
If you want to hide the website field you can use a display: none in the css (and this way you will also know if it's a bot or a person as a bot will fill it out anyway), or you can do a hook_form_alter on the comment form to remove it if there isn't a way to do it in the gui (you couldn't before and I haven't looked recently). I'm not sure how to verify email as I use both of the above on this site (and most of my other ones).
Hope that's helped (or better yet that you've already resolved this problem somehow :).
Hope it helped :) Thanks for dropping by.
Hi :) I think that one might be up to the browser and the user to allow cookies (assuming they're not allowed to sign up accounts which would be the easiest way to get around that problem). I vaguely remember there being a module for something like that possibly but it was a long time ago and I could be remembering wrong. I'm not sure what you're trying to achieve specifically, would something like Comment Trust help?
Hm, I'm reasonably certain I didn't do anything special on that front. Are you allowing cookies and scripts for that website? And are you using AJAX comments or any other comment/comment enhancing system?
The comment subject field can be hidden from the input form in the content type's comment settings. You still have to hide or theme it out of display though.