vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Q: Custom Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=99204)

n1ckn4me 10-24-2005 05:10 PM

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!

peterska2 10-24-2005 10:29 PM

use
Code:

$post[field8]
if it is in the postbit or
Code:

$userinfo[field8]
if it is anywhere else.

n1ckn4me 10-24-2005 10:44 PM

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

peterska2 10-24-2005 11:31 PM

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.

Wired1 10-24-2005 11:36 PM

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

n1ckn4me 10-25-2005 05:12 PM

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

Wired1 10-25-2005 05:23 PM

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


All times are GMT. The time now is 11:59 PM.

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.01649 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete