Remove "Login to post comments" from Drupal 6 sites
Task · remove login to post message · theme comment controls · theme comments · Developers and coders · Themers · Drupal 6.x · No known problems
Last modified: August 26, 2009 - 21:52
Comments Approach
By default, at the end of an article Drupal displays the text "Login to post comments". To remove this text, allow commenting for anonymous users or just disable the Comment module.
Settings Override
You can use custom strings by adding something like this to /sites/default/settings.php:
$conf['locale_custom_strings_en'] = array(
'Add new comment' => 'Discuss',
'<a href="@login">Login</a> to post comments' => '',
);Anonymous User Override
If you want to keep the ability to comment for logged-in users only, and remove the "login to post comments" text for anonymous users, you can add the following snippet to the end of your template.php file in your Theme folder.
function phptemplate_links($links, $attributes = array()) {
global $user;
if (!$user->uid) {
unset($links['comment_forbidden']);
}
return theme_links($links, $attributes);
}for more info see: http://drupal.org/node/425332

helpful article "Login to post comments"
Thanks,
It works.
If one removes all the things from node.tpl.php excepting $content then it also works!!!!!!!!
Thanks for help..
Regards,
Web-Farmer
www.letsnurture.com
Letsnurture
http://www.letsnurture.co.cc/