Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
nima
New Member
New Member


Joined: Jan 09, 2004
Posts: 1

PostPosted: Sun Jan 11, 2004 4:08 am Reply with quote

Hello.my site is 'phpnuke 6.5'.i want to add extra fields to registration page>>>
________________________________________
Nickname:(text field)speedtype(required)
Email:(text field)speedtype(required)
Password:(text field)speedtype(required)
Re-type Password:(text field)speedtype(required)
Age:(select menu)
Sex(radio button:female,male)
ICQ Number:(text field)
AIM Address:(text field)
MSN Messenger:(text field)
Yahoo Messenger:(text field)
Website:(text field)
Location:(menu contain all countries 4 select)
Occupation:(text field)
Interests:(text field)
Extra Info:(multi line text field:255 characters max)
Avatar:[list] ----
Receive Newsletter by Email?(radio button:yes,no)
__________________________________________________
i think this is a public form & everyone need it.
you see most of fields are same in 'phpnuke profile' & 'forum profile' ,just 2 fields doesnt exist at all(age & sex).
1-i want this 2 fields(age & sex) also show in 'phpnuke profile' & 'forum profile' for edit.
2-also i want to show 'age & sex & extra info' in user's profile.
3-also i want to show 'sex' in members list module.
plz guide me.how can i do that?i realy need it.
sorry for my poor english.
thank u very much.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun Jan 11, 2004 9:24 am Reply with quote

Please do not repost your requests in the future.

Basically, you will have to alter the nuke_users table and add the 2 fields to the table. Then, you will need to modify modules/Your_account/index.php to accomodate the added fields. Look for one of the other field names, like name or email and just replicate the logic. You will then need to alter the forum profile code in a like manner.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©