General Community > HTML/CSS
Edit Quick Reply Position?
(1/1)
Dark Pyro:
Hey thanks for any help that can be provided. What i want to do is move the quick reply higher up, more underneath the topic than under everything else. Where can i edit the template to do so? Lol I'm trying to migrate to SMF but im still breaking the postbit vbulletin habits. Thanks for the help. Dark Pyro
SMF 2.0 RC5
grankpeq:
This is the forum I started with some more information.
http://www.simplemachines.org/community/index.php?topic=451113.0
As Kays said in her reply to me it is in Display.template.php starting with this:
--- Code: --- if ($context['can_reply'] && !empty($options['display_quick_reply']))
{
echo '
<a id="quickreply"></a>
<div class="tborder" id="quickreplybox">
<div class="cat_bar">
<h3 class="catbg">
<span class="ie6_header floatleft"><a href="javascript:oQuickReply.swap();">
<img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" id="quickReplyExpand" class="icon" />
</a>
<a href="javascript:oQuickReply.swap();">', $txt['quick_reply'], '</a>
</span>
</h3>
</div>
<div id="quickReplyOptions"', $options['display_quick_reply'] == 2 ? '' : ' style="display: none"', '>
<span class="upperframe"><span></span></span>
<div class="roundframe">
--- End code ---
What I did since, I hate the permissions box sometimes is I commented out the permissions box as such
--- Code: ---<!-- hide permissions box, ugh <div style="width: 200px;">
<div class="cat_bar">
<h3 class="catbg">
<a href="#" onclick="shrinkHeaderPI(!current_header_pi); return false;"><img id="upshrink_pi" src="', $settings['images_url'], '/', empty($options['collapse_header_pi']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" /></a> ', $txt['permissions_info'], '
</h3>
</div>
<div class="windowbg2" id="upshrinkHeaderPI"', empty($options['collapse_header_pi']) ? '' : ' style="display: none;"', '>
<span class="topslice"><span></span></span>
<div class="content smalltext">
<ul class="reset">
<li>', (allowedTo('post_new')) ? $txt['post_new_topic_permission_yes'] : $txt['post_new_topic_permission_no'], '</li>
<li>', (allowedTo('post_reply_any')) ? $txt['reply_permission_yes'] : $txt['reply_permission_no'], '</li>
<li>', (allowedTo('post_attachment')) ? $txt['attachment_permission_yes'] : $txt['attachment_permission_no'], '</li>
<li>', (allowedTo('modify_own')) ? $txt['modify_permission_yes'] : $txt['modify_permission_no'], '</li>
</ul>
<hr />
<ul class="reset">
<li><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['bbc'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</li>
<li><a href="', $scripturl, '?action=help;page=post#smileysref">', $txt['smiley'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</li>
<li><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['img'], '</a> ', (!in_array('img', (empty($modSettings['disabledBBC']) ? array() : explode(',', $modSettings['disabledBBC'])))) ? $txt['enabled'] : $txt['disabled'], '</li>
<li>', $txt['html'], ' ', ($modSettings['enablePostHTML']) ? $txt['enabled'] : $txt['disabled'], '</li>';
if (isset($modSettings['rules_enable_member_access']) || isset($modSettings['rules_enable_guest_access']))
echo'
<li><a href="'.$scripturl.'?action=rules">'.$txt['mods_cat_rules'].'</a></li>';
echo'
</ul>
</div> end hide of permissions box -->
--- End code ---
This is above the quick reply box code.
I hope this helps.
Also as Illori said you can make the quick reply box expand all the time in your profile settings, but I don't want to explain to others users how to do this I just want it there all the time by default.
Navigation
[0] Message Index
Go to full version