Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2007, 02:15 AM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default MEMBERINFO editing - profile width!

as seen here in my user profile:

http://www.houstonup.com/forums/member.php?u=1

I would like to decrease the profile width by about 15% on each side without messing with the header, navbar, and footer. Here is my current MEMBERINFO template code:

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="panel" align="center">
<div class="smallfont"><font color="#0000000"><phrase 1="$userinfo[username]">$vbphrase[x_you_are_viewing_your_profile]</phrase></font> <a href="usercp.php$session[sessionurl]">$vbphrase[user_cp]</a></div>
</td>
</tr>
</table>
</if>
 
<table width="100%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"> 
 
<tr> 
    <td valign="top" width="0%"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
 
<tr class="tcat"> <td colspan="2"><div align="Left" class="bigusername"><strong>$userinfo[username] $userinfo[onlinestatus]</div></font></strong>
<div class="smallfont">$userinfo[usertitle]</td></div></tr>
<if condition="$userinfo['usertitle']"> 
<tbody> 
         <tr class="tcat"> 
            <td class="text" colspan="2" style="" align="left" valign="bottom"></td> 
         </tr> 
 
                            </if> 
 
         <tr class="alt2"> 
             <td><div align="right"><center><if condition="$show['avatar']">
    <div class="smallfont">
     &nbsp;<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="4" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</center>
    </div>

<!-- for those without avatars this will display -->
<else /> <center><img src="http://www.houstonup.com/forums/images/noavatar.gif">
                 </if></div></center>
<!-- / for those without avatars this will display -->

<!-- <strong><div align="center"><a href="/gallery/browseimages.php?do=member&amp;imageuser=$userinfo[userid]" title="View More Pics">View More Pics ($userimages[count])</td> </div></strong> -->

            <td align="left" valign="top" class="text">
<if condition="$userinfo[field8]"><strong>Current Mood: </strong>$userinfo[field8]<br /><br /></if>

<if condition="$userinfo[field5]"><strong>Sex: </strong>$userinfo[field5]<br /></if>

<if condition="$show['age']"><strong>$vbphrase[age]:</strong>
             $userinfo[age]<br /></if>

<if condition="$userinfo[field7]"><strong>Status: </strong>$userinfo[field7]<br /></if>

<if condition="$userinfo[field2]"><strong>Location: </strong>$userinfo[field2]</if>

<br /><br />

<div><strong>Last Online:</strong> $userinfo[lastactivitydate] at $userinfo[lastactivitytime]</div></td> 
         </tr> 
        </tbody> 
     </table> 
     <p> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="2"><strong>Contacting $userinfo[username]</td></font></strong>
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" width="50%"> <div align="left"> 
             <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]&quot;&gt;&lt;">
<img border="0" src="http://www.houstonup.com/forums/images/sendpm.gif" align="left" width="79" height="22"></a>
</td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showicq']"> $userinfo[icqicon]
             <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont">
     <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]&quot; rel=&quot;nofollow">
<img border="0" src="http://www.houstonup.com/forums/images/sendmailicon2.gif" align="left" width="79" height="22"></a></p> 
            </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showaim']"> $userinfo[aimicon] 
             <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a> 
             </if></div></td>
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
         <div align="left"><div class="smallfont"><if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/addbuddy.gif" width="79" height="22"></a> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/remove.jpg" align="left" width="79" height="22"></a>
             </if> </div></td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showmsn']"> $userinfo[msnicon] 
             <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont"><if condition="$show['addignorelist']"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/block.jpg" width="79" height="22" align="left"></a></p> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<img border="0" src="http://www.sevencityforums.com/forum...ns/addbudy.jpg" width="79" align="left" height="22"></a></p>
             </if> </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showyahoo']"> $userinfo[yahooicon] 
             <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a> 
             </if></div></td> 
        </tr> 
     </table> 
 
 
 
 
 
 
 
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>User Information</td> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td valign="top"></td> 
        </tr> 
 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="$userinfo[homepage]" target="_blank" 
dir="ltr">My Home Page</a></div></td>
        </tr> 

<tr> 
         <td class="alt2"><div class="smallfont"><a href="http://www.myspace.com/$userinfo[field13]">My MySpace Page</a></div></td>

        <!-- </tr> 
<tr> -->

         <if condition="$show['profileviews']">
<td class="alt2">
<div class="smallfont">
    <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews]
    </div>
</div>
</if>
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
     </td></div>
        </tr> 
<tr> 
         <td class="alt2">
