Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 08-24-2005, 09:34 PM
JMH11788 JMH11788 is offline
 
Join Date: Jan 2005
Location: Ohio
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the custom code I've added to the template...

PHP Code:
<!-- / Specs Hack -->
<if 
condition="$post['field19'] == '1'">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
     <
td class="tcat" width="100%">$userinfo[username]'s $vbphrase[rig_specs]</td>
</tr>
<tr valign="top">

    <td class="panelsurround" align="center">
    <div class="panel">
        <div align="$stylevar[left]">
        
        <div class="fieldset">
                <div style="padding:$stylevar[formspacer]px">
                
                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_specs_system]</legend>    
<if condition="$post['
field20'] AND $post['field19'] == '1'">
    CPU: <strong>$post[field20]</strong><br>
</if>
<if condition="$post['
field21'] AND $post['field19'] == '1'">
    Motherboard: <strong>$post[field21]</strong><br>
</if>
<if condition="$post['
field23'] AND $post['field19'] == '1'">
    Memory: <strong>$post[field23]</strong><br>
</if>
<if condition="$post['
field24'] AND $post['field19'] == '1'">
    Graphics Card: <strong>$post[field24]</strong><br>
</if>
<if condition="$post['
field28'] AND $post['field19'] == '1'">
    Sound Card: <strong>$post[field28]</strong><br>
</if>
<if condition="$post['
field25'] AND $post['field19'] == '1'">
    Hard Drive(s): <strong>$post[field25]</strong><br>
</if>
<if condition="$post['
field26'] AND $post['field19'] == '1'">
    Cooling: <strong>$post[field26]</strong><br>
</if>
<if condition="$post['
field27'] AND $post['field19'] == '1'">
    Power Supply: <strong>$post[field27]</strong><br>
</if>
<if condition="$post['
field29'] AND $post['field19'] == '1'">
    Case: <strong>$post[field29]</strong><br>
</if>
<if condition="$post['
field30'] AND $post['field19'] == '1'">
    Monitor: <strong>$post[field30]</strong><br>
</if>
<if condition="$post['
field32'] AND $post['field19'] == '1'">
    Keyboard: <strong>$post[field32]</strong><br>
</if>
<if condition="$post['
field33'] AND $post['field19'] == '1'">
    Mouse: <strong>$post[field33]</strong><br>
</if>
<if condition="$post['
field31'] AND $post['field19'] == '1'">
    Operating System(s): <strong>$post[field31]</strong><br>
</if>
                </fieldset>
                
                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_speeds]</legend>     
<if condition="$post['
field34'] AND $post['field19'] == '1'">
    CPU - Stock: <strong>$post[field34]</strong><br>
</if>
<if condition="$post['
field35'] AND $post['field19'] == '1'">
    CPU - Overclocked: <strong>$post[field35]</strong><br>
</if>
<if condition="$post['
field36'] AND $post['field19'] == '1'">
    Graphics Card - Stock: <strong>$post[field36]</strong><br>
</if>
<if condition="$post['
field37'] AND $post['field19'] == '1'">
    Graphics Card - Overclocked: <strong>$post[field37]</strong><br>
</if>
<if condition="$post['
field40'] AND $post['field19'] == '1'">
    Memory - Stock: <strong>$post[field40]</strong><br>
</if>
<if condition="$post['
field41'] AND $post['field19'] == '1'">
    Memory - Overclocked: <strong>$post[field41]</strong><br>
</if>
<if condition="$post['
field42'] AND $post['field19'] == '1'">
    Memory Timings: <strong>$post[field42]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_temps]</legend>     
<if condition="$post['
field43'] AND $post['field19'] == '1'">
    CPU Temperature - Idle: <strong>$post[field43]</strong><br>
</if>
<if condition="$post['
field44'] AND $post['field19'] == '1'">
    CPU Temperature - Load: <strong>$post[field44]</strong><br>
</if>
<if condition="$post['
field55'] AND $post['field19'] == '1'">
    Graphics Card Temp - Idle: <strong>$post[field55]</strong><br>
</if>
<if condition="$post['
field56'] AND $post['field19'] == '1'">
    Graphics Card Temp - Load: <strong>$post[field56]</strong><br>
</if>
<if condition="$post['
field45'] AND $post['field19'] == '1'">
    Ambient Temperature: <strong>$post[field45]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_benchmarks]</legend>     
<if condition="$post['
field48'] AND $post['field19'] == '1'">
    3DMark05 Score: <strong>$post[field48]</strong><br>
</if>
<if condition="$post['
field47'] AND $post['field19'] == '1'">
    3DMark03 Score: <strong>$post[field47]</strong><br>
</if>
<if condition="$post['
field46'] AND $post['field19'] == '1'">
    3DMark01SE Score: <strong>$post[field46]</strong><br>
</if>
<if condition="$post['
field51'] AND $post['field19'] == '1'">
    AquaMark3 Score: <strong>$post[field51]</strong><br>
</if>
<if condition="$post['
field52'] AND $post['field19'] == '1'">
    PCMark05 Score: <strong>$post[field52]</strong><br>
</if>
<if condition="$post['
field49'] AND $post['field19'] == '1'">
    SiSoft Sandra 2005 - CPU Score: <strong>$post[field49]</strong><br>
</if>
<if condition="$post['
field50'] AND $post['field50'] == '1'">
    SiSoft Sandra 2005 - RAM Score: <strong>$post[field31]</strong><br>
</if>
<if condition="$post['
field57'] AND $post['field57'] == '1'">
    SuperPi Score: <strong>$post[field31]</strong><br>
</if>
<if condition="$post['
field53'] AND $post['field19'] == '1'">
    eCalc Score: <strong>$post[field53]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_other]</legend>     
<if condition="$post['
field54'] AND $post['field19'] == '1'">
     $post[field31]<br>
</if>
</fieldset>
                </div>
              </div>
          </td>
     </tr>
</table>
</if>

<!-- / End Specs Hack --> 
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:42 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.04881 seconds
  • Memory Usage 2,675KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (11)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete