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)
-   -   Userinfo working more like bbuserinfo (https://vborg.vbsupport.ru/showthread.php?t=121450)

Bubble #5 07-17-2006 11:37 PM

Userinfo working more like bbuserinfo
 
We have a custom profile which members can pic which pet they have. We need to place that information on the index page. We were told by someone who works for vB to use this code:

Code:

<img src="images/pets/{$vbulletin->userinfo['fieldX']}.gif" align="center">
Field X is the number of our custom profile field. Members select what pet they have in their profile. The images do show up, BUT they are all the same, depending on who is logged in. In a lot of ways it's working like $bbuserinfo usually does. How would we change this so that it relects the pet of each poster? :surprised:

peterska2 07-17-2006 11:43 PM

Thats complete silly code what you were given as that is the $bbuserinfo code written longhand.

For postbit use
Code:

<img src="images/pets/$post[fieldX].gif" align="center">
For memberinfo use
Code:

<img src="images/pets/$userinfo[fieldX].gif" align="center">

Bubble #5 07-17-2006 11:59 PM

Quote:

Originally Posted by peterska2
Thats complete silly code what you were given as that is the $bbuserinfo code written longhand.

Well that's certainly the way it's acting - like $bbuserinfo, but I can assure you that the person who gave it to us was a well known vB figure :) The other two codes that you posted do not work on forumhome, which is why we requested help from vB personnel and "vbulletin->userinfo [fieldX]" was given to us. So are we just chasing our tail (pun intended) or is there a way to show custom profile information on forumhome :confused:

peterska2 07-18-2006 12:16 AM

not on a peruser basis unless
Code:

$user[fieldx]
will work, which I doubt

Bubble #5 07-18-2006 12:33 AM

We tried that one last week but no images show up with it :(

This would be a incredible plugin if anyone makes it. Judging from all the posts I've read on this subject, there's a lot of people who would love to post [fieldX] information on the index page :(


All times are GMT. The time now is 12:03 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.00958 seconds
  • Memory Usage 1,720KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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