<if condition="$vboptions['usereferrer']">
<div class="smallfont">
<strong>$vbphrase[referrals]:</strong> $userinfo[username] has referred <strong>$referrals</strong> users to HoustonUP.com
    </div>
</div>
</if> 
        </tr> 
<!-- <tr> 
         <td class="alt2"><div class="smallfont"><a href="payments.php?$session[sessionurl]gift=true&userid=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[buy_x_a_sub]</phrase></a>
        </td>
     </td></div>
        </tr> -->
     </table> 
<br />
 
 
 
 
 
 
 
 
 
 
 
 
 
<!-- <if condition="$userinfo[field10]"> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td class="text" wrap="" style="" align="left" height="10" valign="center" colspan="2"> 
            <span class=""><strong>$userinfo[username]'s Media </span> </td> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="center"><EMBED SRC="$userinfo[field10]"></div></td> 
        </tr> 
     </table> 
</if> 
     <p> -->

     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="3" valign="middle"><strong>$userinfo[username]'s Details</td></font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top" width="20%"><span class=""><strong>Education:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field12]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Occupation:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field4]</td> 
        </tr>
        <!-- <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Groups:</strong></span></td> 
         <if condition="$show['membergroups']"> 
         <td>$membergroupbits</td>
         <else /> 
         <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td> 
         </if> --> 
     </table> 

     <p>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="3" valign="middle"><strong>$userinfo[username]'s Interests</td></font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top" width="20%"><span class=""><strong>General:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field3]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Music:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field9]</td> 
        </tr>
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Movies:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field10]</td> 
        </tr>
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Books:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field11]</td> 
        </tr>
     </table>

    <td valign="top" width="60%"> <if condition="$show[journalinfo]"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>$userinfo[username]'s Latest Blog Entry</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td><if condition="$show[journalinfo]"> <if condition="$show[journal_lastentry]"><a href="journal.php?$session[sessionurl]do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> 
            ($journal[lastentry_date])<br /> 
            <else />$vbphrase[private]</if> </if></td> 
        </tr> 
        <tr class="alt2"> 
         <td><if condition="$show[journalinfo]"> [<a href="journal.php?$session[sessionurl]do=showjournal&j=$journal[journal_id]"><phrase 1="$userinfo[username]">$vbphrase[visit_xs_journal]</phrase></a>] 
            </if></td> 
        </tr> 
     </table> 
     <p></if> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>$userinfo[username]'s Blurbs</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td valign="top"><strong>About Me:</strong><br />$userinfo[field1]</td> 
        </tr> 
        <!-- <tr> 
         <td class="alt2"><strong>Who I'd Like to Meet:</strong><br /> 
            $userinfo[field25]</td> 
        </tr> -->
     </table> 
<br />$FNB_HTML<br />
     <p>$guestbook</p></td> 
</tr></table></td> 
</table> 
<br />
<center>
<if condition="can_moderate()">Moderator Tools<br />
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td><br />
</if>
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
<if condition="$mh_upcd_last_changed">
     <div style="padding:$stylevar[formspacer]px">
     <strong>Profile last updated: $mh_upcd_last_changed</strong>
     </div>
    </if>
</center>
$footer
</body>
</html>

on a side note, I have one more quick side question...what in my MEMBERINFO template is causing my $footer <tcat> background to be white? If you look on every other page of my forum, the footer has a dark gray background behind it for easier viewing of the vBulletin license information, including the admin/mod login links. What's going on?

Thanks in advance for any help! :up:
Reply With Quote
  #2  
Old 06-04-2007, 02:41 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

change
Code:
<table width="100%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
to
Code:
<table width="70%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
change the width setting further if required.

You have a lot of <p> tags with no closing tags, and a <td> outside your table which are responsible for the incorrect display of your template and need cleaning up.
Reply With Quote
  #3  
Old 06-04-2007, 05:09 AM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ thank you!

BUT

I have tried to clean up my code as much as possible and here is how it currently stands:

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="panel" align="center">
<div class="smallfont"><font color="#0000000"><phrase 1="$userinfo[username]">$vbphrase[x_you_are_viewing_your_profile]</phrase></font> <a href="usercp.php$session[sessionurl]">$vbphrase[user_cp]</a></div>
</td>
</tr>
</table>
</if>
 
<table width="75%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"> 
 
<tr> 
    <td valign="top" width="0%"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
 
