vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How Would I Change This.....? (https://vborg.vbsupport.ru/showthread.php?t=160766)

MiahBeSmokin420 10-21-2007 07:35 PM

How Would I Change This.....?
 
Ok Basicly Look At The Code First Then Read The End


Groaned Code In Post Bit:
Code:


<div class="postdata"><center>
<if condition="$post[post_groan_times] == 1">
                        $vbphrase[post_groan_time_post]
                <else />
                        <if condition="$post[post_groan_posts] == 1">
                                <phrase 1="$post[post_groan_times_formatted]">$vbphrase[post_groan_times_post]</phrase>
                        <else />
                                <phrase 1="$post[post_groan_times_formatted]" 2="$post[post_groan_posts_formatted]">I've Never Been Groaned</phrase>
                        </if>
                </if>
</div>

Thanked Code In PostBit:
Code:


<div class="postdata"><center>
                <if condition="$post[post_thanks_thanked_times] == 1">
                        $vbphrase[post_thanks_time_post]
                <else />
                        <if condition="$post[post_thanks_thanked_posts] == 1">
                                <phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
                        <else />
                                <phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">I've Been $vbphrase[post_thanks_times_posts]</phrase>
                        </if>
                </if>
        </if>
</div>


As You Can See I Did Some Modification To The Thanked And Groaned Code

My Questions Is This:

Looking At The Groaned Code You Can See That I Changed It So It Say I Have Never Been Groaned
That Only Shows If You Have Never Been Groaned

But When I Tried Doing The Same To The Thanked Code Making It Say I Have Never Been Thanked It Says It When You Have Been Thanked As Well

Is There SomeThing That I Can Do To Make It Only Show When You Have No Thanks???


Thanks In Advance To Who Ever Helps Me With This

MiahBeSmokin420 10-23-2007 03:30 PM

**Bump**


All times are GMT. The time now is 03:52 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.00981 seconds
  • Memory Usage 1,714KB
  • 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_code_printable
  • (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