Wierd looking on "show post"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jebediah
    Member
    • Nov 2011
    • 55
    • 3.8.x

    Wierd looking on "show post"

    Don't know wht but it been like this since day one.
    If someone click on "show post" so you only can see that post everything looks mashed up.
    Almost like all the divs are removed. All the text are placed on each oher and linebreaks are compleatly wrong.

    Cant find any settings for this, so do i have to change a php file?
  • BirdOPrey5
    Senior Member
    • Jul 2008
    • 9613
    • 5.6.3

    #2
    This would likely be a template issue but hard to diagnose without a link to the site/page where this is happening. But I am sure it is NOT php file that needs to be changed.

    Comment

    • jebediah
      Member
      • Nov 2011
      • 55
      • 3.8.x

      #3
      PM sent

      Comment

      • BirdOPrey5
        Senior Member
        • Jul 2008
        • 9613
        • 5.6.3

        #4
        It looks like your SHOWTHREAD_SHOWPOST template is messed up, but since you have a custom style it is likely whoever made your style didn't care about it since it is so rarely used.

        Go to your Admin CP -> Style Manager -> Choose your Style -> Edit Templates

        Find the Showthread templates, expand it and double click on SHOWTHREAD_SHOWPOST

        First - Select all the text in there and "Back it up" by copying all the text, pasting it into a text document, and saving the file somewhere. If you ever need to undo these changes just copy the old text back and paste it back in the template.

        Second- If the template is still open, "Save" the template so you go back to the list of templates. Now with the SHOWTHREAD_SHOWPOST template highlighted, click the "Revert" button. This will return the template to the default style which should be a lot better then what you have.

        Confirm the revert and then try going to a showpost page- hopefully it looks better.

        In the off chance it hasn't changed. go back to edit the template and this time erase what is in there and paste in this code instead:

        Code:
        $stylevar[htmldoctype]
        <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
        <head>
        $headinclude
        <title>$vboptions[bbtitle] - $vbphrase[view_single_post] - $threadinfo[prefix_plain_html] $threadinfo[title]</title>
        </head>
        <body style="margin:0px" onload="self.focus()">
        
        
        <form action="showpost.php">
        
        
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-bottom-width:0px">
        <tr>
        	<td class="tcat">
        		<div class="smallfont" style="float:$stylevar[right]">
        			<strong>$vbphrase[thread]</strong>: $threadinfo[prefix_plain_html] <a style="text-decoration: underline" href="showthread.php?$session[sessionurl]p=$postinfo[postid]#post$postinfo[postid]">$threadinfo[title]</a>
        		</div>
        		$vbphrase[view_single_post]
        	</td>
        </tr>
        </table>
        
        
        <if condition="$show['reputation']">
        <script type="text/javascript" src="clientscript/vbulletin_ajax_reputation.js?v=$vboptions[simpleversion]"></script>
        </if>
        
        
        $postbits
        
        
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-top-width:0px">
        <tr>
        	<td class="tfoot" align="center">
        		<input type="button" class="button" value="$vbphrase[close_this_window]" id="close_button" style="display: none;" />
        		&nbsp;
        		<script type="text/javascript">
        		<!--
        		if (self.opener)
        		{
        			var close_button = fetch_object('close_button');
        			close_button.style.display = '';
        			close_button.onclick = function() { self.close(); };
        		}
        		//-->
        		</script>
        	</td>
        </tr>
        </table>
        
        
        </form>
        
        
        <if condition="$show['lightbox']">
        <!-- lightbox scripts -->
        	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v=$vboptions[simpleversion]"></script>
        	<script type="text/javascript">
        	<!--
        	vBulletin.register_control("vB_Lightbox_Container", "td_post_$post[postid]", $vboptions[lightboxenabled]);
        	//-->
        	</script>
        <!-- / lightbox scripts -->
        </if>
        
        
        <script type="text/javascript">
        <!--
        	// Main vBulletin Javascript Initialization
        	vBulletin_init();
        //-->
        </script>
        
        
        </body>
        </html>
        Does that help?

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