<tr class="tcat"> <td colspan="2"><div align="Left" class="bigusername"><strong>$userinfo[username] $userinfo[onlinestatus]</div></font></strong>
<div class="smallfont">$userinfo[usertitle]</td></div></tr>
<if condition="$userinfo['usertitle']"> 
<tbody> 
         <tr class="tcat"> 
            <td class="text" colspan="2" style="" align="left" valign="bottom"></td> 
         </tr> 
 
                            </if> 
 
         <tr class="alt2"> 
             <td><div align="right"><center><if condition="$show['avatar']">
    <div class="smallfont">
     &nbsp;<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="4" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</center>
    </div>

<!-- for those without avatars this will display -->
<else /> <center><img src="http://www.houstonup.com/forums/images/noavatar.gif">
                 </if></div></center></td>
<!-- / for those without avatars this will display -->

<!-- <strong><div align="center"><a href="/gallery/browseimages.php?do=member&amp;imageuser=$userinfo[userid]" title="View More Pics">View More Pics ($userimages[count])</td> </div></strong> -->

            <td align="left" valign="top" class="text">
<if condition="$userinfo[field8]"><strong>Current Mood: </strong>$userinfo[field8]<br /><br /></if>

<if condition="$userinfo[field5]"><strong>Sex: </strong>$userinfo[field5]<br /></if>

<if condition="$show['age']"><strong>$vbphrase[age]:</strong>
             $userinfo[age]<br /></if>

<if condition="$userinfo[field7]"><strong>Status: </strong>$userinfo[field7]<br /></if>

<if condition="$userinfo[field2]"><strong>Location: </strong>$userinfo[field2]</if>

<br /><br />

<div><strong>Last Online:</strong> $userinfo[lastactivitydate] at $userinfo[lastactivitytime]</div></td> 
         </tr> 
        </tbody> 
     </table> 

     <br />

     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="2"><strong>Contacting $userinfo[username]</td></font></strong>
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" width="50%"> <div align="left"> 
             <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]&quot;&gt;&lt;">
<img border="0" src="http://www.houstonup.com/forums/images/sendpm.gif" align="left" width="79" height="22"></a>
</td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showicq']"> $userinfo[icqicon]
             <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont">
     <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]&quot; rel=&quot;nofollow">
<img border="0" src="http://www.houstonup.com/forums/images/sendmailicon2.gif" align="left" width="79" height="22"></a></p> 
            </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showaim']"> $userinfo[aimicon] 
             <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a> 
             </if></div></td>
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
         <div align="left"><div class="smallfont"><if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/addbuddy.gif" width="79" height="22"></a> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/remove.jpg" align="left" width="79" height="22"></a>
             </if> </div></td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showmsn']"> $userinfo[msnicon] 
             <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont"><if condition="$show['addignorelist']"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<img border="0" src="http://www.houstonup.com/forums/images/block.jpg" width="79" height="22" align="left"></a></p> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<img border="0" src="http://www.sevencityforums.com/forum...ns/addbudy.jpg" width="79" align="left" height="22"></a></p>
             </if> </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showyahoo']"> $userinfo[yahooicon] 
             <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a> 
             </if></div></td> 
        </tr> 
     </table> 
 
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>User Information</td> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td valign="top"></td> 
        </tr> 
 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="$userinfo[homepage]" target="_blank" 
dir="ltr">My Home Page</a></div></td>
        </tr> 

<tr> 
         <td class="alt2"><div class="smallfont"><a href="http://www.myspace.com/$userinfo[field13]">My MySpace Page</a></div></td>

        <!-- </tr> 
<tr> -->

         <if condition="$show['profileviews']">
<td class="alt2">
<div class="smallfont">
    <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews]
    </div>
</div>
</if>
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
     </td></div>
        </tr> 
<tr> 
         <td class="alt2">
<if condition="$vboptions['usereferrer']">
<div class="smallfont">
<strong>$vbphrase[referrals]:</strong> $userinfo[username] has referred <strong>$referrals</strong> users to HoustonUP.com
    </div>
</div>
</if> 
        </tr> 
<!-- <tr> 
         <td class="alt2"><div class="smallfont"><a href="payments.php?$session[sessionurl]gift=true&userid=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[buy_x_a_sub]</phrase></a>
        </td>
     </td></div>
        </tr> -->
     </table> 
<br />
 
 
 
 
 
 
 
 
 
 
 
 
 
<!-- <if condition="$userinfo[field10]"> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td class="text" wrap="" style="" align="left" height="10" valign="center" colspan="2"> 
            <span class=""><strong>$userinfo[username]'s Media </span> </td> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="center"><EMBED SRC="$userinfo[field10]"></div></td> 
        </tr> 
     </table> 
