Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 05-10-2005, 10:45 AM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do i change the width of quick reply?

Yeah,

Im currently attempting to make a skin, which i am fairly noobish at, but due to the skin not being big in width, the quick reply is too wide when in topic and screws it up a little.

Also, uhm if you check the skin at www.littlecooldude.com/forums/ you will notice that the side bars are abit off -_- and i not sure at all on how to perfectly line them up.

The site is just set up to work and finish that skin then i'd be moving it to my own site.

If you can help then would be appreciated.

ID: Test
pass: test
Reply With Quote
  #2  
Old 05-11-2005, 04:50 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not your width it is not align. I think that is in your FORUMSDISPLAY template. :chinese:
Yep , it seems to be align to center instead of left or the rest is not align to center. :alien:
U need to align the rest of the forum to center to match "quick relay"
Reply With Quote
  #3  
Old 05-11-2005, 12:01 PM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hrm..

Well im pretty pathetic at html and such o_o if you could take a look at the code and tell me what needs changing then it would be appreciated o_O.

PHP Code:
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
<
meta name="description" content="$foruminfo[description]/>
<
title>$vboptions[bbtitle] - $foruminfo[title]</title>
$headinclude
</head>
<
body>
$header
$navbar

<if condition="$show['forumslist']">
<!-- 
sub-forum list  -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-bottom-width:0px">
<
tr>
    <
td class="tcat" width="100%">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
    <if 
condition="$show['forumsearch']">
    <
td class="vbmenu_control" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[search_this_forum]</a> <script type="text/javascript"vbmenu_register("forumsearch.subforums"); </script></td>
    </if>
</
tr>
</
table>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
thead>
    <
tr align="center">
      <
td class="thead">&nbsp;</td>
      <
td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <
td class="thead" width="175">$vbphrase[last_post]</td>
      <
td class="thead">$vbphrase[threads]</td>
      <
td class="thead">$vbphrase[posts]</td>
      <if 
condition="$vboptions[showmoderatorcolumn]">
      <
td class="thead">$vbphrase[moderator]</td>
      </if>
    </
tr>
</
thead>
$forumbits
</table>
<
br />
<!-- / 
sub-forum list  -->
</if>

<if 
condition="$show['threadslist']">
<!-- 
threads list  -->

<!-- 
controls above thread list -->
<
table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<
tr valign="bottom">
    <
td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]border="0" /></a><else />&nbsp;</if></td>
    <if 
condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</
tr>
</
table>
<!-- / 
controls above thread list -->

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-bottom-width:0px">
<
tr>
    <
td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal">: $foruminfo[title]</span></td>
    <
td class="vbmenu_control" id="forumtools"><a href="#goto_forumtools">$vbphrase[forum_tools]</a> <script type="text/javascript"vbmenu_register("forumtools"); </script></td>
    <if 
condition="$show['forumsearch']">
    <
td class="vbmenu_control" id="forumsearch"><a href="#goto_forumsearch">$vbphrase[search_this_forum]</a> <script type="text/javascript"vbmenu_register("forumsearch"); </script></td>
    </if>
</
tr>
</
table>

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
$announcebits
<tr>
    <if 
condition="$show['threadicons']">
        <
td class="thead" colspan="2">&nbsp;</td>
    <else />
        <
td class="thead">&nbsp;</td>
    </if>    
    <
td class="thead" width="100%">
        <if 
condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a$sortarrow[voteavg]</span></if>
        <
a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a$sortarrow[title] /
        <
a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a$sortarrow[postusername]
    </
td>
    <
td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a$sortarrow[lastpost]</span></td>
    <
td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a$sortarrow[replycount]</span></td>
    <
td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a$sortarrow[views]</span></td>
</
tr>
<if 
condition="$show['threads']">
    <!-- 
show threads -->
    <if 
condition="$show['stickies']">
    
$threadbits_sticky
    
<!-- <tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>-->
    </if>
    
$threadbits    
    
<!-- end show threads -->
<else />
    <!-- 
show no threads message -->
    <
tr>
        <
