This hack will add an extra page to the User CP. This area can be used for extra profile fields that for one reason or another you would like to split from the main list.
Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). I have the specs in a dropdown list under the user title in each user's post, as well as in their profile page, but that's another hack You can see my 3.0.x hack for that here, and the 3.5.x hack for it here.
NOTE: The above 2 links show the results of another hack I did that's based upon this one. In otherwords, this hack doesn't add dropdowns in posts, and doesn't hack the member page to display the extra options in a new area. For that, install the Add-On hack, Additional Section within Profile and Dropdown within Posts.
# of plugin hooks: 1
# of php page edits: 3 (or 4)
# of new templates: 1
# of template edits: 1
# of new phrases: 2
The "successfully saved" and extra option search are not tested, but they should both work.
I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.
This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.
I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.
bio.php would work.
In otherwords, you'd like a link on their member page that goes to a new page where these extra specs can be seen? If so, shouldn't be that hard to whip up. If this is what you want, do me a fav, post this in that thread so I'll get the update in my email. That way I'll remember when I get home
This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.
I did a quick install of this and received this error when I went to the Profile Field Manager in AdminCP:
Parse error: parse error, unexpected '\"', expecting ')' in /path/to/public_html/admincp/profilefield.php on line 383
And line 383 is this:
"$vbphrase[options]: $vbphrase[extra_options2]"
I'm pretty sure I followed the instructions correectly. I just added extra_options2 lines right under the original extra_options. But, I've got to go for the day, so will try again later tonight, thanks Wired.
Haha thanks Wired, works great. In case anyone's wondering.. to make 3'rd or 4'th pages, just rename the 2's in the .xml file to the appropriate number, as well as the install.txt file.