vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   User profile fields - how to display? (https://vborg.vbsupport.ru/showthread.php?t=215171)

Fulla 06-02-2009 04:26 PM

User profile fields - how to display?
 
I basically created a new profile field, but not sure how to get it to display for a User under his name in the actual forums.

Here's a pic, to further clarify:
https://vborg.vbsupport.ru/external/2009/06/156.jpg

Where it has join date, location, posts, I'd like to add my new field I created in there.
Any help, would be greatly appreciated, thx

Lynne 06-02-2009 04:58 PM

search "profile*" or"postbit*" in "articles" "titles only" and you should find an article about adding profile fields to the postbit.

Fulla 06-02-2009 08:17 PM

Ok, managed to get alot more info, sort of know what I'm doing now.
The profile field I created however is 'Multiple-Selection Menu'

So, requesting help on the code, in postbit_legacy. Just copying a previous field, such as join date, didn't work, I assume because of the menu. The only way I can get it working is like this:
Code:

<if condition="$post['field5']=='1'">Favourite Hero: Astral Mage</if>
Code:

<if condition="$post['field5']=='2'">Favourite Hero: Jungle Rogue</if>
There are 24 options/fields in the menu, I don't mind copying pasting the above 24 times & manually putting it in, but just wondering if there's an easier more efficient way?

Here is an example, of it being displayed:
https://vborg.vbsupport.ru/external/2009/06/155.jpg

Lynne 06-02-2009 09:16 PM

This thread over on vb.com should help you out with that. - How To Add A Profile Field To The Postbit


All times are GMT. The time now is 04:01 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.01018 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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