vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Misplacement of bottom "make new thread" button (https://vborg.vbsupport.ru/showthread.php?t=248596)

c0rpz0r 08-14-2010 01:01 PM

Misplacement of bottom "make new thread" button
 
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 08-14-2010 02:23 PM

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 08-14-2010 03:48 PM

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 08-17-2010 03:05 PM

lynne any suggestions??

Lynne 08-17-2010 03:13 PM

There is a bug report regarding this and I posted a fix in it, so do a search in the bug tracker.

c0rpz0r 08-17-2010 03:26 PM

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 08-17-2010 09:37 PM

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 08-18-2010 03:34 AM

Wow, okay this seems to work!

Thanks!!


All times are GMT. The time now is 01:06 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.01097 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete