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.
(vanilla 2.0.14) Signin form asks for email instead of username / change welcometext in sign-in form
zeno
New
I installed vanilla 2.0.14 yesterday and have two problems. 1) the sign-in form asks incorrectly for the email address together with password, but this does not work. When I enter the username instead of the email address, it does. So the label needs to be changed.
I also would like to change the following text:
"Howdy, Stranger!It looks like you're new here. If you want to get involved, click one of these buttons!"
as well as the text on the "Apply for Membership" button.
I've found instructions to do this for vanilla 1 but not for vanilla 2. Which files need to be amended /where are they located? Thanks.
I also would like to change the following text:
"Howdy, Stranger!It looks like you're new here. If you want to get involved, click one of these buttons!"
as well as the text on the "Apply for Membership" button.
I've found instructions to do this for vanilla 1 but not for vanilla 2. Which files need to be amended /where are they located? Thanks.
Tagged:
0
Comments
Re the second of the issues above, I found the files, then simply changed the text in the code, uploaded, done. The files were:
/applications/dashboard/views/modules/guest.php (for the title text)
/applications/dashboard/modules/class.guestmodule.php (for the long text)
Part of the problem seems to be in file: /applications/dashboard/views/entry/auth/password.php
After I replaced the first 'Email' in line 13 with the word 'Username', it works:
line 13 echo $this->Form->Label('Username', 'Email');
line 14 echo $this->Form->TextBox('Email');
However obviously a fix is needed here.
My forum page displays:- Parse error: syntax error, unexpected T_STRING in /homepages/34/d260127691/htdocs/vanilla/applications/dashboard/views/modules/guest.php on line 3
I tried to change the text to "You're not signed in!"
Any suggestions?
Maybe you have some typo.
Try to use translation file instead of core hack.
Vanilla Forums Blog » Howdy, Stranger!
Where could I have made a typo?
This tutorial worked for me
But 'You're not signed in!' has a sintax error.
If you want to use a single-quote within the string wrapped with single-quote you have to escape the single-quote with a backslash \ like 'You\'re not signed in!'.
See the PHP manual for details.
http://www.avantime-owners.com/vanilla/