Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 36
SyntaxHighlighte... 47
Newsletters v4.03 105
Facebook Like Box 117
Newsletters v4.02 55
Metro 149
Facebook Connect 163
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 147
Avatar Studio v2.03 176
Relationship Sta... 95
Sexual Orientati... 111
Fisherman 139
Popular Addons
iTheme2 5792
Arise 5781
User Control v1.23 4612
Event Calendar 4040
Photowidget panel 3880
Radio-Theme red2... 3347
Highslide Gallery 3308
CSS/JavaScript D... 3220
Facebook Connect... 2973
Dynamic Menu 2887
Slideshow Lightb... 2716
L-AMANT 2655
Enigma 2628
2Dark 2602
Black 2567
View Thread
Who is here? 1 guest(s)
 Print Thread
How to make new user fields?
tkondrup
Hi.

Anyone who can tell me how to create new user fiels? - Eg. Adress, Postal code, city, Phone, and other fields. - And how to do, so only administrators and the user itself can see and edit these informations?

I hope you understand my question, and look forward to a reply.

Thanks a lot.
 
gittedl
Which version of PHP-fusion are you using?
Gitte
 
tkondrup
Hi.

I use v7.01.02
 
gittedl
I've made several for my own website also in PHP-Fusion v7.02.01

I've made Address, Zipcode, City, Phonenumber, Mobile Phonenumber, Job, Name and Diagnosis. I you would some of them just let me know, and I'll zip them and put them up in this thread.
Gitte
 
tkondrup
Hi Gitte.

That would be very nice, I would like to.

But is there a way to make these informations anonymiously? So it only will be the Administrators and the user itself who can see the Informations?

Thank again.
 
Ankur
If you are going for PHP-Fusion v7.02, then there is a very Nice explanation given by Hans Kristian Flaatten(Starefossen) in the User Fields API 1.01.00 ! Smile
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
gittedl
tkondrup wrote:

Hi Gitte.

That would be very nice, I would like to.

But is there a way to make these informations anonymiously? So it only will be the Administrators and the user itself who can see the Informations?

Thank again.


Maybe this mod is something for ya - http://www.php-fu...ddon_id=49 - It's called Restricted and with this you can keep guests from looking at the users profile. However alle users can look at all the profiles, but maybe that can be fixed by change something in the code maybe.

I'll put up the userfields for you later to day in this thread Wink

Merged on May 18 2011 at 14:09:15:
Well aparent I cant attach a zip file I've made with the user_fields, but you kan download them here: http://www.prinzm...ackage.zip
Edited by gittedl on 18-05-2011 14:18
Gitte
 
Craig
Hi,
Look...

http://www.php-fu...don_id=288

Grin
 
http://www.fusiontube.co.uk/
Quientir
Hi. just starting up a site using php-fusion. clean install of 7.02.04.

I found a forum thread before that described how to make the files for new user fields, but cant find it now. Copied directly from the forum thread there and changed the name of the fields in the files as well as the file names to reflect the name of the field. (yes all are spelled the same exactly)

I edited the 3 files (2 in includes and 1 in locale) with what was said there. fields are basic text, and would like to make them 256 chars of text available.

I have the files uploaded in the correct folders, the site sees it correctly and displays it in the disabled user fields, but i can not enable the field.

What did i do wrong?
 
atmincs8.com
Stewart-G0LGS
I have added my own user field tonight (also on 7.02.04) by copying. renaming and editing the 3 files for the 'location' user field (two in /includes/user_fields and one in locale/English/user_fields).

I initially made a silly mistake with the file-names, but having corrected this it works perfectly - I suggest you check that you really have got all the names correct and have not overwritten one or more of the original files.
Stewart G0LGS
I DO NOT response to PM's regarding any posts on this Forum !
 
www.g0lgs.co.uk
Quientir
Thx stewart. code i copied was old i guess. next question, what is the max length for a textbox field?
 
atmincs8.com
PolarFox
max length of TEXT db-field is about 64 kb (65535 symbols)
 
http://unlogic.info
lalvarez
Stewart,

i just copied the three location files, changed a few things and didnt work out. Could you help me by describing what needs to be changed or by possibly posting some sample files?

thanks,

Lino
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Make everything possible to infusions Roadmap 6 16-05-2013 10:07
Register user fields User Administration 3 15-05-2013 10:49
PM to Admin when new user Content Administration 4 11-05-2013 22:50
How to make a points/league table Panels and Infusions 2 01-05-2013 14:31
Show User Info in Forums Official releases [Infusions] 13 08-04-2013 04:14
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue