The Arcive of vBulletin Modifications Site. |
|
New Thread Button on post viewing Details »»
|
|||||||||||||||||||||||||||
I find that members post more when there is a post new thread option after they have posted / when there reading thread so i have done the following with a little bit of help from Lynne (thanks)
Go to the Showthread template : First find : HTML Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}" class="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> <img style="display:none" id="progress_newreplylink_top" src="images/misc/progress.gif" alt="" /> HTML Code:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a> HTML Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}" class="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> HTML Code:
  <span style="padding-left:140px"> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></span> Make the new thread button bigger as requested ![]() Go to > Showthread.css At the very bottom add > HTML Code:
#newthreadlink_top, #newthreadlink_bottom {
background: {vb:stylevar control_content_background};
-moz-border-radius: {vb:stylevar control_content_radius};
-webkit-border-radius: {vb:stylevar control_content_radius};
-moz-box-shadow: 0 3px 8px #e1e1e1;
-webkit-box-shadow: 0 3px 8px #e1e1e1;
font: {vb:stylevar control_content_font};
color: {vb:stylevar control_content_color};
padding: {vb:stylevar control_content_padding};
display:inline-block;
clear:both;
}
#newthreadlink_top span, #newthreadlink_bottom span {
font-size:15px;
font-weight:bold;
display:inline;
}
#newthreadlink_top:hover, #newthreadlink_bottom:hover {
background: {vb:stylevar control_content_hover_background};
}
)Screenshots
Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Thanks will give it a try
|
|
#3
|
||||
|
||||
|
thanks
|
|
#4
|
|||
|
|||
|
The second code is not XHTML valid. There´s an open span tag that is not closed.
|
|
#5
|
|||
|
|||
|
sorry bit confused by your reply i only put that in to move it away from new reply and as far as i knew that was correct coding if you can improve it please let me know and i will change it
|
|
#6
|
|||
|
|||
|
Quote:
Code:
  <span style="padding-left:140px">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></span>
|
|
#7
|
|||
|
|||
|
It will be easy
|
|
#8
|
|||
|
|||
|
thanks i will change mod
|
|
#9
|
||||
|
||||
|
Thank you, man
I will try but in the attached photo shows a small button ________ Ferrari 250 Tr 61 Spyder Fantuzzi |
|
#10
|
|||
|
|||
|
Yes it shows a small button at the moment im trying to find the correct way to make it show a big button but should just be a simple edit to change size
|
![]() |
|
|