![]() |
Glad everyone's good to go. Too bad not everyone's hitting the INSTALL button :(
|
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??? |
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. |
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 |
Correct, EVERYTHING needs to be duplicated / changed, including the templates and the variables inside of them.
|
Quote:
Thanks! |
1 Attachment(s)
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 Wired1, if you dont authorize this post let me know and ill edit it :up: |
1 Attachment(s)
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')); ================================================== =========== 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]", 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> 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 |
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! |
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. |
All times are GMT. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|