vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Extra info under user name from User Profile Field (https://vborg.vbsupport.ru/showthread.php?t=47239)

Sal Collaziano 01-02-2003 02:02 AM

Extra info under user name from User Profile Field
 
Hi all. I was wondering if someone could help me find the hack/mod that allows vB to pull info from one of the User Profile Fields. For example, I'd like to ask the question, "What is your favorite rock band" and have it appear as below:

Registered: Apr 2002
Location: Huntington Beach, Ca
Favorite Band: Metallica

Thank you...

AZone 01-02-2003 04:05 AM

Hack is not needed. Just insert code $post[fieldX] into Postbit template after Location or other... (X is number of your User Profile Field - show link "edit" of neccessary field for info)

Look - in Postbit template code Location is Location: $post[field2]...

Sal Collaziano 01-02-2003 05:04 AM

Thank you very much! That was so easy!! :D

Jwolfe 01-07-2003 09:44 PM

Quote:

Originally posted by AZone
Hack is not needed. Just insert code $post[fieldX] into Postbit template after Location or other... (X is number of your User Profile Field - show link "edit" of neccessary field for info)

Look - in Postbit template code Location is Location: $post[field2]...

I can not find this code. Where is the postbit template code located?

Thanks!

Dean C 01-08-2003 03:45 PM

In the 'postbit' template hehe :)

- miSt

deaconxgp 12-20-2003 07:29 PM

everyone will hate me for resurrecting this old thread but is there a way to add a field to the profile but ONLY in a certain section of the forum? meaning if you have X section and Y section..is there a way for the extra profile field to only show when they access the X section of the forum?

filburt1 12-20-2003 07:32 PM

Only by hacking or using conditionals in templates (a feature built into vB3, and a hack exists for vB2).

deaconxgp 12-20-2003 07:33 PM

cool..is the hack for vB2 available in the search here..because i'll search for it. :)

Dean C 12-21-2003 10:35 AM

Search for the dynamic templates by Logician :)

LLFan 12-23-2003 07:26 PM

I can't get this. I'm using 3.0 gamma1 and am in postbit template. I try adding: 'Operating System: $post[field5]<br>' where I want it, but it will not show. Any ideas?


All times are GMT. The time now is 09:59 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.02431 seconds
  • Memory Usage 1,723KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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