Quote:
|
Originally Posted by seffern2 Hi
thanks for teh quick reply.
Yes, I use internal registration. I am looking for a way to hack the code in the files to have more user profile fields.
Do I do this also in register.tmpl?
I see there for example this code:
------------
<tr>
<td class="{$Style['tddetails']}"><span class="{$Style['medium']}"><b>{$Globals['pp_lang']['icq']}:</b></span></td>
<td class="{$Style['tddetails']}"><span class="{$Style['medium']}"><input type="text" name="icq" size="25" maxlength="20"></span></td>
</tr>
--------------
Can I just copy & paste this code and replace i.e. ICQ with "cars used" and change the size and max length from 25 to 250 in the copy?
(I would obvioulsly also add this new name in the language file) |
update:
I have found out, that the same code is also in member.tmpl
A. Is it enough if I only modify the appropriate code above in both files (register.tmpl and member.tmpl)?
There are also some fields in mysql database in the table "_users".
B. If I would add there the appropriate fields, would that make any future upgrades of PP impossible or cause errors?
C. Would any information added in these fields be damaged or deleted after an upgrade?