vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   yet another phase problem... (https://vborg.vbsupport.ru/showthread.php?t=146327)

RedGTiVR6 05-02-2007 08:26 PM

yet another phase problem...
 
At one time I had this working, but in applying a mod, I overwrote it without realizing it and now I can't get it back.

I have a user profile field (field5) called Vehicle.

I want this to show up under Location in the postbit.

I've created the phrase as follows:

Custom Field
Product: vBulletin
Varname: field5_title
Text: Vehicle

And the code I've added in the postbit:

Code:

      <if condition="$post['field5']"><div>$vbphrase[field5_title]: $post[field5]</div></if>
However, the phrase won't show up.

The field information will show up but the word 'Vehicle' will not...

so it looks like this:

Quote:

: VW GTi VR6 / Ducati 900 SS & S4R / Dakota R/T Supercharged
I want it to look like this:

Quote:

Vehicle: VW GTi VR6 / Ducati 900 SS & S4R / Dakota R/T Supercharged
What am I doing wrong?

tobybird 05-02-2007 08:46 PM

Forgive me, I could be off here.... Shouldn't the phrase type being global do the trick?

RedGTiVR6 05-02-2007 08:56 PM

recreated it as a global and it works now.

What's got me stumped is that it worked previously, with the same phrase type as I listed.


All times are GMT. The time now is 11:18 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.00977 seconds
  • Memory Usage 1,712KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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