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

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

Category: Profile Enhancements - Version: 3.6.9 Rating:
Released: 08-06-2006 Last Update: 04-25-2008 Installs: 388
Uses Plugins Template Edits
Code Changes  
No support by the author.

IMPORTANT INSTRUCTIONS for those upgrading to vB 3.6.10!!!

https://vborg.vbsupport.ru/showpost....&postcount=269

EVERYONE: PLEASE BE CRYSTAL CLEAR IN WHAT ISSUES YOU ARE HAVING WITH THIS MOD IF YOU ARE USING IT IN 3.7.x! A 3.7.x version is already in the works.

------------------------------------------------------------

You can find the 3.5.x version of this hack here.

This hack will add an extra page to the User CP. This area can be used for extra profile fields that for one reason or another you would like to split from the main list.

Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). I have the specs in a dropdown list under the user title in each user's post, as well as in their profile page, but that's another hack You'll see a link to it under Add-Ons to the right.

Here's some examples of how I use this hack (with the Add-On hack, Additional Section within Profile and Dropdown within Posts):
http://www.houseofhelp.com/forums/sh...ad.php?t=39826
http://www.houseofhelp.com/forums/member.php?u=15

# of plugin hooks: 1
# of php page edits: 3
# of new templates: 1
# of template edits: 1
# of new phrases: 2


To install, upload the product and then make the manual edits as listed in the text file.

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
  #132  
Old 03-13-2007, 09:16 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool. Thanks for sharing. I have 2 questions.

1-How can I fix the drop down on the extreme right as per image?

2-I am using for boat specs. How do I handle the gut with 2 boats, or do you handle the guy with 2 pc with 2 different config?
Reply With Quote
  #133  
Old 03-13-2007, 10:35 PM
sheryarpatel's Avatar
sheryarpatel sheryarpatel is offline
 
Join Date: Nov 2005
Location: Lahore
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work on 3.6.5 or 3.6.4
Reply With Quote
  #134  
Old 03-25-2007, 08:57 AM
calord calord is offline
 
Join Date: Sep 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to make use of this mod, but I admit ...the instructions have me absolutely lost with how to create different pages for different profiles. I simply don't understand the editing of vbphrases, variables, and other such.

It's a gaming site. I need to be able to create "Edit X Profile" pages in the UserCP for each game. For example, users need to be able to create a profile for EVE, VG, and WoW. Please help me accomplish that. I need very specific instructions.

I downloaded the instructions you posted in page 2 of this thread (page.zip) and that just made me more confused. I don't get it. What do I need to edit, where, and how to create these extra pages? Sorry I'm not so VB savvy, I try, but my experiments aren't producing any results. The whole "change the ### to a number" was ....lost on me.

Any help is appreciated, and thank you for your patience.
Reply With Quote
  #135  
Old 03-25-2007, 06:48 PM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sheryarpatel View Post
does it work on 3.6.5 or 3.6.4
Yes.
Reply With Quote
  #136  
Old 04-05-2007, 01:36 PM
OmniBuzz OmniBuzz is offline
 
Join Date: Nov 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Wired1, first thank you for this hack !
Everything is running fine (I have my extra page, the fields are there, etc.) but I have one simple issue : if I click on a user profile, I have an empty space with the extra page title, but nothing in it...
See the picture file attached if my english is not crystal clear (englsh is not my language)
How could I remove this ?
Thanks in advance for your help.
Reply With Quote
  #137  
Old 04-06-2007, 02:00 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 OmniBuzz View Post
Hello Wired1, first thank you for this hack !
Everything is running fine (I have my extra page, the fields are there, etc.) but I have one simple issue : if I click on a user profile, I have an empty space with the extra page title, but nothing in it...
See the picture file attached if my english is not crystal clear (englsh is not my language)
How could I remove this ?
Thanks in advance for your help.
This hack does not touch that area, the Additional Section within Profile and Dropdown within Posts does that. I'd un/reinstall it.
Reply With Quote
  #138  
Old 04-21-2007, 11:45 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
Read the 3.5.x hack instructions. There's BETA search code in there (which is really just vB's search code w/ one minor change). Search for the new code in 3.6.x (they changed like 1 minor thing in it IIRC), and it should work fine. A proper way to do this would involve a heavy rewrite, which I simply don't have the time for (hence why I haven't been around much).
To clarify, I just tried it... and found what worked for me. This is with this version of the hack, and vBulletin 3.6.5. And now the "extra" fields I choose are showing up in Members List and are searchable too.


All it took was changing two instances of form = 0 to form = 0 OR 6


In memberlist.php:


FIND:
PHP Code:
    $profilefields $db->query_read_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "profilefield
        WHERE searchable = 1
            WHERE form = 0 " 
REPLACE WITH:
PHP Code:
    $profilefields $db->query_read_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "profilefield
        WHERE searchable = 1
            WHERE form = 0 OR 6 " 

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

The only downside is that right now I have three "regular" User Profile fields that I had designated as "not searchable" -- and now, as result of this edit, they appear in the "Members List: Advanced Search." These particular fields don't work, mind you (searching in those fields just ends up showing the entire member list.) Which is fine by me... I didn't want them to be searchable in the first place. But the fact that the fields show up in the Advanced Search might be a bit confusing, that's all.

This is a compromise I am willing to make, because I wanted to have many of the "Extra" Profile Fields I created with this hack to show up in my Member List, and be Searchable... and now they are.

Thanks!

/clicks install
Reply With Quote
  #139  
Old 04-29-2007, 10:59 PM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
To clarify, I just tried it... and found what worked for me.

i tried that same thing and got an error i was hoping it would work.

Code:
Invalid SQL:

        SELECT *
        FROM profilefield
        WHERE searchable = 1
            WHERE form = 0 OR 6 
		ORDER BY displayorder;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE form = 0 OR 6 
		ORDER BY displayorder' at line 4
Error Number : 1064
Date         : Sunday, April 29th 2007 @ 06:41:25 PM
Script       : http://www.mysite.org/forums/memberlist.php
Referrer     :
Any ideas? I need these fields to be searchable, getting desperate..
Reply With Quote
  #140  
Old 04-29-2007, 11:30 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for posting the code.

I will give this a try on our forum and see if it works for us!

I'd really like these fields to be searchable as this would be invaluable market information for our site.
Reply With Quote
  #141  
Old 05-24-2007, 03:20 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone tried this on 3.6.6 or 3.6.7?

I have just upgraded to 3.6.7PL1 and I'm having an issue with the page not showing up under the UserCP.

I'm not sure where to search for this solution.

When I go to the UserCP and click on the link to go to where I would enter in the information, it's the below image:

http://www.mj-garage.com/pics/UserCP.JPG

When I go to the memberinfo page I see the following (yes, other mods installed too, but they are working):

http://www.mj-garage.com/pics/memberinfo.JPG

Thanks for the help anyone can provide!
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 03:10 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.05599 seconds
  • Memory Usage 2,335KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (4)bbcode_php
  • (4)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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