![]() |
Strange Look of the Code/Quote/PHP/HTML blocks in post
1 Attachment(s)
I've got this weird thing going on my site. The code, html, php & quote boxes inside posts are literally missing the boxes! You can see from my screen shot what I mean.
I just upgraded to the latest vBulletin 4.2.2 P4 today. I had not checked this before so I do not know if I had this issue before the update or if this is something in IB's infinite wisdom that they have decided to change essentially making it difficult to "actually" read a post with code, html, php or a quote in it. :rolleyes: So how do I fix this to actually HAVE boxes again? Did IB kill the boxes or something? Or is it just me? I'm using the default skin that was installed when I installed the board & I disabled the mods globally and tried posting again but had the same result. |
1 Attachment(s)
I have rewritten by quote, code, html and php boxes so that they have a maximum height on default, but have toggle buttons at the upper right to show them full size if desired. Also, in the 3 code boxes, if my users double click inside the box, all the text is selected. This makes it easy to copy posted code to the clipboard.
If you don't find out why you are not getting boxes and you are interested in something like this, I would be glad to share my code with you. I have attached a screenshot of the code box so you can get an idea what it looks like. |
Oh hey I like that much better than the original anyways! Yes please share I would be interested. :)
|
Quote:
|
Quote:
|
Okay, it is getting late here, and so I will put together the code and post it first thing tomorrow.:)
|
ok thanks Mark :)
|
That looks pretty cool Mark. I did it on my site with the max height, but I like the expanding deal as well.
But I still wonder what happened to Len's code to mess it up. :confused: |
Okay, here is the code I use:
The "bbcode_code" template: HTML Code:
<div class="code_box_wrapper MHB_wrappers"> HTML Code:
<div class="code_box_wrapper MHB_wrappers"> HTML Code:
<div class="code_box_wrapper MHB_wrappers"> HTML Code:
<script> HTML Code:
/*-----Quote Box Styles-----*/ Code:
var code_height = 300, isQuote = false, quoteLevel = 0, quote_count = 0, quoteId = [], quoteAddHeight = []; |
It would have been useful to get a link to a post with the missing boxes so we could check the CSS. My *guess* is that you didn't update the css templates after your upgrade and so the old CSS is being used and it no longer works. (And you may need to do that in order to use the code above since it may count on using some of the default CSS.)
|
Quote:
Ah ok. Here is a link: http://lenmkaiser.com/vb/vb4/showthr...p/17-HTML-test My CSS is saved as a file not in the database could this have caused the problem? Also how do I update the CSS? The only thing I did was apply the patch from version 4.2.2 P3 to 4.2.2 P4. So it was not a big hop. @Mark: Thanks I will give it a try and see how it works. --------------- Added [DATE]1420919363[/DATE] at [TIME]1420919363[/TIME] --------------- Just an update on a couple of things that I have tried I created a new default style and tried the code boxes in that, no dice and I tried rebuilding the style in the admincp and again no dice on making those little code boxes show up. |
LOL. Remove the word, um.... it will be censored if I post it here, but it is the last three letters of the word "class" and so it is "cl***" in your source code and thus the CSS isn't getting applied. When you enter that work into the censor list, put parenthesis around it - {WORD}
|
Quote:
--------------- Added [DATE]1420949344[/DATE] at [TIME]1420949344[/TIME] --------------- The code worked great Mark thanks. I'll be editing the colors when I do the skin for the site. |
All times are GMT. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|