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.
Please clarify "multiple pages" and why this would be needed.
i'm trying to make the user cp as easy as possible, guiding the user from category to category. instead of having everything on one page, i plan to have
This is great! I have installed it and now can really see the benefit of having multiple categories on the left nav bar. Is there any chance this will be updated for multiple categories?
This is great! I have installed it and now can really see the benefit of having multiple categories on the left nav bar. Is there any chance this will be updated for multiple categories?
Does anyone know how I can change this myself?
Quote:
Originally Posted by Ted S
vb_guru,
If you copy the plugin file and change the referances to "page" and "extra", you can set this up for multiple extra profile pages.
Depending on your use of the pages, you may need to do more than that. Please clarify the multiple pages' usage.
As for the left bar in the UserCP, you would also need to do a similar change with the extra instructions in the text file.
Depending on your use of the pages, you may need to do more than that. Please clarify the multiple pages' usage.
As for the left bar in the UserCP, you would also need to do a similar change with the extra instructions in the text file.
OK thanks for the reply. Here is what I want to do.
In the left nav bar will be 3 different "Extra" links:
Extra1
Extra2
Extra3
This will link to 3 separate pages. Each page will have their custom profile fields.
Extra1Page1 with custom profile fields 1,2,3,4,5,6,7,8
Extra2Page2 with custom profile fields 9,10,11,12
Extra3Page3 with custom profile fields 13,14,15,16,17,18,19,20,21
Therefore if I understand all this correctly within vBulletin Admin where it asks "Which page displays this option?" I will assign profile field 1 ExtraPage and so on.
I hope this all makes sense. Thanks for the help in advance.
in the text file instructions (and the extra plugins) would be replaced by something else (just add a 2 at the end for instance). You'd also need to add extra vbphrases and change them accordingly throught the plugin and text file instructions.
If you wanted to you could have them all in the same page, just depends on how much extra coding you'd want to do for the custom page.