PDA

View Full Version : Misplacement of bottom "make new thread" button


c0rpz0r
14 Aug 2010, 14:01
Hi all,

I was wonderering, when new users (not logged in) come to the forum they always get this strange placement of the bottom one "make new thread" button.. (logged in users dont have it as far as i know)..

1. Is this the style? or vbulletin 4.0.6pl1 itself?
2. Maybe anyone knows how to fix this?

Thanks in advance!

http://www.ultimatefightingchampionship.nl/FC/bug.jpg

Lynne
14 Aug 2010, 15:23
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem?

c0rpz0r
14 Aug 2010, 16:48
Hi Lynne,

Did what you asked and the problem still remains..
Info: The forum is only1,5 weeks old and was fresh installed with 4.0.5..

Greets

c0rpz0r
17 Aug 2010, 16:05
lynne any suggestions??

Lynne
17 Aug 2010, 16:13
There is a bug report regarding this and I posted a fix in it, so do a search in the bug tracker.

c0rpz0r
17 Aug 2010, 16:26
Wow, there are like 20+ reports about this..
When i search for your name it doesn't show up -> bug fix like...

Maybe you could point it out :D

Lynne
17 Aug 2010, 22:37
This is what I have in my notes.

Open the FORUMDISPLAY template and find this near the bottom of the template:
<div id="below_threadlist" class="below_threadlist">
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>
<div class="threadpagenav">
{vb:raw pagenav}
{vb:raw forumjump}
</div>
</div>

Change it to this:
<div id="below_threadlist" class="below_threadlist">
<vb:if condition="$show['newthreadlink'] AND $show['threadslist']">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
</vb:if>
<div class="threadpagenav">
<vb:if condition="!$pagenav AND !$forumjump">
<span class="pagination">&nbsp;</span>
<vb:else />
{vb:raw pagenav}
{vb:raw forumjump}
</vb:if>
</div>
</div>

c0rpz0r
18 Aug 2010, 04:34
Wow, okay this seems to work!

Thanks!!