vb.org Archive

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

tehQspm 01-21-2008 08:49 PM

Custom Profile Fields on vB 3.7
 
I'm trying to figure out how to manually call custom profile fields in vB 3.7 but I understand those are coded differently now so $userinfo[fieldx] no longer works.

I did manage to find a way by using
PHP Code:

<if condition="$profilefield['title'] == 'Something'">$profilefield[value

to manually call a profile field by its title. However this only works in the "About Me" tab in the member profiles (using the memberinfo_profilefield template). I wanted to add a few custom profile fields to the "Contact Info" tab but nothing I try seems to work.

Anyone had any luck with these?

Freesteyelz 01-22-2008 12:43 AM

Hmm...In the MEMBERINFO templates I use $userinfo[fieldx] for Custom Profile Fields.

tehQspm 01-22-2008 12:51 AM

in 3.7? (even though that is still in Beta right now)

Freesteyelz 01-22-2008 01:00 AM

Yeah...There are code differences but with Custom Profile Fields they seem to work the same. I've been testing Beta 3 for a month now. :)

tehQspm 01-22-2008 02:42 AM

which template did you put it into?

Freesteyelz 01-22-2008 07:21 AM

Hmm...And now with Beta 4. :D

I placed $userinfo[fieldx] to templates MEMBERINFO, memberinfo_block_statistics, memberinfo_block_aboutme and memberinfo_block_contactinfo. Keep in mind that these were Custom Profile Fields I created.

tehQspm 01-22-2008 08:53 AM

yeah I was messing around with it and got it to work but I was trying to put it into memberinfo_profilefield for some weird reason.

Thanks for that!

Freesteyelz 01-22-2008 07:24 PM

Np. :)


All times are GMT. The time now is 07:15 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.01183 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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