vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Display custom fields in memberlist search results (https://vborg.vbsupport.ru/showthread.php?t=176094)

muan 04-14-2008 10:28 AM

Display custom fields in memberlist search results
 
1 Attachment(s)
I cant find anywhere in any of the template files to enable me to display a couple of custom fields I've setup under the users name in the member search results list, as shown below. Can anyone help me out ? (Running VB3.7 RC3)

Lynne 04-14-2008 01:24 PM

Perhaps this thread will help you: https://vborg.vbsupport.ru/showthrea...ghlight=fields

muan 04-14-2008 04:59 PM

Thanks for trying Lynne, but thats not what I'm after doing at all .................

SEOvB 04-14-2008 10:55 PM

If you want the custom fields to show up under the members name you'll need to edit the memberlist template

You could also enable the "serachable on memberlist" feature, but they won't appear under the member name.

muan 04-15-2008 06:05 PM

Thanks FRDS, sort of figured it but just having trouble displaying the value of the profile field on the page. Am I wrong in trying to use the $post command to achieve this ?

Lynne 04-15-2008 06:09 PM

No, I don't believe you have access to the $post variables on that page. The thread I pointed to originally is from someone else trying to do the same thing. They get pointed to this thread which helped them use the variables: https://vborg.vbsupport.ru/showthread.php?t=124580

SEOvB 04-16-2008 07:36 AM

Quote:

Originally Posted by muan (Post 1491475)
Thanks FRDS, sort of figured it but just having trouble displaying the value of the profile field on the page. Am I wrong in trying to use the $post command to achieve this ?

Yes i dont think the $post variable will evaulate very well on the memberlist.

I'm not sure of the variable you need to use, try $userinfo[fieldX] maybe, i'm honestly not real sure for the member list though.

muan 04-20-2008 09:05 AM

Thanks, I'll have another go ..............

--------------- Added [DATE]1208690091[/DATE] at [TIME]1208690091[/TIME] ---------------

Quote:

I'm not sure of the variable you need to use, try $userinfo[fieldX] maybe
That got it, thanks for the help, both of you :):up:


All times are GMT. The time now is 11:20 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.01563 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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