PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 15th, 2005, 03:16 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
PP521 - adding more fields in user profile

PP521 - adding more fields in user profile

Hi

1. I would like to add more fields into the suer profile, so that they can enter even more information there. Where do I insert this (which file and where/what code exactly)?

2. What determines the lenght of a profile field (the size of the text box)? How can I adjust this for the new fields?

Thanks in advance
snoopy5 is offline   Reply With Quote
Old November 15th, 2005, 03:30 PM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
1. Assuming you are using the internal registration system, there is no option for additional fields at this time.

2. You can modify the template for register.tmpl which would allow you to change the size of the input boxes.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 15th, 2005, 03:51 PM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
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)
snoopy5 is offline   Reply With Quote
Old November 15th, 2005, 05:53 PM   #4 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
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?

Last edited by snoopy5; November 15th, 2005 at 06:08 PM.
snoopy5 is offline   Reply With Quote
Old November 23rd, 2005, 10:57 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Any hints?
snoopy5 is offline   Reply With Quote
Old December 10th, 2005, 10:28 AM   #6 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
This is an old post but if you still need info, there is no way to add new fields without changing the user database table and a lot of php files (so that they can handle these new fields).

I wouldn't advise it unless you know what you are doing.
rbl is offline   Reply With Quote
Old December 10th, 2005, 07:19 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You can change the names of certain existing fields but if you need to add anything you would need to modify the register.php file register.tmpl member.php and profile.tmpl and also modify the users table to add those new fields.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 12th, 2005, 11:46 AM   #8 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
mmmhhh....

how about incorporating more fields and a place for a picture within the user profile in the next release?
snoopy5 is offline   Reply With Quote
Old April 14th, 2006, 05:08 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi

I upgraded in the meantime to PP 5.3

unfortunately my suggestion was not incorporated. Any hope for this in the next release? I would especially like to have a picture of the user in his profile.

Thanks in advance
snoopy5 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding fields... CaddisNJF ReviewPost Installation & Upgrades 8 September 17th, 2005 11:09 PM
adding extra custom fields Lee Wilde Classifieds Suggestions 3 December 24th, 2004 03:53 AM


All times are GMT -5. The time now is 01:44 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0