td class="alt1" colspan="$foruminfo[bottomcolspan]align="center">
            <
div style="padding: 16px">
                <if 
condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
                <
span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
            </
div>
        </
td>
    </
tr>
    <!-- 
end show no threads message -->
</if>
</
table>



<!-- 
controls below thread list -->
<
table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<
tr valign="top">
    <
td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]border="0" /></a><else />&nbsp;</if></td>
    <if 
condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</
tr>
</
table>
<!-- / 
controls below thread list -->


<
br />






<!-- 
Active Users in this Forum (and sub-forums) and Moderators -->

<
form action="forumdisplay.php" method="get">
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="f" value="$forumid/>
<
input type="hidden" name="page" value="$pagenumber/>
<
input type="hidden" name="pp" value="$perpage/>

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="tcat">$vbphrase[display_options]</td>
    <if 
condition="$show['activeusers']">
    <
td class="tcat">$vbphrase[currently_active_users]</td>
    </if>
    <if 
condition="$show['moderators']">
    <
td class="tcat">$vbphrase[moderators]</td>
    </if>
</
tr>
<
tr>
    <
td class="thead"><phrase 1="$limitlower2="$limitupper3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
    <if 
condition="$show['activeusers']">
    <
td class="thead">$totalonline (<phrase 1="$numberregistered2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
    </if>
    <if 
condition="$show['moderators']">
    <
td class="thead">$vbphrase[moderators]: $totalmods</td>
    </if>
</
tr>
<
tr valign="top">
    <
td class="alt1">
    
        <
table cellpadding="0" cellspacing="1" border="0" width="auto">
        <
tr>
            <
td class="smallfont" style="padding-right:6px">$vbphrase[sorted_by]</td>
            <
td><select name="sort">
                <
option value="title" $sort[title]>$vbphrase[thread_title]</option>
                <
option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
                <
option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
                <
option value="views" $sort[views]>$vbphrase[number_of_views]</option>
                <
option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
                <if 
condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
            </
select></td>
            <
td class="smallfont" style="padding-right:6px; padding-left:12px">$vbphrase[sort_order]</td>
            <
td><select name="order">
                <
option value="asc" $order[asc]>$vbphrase[ascending]</option>
                <
option value="desc" $order[desc]>$vbphrase[descending]</option>
            </
select></td>
        </
tr>
        <
tr>
            <
td class="smallfont" style="padding-right:6px">$vbphrase[from_the]</td>
            <
td><select name="daysprune">
                <
option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
                <
option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
                <
option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
                <
option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
                <
option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
                <
option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
                <
option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
                <
option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
                <
option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
                <
option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
                <
option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
                <
option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
            </
select></td>
            <
td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]/></td>
        </
tr>
        </
table>
    
    </
td>
    <if 
condition="$show['activeusers']">
    <
td class="alt1"><div class="smallfont">$activeusers</div></td>
    </if>
    <if 
condition="$show['moderators']">
    <
td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
    </if>
</
tr>
</
table>

</
form>
<!-- 
End Active Users in this Forum (and sub-forums) and Moderators -->

<if 
condition="$show['popups']">
<
br />
<!-- 
popup menu contents -->


<!-- 
forum tools menu -->
<
div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<
form action="moderator.php" method="post" name="forumadminform">
    <
table cellpadding="4" cellspacing="1" border="0">
    <
tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
    <if 
condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">$vbphrase[post_a_new_thread]</a></td></tr></if>
    <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]">$vbphrase[mark_this_forum_read]</a></td></tr>
    <
tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]">$vbphrase[subscribe_to_this_forum]</a></td></tr>
    <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]">$vbphrase[view_parent_forum]</a></td></tr>
    <if 
condition="$show['adminoptions']">
    <
tr>
        <
td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
    </
tr>
    <
tr>
        <
td class="vbmenu_option" title="nohilite">        
        <
div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div>
        <
div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div>
        <
div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div>
        <
div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div>
        <if 
condition="$show['addmoderator']">
        <
div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
        </if>        
        </
td>
    </
tr>
    <
tr>
        <
td class="vbmenu_option" title="nohilite" align="center">        
            <
input type="hidden" name="s" value="$session[sessionhash]/>
            <
input type="hidden" name="f" value="$forumid/>
            <
input type="submit" class="button" value="$vbphrase[perform_action]/>
        </
td>
    </
tr>
    </if>
    </
table>
</
form>
</
div>
<!-- / 
forum tools menu -->

<!-- / 
popup menu contents -->
<else />
<!-- 
controls for non-popup browsers -->


<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-top-width:0px">
<
tr>
    <
td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
    <
td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</
tr>
<
tr valign="top">
    <!-- 
forum tools -->
    <
td class="alt1">
        <
div class="smallfont">
            <
div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]">$vbphrase[mark_this_forum_read]</a></div>
            <
div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]vspace="1" /> <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]">$vbphrase[subscribe_to_this_forum]</a></div>
            <
div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]">$vbphrase[view_parent_forum]</a></div>
        </
div>
    </
td>
    <!-- / 
forum tools -->
    
    <!-- 
search this forum -->
    <
td class="alt1">
    <
form action="search.php" method="post">
    <
div class="smallfont">
        <
input type="hidden" name="s" value="$session[sessionhash]/>
        <
input type="hidden" name="do" value="process" />
        <
input type="hidden" name="forumchoice" value="$forumid/>
        <
input type="hidden" name="childforums" value="1" />
        <
strong>$vbphrase[search_this_forum]</strong>:<br />
        <
input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
        <
a href="search.php?$session[sessionurl]forumid=$forumid">$vbphrase[advanced_search]</a>
    </
div>
    </
form>
    </
td>
    <!-- / 
search this forum -->    
</
tr>
</
table>
<
br />


<!-- / 
controls for non-popup browsers -->
</if>


<!-- 
############## END THREADS LIST ##############  -->
</if>

<if 
condition="$show['popups'] AND $show['forumsearch']">
<!-- 
forum search menu -->
<
div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<
form action="search.php" method="post">
    <
table cellpadding="4" cellspacing="1" border="0">
    <
tr>
        <
td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
    </
tr>
    <
tr>
        <
td class="vbmenu_option" title="nohilite">
            <
input type="hidden" name="s" value="$session[sessionhash]/>
            <
input type="hidden" name="do" value="process" />
            <
input type="hidden" name="forumchoice" value="$forumid/>
            <
input type="hidden" name="childforums" value="1" />
            <
input type="text" class="bginput" name="query" size="20" />$gobutton<br />
        </
td>
    </
tr>
    <
tr>
        <
td class="vbmenu_option"><a href="search.php?$session[sessionurl]forumid=$forumid">$vbphrase[advanced_search]</a></td>
    </
tr>
    </
table>
</
form>
</
div>
<!-- / 
forum search menu -->
</if>

<!-- 
icon key -->
<if 
condition="$show['threadslist']">
<
table cellpadding="2" cellspacing="0" border="0">
<
tr>
    <
td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]border="0" /></td>
    <
td class="smallfont">$vbphrase[new_posts]</td>
    <if 
condition="$vboptions['usehotthreads']">
        <
td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
        <
td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
    <else />
        <
td colspan="2">&nbsp;</td>
    </if>
</
tr>
<
tr>
    <
td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]border="0" /></td>
    <
td class="smallfont">$vbphrase[no_new_posts]</td>
    <if 
condition="$vboptions['usehotthreads']">
        <
td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
        <
td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
    <else />
        <
td colspan="2">&nbsp;</td>
    </if>
</
tr>
<
tr>
    <
td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]border="0" /></td>
    <
td class="smallfont">$vbphrase[thread_is_closed]</td>
    <if 
condition="$show['dotthreads']">
        <
td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]border="0" /></td>
        <
td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
    <else />
        <
td colspan="2">&nbsp;</td>
    </if>
</
tr>
</
table>
<else />
<
table cellpadding="0" cellspacing="2" border="0" width="100%">
<
tr valign="bottom">
    <
td>
        <
table cellpadding="2" cellspacing="0" border="0">
        <
tr>
            <
td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]border="0" /></td>
            <
td class="smallfont">&nbsp$vbphrase[forum_contains_new_posts]</td>
        </
tr>
        <
tr>
            <
td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]border="0" /></td>
            <
td class="smallfont">&nbsp$vbphrase[forum_contains_no_new_posts]</td>
        </
tr>
        <
tr>
            <
td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]border="0" /></td>
            <
td class="smallfont">&nbsp$vbphrase[forum_is_closed_for_posting]</td>
        </
tr>
        </
table>
    </
td>
</
tr>
</
table>
</if>
<!-- / 
icon key -->

<!-- 
forum rules forum jump -->
<
table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<
tr valign="top">
    <
td width="100%">
        <
div class="smallfont">&nbsp;</div>
        <if 
condition="$show['threadslist']">$forumrules</if>
    </
td>
    <
td>
        
$forumjump
        
<if condition="!$show['popups'] AND $show['adminoptions']">
            <
br />
            <
form action="moderator.php" method="get">            
            <
input type="hidden" name="s" value="$session[sessionhash]/>
            <
input type="hidden" name="f" value="$forumid/>
            <
div class="smallfont"><strong>$vbphrase[admin_tools]</strong>:</div>
            <
select name="do" onchange="this.form.submit();">
                <
optgroup label="$vbphrase[admin_tools]">
                    <
option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
                    <
option value="modattach">$vbphrase[view_attachment_queue]</option>
                    <
option value="move">$vbphrase[mass_move]</option>
                    <
option value="prune">$vbphrase[mass_prune]</option>
                    <if 
condition="$show['addmoderator']">
                        <
option value="addmoderator">$vbphrase[add_moderator]</option>
                    </if>
                </
optgroup>
            </
select>$gobutton            
            
</form>
        </if>
    </
td>
</
tr>
</
table>
<!-- / 
forum rules forum jump -->

$footer
</body>
</
html
Reply With Quote
  #4  
Old 05-11-2005, 12:12 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should be able to control the width of your quickreply by going into the stlevar section of your Template Manager (dropdown)
Reply With Quote
  #5  
Old 05-11-2005, 12:33 PM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a screen of the stylevar =O.
Attached Images
File Type: jpg StyleVar.jpg (174.4 KB, 0 views)
Reply With Quote
  #6  
Old 05-11-2005, 12:37 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go into the showthread_quickreply template ... the width is hard-coded
Reply With Quote
  #7  
Old 05-11-2005, 01:15 PM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah yeah, a few days back i tryed editing showthread_quickreply, but had no luck in it changing. I will try again and post back.

/Edit

Tryed, but nope still pretty much the same =O, heres the code for it just incase o_O.

PHP Code:
<script type="text/javascript">
<!--
var 
WYSIWYG $WYSIWYG;
var 
threadedmode $threadedmode;
var 
minchars $vboptions[postminchars];
var 
maxchars $vboptions[postmaxchars];
var 
require_click $QRrequireclick;
var 
must_click_message "$vbphrase[click_quick_reply_icon]";
var 
istyles = new Array(); istyles = { $istyles_js };
var 
normalmode false;
var 
vbphrase = {
    
// wysiwyg only
    
"wysiwyg_please_wait" "$vbphrase[wysiwyg_please_wait]",
    
"wysiwyg_initialized" "$vbphrase[wysiwyg_initialized]",
    
"wysiwyg_command_invalid" "$vbphrase[wysiwyg_command_invalid]",
    
"moz_must_select_text" "$vbphrase[moz_must_select_text]",
    
"moz_edit_config_file" "$vbphrase[moz_edit_config_file]",
    
"enter_tag_option" "$vbphrase[enter_tag_option]",
    
"must_select_text_to_use" "$vbphrase[must_select_text_to_use]",
    
"browser_is_safari_no_wysiwyg" "$vbphrase[browser_is_safari_no_wysiwyg]",
    
// standard only
    
"enter_text_to_be_formatted" "$vbphrase[enter_text_to_be_formatted]",
    
"enter_link_text" "$vbphrase[enter_link_text]",
    
"enter_list_type" "$vbphrase[enter_list_type]",
    
"enter_list_item" "$vbphrase[enter_list_item]",
    
// both
    
"must_enter_subject" "$vbphrase[must_enter_subject]",
    
"message_too_short" "$vbphrase[message_too_short]",
    
"enter_link_url" :  "$vbphrase[enter_link_url]",
    
"enter_image_url" "$vbphrase[enter_image_url]",
    
"enter_email_link" "$vbphrase[enter_email_link]"
};
//-->
</script>
    
<
form action="newreply.php" method="post" name="vbform" onsubmit="return checkQR(this);">

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
thead>
    <
tr>
        <
td class="tcat" colspan="2">
            <
a style="float:$stylevar[right]href="#top" onclick="return <if condition="$WYSIWYG == AND !is_browser('ie')">editor_loaded ? false : </if> toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a>
            <!--<
img class="inlineimg" src="$stylevar[imgdir_button]/quickreply.gif" alt="" title="$vbphrase[quick_reply]border="0" <if condition="$debug">onclick="infoQR();"</if> />-->
            
$vbphrase[quick_reply]
        </
td>
    </
tr>
</
thead>
<
tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<
tr>
    <
td class="panelsurround" align="center">
        <
div class="panel">    
            <
table cellpadding="0" cellspacing="0" border="0" align="center">
            <
tr>
                <
td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
            </
tr>
            <
tr>
                <
td id="vBulletin_editor" align="$stylevar[left]">
                <!-- <<<< 
indent back for ease of reading -->        

<if 
condition="$WYSIWYG == 2">
<!-- 
wysiwyg quick reply -->

    <
div id="controlbar">
    <
table cellpadding="0" cellspacing="0" border="0">
    <
tr>
        <
td><div class="imagebutton" id="cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" alt="$vbphrase[remove_text_formatting]width="21" height="20" /></div></td>
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" /></td>
        <if 
condition="$vboptions[allowedbbcodes] & ALLOW_BBCODE_BASIC">
            <
td><div class="imagebutton" id="cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" alt="$vbphrase[bold]width="21" height="20" /></div></td>
            <
td><div class="imagebutton" id="cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" alt="$vbphrase[italic]width="21" height="20" /></div></td>
            <
td><div class="imagebutton" id="cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" alt="$vbphrase[underline]width="21" height="20" /></div></td>
            <
td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" /></td>
        </if>
        <
td><div class="imagebutton" id="cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" alt="$vbphrase[wrap_quote_tags]width="21" height="20" /></div></td>
    </
tr>
    </
table>
    </
div>
    
    <
div class="controlbar">
        <if 
condition="is_browser('ie')">
            <
div id="htmlbox" class="wysiwyg" style="width:600px; height:100px; padding:8px" tabindex="1"><p></p></div>
        <else />
            <
iframe id="htmlbox" style="width:600px; height:100px" tabindex="1"></iframe>
        </if>
        <
input type="hidden" name="message" id="qr_message" value="" />
        <
input type="hidden" name="WYSIWYG_HTML" value="" />
    </
div>
    
    <
script type="text/javascript" src="clientscript/vbulletin_editor.js"></script>
    <
script type="text/javascript" src="clientscript/vbulletin_wysiwyg.js"></script>
    <if 
condition="!is_browser('ie')"><script type="text/javascript" src="clientscript/vbulletin_moziwyg.js"></script></if>

<!-- / 
wysiwyg quick reply -->
</if>


<if 
condition="$WYSIWYG == 1">
<!-- 
standard quick reply -->

    <
div id="controlbar">
    <
table cellpadding="0" cellspacing="0" border="0">
    <
tr>
        <if 
condition="$vboptions[allowedbbcodes] & ALLOW_BBCODE_BASIC">
            <
td><div class="imagebutton"><a href="#" onclick="return vbcode('B', '')"><img src="$stylevar[imgdir_editor]/bold.gif" alt="$vbphrase[bold]width="21" height="20" border="0" /></a></div></td>
            <
