Removing the (not verified) for Anonymous Users in Drupal
Update: This method works but it's not the right way or a good way to do this. Check out my post here for details on a more maintainable way that's also the drupal way.
When I relaunced my blog a week ago it was with a fresh drupal install and a new sytle setup. Under this setup I decided, for the time being, that the majority of commenters would an anonymous. To hold their info so they wouldn't have to type it every time I installed the Comment Info module.
After the first few comments were up on the site I noticed that after every one, not by me, there were the words (not verified). I didn't want that after every posters name so I decided to remove it, but that's where the problem began. I did some searching to see if anyone had done it already and found a drupal issue and blog post that offered fixes. But, these don't work in Drupal 4.7. The structure has been changed enough so the same files aren't affected in the change. After some digging here is a fix:
Go to the file /includes/theme.inc
In this file go to line 987 (for 4.7.2 anyway) and change:
$output .= ' ('. t('not verified') .')';
To:
//$output .= ' ('. t('not verified') .')';
And that should do it.
Comments
#1 Geeks and God....
Yo, I did this on the Geeks and GOd.com site...good tip!
#2 good deal
Good Deal. Glad I could help.
#3 You hacker...
Ok, so now that I know what I'm doing I'm going to blame you for not using a better method. You core hacker.
I came back to this because I need to do this...was hoping to see some hook_comment() action...
:) Just had to razz ya a bit. Nice to know we're all constantly learning...