The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||||||||||
For those upgrading from the 3.8.x mod, read this.
Don't forget to hit INSTALL! This product will add a new page to the User CP for easy editing of specially marked profile fields, that for one reason or another you would like to split off from the main list. NOTE: Any fields marked for this page will not be seen in the user's profile. You would need to install the Extra Profile Fields Tab addon (haven't updated it as of yet) to do this. Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). With an ADDITIONAL product (e.g. NOT this one), I place these specs in a dropdown list under the user title in each user's post, as well as in their profile as an extra tab. Here's some examples of how I use the 3.8.x version of this mod (with the Add-On mod, Extra Profile Fields Tab, and a separate mod, Profile Fields in a Postbit Dropdown): http://forum.corsair.com/forums/showthread.php?t=39826 ================ # of plugins: 3 # of php page edits: 1 (admincp/profilefield.php) # of new templates: 1 (page) # of template edits: 1 (USERCP_SHELL) # of new phrases: 3 Click here for details. Also look at the attached pictures to see where they show up. Version Changes Known Bugs ================ To Install: 1) Save the attached product-wired1_epfp.xml file. 2) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product] 3) Browse to wherever you saved the file. 4) Allow Overwrite -> Yes. 5) Import! 6) Follow the instructions for the manual edits (1 template edit, 1 PHP page edit) After the product is FULLY installed, when a you want to move a profile field to the new page for easy editing: 1. Go to the AdminCP and edit the field as normal. 2. At the bottom in the Display Page area, you will see "Which page displays this option?" The last option should say Options: <$vbphrase[extra_options]>. 3. Save! Don't forget to hit INSTALL! Support will only be given to people who have hit install. Download Now
Screenshots
Show Your Support
|
Comments |
#42
|
|||
|
|||
tagged and thanks
|
#43
|
|||
|
|||
i see a blank page in my hardware options
.the filed are created and set to view in extra options
ù.
why don't work? |
#44
|
|||
|
|||
Below is an example of the code I used to create a dropdown menu in the postbit_legacy template. The code mimics the code used in the forum menu for creating a dropdown menu, only this one does not use links but rather static text.
Instructions: Replace all Instances of $post['field#'] to list the proper field name of each custom profile field you wish to include and follow the format below to add additional fields. Only 3 fields were shown in the code to reduce the length of it. When adding a new field you should add it to the first vB conditional as well as the code for listing it. The conditional for displaying each field is optional and by some may be considered excessive, this is entirely up to you! You also do not have to use inline styling as I have but this was thrown together quickly to get something that works. HTML Code:
<!-- post specs_menu --> <vb:if condition="$post['field#'] OR $post['field#'] OR $post['field#']"> <div class="userinfo_extra"> <ul> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="6">Computer Specs</a> <ul class="popupbody popuphover"> <vb:if condition="$post['field#']"> <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Case:</span> {vb:raw post.field#}</li> </vb:if> <vb:if condition="$post['field#']"> <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Motherboard:</span> {vb:raw post.field#}</li> </vb:if> <vb:if condition="$post['field#']"> <li style="width:300px;color:#808080"><span style="font-weight:bold;color:#EEE;">Processor:</span> {vb:raw post.field#}</li> </vb:if> </ul> </li> </ul> </div> </vb:if> <!-- / post specs_menu --> |
#45
|
|||
|
|||
I fixed the redirect a couple ways... Although I think the plugin edit is the only thing needed I added the rest of my edits because they make sense.
In the "Creates Extra Profile Field Page" plugin add this just after $userdata->save(); PHP Code:
Code:
<form action="profile.php?do=updateextra" method="post"> <input type="hidden" name="do" value="{vb:raw updateextra}" /> <h2 class="blockhead">{vb:rawphrase edit_extra_options}</h2> <div class="blockbody formcontrols"> <h3 class="blocksubhead">{vb:rawphrase extra_options}</h3> {vb:raw customfields.extra} </div> <div class="blockfoot actionbuttons"> <div class="group"> <input type="submit" class="button" value="{vb:rawphrase save_changes}" accesskey="s" /> <input type="reset" class="button" value="{vb:rawphrase reset_fields}" accesskey="r" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="updateextra" /> </div> </div> </form> |
#46
|
|||
|
|||
Quote:
not work for me, the position of code???, where in postbit legacy? |
#47
|
|||
|
|||
work for me thanks!!!!!!!!!!!
|
#48
|
|||
|
|||
i found 1 bug and i have a request as well.
first of all, when i change my settings in the extra tab, my emails and such from the standard profile settings get reset, msn and such. secondly, is it possible to make it "register" as an own setting? |
#49
|
|||
|
|||
Any update on the using this as part of the profile
|
#50
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showpost....5&postcount=44 |
#51
|
||||
|
||||
wipedout: So you mean instead of editing the fields in the EPFP, you're going into the tab from the addon and editing them there? Are they ACTUALLY deleted (e.g. you're checking the adminCP), or you just don't see them in the appropriate tab if you switch to it? If the latter, refresh the page, sounds like an AJAX thing.
tommac3: Can you be more specific on your question please? alexp999: The redirect "bug" had nothing to do with the mod. When I upgraded the test bed, the issue went away. Didn't come back on a complete wipe / reinstall of the test bed. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|