</if> -->

     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="3" valign="middle"><strong>$userinfo[username]'s Details</td></font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top" width="20%"><span class=""><strong>Education:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field12]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Occupation:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field4]</td> 
        </tr>
        <!-- <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Groups:</strong></span></td> 
         <if condition="$show['membergroups']"> 
         <td>$membergroupbits</td>
         <else /> 
         <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td> 
         </if> --> 
     </table> 

     <br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td colspan="3" valign="middle"><strong>$userinfo[username]'s Interests</td></font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top" width="20%"><span class=""><strong>General:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field3]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Music:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field9]</td> 
        </tr>
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Movies:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field10]</td> 
        </tr>
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Books:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field11]</td> 
        </tr>
     </table>

    <td valign="top" width="60%"> <if condition="$show[journalinfo]"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>$userinfo[username]'s Latest Blog Entry</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td><if condition="$show[journalinfo]"> <if condition="$show[journal_lastentry]"><a href="journal.php?$session[sessionurl]do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> 
            ($journal[lastentry_date])<br /> 
            <else />$vbphrase[private]</if> </if></td> 
        </tr> 
        <tr class="alt2"> 
         <td><if condition="$show[journalinfo]"> [<a href="journal.php?$session[sessionurl]do=showjournal&j=$journal[journal_id]"><phrase 1="$userinfo[username]">$vbphrase[visit_xs_journal]</phrase></a>] 
            </if></td> 
        </tr> 
     </table> 
     </if> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>$userinfo[username]'s Blurbs</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td valign="top"><strong>About Me:</strong><br />$userinfo[field1]</td> 
        </tr> 
        <!-- <tr> 
         <td class="alt2"><strong>Who I'd Like to Meet:</strong><br /> 
            $userinfo[field25]</td> 
        </tr> -->
     </table> 
<br />$FNB_HTML<br />
     <p>$guestbook</p></td> 
</tr></table></td> 
</table> 
<br />
<center>
<if condition="can_moderate()">Moderator Tools<br />
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td><br />
</if>
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
<if condition="$mh_upcd_last_changed">
     <div style="padding:$stylevar[formspacer]px">
     <strong>Profile last updated: $mh_upcd_last_changed</strong>
     </div>
    </if>
</center>
$footer
</body>
</html>
Reply With Quote
  #4  
Old 06-05-2007, 03:51 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I took all the excessive <p> tags out and replaced them with <br /> to seperate each category in the user profiles. But I still can't figure out what in the MEMBERINFO code is OVERWRITING the <tcat> background that's supposed to appear behind the vBulletin license information and links in the $footer. The footer is right on every single page of my forums except when you view the user profiles! ARG!

Any last ideas as to what could be causing this?
Reply With Quote
  #5  
Old 06-05-2007, 04:57 PM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your markup is bad in areas... For example; you shouldn't really use classes with TR tags.
Try using CSS, too.
Reply With Quote
  #6  
Old 06-05-2007, 11:44 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cyberphr View Post
Your markup is bad in areas... For example; you shouldn't really use classes with TR tags.
Try using CSS, too.

I'm so confused. :erm:
Reply With Quote
  #7  
Old 06-06-2007, 09:49 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In a nut shell, don't assign CSS to <tr>'s via the class property. Also, he suggests using more Cascading Style Sheets.
Reply With Quote
  #8  
Old 06-06-2007, 05:15 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
In a nut shell, don't assign CSS to <tr>'s via the class property. Also, he suggests using more Cascading Style Sheets.

so you're telling me that that's the reason why somewhere in my MEMBERINFO template something is overwriting the <tcat> code that's supposed to take place in my $footer?

there's no way I'll figure this out.
Reply With Quote
  #9  
Old 06-07-2007, 05:03 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here we go...

See the top of this postbit? its created by CSS, namely this CSS
<tr>
<td class="thead">blah post 9</td>
</tr>

That class="thead" is the CSS for the blue (or in your case red) box located at the top of each post.

NEVER do <tr class=""> always do it with td.

Also, instead of <td blah=""></td> make sure you put a there... <td blah="">&nbsp</td>
Reply With Quote
  #10  
Old 06-07-2007, 07:48 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sonichero View Post
Also, instead of <td blah=""></td> make sure you put a there... <td blah="">&nbsp</td>
Problems created by not doing this don't happen with most modern browsers anymore I don't think.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:45 AM.


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.04906 seconds
  • Memory Usage 2,355KB
  • 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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete