vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Style and Graphics Requests (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=226)
-   -   Custom Field in Postbit! (https://vborg.vbsupport.ru/showthread.php?t=276618)

Linue_DarkStar 01-08-2012 09:44 AM

Custom Field in Postbit!
 
So I'm looking for a way to have Custom Profile Fields show up in the Postbit, but instead of text, an image.

So say someone chooses Cadet (Rank) in a Custom Profile Field I made, well in the Postbit an image would show up, and if you change the Rank the image changes too.

This is some coding I have thus far....

<center><vb:if condition="$post['field5']">
<div><img src="www.clanpf.com/forums/images/bTech/misc/$post['field5'].png" alt="$post['field5']" /></div></center>
</vb:if>

I found it from here...https://vborg.vbsupport.ru/archive/i.../t-118896.html

LifesGreatestGift 01-10-2012 10:54 PM

<vb:if condition="$post['field5']">
<img src="www.clanpf.com/forums/images/bTech/misc/{vb:raw post.field5}.png" alt="{vb:raw post.field5}" />
</vb:if>


All times are GMT. The time now is 08:15 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.01042 seconds
  • Memory Usage 1,708KB
  • 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
  • (2)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