Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How do you remove the "Start a New Discussions" name in the button?
nandana
New
How do you remove the "Start a New Discussions" name,how to rename
0
Comments
there are three ways to go about this.
1) use firebug to identify the element you want to remove and remove it.
2) read the documentation on internationalization and locales and remove it via the definition.
3) Search the forum and read the answers to to the last few discussions that posed the same question.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
You want to remove or do you want to rename?
grep is your friend.
I won't " Start a New Discussions " button name rename.
I won't " Start a New Discussion " button name rename.
The localization How To @peregrin mentioned could be found here
If you want to customize your forum, you'll have to read and understand it!
Afterwards, you can try
$Definition['Start a New Discussion'] = 'Erzähl uns was!';
but that does not work for all strings you see in the forum. Read the documentation in order to search for an explanation and if you can not find it out yourself, don't hesitate to ask!how to find $Definition['Start a New Discussion']
= 'Erzähl uns was!';
(I usd theme is vanila)
Please, read that documentation. You won't regret it.
In summary it tells you that you have to
Definition['Text in Vanilla'] = 'Text you like to see';
andhttp://vanillaforums.org/discussion/17104/big-button-start-new-discussion-beta2-version
ANSWER
vanila>applicalion>vanila>views>modules>newdiscussion.php
3 line
It's an answer, not a recommended one, and not the answer to the question you asked.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
what You ask
If you want to rename a Translation - anything with T("something") "You DON'T change it in the core T("to something else"). That is the whole purpose of definitions - not to change the core.
you change or add a definition in one of the following files
the order of locales (the higher the number on the list, the higher precedence).
en-CA is a country code (substitute your own country code that you use.
SO - if you want to rename the button
e.g.
you could create a file called conf/locale.php
or add it to your application based defintions - and make sure you don't have duplicates, other wise the last one will take precedence in the file (I believe) and the highest number on the above chart will take precedence.
it is better than changing the core.
when modifying locales or adding locale files - always clear the ini files in the /cache folder - for best results.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.