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

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

Version: 3.5.4 Rating:
Released: 10-12-2005 Last Update: 01-05-2006 Installs: 117
Uses Plugins Template Edits
Code Changes Is in Beta Stage  
No support by the author.

This is the 3.5.x version of Zachery's hack by the same name. (linkage)


3.6.0 version: https://vborg.vbsupport.ru/showthread.php?t=123253


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 can see my 3.0.x hack for that here, and the 3.5.x hack for it here.

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/v2/showthread.php?t=39826
http://www.houseofhelp.com/v2/member.php?u=15

NOTE: The above 2 links show the results of another hack I did that's based upon this one. In otherwords, this hack doesn't add dropdowns in posts, and doesn't hack the member page to display the extra options in a new area. For that, install the Add-On hack, Additional Section within Profile and Dropdown within Posts.

# of plugin hooks: 1
# of php page edits: 3 (or 4)
# of new templates: 1
# of template edits: 1
# of new phrases: 2

The "successfully saved" and extra option search are not tested, but they should both work.

Don't forget to hit INSTALL!.

Show Your Support

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

Comments
  #192  
Old 07-20-2006, 10:26 PM
Arissa Arissa is offline
 
Join Date: Feb 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.

bio.php would work.
Reply With Quote
  #193  
Old 07-21-2006, 02:42 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 futuredood
hey wired, how's it lookin today?
This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.
Reply With Quote
  #194  
Old 07-21-2006, 02:45 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 Arissa
I've tried to get it to show up on the members profile by using your other hack. It didn't work. What I really want is to create another page where the extra fields are shown with a link to the page in their profile.

bio.php would work.
In otherwords, you'd like a link on their member page that goes to a new page where these extra specs can be seen? If so, shouldn't be that hard to whip up. If this is what you want, do me a fav, post this in that thread so I'll get the update in my email. That way I'll remember when I get home
Reply With Quote
  #195  
Old 07-21-2006, 04:40 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
This is UNTESTED, but unless I missed an edit here or there, it should work. Basically created a new product and updated names of all the plugins and calls and whatnot.
I did a quick install of this and received this error when I went to the Profile Field Manager in AdminCP:

Parse error: parse error, unexpected '\"', expecting ')' in /path/to/public_html/admincp/profilefield.php on line 383

And line 383 is this:
"$vbphrase[options]: $vbphrase[extra_options2]"

I'm pretty sure I followed the instructions correectly. I just added extra_options2 lines right under the original extra_options. But, I've got to go for the day, so will try again later tonight, thanks Wired.
Reply With Quote
  #196  
Old 07-21-2006, 06:11 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you place a 6 or 7 behind those two values? I've updated the txt file.
Reply With Quote
  #197  
Old 07-22-2006, 08:06 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha thanks Wired, works great. In case anyone's wondering.. to make 3'rd or 4'th pages, just rename the 2's in the .xml file to the appropriate number, as well as the install.txt file.
Reply With Quote
  #198  
Old 07-22-2006, 07:14 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet

Also don't forget to increment the steps where it's a numerical list!
Reply With Quote
  #199  
Old 07-26-2006, 07:45 PM
barryhand barryhand is offline
 
Join Date: Jul 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Add-on, for some reason my extra's are showing up as Additional Information?

Are there some php edits for this to display correctly
Reply With Quote
  #200  
Old 07-26-2006, 10:31 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 barryhand
Great Add-on, for some reason my extra's are showing up as Additional Information?

Are there some php edits for this to display correctly
Yep, read the instruction text file.
Reply With Quote
  #201  
Old 07-27-2006, 07:04 AM
barryhand barryhand is offline
 
Join Date: Jul 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
Yep, read the instruction text file.
I've done that, but then it doesn't display on the member.php

I've edited it to be 0 or 6 and it shows additional information like hobbies/age/location etc.
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:06 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.05114 seconds
  • Memory Usage 2,314KB
  • 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
  • (5)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_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