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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2009, 11:31 AM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Tables

I am looking to do something like shown: http://www.net-model.com/Portfolios/...&cmd=&linking=

Look from "General Information" onwards (the tables)

Here's their code:

PHP Code:
<tr>
                            <
td id="contentBar" valign="top" width="100%">
                              <
span class="whtMediumBold">General Information</span>
                            </
td>
                          </
tr>
                          <
tr>
                            <
td id="contentWindow" valign="top" width="100%">

                              <
table width="100%" border="0" cellpadding="4" cellspacing="1">
                                <
tbody><tr>
                                  <
td>
                                    <!-- 
Start Statistics-->
                                    <
table width="100%" border="0" cellpadding="0" cellspacing="0">
                                      <
tbody><tr>
                                        <
td valign="top" width="50%" align="left">
                                          <
table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">
                                            <
tbody><tr>

                                              <
td id="contentSubBar" colspan="2" valign="center" align="left"><span class="blkMediumBold">Statistics</span></td>
                                            </
tr>
                                            <
tr>
                                              <
td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Age</span></td>
                                              <
td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">24</span></td>
                                            </
tr>
                                            <
tr>

                                              <
td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Gender</span></td>
                                              <
td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">Female</span></td>
                                            </
tr>
                                            <
tr>
                                              <
td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Eye Color</span></td>
                                              <
td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">Blue</span></td>
                                            </
tr>

                                            <
tr>
                                              <
td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Hair Color</span></td>
                                              <
td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">Black and red</span></td>
                                            </
tr>
                                            <
tr>
                                              <
td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Height</span></td>
                                              <
td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">5'5</span></td>

                                            </tr>
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Weight</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">120</span></td>
                                            </tr>
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Chest</span></td>

                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">34"DD</span></td>
                                            </tr>
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Waist</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">26"</span></td>
                                            </tr>
                                            
                                            <tr>

                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Hips</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">37"</span></td>
                                            </tr>
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Dress Size</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">10</span></td>
                                            </tr>

                                            
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Shoe Size</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">UK 5.5</span></td>
                                            </tr>
                                          </tbody></table>
                                        </td>
                                        <td valign="top" align="right">
                                          <span class="blkMediumBold">&nbsp;</span>

                                        </td>
                                        <td valign="top" width="50%" align="right">
                                          <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">
                                            <tbody><tr>
                                              <td id="contentSubBar" colspan="2" valign="center" align="left"><span class="blkMediumBold">Location / Experience</span></td>
                                            </tr>
                                            
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Location</span></td>

                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">london, Greater London</span></td>
                                            </tr>
                                            
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Country</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">United Kingdom</span></td>
                                            </tr>
                                            <tr>

                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Will Travel</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">Yes</span></td>
                                            </tr>
                                            <tr>
                                              <td id="contentSubWindow" valign="center" width="175" align="left"><span class="blkMedium">Experience</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">Advanced</span></td>
                                            </tr>

                                            <tr>
                                              <td id="contentSubWindow" valign="top" width="175" align="left"><span class="blkMedium">Will Work For</span></td>
                                              <td id="contentSubWindow" valign="center" align="left"><span class="blkMedium">
                                                <img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Pay<br>
                                                <img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Photos<br>
                                                <img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Negotiable</span>
                                              </td>

                                            </tr>
                                          </tbody></table>
                                          <br>
                                          <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">
                                            <tbody><tr>
                                              <td id="contentSubWindow" valign="top" width="175" align="left"><span class="blkMedium">Member Since</span></td>
                                              <td id="contentSubWindow" valign="top" align="left" nowrap="nowrap"><span class="blkMedium">02-02-2005 07:16am</span></td>
                                            </tr>

                                            <tr>
                                              <td id="contentSubWindow" valign="top" width="175" align="left"><span class="blkMedium">Last Active</span></td>
                                              <td id="contentSubWindow" valign="top" align="left" nowrap="nowrap"><span class="blkMedium">10-28-2009 06:59am</span></td>
                                            </tr>
                                            
                                          </tbody></table>
                                          <!-- IM Information -->
                                          <br>
                                          <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">

                                            <tbody><tr>
                                              <td id="contentSubWindow" valign="center" align="left">
                                                <table width="100%" border="0" cellpadding="1" cellspacing="1">
                                                  
                                                  <tbody><tr>
                                                    <td align="center"><span class="blkMedium">You must be logged in to see IM information.</span></td>
                                                  </tr>
                                                  
                                                </tbody></table>
                                              </td>

                                            </tr>
                                          </tbody></table>
                                                  
                                        </td>
                                      </tr>
                                    </tbody></table>
                                    <!-- End Statistics -->
                                    <br>
                                    <!-- Start Modeling Assingments of Interest -->
                                    <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">

                                      <tbody><tr>
                                        <td id="contentSubBar" colspan="3" valign="center" align="left"><span class="blkMediumBold">Assignments of Interest</span></td>
                                      </tr>
                                      <tr>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Runway</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Tradeshow</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Spokesmodel</span></td>

                                      </tr>
                                      <tr>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Bodyparts</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Print (Catalog)</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Print (Editorial)</span></td>
                                      </tr>
                                      <tr>

                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Print (Advertising)</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Print (Fitness)</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Print (Swimwear)</span></td>
                                      </tr>
                                      <tr>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Swimwear</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Fitness</span></td>

                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Lingerie</span></td>
                                      </tr>
                                      <tr>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Sheer / See-Thru</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Semi-Nudes</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Artistic / Figure Nudes</span></td>
                                      </tr>

                                      <tr>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;"Playboy" Style Nudes</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-False.jpg" width="12" height="12">&nbsp;Erotic</span></td>
                                        <td id="contentSubWindow" width="33%"><span class="blkMedium"><img alt="" src="../images/Box-DarkOrchid-True.jpg" width="12" height="12">&nbsp;Fetish</span></td>
                                      </tr>
                                    </tbody></table>
                                    <!-- End Glamour Assingments of Interest -->

                                    <br>
                                    <!-- Start Detailed Description -->
                                    
                                    <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">
                                      <tbody><tr>
                                        <td id="contentSubBar" valign="center" align="left"><span class="blkMediumBold">Models Notes</span></td>
                                      </tr>
                                      <tr>
                                        <td id="contentSubWindow">
About Me
</td>

                                      </tr>
                                    </tbody></table>
                                    <!-- End Detailed Description -->
                                  </td>
                                </tr>
                              </tbody></table>
                            </td>
                          </tr>
                          
                          <!-- End Agency Information -->

                        </tbody></table>
                        <!-- End Tab = 1 -->
                        <!-- Start Tab = 2 -->
                        
                      </td>
                    </tr>
                  </tbody></table>
                </td>
              </tr>
            </tbody></table>

          </td>
        </tr>
      </tbody></table>
      <!-- End Tabbing -->
      <!-- Start Homepage Link -->
      <br>
      <table width="100%" bgcolor="#000000" border="0" cellpadding="4" cellspacing="1">
        <tbody><tr>
          <td id="contentWindow">

            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tbody><tr>
                Homepage link
                </td>
                
              </tr>

            </tbody></table>
          </td>
        </tr>
      </tbody></table>
      <!-- End Homepage Link -->
    </td> 
How would I do this with vBulletin Tables?
Can anyone please provide the code?
Reply With Quote
  #2  
Old 10-28-2009, 02:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean "How would I do this with vBulletin Tables?" vB doesn't have any tables, or table code. You just add what you have up there into your template. Of course, if this is stuff you are grabbing from your database, you will have to put a query in your page to get the data. Then, in your table above, you would put in variable names instead of just the text.
Reply With Quote
  #3  
Old 10-28-2009, 03:12 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I copy that code into my template, it doesn't look too good, just keeps a basic background with no borders or category headings.

I need to have it look like the vb category headings and table classes as shown here:

PHP Code:
 <table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>

<
td class="tcat" width="100%">
<
div style="text-align: center;">
New 
Table Title
</div>
</
td>

</
tr>

<
tr>

<
td class="alt1" width="100%">
<
div class="smallfont">
This is a vBulletin tableTable class: <strong>tborder</strong>. 1st Td class: <strong>tcat</strong>. 1st Td text align: <strong>center</strong>. Second Td class: <strong>alt1</strong>. Border0. Width100%. Aligncenter.
</
div>
</
td>

</
tr>
</
table
I have tried replacing things but it messes up the whole style of the table. I just want to create a table that looks similar to the profile link above but with the table code I've just posted.
Reply With Quote
  #4  
Old 10-28-2009, 03:15 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey bro.. you also need to grab their CSS for any ID's and Classes associated with it.. just add the appropriate CSS elements to your style in the additional CSS area..
Reply With Quote
  #5  
Old 10-28-2009, 03:21 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive tried replacing ContentSubBar with tcat to no avail
Reply With Quote
Reply


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 11:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07015 seconds
  • Memory Usage 2,380KB
  • 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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (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_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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete