Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

Modify Profil Mod

Aquí­ podrás dejar tus dudas sobre MODs o MODificaciones de tu phpBB2
  Reglas del Foro
Antes de participar en los foros, leer esto por favor.
Normas generales de phpBB-Es y las de Soporte
Cerrado

0
No hay votos
 
Votos totales: 0

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Modify Profil Mod

#1

Mensaje por Sanchez17 »

Hola,

I hope someboady help me. I can only speak english. In the german support board, don't get I an answer.

I have a install the moify profile mod from Acid. It isn't really a mod. There are install docs to modfiy the profile.
(Download (English + German): http://www.phpbb.de/moddb/download.php?id=56)

I have add new fields in the profile. But the problem is, that the database doesn't take the things, which I write. The new field in the database are empty.

Where can be the problem?

I have here a few docs, which can help:
My admin_users.php
My usercp_avatar.php
My usercp_register.php

and the doc "profil_german.txt" is the install.txt (german).
But I have for you an english transaltion of this install.txt. (profil_english.txt)

http://www.fussball-international.net/docs/

Do you knwo, why my database doesn't take what I write?
I haven't find a mistake...
I hope, you can help me...I don't know, what I can do...
Viva el betis

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#2

Mensaje por KasLimon »

Hello,

I can say you some possible errors in the modifications:
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
'interests'

#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, 'info' => 'info'[/quoteicy]You can find 2 times 'interests'. Then verify that it's added after => 'interests' and not after , 'interests'

If you've this well, then the problem appear difficult.

I'm trying the MOD in a "clean" phpbb because this mod appear old...

When finished, I'll tell you the result

:ok:
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#3

Mensaje por KasLimon »

I've tried it and it works:

Imagen

If you've did this modification well (that modification un my other post), tell us and we can try another possible fail...

What's your phpBB version?
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Re: Modify Profil Mod

#4

Mensaje por Sanchez17 »

Hola KasLimon ( I drink in Spain always Kas :mrgreen: )

[quote]You can find 2 times 'interests'.[/quoteicy]

Yes. I had forget one. But nothing changes...it doesn't work...

[quote]Then verify that it's added after => 'interests' and not after , 'interests' [/quoteicy]

I had it so.


[quote]What's your phpBB version?[/quoteicy]

My version is 2.0.21. I always update to the newest version ;)


A note:

I dont have take "info". I have take :
"spieler" "team" "karte" and "symp"

I hadn't see a mistake in the usercp_register.php
http://www.fussball-international.net/d ... gister.txt

Where else can be a mistake?

Muchas gracias
for your help
Viva el betis

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#5

Mensaje por KasLimon »

:lol: Kas! I don't drink Kas... I prefer Fanta ;) I don't know why I use this username... :roll:

Then, have you modified your template files?
I think that's the problem because when I was watching your forum I didn't see any new field in the viewprofile.

And if it isn't I can try to found the error in the usercp_register.php (I don't do it now because I haven't time, I'll look it after ;) )
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Re: Modify Profil Mod

#6

Mensaje por Sanchez17 »

[quote]Kas! I don't drink Kas[/quoteicy]

lol, :lol:

[quote]Then, have you modified your template files? [/quoteicy]

Yes I have...

[quote]I think that's the problem because when I was watching your forum I didn't see any new field in the viewprofile. [/quoteicy]

I had upload an other profil_view_body and profil_add_body, without this field because, the new users write me all day a pm...that it doesn't work.
;)

[quote]I'll look it after[/quoteicy]

Very thanks for your help...
Viva el betis

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#7

Mensaje por KasLimon »

I was readig your file and I didn't found the lines that you have to add...

Or... Have you changed "info" to "spieler"?

If you haven't, I need the modificated archive code ;)
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Re: Modify Profil Mod

#8

Mensaje por Sanchez17 »

Hola,

[quote]Or... Have you changed "info" to "spieler"? [/quoteicy]

Right.

I have changed "info" to "spieler". Also, I have it repeat with other words.

In the install.txt was
"info"
And I have it changed and add more:

"spieler"
"team"
"karte"
"symp"

Here, you can see what I mean...that is my changed install.txt

http://www.fussball-international.net/d ... german.txt (German)

http://www.fussball-international.net/d ... nglish.txt (the same, but with my translation in english)


I hope, it'll be help...
Viva el betis

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#9

Mensaje por KasLimon »

Well, now it looks more easy to solucionate it.

You have done a wrong SQL code modification (I think that ;) )
I don't understand German then I can't understand this:
Folgender Query muss über phpmyadmin ausgeführt werden (Prefix anpassen)..
Wenn man mehrere Felder hinzufügt/ändert, muss man den obigen Query duplizieren und
den Feldnamen "user_info" anpassen.[/quoteicy]
I think that you forgot the prefixes but I think that In my German quote it says something about the prefix...

And one more thing: One time, you add this line:

Código: Seleccionar todo

		'SYMP' => $Symp,
(I think that it must be 'SYMP' => $symp,)

I don't know more possibilities now, I'll look for more possible problems but all it appears right...
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Re: Modify Profil Mod

#10

Mensaje por Sanchez17 »

Hola,

[quote]I think that you forgot the prefixes but I think that In my German quote it says something about the prefix... [/quoteicy]

No and yes :wink:

I have two boards, which are together.A few tables like session, users etc. are without prefix. So, the users don't have to register a new account at the second board.

The german text in your quote says, that I have to excute the code in my phpmyadmin and change the prefix.

[quote]And one more thing: One time, you add this line:[/quoteicy]

Right, I will change it.

But I have with all 4 fields (spieler,team,karte,symp) a problem. So, that cannot be the only mistake.

I will delete my codes in the usercp_register.php, and will add it new, today or tomorrow.Mayby it works then.
After that, I will inform you if it works or not.

Thanks for your help ;)
Viva el betis

Sanchez17
Observador/a
Mensajes: 11
Registrado: 08 May 2006, 17:43

Re: Modify Profil Mod

#11

Mensaje por Sanchez17 »

Hola KasLimon,

I had work on my board,today.
I had delete all codes from the usercp_register and add it new.

Now, it works.

I don't know, what I had make wrong, but I think, that I had add these codes wrong:

Código: Seleccionar todo

# 
#-----[ IN-LINE FIND ]---------------------------------------------------
# 
$interests) . "'

# 
#-----[ IN-LINE ADD ]---------------------------------------------------
# 
, '" . str_replace("\'", "''", $spieler) . "', '" . str_replace("\'", "''", $team) . "', '" . str_replace("\'", "''", $karte) . "', '" . str_replace("\'", "''", $symp) . "'

Thanks for your help
:cerveza:
Viva el betis

Avatar de Usuario
KasLimon
Ex Staff
Mensajes: 791
Registrado: 07 May 2006, 10:23

Respuesta: Modify Profil Mod

#12

Mensaje por KasLimon »

Hi Sanchez17,

I'm happy because you've solved it. I don't know what was wrong, probably the lines that you say.

I mark it as Solved / Lo marco como Solucionado

:ok: Bye
Antes de nada, lee las Normas de phpBB-Es, y la siempre útil Guí­a de phpBB en Castellano.
Consulta la Biblioteca (Guías, etc.), y los FAQS de ayuda para tus problemas. Quizás esté resuelto.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se pide Buscar antes de preguntar para no repetir preguntas y dudas resueltas.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate aquí.
[hr]Muy pronto ExtremeCMS!!
© Anca - WebMaster Custom phpBB y BLOG
© KasLimon - Staff Icy Phoenix
© KasLimon recomienda usar KMorph

Cerrado

Volver a “Soporte, preguntas sobre MODs de phpBB 2”