The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
Sorry, my fault. I see what you are asking. I read "close" thread. BRB.
--------------- Added 06 Nov 2013 at 02:52 --------------- Edit the "SHOWTHREAD" template Templates might vary from version to version, so double check. (Top Buttons) Search HTML Code:
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> Replace HTML Code:
<vb:comment> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> </vb:comment> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="" id="newreplylink_top"> <vb:if condition="$show['closethread']"> <span class="reply_thread_button">+ {vb:rawphrase reply_to_thread}</span> <vb:else /> <span class="closed_thread_button">{vb:rawphrase closed_thread}</span> </vb:if> </a> Search HTML Code:
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> Replace HTML Code:
<vb:comment> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_bottom"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> </vb:comment> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="" id="newreplylink_bottom"> <vb:if condition="$show['closethread']"> <span class="reply_thread_button">+ {vb:rawphrase reply_to_thread}</span> <vb:else /> <span class="closed_thread_button">{vb:rawphrase closed_thread}</span> </vb:if> </a> Modify the CSS accordingly and add this to your "additionalcss" template. Code:
.closed_thread_button { background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #417394; position: relative; border: 0 none; border-radius: 10px 10px 10px 10px; box-shadow: 0 3px 8px #DDDDDD; clear: right; color: #FFFFFF; display: block; float: left; font: 14px Arial,sans-serif; padding: 4px 15px; background: red; } .reply_thread_button { background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #417394; position: relative; sborder: 0 none; sborder-radius: 10px 10px 10px 10px; sbox-shadow: 0 3px 8px #DDDDDD; sclear: right; scolor: #FFFFFF; sdisplay: block; sfloat: left; sfont: 14px Arial,sans-serif; spadding: 4px 15px; background: blue; } ![]() |
2 благодарности(ей) от: | ||
Pocket Aces, ThatGreenAlien |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|