1

Topic: sql queries for profile.php

i'm searching in profile.php for the lines where it updates data: for example i edit my profile by inserting my icq uin, where is the line where it updates that row on the db?

i'd like to add a "birth date" field but i dont know how to do it..thanks

Re: sql queries for profile.php

Moved to PunBB discussions.

This post is a nice example of how to add extra fields to the profile.

As for the birth date field, I believe that the calendar mod gives you one of those.

Looking for a certain modification for your forum? Please take a look here before posting.

3

Re: sql queries for profile.php

thank you very much smile
unfortunately the calendar mod works till 1.2.10 and i have 1.2.11 hmm

4

Re: sql queries for profile.php

Add '1.2.11' into the array in install_mod.php file.

5 (edited by cris 2006-04-07 11:31)

Re: sql queries for profile.php

ok i'll try...and how to remove fields from the profile? for example my users dont use yahoo messenger, i want to remove it, is it enough to remove this line?

<label><?php echo $lang_profile['Yahoo'] ?><br /><input id="yahoo" type="text" name="form[yahoo]" value="<?php echo pun_htmlspecialchars($user['yahoo']) ?>" size="20" maxlength="30" /><br /></label>

so that the users wont see the yahoo field or do i have to do something with the db? thanks

6

Re: sql queries for profile.php

anyone?