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

where does the date go
Reply With Quote
  #173  
Old 07-10-2006, 10:51 PM
vb_guru vb_guru is offline
 
Join Date: Aug 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
where does the date go
The date will be for internal use only and will probably be stored in a new MySQL column in the user table or it could possibly be another custom profile field. I am not exactly sure the best way to do this.
Reply With Quote
  #174  
Old 07-11-2006, 02:15 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Wired_1,

I tried searching this thread but couldn't find any results. I noticed in your System Specs example, you were able to allow single-line text box options.

I've installed everything and got it working correctly on 3.5.4. The problem I'm facing is single-line text box profile field options don't show up on the profile.php?do=extra page.

I'm sure the single-line profile field option I created works b/c when I change the display page to editprofile, it works fine.

Is this a known bug, or just me?
Reply With Quote
  #175  
Old 07-11-2006, 03:09 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_1,

I tried searching this thread but couldn't find any results. I noticed in your System Specs example, you were able to allow single-line text box options.

I've installed everything and got it working correctly on 3.5.4. The problem I'm facing is single-line text box profile field options don't show up on the profile.php?do=extra page.

I'm sure the single-line profile field option I created works b/c when I change the display page to editprofile, it works fine.

Is this a known bug, or just me?
Does the profile field show up on the extra page, the normal member page, or both? The editprofile page you are looking at, is it in the admincp, or just the normal member edit info page that each user has in their usercp? (screenshots would be awesome)
Reply With Quote
  #176  
Old 07-11-2006, 03:10 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 vb_guru
The date will be for internal use only and will probably be stored in a new MySQL column in the user table or it could possibly be another custom profile field. I am not exactly sure the best way to do this.
Ummmm.... nope

Somewhere in the Extra Profile Page plugin under the submit area I'm guessing, with the appropriate vBulletin database functions.
Reply With Quote
  #177  
Old 07-11-2006, 05:53 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
Does the profile field show up on the extra page, the normal member page, or both? The editprofile page you are looking at, is it in the admincp, or just the normal member edit info page that each user has in their usercp? (screenshots would be awesome)
It's an editable user profile field, so I'm accessing it through the usercp. The link I use is profile.php?do=extra. How I tested it was I changed the display page of the profile field to "editprofile" in the admin backend, and it showed up fine in the users' "editprofile". When I set the display page to "options: extra options", it does not show up. The tests were tested on a "registered users" account in their own usercp.

I hope this explains it well enough. I've included a screen shot though it doesn't show much.. thanks.
Reply With Quote
  #178  
Old 07-11-2006, 06:36 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

futuredood:

sounds like it's done right. so you can basically mark any profile field that's not a single-line text box as extra options, and it'll work fine?

doesn't make sense. Is this site live, or up enough where a temp registered user can be set up so that I can look at it?
Reply With Quote
  #179  
Old 07-11-2006, 07:19 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wired1, sorry about that, let me try again.

the site's not public yet, it's a fresh install of 3.5.4 that's being modified.

for the extra profile page, i can add any type of custom profile field. this includes single-selection menu, multi-selection check box, etc. the only custom profile fields that do not work is single-line text box and multi-line text box.

when i link a custom profile field single-line text box to the extra options page that this hack created, it does not show up.

does that make more sense?
Reply With Quote
  #180  
Old 07-11-2006, 08:30 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's what I said the hack's too generic to affect some profile fields and not others, as it just adds that dropdown as an option for all fields to be marked as, and then the new page looks for fields with those marks and grabs them.

do you have any other hacks installed that affect profile fields?
Reply With Quote
  #181  
Old 07-11-2006, 09:29 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol great, we both have an understanding now.

i've got a number of hacks installed as well as customized modify profile templates. which template is the extra profile field page in? maybe i made an alteration that causes single-line text boxes to not appear.

to note, i have interactive profiles installed which may alter the profile page some how.
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 11:06 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
  • Page Generation 0.05112 seconds
  • Memory Usage 2,317KB
  • 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_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