vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - New Thread Button in Showthread (https://vborg.vbsupport.ru/showthread.php?t=230951)

Eq4bits 02-02-2010 03:31 AM

Mine are too close together as well, adding a   only makes 'reply' button wider =S
Perhaps because I use a fixed width?
Also had the same problem with it not showing up on the bottom of thread, so just removed it from that location.

s810car 02-02-2010 06:15 AM

anyone try changing
Code:

<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top">
to this
Code:

<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:15px;">
yet? Change the 15px to distance you want, should work fine. You coule add the definition in your postlist.css template, but as a single line mod this would be fine

EDIT Just noticed a correction needs to be added to the code, don't add DIRECTLY after the vbphrase, here is the code in the showthread template:
Code:

<vb:if condition="$show['largereplybutton']">
                        <a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;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>

After that, add this:
Code:

<vb:if condition="$show['newthreadlink']"><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
That should allow them to separate. Will add the permissions check too, i think, cut out the vb:if condition if that doesn't work.

malcomx 02-02-2010 06:53 AM

Thanks :)

supportMM 02-22-2010 09:46 AM

GRRRRR worked on this trying anything to get the space in there..... nothing works!!!

steve1966 02-23-2010 06:11 PM

There is a working version of this here

https://vborg.vbsupport.ru/showthread.php?t=236685

ozzy47 09-06-2013 02:16 AM

There is a new on here that requires no template edits, https://vborg.vbsupport.ru/showthrea...wpost&t=301929

DemOnstar 09-07-2013 05:42 PM

Quote:

Originally Posted by ozzy47 (Post 2443610)
There is a new on here that requires no template edits, https://vborg.vbsupport.ru/showthrea...wpost&t=301929

Works for me. 4.2.1

ozzy47 09-07-2013 06:46 PM

Yeah it should work on all vB4 versions. :)


All times are GMT. The time now is 02:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete