Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2005, 05:10 PM
n1ckn4me n1ckn4me is offline
 
Join Date: Jan 2005
Location: The Netherlands
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Q: Custom Profile Fields

example:

To call a custum profile field you could code;

PHP Code:
$customfields[other
I have several custum profile fields made and I want to use only surten ones on a different page.

Is there a code for this? For example;

PHP Code:
$customfields[field8
thanks in advance!
Reply With Quote
  #2  
Old 10-24-2005, 10:29 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use
Code:
$post[field8]
if it is in the postbit or
Code:
$userinfo[field8]
if it is anywhere else.
Reply With Quote
  #3  
Old 10-24-2005, 10:44 PM
n1ckn4me n1ckn4me is offline
 
Join Date: Jan 2005
Location: The Netherlands
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the reply!

But I didn't get my question good I guess...because I ment something else.

Im working on a user cp page at the profile.php and it's working great!
but If I code:

PHP Code:
$customfields[regular
than I get all of mine custum profile fields to show up! logical
but I want only specific custum profile fields I made to show up for the member to fill in...(options to then later print in my site)
I hope I made myself clearer! and of course thanks in advance!

ciao
Reply With Quote
  #4  
Old 10-24-2005, 11:31 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you mean to edit by the user? if so then this is a setting in the profile field manager.

setting it to a private field will also prevent it from displaying by default.
Reply With Quote
  #5  
Old 10-24-2005, 11:36 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check out my hacks, they may help you out, as one of them deals with adding custom profile fields.

https://vborg.vbsupport.ru/showthread.php?t=98282
Reply With Quote
  #6  
Old 10-25-2005, 05:12 PM
n1ckn4me n1ckn4me is offline
 
Join Date: Jan 2005
Location: The Netherlands
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1
Check out my hacks, they may help you out, as one of them deals with adding custom profile fields.

https://vborg.vbsupport.ru/showthread.php?t=98282
wow, that helped! ..I was on the way of figuring this thing out but with your hack I was able to do what I wanted! ..thanks for your link! nice hack also


@peterska2

thanks for your help, I have totally made advantage of your replies!..thanks for sharing it with me!

catch ya'll latr
Reply With Quote
  #7  
Old 10-25-2005, 05:23 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kewlness, glad to help.

The following links are the same as clicking the install button on the hack page. Please don't forget to hit install!

Click here to register your install of the Extra Profile Fields Page hack


Click here to register your install of the Additional Section within Profile and Dropdown within Posts hack
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 05:34 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.03977 seconds
  • Memory Usage 2,227KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete