Hello all. I want to edit the comment count option under every discussion link on home page. As of now under every discussion link on home page, it read 'x comment/comments' where x is the number of comments on that discussion. I want to change the 'comment' label to 'post' so that it will read 'x post/posts'. How can I do it ? On which file I need to edit the code ? I'm unable to find the code to edit.
$Definition['%s comment']='%s post';
$Definition['%s comments']='%s posts';
see the documentation on locales and themes as well as the wiki. http://vanillaforums.org/docs/localization
most likely your definition.php in your theme.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
use
$Definition['%s comment']='';
$Definition['%s comments']='';
then post an image with what you want to remove circled. I can't understand what you are talking about. The above should remove comment count period - permanently.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
Answers
@peregrine. Thank you very much. But what should I do if I need to remove that comment count that reads 'x comment/comments' below every discussion link on the home page ? It should only display the discussion topic with the author's name but no comment count.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If I am thinking logically, i would assume this would do it.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@peregrine... Yup its working. Thanks a lot. But how to remove that comment count permanently from being visible under the link to any discussion on home page ?? It should only display the discussion topic with the author's name but no comment count.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@peregrine.. You got me right. This is what I was talking about. Thanks again. I got it.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •