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)
-   -   What the hell is wrong with this code?!?! (https://vborg.vbsupport.ru/showthread.php?t=185701)

Per1213 07-18-2008 08:24 PM

What the hell is wrong with this code?!?!
 
Basically I'm trying to get my forum to display a profile field in the Postbit. I had it working and then tweaked it slightly which made it disappear. Now I try to put it back and it won't display anymore?! I'm sure there's nothing wrong with this. Code in red is what I've added in. :mad::mad::mad:


Code:

                                <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>

                                <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>

<if condition="$post['field7']">Stakes Played: $post[field7]</if>


Attitude5ire 07-19-2008 11:36 AM

Looks fine ermm.. duno check the profile fields and confirm the value.. also check if u edited the right template.. postbit or postbit_legacy

Per1213 07-19-2008 01:27 PM

Dude, you're a legend. That's what I have been doing wrong. I was just scripting in the wrong template wasn't I!!! Thanks again :D

Opserty 07-19-2008 01:37 PM

Please try and refrain from using strong language (RE: Your thread title) in future. Take a few chill pills before you post next time :D

:up:

nothing4me 07-19-2008 08:15 PM

Quote:

Originally Posted by Opserty (Post 1579043)
Please try and refrain from using strong language (RE: Your thread title) in future. Take a few chill pills before you post next time :D

:up:

"Hell" isn't that strong. It doesn't even exist thus your complaint is rendered useless. :)

Opserty 07-19-2008 09:20 PM

Surely that is a matter of both opinion and context? :D My complaint was not useless... else I wouldn't have posted it. ;)

nothing4me 07-19-2008 09:41 PM

Quote:

Originally Posted by Opserty (Post 1579391)
Surely that is a matter of both opinion and context? :D My complaint was not useless... else I wouldn't have posted it. ;)

True. :(
*Walks away from thread in shame*


All times are GMT. The time now is 07:33 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.01018 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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