The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||
Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.
========================= Don't forget to hit INSTALL! NOTE: No code changes have been made from v3.0.1 for vB 3.7.x to v3.1.0 for vB 3.8.x. 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 to do this. 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 # 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. 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. Download Now
Screenshots
Show Your Support
|
Comments |
#32
|
||||
|
||||
![]()
Glad everyone's good to go. Too bad not everyone's hitting the INSTALL button
![]() |
#33
|
||||
|
||||
![]() Quote:
I asked this question in a 3.7x thread but you lead my to a 3.8x thread? Nice mess. So My question remains of how to have these threads show on the advanced search form??? |
#34
|
||||
|
||||
![]()
The quoted link is talking about adding these specially marked profile fields to the advanced member search form. I just clarified the initial link to say that so that it can no longer be confused with advanced thread / post searches.
As it states at the top of this thread: Quote:
Please clarify what you mean by threads? None of my mods do anything to threads. The closest would be adding a dropdown for these extra profile fields within the postbit. |
#35
|
||||
|
||||
![]() Quote:
I know I am confused with the template this mod uses, is it called 'page' do I have to change that as well, and the $templatecustom ? I think somewhere there I messed up |
#36
|
||||
|
||||
![]()
Correct, EVERYTHING needs to be duplicated / changed, including the templates and the variables inside of them.
|
#37
|
||||
|
||||
![]() Quote:
Thanks! |
#38
|
||||
|
||||
![]()
Here you go man, let me know if it works fine... works on my end.
Just remember to add the variables to the admincp/profilefield.php I edited the template name to put it where the modify user options are to keep it neat, you can change it if you plan on using a different template name. same link on the usercp just add the 1 at the end =extra1 If you are already using the extra page of this mod then you need just to add the extra lines Code:
find "$vbphrase[options]: $vbphrase[extra_options]" (add a coma at the end) like: "$vbphrase[options]: $vbphrase[extra_options]", and add underneat "$vbphrase[options]: $vbphrase[extra1_options]" (no coma) Then find 6 => "$vbphrase[options]: $vbphrase[extra_options]", add underneat 7 => "$vbphrase[options]: $vbphrase[extra1_options]", Wired1, if you dont authorize this post let me know and ill edit it :up: |
#39
|
||||
|
||||
![]()
I have created 3 pages so for with this mod. There are many mods here that require you to make new User Profile fields & then add it to Edit Details or Edit Options or New ones we have made. I think adding them to default vb Profile Fields looks ugly if they really do not belong in that section. So, creating new pages is the way to go, to seperate Fields that need their own section.
I will do my best to walk you through creating new pages using this mod. ================================================== ========== First, Change the product name to the name you wish to use. You will need to open your newly named duplicate product with your favorite editor. Next, Find: Code:
<product productid="wired1_epfp" active="1"> If this is not done, you will over-write your System Specs Product & will result in a white page when viewing your System Specs Page. ================================================== ========== Find: Code:
<title><![CDATA[Wired1's Extra Profile Field Page]]></title> This will be the name of the Product on the Products list. ================================================== ========== Next, you will need to find every instance of the word extra and replace it with the name of your page, in this instance, name it test. Easy way to do them all at once is to click edit, if you are using wordpad as your editor, then click Replace. You will see a pop-up. Find what: type in extras. Replace with: test. click replace all. ================================================== ========== Next, Find: Code:
<template name="page" templatetype="template" date="1136338972" username="Wired1" version="3.1.0"><![CDATA[<form action="profile.php" method="post"> Next, Find: Code:
$globaltemplates = array_merge($globaltemplates, array('page', 'userfield_checkbox_option', 'userfield_radio', 'userfield_radio_option', 'userfield_select', 'userfield_select_multiple', 'userfield_select_option', 'userfield_textarea', 'userfield_textbox', 'userfield_wrapper')); }]]></phpcode> ================================================== =========== Next, Find: Code:
$templatename = 'page'; ================================================== ========== Next, Find: Code:
<phpcode><![CDATA[if ($profilefield['form'] == 6) Save it, Upload your newly named product. ================================================== ========== Next, you will again need to edit your admincp/profilefield.php Search for: Code:
"$vbphrase[options]: $vbphrase[extra_options]" Code:
"$vbphrase[options]: $vbphrase[extra_options]", "$vbphrase[options]: $vbphrase[test_options]" Code:
6 => "$vbphrase[options]: $vbphrase[extra_options]", Code:
7 => "$vbphrase[options]: $vbphrase[test_options]", ================================================== ========== Now you will need to edit your USERCP_SHELL template Skip this if you want to add your new page to its own section. Find: Code:
<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr> Code:
<tr><td class="$navclass[test]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=test">$vbphrase[edit_test_options]</a></td></tr> ================================================== =========== If you want to add your new page in its own section, simply add the following. In your USERCP_SHELL, Find: Code:
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr> Code:
<tr><td class="thead">Test Options</td></tr> <tr><td class="$navclass[test]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=test">$vbphrase[edit_test_options]</a></td></tr> To get Profile Fields to show up on your new page, Go into your Profile Field Manager. Select your User Profile field you want to add to this page, at the very bottom, Select, Options Test Options. Hopefully I covered all the bases & this will help many of you to create new profile pages from this mod. You will need to re-do these steps for every Profile page you wish to create. Thanks Wired....Later, Tim |
#40
|
||||
|
||||
![]()
Thanks for the outlines on how to create more pages. One thing to note is that other hacks.... for instance.... the Mass PM hack list all created fields. So the more fields we make make these other hacks draw a huge list of fields. Anyway just something to note.
I think maybe these is another feature overlooked that might need to be integrated into this mod. One were we can quickly to the fields to be a sort of invisible to VB and only show on the new page and new tab much in the same way we can select to make a field searchable or not on the members list. The more fields we enter the more lists of fields grow. If you enter a large amount of fields as I have... another example of this problem is on editing a users settings. A mass amount of fields gets listed. What I am saying here is that as we address the need for more pages and tabs we will eventually have to address how these new fields show in AdminCP areas as well. Another similar issue is if you add say 70 fields to a new page and tab. All these fields and their inputed data must get pulled and displayed. There is no system of pagination designed yet. So for my uses I will need to have pagination added. I use this mod to make a second very extensive More About Me tab next to the standard About Me tab. That new page and tab of mine has 70 targeted questions for members to answer. This list will grow larger. How can we add pagination to the new page and also to the othe rhack for adding a new tab? Thanks! |
#41
|
||||
|
||||
![]()
Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.
NOTE! I'm currently working on making the EPFP mod for vB 4.0 more DB driven so that pages and tabs are easier to create and customize. If you DON'T want a DB version, post here and as long as I get more than one or two responses I'll add that to my modification upgrade list. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|