Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:34:37 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: User details  (Read 3194 times)
mooseburner

Offline Offline

Posts: 7


« on: May 30, 2007, 03:07:47 PM »

Hi dudes,

I'm trying to add a couple of required fields to my user's signup (such as a telephone number), but i can't seem to find any options for adding fields in any modules i have installed...

Does anyone have any ideas how i could add these extra fields and view them in the admin panel?

Thanks!

Dave
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: May 30, 2007, 04:03:44 PM »

You'll need to manually modify everything where you want these info's to appear.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

mooseburner

Offline Offline

Posts: 7


« Reply #2 on: May 30, 2007, 04:04:56 PM »

You'll need to manually modify everything where you want these info's to appear.

cheers

Klaus

I would, but i'm not what you may call the programming type... any tips?

I mean, would i modify the html pages in /admin/users/ ?
What else?
« Last Edit: May 30, 2007, 04:17:56 PM by mooseburner » Logged
doc
Guest
« Reply #3 on: May 30, 2007, 04:23:52 PM »

Hello,

well without any knowledge of PHP or MySQL it is simply not possible to achieve what you want. What you want to achieve can be realised by
a) touching a lot of core files + adding entries to databases
b) writing a new module which adds what you want

However, both methods are quite time consuming and require some knowledge of PHP, MySQL and HTML. You may contact the forum member icouto via PM who wants to add such functionallity for one of his customers. Maybe he already started with one of the options listed above.

Regards Christian
Logged
rgssanchez

Offline Offline

Posts: 2


« Reply #4 on: June 05, 2007, 04:57:58 PM »

Has anyone started this endeavor? I'm about to install WebsiteBaker and need to know how intense it will be to add more fields to the user profile.

Thanks in advance.
Logged
4bizmedia

Offline Offline

Posts: 41



WWW
« Reply #5 on: August 20, 2007, 09:33:44 AM »

bump

is anyone working on or looking to work on some sort of better community software for baker for customising user registrations and profiles etc?

regards
Paul
Logged
4bizmedia

Offline Offline

Posts: 41



WWW
« Reply #6 on: December 10, 2007, 07:00:55 AM »

bump

anyone having any progress?
Logged
pcwacht
Guest
« Reply #7 on: December 10, 2007, 02:52:25 PM »

When you know a bit of php and mysql modifying the core files to hold more info is no brainteaser

Remember though, they are core files so you need to update them everytime you upgrade


Other, maybe more simple. option might be to create a new mod wich uses the user_id field from the user table to couple and extends the userinfo


John
Logged
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #8 on: October 20, 2008, 12:58:03 PM »

I am in need of this too. I want a simple profiles module that works like this:

- extended new member signup form, with more fields to enter information for a personal "community" profile
- only admin will be able to create new profiles, but new members can log in into the basic profile and edit the profile to add more information
- admin can set per field if the member is allowed to edit the info, or not
- member can only login to edit his of her profile, and has not access to the rest of the admin
- the created profiles can be seen by any website visitor

I am willing to pay for this if someone can create this for me on short term. Please reply or send a PM if interested!
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
cnwb

Offline Offline

Posts: 234



WWW
« Reply #9 on: October 20, 2008, 02:01:34 PM »

Not promising anything,

But I will look into this as this should really have been a feature from the begining.
Logged

Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #10 on: October 20, 2008, 02:03:55 PM »

I think so too. Thanks!

FYI: I am using a CGI application now for a directory of therapists. There is a list output at http://www.nvpit.nl/cgi-bin/leden/pm.cgi?action=list&sortby=therapeut

You can sort the columns by clicking on the column titles. When you click on a name a personal profile pops up.

In the backend, the therapist can log in and just fill in a form with basic fields like any other form. They can also add a picture by uploading (the script uses GD to resample), and change password. After saving, the edited profile can be seen by site visitors.

This is what I have in mind for the WB module. Just a basic foolproof(!!) profiles function where members can edit their profiles by using a form. No fancy community stuff or WYSIWYG needed.
« Last Edit: October 20, 2008, 02:17:28 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
littlesimon

Offline Offline

Posts: 1


« Reply #11 on: January 24, 2009, 11:31:52 PM »

Bump.

This would be really useful for me too, anybody had any success?
Logged
chamnett

Offline Offline

Posts: 5



WWW
« Reply #12 on: March 02, 2009, 03:18:37 PM »

I have actually just done this on a test website (WB 2.7), just adding an extra field to the signup form. It is a lot of manual work but I do have a step by step process to it, a lot of core files, and adding database fields.

I have the steps on my home computer and will update this when I get home this evening Smiley
Logged

Dubai Property - Turkey Property
chamnett

Offline Offline

Posts: 5



WWW
« Reply #13 on: March 04, 2009, 12:46:28 AM »

This is WB 2.7... Ok quick rundown, first open PHPmyadmin and add fields you need there to the USER table then do the following (You should be able to use the code around the line numbers to see what info you need to put where:

account/signup2.php
 > Add after line 42
 > Modify query line 111

account/signup_form.php
 > Add form fields after line 80

account/details.php
 > Add variable after line 32
 > Modify query on line 44
 > Add new session data after line 50
 
admin/users/users.php
 > Add variable to array after line 61

admin/users/user_form.html
 > Add form fields after line 59

admin/users/save.php
 > Add new field after line 50
 > Modify query line 87 and 91

admin/users/index.php
 > Modify query line 38

admin/users/add.php
 > Add new field after line 43
 > Modify query line 96

framework/class.wb.php
 > Add get variable functions after line 200


Hope you can get it to work, I'm no PHP expert, in fact I'm rubbish at it, but I managed to get this to work first time surprisingly!
Logged

Dubai Property - Turkey Property
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #14 on: March 06, 2009, 01:02:50 PM »

well, that sounds useful for coders, but I can't do anything with it...  rolleyes

It would be sooooo nice that a future version of WB just offers the option to create your own user fields form from the backend. Or some other easy way of enhancing the user reg form.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
chamnett

Offline Offline

Posts: 5



WWW
« Reply #15 on: March 06, 2009, 04:09:11 PM »

Yeah, unfortunately because there are so many core files involved changing this via a module is just impossible. I'm no coder, I do front end coding, but I managed to follow my way through the code in order to get my desired changes done!
Logged

Dubai Property - Turkey Property
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #16 on: March 06, 2009, 08:13:41 PM »

what i've done :
a plugin to update your profile

new table containing "Phone, Adresse, birth etc..."

the id records are the same as the id record of users

so when logged on, if the user do not have a record on the new table, i'll always redirect them to a page to update their "extended profile"


a plugin... without touching any core files...
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #17 on: March 07, 2009, 02:21:31 AM »

That sounds great. Is it something you are willing to share?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #18 on: March 07, 2009, 02:36:00 AM »

i will, but first i need to remove all that is specific to my software Wink
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
number3

Offline Offline

Posts: 3


« Reply #19 on: April 14, 2009, 02:55:33 AM »

Chamnett - you positively rock. Very helpful.

Any idea how to get the "ghost" username and password from appearing in the Add User area of the Admin area (when you are on admin/users/index.php)? Or am I the only one who has this happen?

Again, thanks.

Mark
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!