vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How show profile fields on threadbit, and all that other pages? (https://vborg.vbsupport.ru/showthread.php?t=252029)

azn_romeo_4u 10-13-2010 08:10 AM

How show profile fields on threadbit, and all that other pages?
 
Is it possible? I tried doing $$bbuserinfo[fieldx] and it works, but the only problem is it shows your info. How do I show info of other people who filled in their profile fields?

Lynne 10-13-2010 01:52 PM

There are articles about this. Try looking in the articles forums.

azn_romeo_4u 10-13-2010 05:33 PM

Which one exactly? I'm not really sure which keywords to search for here.

Lynne 10-13-2010 08:34 PM

"profile" "postbit" "field" Try whatever you want. Or, go look in the forum.

azn_romeo_4u 10-14-2010 09:41 PM

I'm looking to add some profile fields into forumdisplay.php and threaddisplay.php. I don't see any guides on that. Atleast not searching right.

azn_romeo_4u 10-18-2010 03:12 PM

Do you know the answer?

Lynne 10-18-2010 05:19 PM

I have no idea what it is you want to do, so I don't know where to point you. How about an image with you showing us what you want.

azn_romeo_4u 10-19-2010 12:07 AM

You don't know, but you told me to go look in those forums?

You know custom profile fields right? How do I make them show up in forumdisplay.php or threaddisplay.php

Lynne 10-19-2010 02:01 AM

You can have custom profile fields or either the person viewing the page, or the person who wrote the thread, or who is the last poster in a forum, or so many things. But, OK, I'll assume it's the simplest which is the user viewing the page. Use $bbuserinfo['fieldx']

azn_romeo_4u 10-19-2010 04:15 PM

The person that created the thread.

Lynne 10-19-2010 07:23 PM

If you are talking about the person listed in the Last Post By column, then you will need to write a plugin that gets the fieldx for that person since that information is not available by default (only the username/userid is available there since it is cached).

If you are talking about in the threadbit template, then if you look at the template, you'll see the variable used is called $thread, so you may want to try thread.fieldx . If that doesn't work, it may be that the info isn't available and you will need to write a plugin to get the information for the user.


All times are GMT. The time now is 01:08 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.01178 seconds
  • Memory Usage 1,721KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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