View Single Post
  #278  
Old 09-15-2009, 09:05 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnapOff Racing View Post
CR_TurboGuy,

Not sure if you meant to do this or if it was an accident but in your threadbit template you have...

Code:
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

Which makes it so that when someone clicks on a thread it will take them to the last post of the thread rather than the first post.

Where IMO it should be
Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']">

This way when someone clicks on a thread link it will take them to the first post of the thread, or if they click on the username: Today 01:24AM that shows below the thread title, it will take you to the last post of the thread.
I purposefully did this, as I wanted to be taken to the newest post when there was one, instead of the option of just going to the last post. You are right though, there is a bug, in that it should only happen when there are new posts, not for every single post/link as it is currently. I fixed the conditional so that that is only there for new posts. The updated code is:
Code:
<span style="align:left"><a href="showthread.php?$session[sessionurl]<if condition="$show['gotonewpost']">goto=newpost&amp;</if>t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle] ($thread[replycount])</a>
</span>
if you want to update your board to use the corrected stuff.
Quote:
Originally Posted by SnapOff Racing View Post
================================================== ============

Another thing I noticed in the threadbit template that is causing an issue with the the font size on the fourmdisplay



Your code which causes the text size to appear as you see in the red box on the right
Code:
<li style="text-align:left" class="inline">

Older code which causes the text size to appear as you see in the red box on the left
Code:
<li>

Unfortunately though when you change your code to just <li> this causes the text to wrap instead of appear inline.

Any idea how to solve this?
I guess I'm not understanding the problem. I don't see any weird font size issues on my board. The screen shots you posted, it doesn't appear there's much difference in size. Am I missing something?

FYI - to anyone having issues w/ the mods I've done to this skin, if you can post a link to your board for me to take a look at, that helps a ton for me to try to figure out problems. If you don't want to post your link in the thread, feel free to PM me the link to take a look at.

Thanks,

--JOsh
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01265 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete