vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vBulletin Blog - Profile Field (https://vborg.vbsupport.ru/showthread.php?t=194852)

Rich 10-28-2008 07:36 PM

vBulletin Blog - Profile Field
 
The easiest way to approach what I wish to do would be to simply change the "location" field in the blog template from 2 to 48, which is the field I need to display.

I can not find where I can change this value and have it work.

I have tried:

Code:

$userinfo[field48]
with no luck. It will show the value on the list display of blog entries, but it does not display within a specific entry. It simply disappears (though the default location of field2 displays correctly.)

I need to have my custom field 48 to be able to display within an entry when it is viewed. Does anyone know how to go about doing this?

Please don't tell me:

Code:

$userinfo[field48] or $userinfo['field48']
as those don't work.

The thing driving me insane is that the location field is called via:

Code:

<if condition="$userinfo['field2']"><li class="smallfont"><span class="shade">$vbphrase[location_perm]</span> $userinfo[field2]</li></if>
--------------- Added [DATE]1225309528[/DATE] at [TIME]1225309528[/TIME] ---------------

Anyone?

Rich 10-30-2008 10:16 AM

Bump - Anyone?

Rich 11-01-2008 04:39 PM

I just went in and called the field via the blog.php file and set a variable. My variable is working , so this can be ignored.


All times are GMT. The time now is 03:57 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.00998 seconds
  • Memory Usage 1,711KB
  • 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
  • (3)bbcode_code_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