vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding custom profile field to appear in showthead.php (https://vborg.vbsupport.ru/showthread.php?t=102888)

Meighan 12-13-2005 07:06 PM

Adding custom profile field to appear in showthead.php
 
I added a custom profile field for "Full Name" and now I would like for that to appear on showthread.php somewhere under a user's avatar, is that possible? how do I do it? Thanks!!!

Injektilo 12-13-2005 08:46 PM

not the place to ask

michaelbenson 12-13-2005 08:47 PM

Gah, why dont people read anymore.
I think someone should add in some code to this forum so that below the navigation template there is a reminder asking that modification REQUESTS arent posted here, in the modifications RELEASE forum.

Meighan 12-13-2005 08:50 PM

Quote:

Originally Posted by Injektilo
not the place to ask

I realize that, and I posted it somewhere else, but how do I delete this post now?

Injektilo 12-13-2005 08:53 PM

someone will take care of that. no worries :)

dieselpowered 12-13-2005 08:54 PM

You will not be able to delete it...a mod will move it for you.

I do not know the code off the top of my head, however, it will be added to the postbit and/or postbit legacy template.

I will take a look when I get home :)

PennylessZ28 12-13-2005 08:57 PM

all i know is your hott! I saw your pictures!

Ok in the post bit you need $user[fieldX]

tamarian 12-13-2005 09:04 PM

Get the field name from the userfield manager in admincp, it will be something like field14, Then use that in the postbit template as $bbuserinfo[field14].

Meighan 12-13-2005 09:38 PM

Quote:

Originally Posted by tamarian
Get the field name from the userfield manager in admincp, it will be something like field14, Then use that in the postbit template as $bbuserinfo[field14].

Thank you for your help. :)

It's field5, but I can't quite figure out where to edit in postbit template, I've tried adding $bbuserinfo[field15] in a few different places but no changes seem to be reflected on my forums.

btw - here's where I reposted my question https://vborg.vbsupport.ru/showthread.php?t=102900

tamarian 12-13-2005 09:55 PM

Actually it should be $post[field5], my bad. Do it for postbit template, and postbit_legacy template.

Make sure there are no typos. You said field5 and field15 (one is 5, the other is 15). You can just put it above or below location. Look for field2 (for location).


All times are GMT. The time now is 08:14 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.01489 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete