Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Extra Profile Fields Page Details »»
Extra Profile Fields Page
Version: 3.0.1, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.3 Rating:
Released: 05-20-2008 Last Update: 06-08-2008 Installs: 254
Uses Plugins Template Edits
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #152  
Old 01-03-2009, 08:20 PM
Turbe Turbe is offline
 
Join Date: Apr 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jjdurrant View Post
"Extra Profile Fields" How do I change the name of the link?
Quote:
Originally Posted by Wired1 View Post
WHICH link? If you mean the ones in the UserCP, the variables are already shown in the attached pics.

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..
Reply With Quote
  #153  
Old 01-04-2009, 12:38 AM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try phrases?
Reply With Quote
  #154  
Old 01-07-2009, 09:14 AM
firstimecaller's Avatar
firstimecaller firstimecaller is offline
 
Join Date: Feb 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #155  
Old 01-17-2009, 12:58 AM
transparent transparent is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #156  
Old 01-18-2009, 08:49 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by transparent View Post
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!
Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.
Reply With Quote
  #157  
Old 01-27-2009, 06:59 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
Don't recall that ever being an offical part of the product. IIRC that was a hack of the member list someone posted.
That's correct, see here

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?
Reply With Quote
  #158  
Old 01-28-2009, 09:36 AM
GHC Webmaster GHC Webmaster is offline
 
Join Date: Aug 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GHC Webmaster View Post
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?
Solved this myself, put brackets around the "form = 0 OR form = 6" bit, which makes the complete code edit of memberlist.php for the search function:

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 "
REPLACE WITH

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"
FIND line 905 (vB 3.8.1)

Code:
    // get extra profile fields
    $profilefields = $db->query_read_slave("
        SELECT *
        FROM " . TABLE_PREFIX . "profilefield
        WHERE searchable = 1
            AND form = 0
REPLACE WITH

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)
Reply With Quote
  #159  
Old 03-14-2009, 10:55 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8.x version released:
https://vborg.vbsupport.ru/showthread.php?t=208356

No code changes whatsoever.
Reply With Quote
  #160  
Old 03-15-2009, 11:00 AM
Cees Cees is offline
 
Join Date: Dec 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #161  
Old 03-15-2009, 06:37 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cees View Post
Is it possible to get a on his one standing thing?
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04867 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete