The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||
Don't forget to hit INSTALL!
You can find the 3.6.x version of this hack here. 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. A mod I'll release later on will create a tab for them, fully editable like the "About Me" tab. 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! 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 this mod (with the Add-On mod, Extra Profile Fields Tab, and a separate mod, Profile Fields in a Postbit Dropdown): http://www.houseofhelp.com/forums/sh...ad.php?t=39826 Note: the pics in that thread are from 3.6.x, but you'll get the idea. # 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. If you have a 3.6.x version of this on your forum and are running 3.7.0, please uninstall it via running backwards through the old instructions, and then follow the Install instructions. 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) The install process should only take 5 minutes at most. Don't forget to hit INSTALL! Support will only be given to people who have hit install. Show Your Support
|
Comments |
#152
|
|||
|
|||
Quote:
I think perhaps he was asking how to change the string "Edit Extra Options" that is shown in the User's CP.. I would like to change it to something else: "Edit Referral System" or "Edit Referral System Options" Where is that done? EDIT: I am asking pre-install questions.. |
#153
|
|||
|
|||
Did you try phrases?
|
#154
|
||||
|
||||
in the userCP template responsible for making the menu on the left side (I don't know which off the top of my head) I added a conditional that checked the usergroup (you can find out how to do that here somewhere, it is trivial) and added an element in that to display the link to the extra profile fields edit/update page. On that page, you can also add a check for that usergroup, and deny access unless they have permission, but I didn't bother in my application.
|
#155
|
|||
|
|||
Could you please update this for 3.8 Gold??
I have it installed and working except if you set individual profile fields to show on the member list or be searchable they no longer appear. They were appearing perfectly on 3.7. Everything else seems to work fine including your additional profile tab hack! It would rad if you could update it! |
#156
|
||||
|
||||
Quote:
|
#157
|
|||
|
|||
Quote:
I notice one thing however. Using this code all profile fields from the extra page show on the advanced search form, even if they are set to not be searchable. Anyone an idea why? |
#158
|
|||
|
|||
Quote:
FIND line 233 (vB 3.8.1) Code:
// Process Custom Fields.. $userfields = ''; $profilefields = $db->query_read_slave(" SELECT profilefieldid, type, data, optional, memberlist, searchable FROM " . TABLE_PREFIX . "profilefield WHERE form = 0 " Code:
// Process Custom Fields.. EDITED $userfields = ''; $profilefields = $db->query_read_slave(" SELECT profilefieldid, type, data, optional, memberlist, searchable FROM " . TABLE_PREFIX . "profilefield WHERE form = 0 OR form = 6" Code:
// get extra profile fields $profilefields = $db->query_read_slave(" SELECT * FROM " . TABLE_PREFIX . "profilefield WHERE searchable = 1 AND form = 0 Code:
// get extra profile fields.. Edited $profilefields = $db->query_read_slave(" SELECT * FROM " . TABLE_PREFIX . "profilefield WHERE searchable = 1 AND (form = 0 OR form = 6) |
#159
|
||||
|
||||
3.8.x version released:
https://vborg.vbsupport.ru/showthread.php?t=208356 No code changes whatsoever. |
#160
|
|||
|
|||
Hi, im working with 3.8.1 and installed this mod and the mod for a extra tab. Working great. One question.. If somebody register, then the extra page doesnt have a separed block. It fields stand under other information.. Is it possible to get a on his one standing thing?
|
#161
|
||||
|
||||
I have no idea what you just said, but 3.8.x questions should be in the 3.8.x thread about the tab mod, NOT in this thread.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|