vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Custom Field Request (https://vborg.vbsupport.ru/showthread.php?t=257740)

3amalah 01-24-2011 05:47 PM

Custom Field Request
 
Iam Facing The Same Ask Here

https://vborg.vbsupport.ru/showthread.php?t=257167

But Now I Created A Custom Field Yes / No

For Showing A Code In Header

Thats The Condition

<vb:if condition="$variable['field13'] == 'Yes'">

Code Here

</vb:if>

Whats The Variable For This Code To Show Banner In Header

Is It (( Post )) ?? Coz I Tested It But Didnt Work


Lynne 01-24-2011 07:57 PM

Probably $bbuserinfo if the person who's field13 you are looking at is the viewers.

3amalah 01-24-2011 08:39 PM

What Can I Say You Are Amazing Lynne ^^

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

Lynne Now I Have Now Custom Field Give User A Vip Point Ok

Lets Say Its Field15

I Managed To Show It In Forumhome

<vb:if condition="$bbuserinfo['field5']">

{vb:raw bbuserinfo.field5}

</vb:if>

Ok ?

Can I Show The Top 10 User In Forum ? That Have Top Vip Point ?


All times are GMT. The time now is 10:02 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.01165 seconds
  • Memory Usage 1,711KB
  • 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
  • (3)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