|
Page 1 of 1
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
I Want To Change The Terms Of Conditions, May I Use HTML In This File?
I have some rules in my previous forum, and I'd like to add them in this forum.
But the rules are in HTML, could I use HTML in the lang_main.php file?
Quote: 'Reg_agreement' => 'Si bien los administradores y moderadores de este foro tratarán de eliminar o modificar cualquier material cuestionable lo más rápido que puedan, es imposible revisar todos los mensajes. Por lo tanto, usted es consciente de que los mensajes en este foro son las opiniones y expresiones de sus autores y no de los administradores y moderadores (con excepción de los mensajes de estas personas).<br /><br />Usted está de acuerdo con no enviar mensajes que puedan ser abusivos, obscenos, vulgares, amenazantes, de índole sexual, o cualquier otro material que de alguna forma viole leyes vigentes en su territorio. Si publicase material de índole, su cuenta de acceso al foro será cancelada y su proveedor de acceso a internet será informado. La dirección IP de todos los mensajes es guardada para ayudar a cumplir estas normas. Usted está de acuerdo en que los administradores y moderadores de este foro tienen el derecho de modificar, cerrar, bloquear, mover y/o borrar cualquier tema o mensaje según ellos lo consideren necesario. Como usuario, usted permite que toda la información ingresada se almacene en una base de datos. Si bien esta información no será entregada ni distribuida a terceros, los administradores y moderadores no son responsables por cualquier mensaje no convencional que exponga esa información, y tampoco pueden responsabilizarse por intentos de hackers que puedan llevar a que esta información confidencial sea descubierta.<br /><br />Este foro usa "cookies" para almacenar información en su ordenador. No contienen ninguno de sus datos personales, sólo sirven para mejorar su interfaz. La dirección de correo sólo se usa para confirmar sus detalles de registro y contraseña (y para enviarle una nueva en caso de que la olvide).<br /><br />Pulsando en el enlace para registrarse, usted muestra su conformidad con estos téminos y condiciones.',
My question is because a while ago I changed some text in this file, just a few changes:
From: Quote: 'Agree_under_13' => 'Estoy de acuerdo con estos términos y condiciones y tengo menos de 13 años de edad',
'Agree_over_13' => 'Estoy de acuerdo con estos términos y condiciones y tengo más de o exactamente 13 años de edad',
To: Quote: 'Agree_under_13' => 'Estoy de acuerdo con estos términos y condiciones
'Agree_over_13' => 'Estoy de acuerdo con estos términos y condiciones',
And from: Quote: // These replace the %s in the above strings
'Auth_Anonymous_Users' => '<b>Usuarios invitados</b>',
'Auth_Registered_Users' => '<b>Usuarios registrados</b>',
'Auth_Self_Users' => '<b>Usuarios específicos</b>',
'Auth_Users_granted_access' => '<b>Usuarios con permisos especiales</b>',
'Auth_Moderators' => '<b>Moderadores</b>',
'Auth_Administrators' => '<b>Administradores</b>',
To: Quote: // These replace the %s in the above strings
'Auth_Anonymous_Users' => '<b>Usuarios invitados</b>',
'Auth_Registered_Users' => '<b>Usuarios registrados</b>',
'Auth_Self_Users' => '<b>Usuarios específicos</b>',
'Auth_Users_granted_access' => '<b>Usuarios con permisos </b>',
'Auth_Moderators' => '<b>Moderadores</b>',
'Auth_Administrators' => '<b>Administradores</b>',
And inmediately my forum shows this message at the top:
I had to reset the changes and upload again this file... Maybe I don't know how to use FTP in the correct way. Or maybe I have to change this file from ACP... I don't know
My forum:
http://plantandoeternidad.000webhostapp.com/forum.php
|
#1 Fri 15 Sep, 2017 20:26 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
Hi;
It seems you added a blank line before "<?php" at the beginning of the file, and that's where the error stems from.
|
#2 Sun 17 Sep, 2017 19:15 |
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
Hi;
It seems you added a blank line before "<?php" at the beginning of the file, and that's where the error stems from.
Really? I didn't write anything in the file, just in those areas...
But I have to wait because I am moving my forum of hosting...
|
#3 Sun 17 Sep, 2017 23:11 |
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
What program did you use to edit the file?
|
#4 Tue 19 Sep, 2017 10:48 |
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
What program did you use to edit the file?
I'll use some online program to edit HTML. I have Dreamweaver in my laptop, but it is sick I'm using my tablet
|
#5 Tue 19 Sep, 2017 21:53 |
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
It is possible the program added a newline at the beginning of the file.
Or it is possible it saved it with a "marker" (we call it "BOM" in programming), which is invisible but still present.
if you can change encoding, you need to pick "UTF8 without BOM".
|
#6 Wed 20 Sep, 2017 14:30 |
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
It is possible the program added a newline at the beginning of the file.
Or it is possible it saved it with a "marker" (we call it "BOM" in programming), which is invisible but still present.
if you can change encoding, you need to pick "UTF8 without BOM".
Well, I didn't understand anything that you've said So sorry! My English is really bad, and don't understand technical words or something like that
|
#7 Thu 21 Sep, 2017 00:23 |
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
Basically: Try to use a different program to edit language files.
|
#8 Thu 21 Sep, 2017 20:47 |
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
Basically: Try to use a different program to edit language files.
You mean it will be better if I use different program than Dreamweaver, is it correct?
|
#9 Wed 27 Sep, 2017 20:10 |
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
I don't know if Dreamweaver lets you edit PHP files correctly.
But do not use word / wordpad / program that have formatting. That breaks PHP.
|
#10 Thu 28 Sep, 2017 15:41 |
|
MWE_001
Ray B
Joined: July 2016
Posts: 238
Location: Marion, IL
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
I use Notepad++ and Dreamweaver both. It happens so rarely to me (white space) that when it does happen, it takes me by surprise.
And I agree, that is a white space add before the opening php tag or after the closing tag.
____________ "Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
|
#11 Thu 05 Oct, 2017 11:45 |
|
Cristianita
Joined: October 2015
Posts: 297
Location: Sonora, México
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
I've noticed that there are some blocks of the rules at ACP, right? Maybe I could make some changes through this area, not in the PHP files, what do you think?
|
#12 Thu 05 Oct, 2017 20:51 |
|
MWE_001
Ray B
Joined: July 2016
Posts: 238
Location: Marion, IL
|
Re: I Want To Change The Terms Of Conditions, May I Use HTML In This File?
I can try that too and see what happens. I have a local host server setup with like 5 IP installs on it. If I tear one up by trying something it is no big loss.
I'm adding this to my to do list today.
____________ "Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
|
#13 Thu 05 Oct, 2017 22:48 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|