td><div class="imagebutton"><a href="#" onclick="return vbcode('I', '')"><img src="$stylevar[imgdir_editor]/italic.gif" alt="$vbphrase[italic]width="21" height="20" border="0" /></a></div></td>
            <
td><div class="imagebutton"><a href="#" onclick="return vbcode('U', '')"><img src="$stylevar[imgdir_editor]/underline.gif" alt="$vbphrase[underline]width="21" height="20" border="0" /></a></div></td>
            <
td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" /></td>
        </if>
        <
td><div class="imagebutton"><a href="#" onclick="return vbcode('QUOTE', '')"><img src="$stylevar[imgdir_editor]/quote.gif" alt="$vbphrase[wrap_quote_tags]title="$vbphrase[wrap_quote_tags]width="21" height="21" border="0" /></a></div></td>
    </
tr>
    </
table>
    </
div>
    
    <
div class="controlbar">
        <
textarea name="message" id="qr_message" class="bginput" style="width:600px; height:100px" cols="60" rows="5" tabindex="1"></textarea>
    </
div>
                
    <
script type="text/javascript" src="clientscript/vbulletin_editor.js"></script>
    <
script type="text/javascript" src="clientscript/vbulletin_stdedit.js"></script>

<!-- / 
standard quick reply -->
</if>


<if 
condition="$WYSIWYG == 0">    
<!-- 
no-toolbar quick reply -->

    <
div class="controlbar">
        <
textarea name="message" id="qr_message" class="bginput" style="width:600px; height:100px;" rows="5" cols="60" tabindex="1"></textarea>        
    </
div>

<!-- / 
no-toolbar quick reply -->    
</if>


                <!-- >>>> 
outdent back to normal -->
                </
td>
            </
tr>
            <
tr>
                <
td align="$stylevar[left]">
                
                    <
fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
                        <
legend>$vbphrase[options]</legend>
                        <
div>
                            <if 
condition="$bbuserinfo['signature']">
                                <
div style="float:$stylevar[right]">
                                    <
label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label>
                                </
div>
                            </if>
                            <
label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
                        </
div>
                    </
fieldset>
                
                </
td>
            </
tr>
            </
table>
        </
div>
        
        <
div style="margin-top:$stylevar[cellpadding]px">
            <
input type="hidden" name="fromquickreply" value="1" />
            <
input type="hidden" name="s" value="$session[sessionhash]/>
            <
input type="hidden" name="do" value="postreply" />
            <
input type="hidden" name="t" value="$threadidid="qr_threadid" />
            <
input type="hidden" name="p" value="$qrpostidid="qr_postid" />
            <
input type="hidden" name="parseurl" value="1" />
            <
input type="hidden" name="clickedelm" value="" />
            <
input type="submit" class="button" value="$vbphrase[post_quick_reply]accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" onclick="this.form.clickedelm.value=this.value" />
            <
input type="submit" class="button" value="$vbphrase[go_advanced]accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="this.form.clickedelm.value = this.value" />
        </
div>        
    </
td>
</
tr>
</
tbody>
</
table>

</
form>
<
br />

<if 
condition="!is_browser('ie') AND $WYSIWYG == 2">
    <!-- 
Mozilla work around for focusing on QR in WYSIWYG mode -->
    <
div id="qr_scroll"></div>
</if>

<
script type="text/javascript" src="clientscript/vbulletin_quickreply.js"></script>
<!-- 
END WYSWIWYG QUICK REPLY --> 
Reply With Quote
  #8  
Old 05-11-2005, 02:38 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit every instance of 600px and/or col=60

see if that will help
Reply With Quote
  #9  
Old 05-11-2005, 02:51 PM
Rambo Rambo is offline
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet,

That worked perfectly!

Now i just need to try and get the side bars inline with the banner and im sorted O_O.

/edit

Hrm, do you also know how to make the default font 9pt Verenda? so its like that in all posts.
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 02:25 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.05291 seconds
  • Memory Usage 2,725KB
  • Queries Executed 14 (?)
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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete