vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Custom Profile Field to go in postbit legacy (https://vborg.vbsupport.ru/showthread.php?t=309580)

iNate19 03-16-2014 02:32 AM

Custom Profile Field to go in postbit legacy
 
I am having a really big issue, I created a custom profile field called "accomplishments" and I want to put it into the postbit legacy but I have no idea how. Can someone please guide me

ozzy47 03-16-2014 02:36 AM

You would add something like this to the template:

Code:

<vb:if condition="$post['fieldX']"><dt>Accomplishments</dt> <dd>{vb:raw post.fieldX}</dd></vb:if>
Where X is the id of the new field. :)

iNate19 03-16-2014 02:50 AM

Quote:

Originally Posted by ozzy47 (Post 2487592)
You would add something like this to the template:

Code:

<vb:if condition="$post['fieldX']"><dt>Accomplishments</dt> <dd>{vb:raw post.fieldX}</dd></vb:if>
Where X is the id of the new field. :)

Thank you very much ozzy, i am still having an issue maybe im doing something wrong here is what i want

https://vborg.vbsupport.ru/external/2014/03/16.jpg

can you please tell me how to make it where i can do that, that was on our 3.8 board btw we have since updated to 4.2.0

ozzy47 03-16-2014 02:54 AM

How is the profile field set up?

What is is showing when you add the code I provided?

iNate19 03-16-2014 03:13 AM

Quote:

Originally Posted by ozzy47 (Post 2487596)
How is the profile field set up?

What is is showing when you add the code I provided?

here is what i put in

<vb:if condition="$post['field60']"><dt>Accomplishments</dt> <dd>{vb:raw post.field60}</dd></vb:if>

here is how it looks when i do what u told me

https://vborg.vbsupport.ru/external/2014/03/14.jpg


here is the profily field set up


https://vborg.vbsupport.ru/external/2014/03/15.jpg

Lynne 03-16-2014 06:25 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=250418" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=250418</a>


All times are GMT. The time now is 12:30 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.00997 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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