Hi,everybody im using phpnuke can any body tell me how i can change the new user fields such as address ,city,country telephone no.
Thank you
santoshkumar
adding fields to phpnuke
Moderator: General Moderators
-
santoshkumar
- Forum Newbie
- Posts: 1
- Joined: Mon Oct 27, 2003 4:39 am
- Location: india
-
MishaPappa
- Forum Newbie
- Posts: 7
- Joined: Wed Jul 30, 2003 7:49 am
- Location: Location... Location
Unless I'm mistaken, the fields you mentioned are not part of the normal PHP-Nuke architecture. Are you wanting to ADD fields to the database and make scripting changes to incorporate their use? Or, are you wanting to change existing fields and store different data?
The type of alteration you want to make will determine the complexity required to accomplish it...
The type of alteration you want to make will determine the complexity required to accomplish it...
-
MishaPappa
- Forum Newbie
- Posts: 7
- Joined: Wed Jul 30, 2003 7:49 am
- Location: Location... Location
Santoshkumar -
You've sent me a private message stating:
However, I am certainly willing to offer, in this public forum/thread, assistance to help you nail down possible change requirements that meet your need.
So, let's start this dialog over...
You've sent me a private message stating:
My response to your original post was not an invitation to contact me privately for assistance -- kinda defeats the whole purpose of a forum doesn't it?Hi Misha thank you for the reply ,im adding the field like address,phone no.,country .
I found the file in html/modules/your_account/index.php
.
for example if i have to add the field country what are the changes i have to make .Please mail me.
Thank you
santosh
However, I am certainly willing to offer, in this public forum/thread, assistance to help you nail down possible change requirements that meet your need.
So, let's start this dialog over...
- As I understand it, you wish to add data fields for storage/presentation to those normally found in the `nuke_users` table.
- What type of information, exactly, do you wish to capture, store and present? You've said only "fields like"... Be specific because you'll need to draft the SQL Data Definition Language for altering the existing `nuke_users` table and adding these columns.
- When do you wish to capture this data? At initial user registration when they typically only identify a Nickname, Password and Email address? OR, after they've registered and access the user profile to identify more information about themselves and their preferences? This decision will drive the determination of scripting changes and in what files -- as you know, there are many within a typical PHP-Nuke environment.
- When do you wish to present this data? Should it be visible to anyone that has access to the "Members List"? Should it only be visible to the user and administrators? Again, the decision will drive the determination of scripting changes (or new scripts).
- Finally, how much time have you already invested in understanding the PHP-Nuke database architecture, PHP-Nuke scripting flow, PHP-Nuke user management, MySQL and general database concepts, and PHP language in general? This is your toolkit and you'll need it for this endeavor...