I have an idea I want to implement on my site but I am not understand the new code for UBB 6 as well as I did for UBB 5.
I want to have 8 additional profile fields which the members of my site can modify by editing their profile after registration. The settings will use an OPTION LIST with a drop down menu with the numbers 1-10 (see image below). These 8 additional fields, once submitted by the user, will update their profile.
I was thinking these 8 fields should be profile fields 41-48 in order to give UBB room to make additional profile fields on their own (or perhaps an even higher #).
I want these additional fields to display in the author's column of a post/reply.
Is someone willing to help me? It would mean a lot to me if you could! Thanks in advance!
is anyone able to help me on this hack? I just need some guidance or to be pointed in the direction of another additional fields hack so that I can make mine work. Thanks.
Well lemme see .. you want when updating your profile those will be in there? or they confirm the identity and its like a second profiel page.. or what ?
ill look at the files this afternoon and let you know how to add the new profile data. i did this before for a few (unreleased, unfinished) mods, its not too difficult.
Yes, I want the extra settings (i.e. the tech specs in this case) to be updated through "edit my profile". Then the results of the extra field(s) will be displayed in the author column of a post/reply.
k, here ya go. this is a general guidline/instructions for adding new profile fields that will be displayed under the username and member # on each post. if you have any questions problems, just post here and ill help out.
I'm working on the hack still. There's a few things I'll need help with and a few bugs I'm working out as far as the code goes but I'll get back with you shortly.
I can't get the added profile fields to print when you go back to your edit your profile.
I have tried what you gave me, but it doesn't seem to work. The option drop down menu doesn't display when I use the code you gave me. Here's the variable format: $tech_spec = $user_profile[91]
Here's the Option menu code for one of the added profiles:
This is the final text I used in public_edit_profile.pl for the 8 additional profile fields (91-98):
####################### #######################
TECH SPEC SETTINGS
Strength
Intelligence
Speed
Endurance
Rank
Courage
Firepower
Skill
####################### #######################
I'm sure there's a better way to write the above code so I'm open to further suggestions and/or ideas. It was the only way I could get it to work for the time being.
This code was additional to the above *.txt hack file.
Like I said, Jordo ... YOU ROCK man!!! I'd give you 5 stars, but I can't because you have public display of ratings turned off. Thank you again for helping me out ... this hack encouraged me to install Who's Online and Live Chat last night as well. I've been a busy webmaster!
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.