The Arcive of vBulletin Modifications Site. |
|
Change look of code, PHP and quote boxes - problems Details »»
|
|||||||||||||||||||||||||||
|
Change look of code, PHP and quote boxes - problems
Developer Last Online: Apr 2004
I installed this hack and it works fine, but I have a few things I want to see changed...
All my Code boxes have a extra empty line and can't seem to get ir removed. (look at example below, this board has the same problem, don't see any reason for this : Code:
Test FONT-FAMILY: Verdana,Arial; into FONT-FAMILY: Courier, Courier New, sans-serif; But it's still not the same font ![]() Any help with any of these matters appreciated !!! ![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
anyone ??? I searched for a <br> causing the extra line but can't seem to find it
|
|
#3
|
||||
|
||||
|
Don't bump your post after merely 3 hours.
|
|
#4
|
|||
|
|||
|
Quote:
But as you are quite good with code, and this bug actually is present on this board also, don't you know what causes it (even more as you actually written the hack in the first place)
|
|
#5
|
||||
|
||||
|
Don't you think I'd fix it if I knew what the problem is?
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
It's the <pre> I believe.
|
|
#8
|
|||
|
|||
|
Quote:
I used this code : Code:
// ###################### Start stripbrsfromcode #######################
function stripbrsfromcode($foundcode) {
$foundcode = str_replace("\\\"","\"",$foundcode);
return "<table border=\"0\" align=\"center\" width=\"96%\" cellpadding=\"3\"><tr><td><smallfont><b>code:</b> (double-click to copy to clipboard)</smallfont></td></tr><tr><td style=\"BORDER: #4C657E 1px solid; FONT-SIZE: 11px; COLOR: {codefontcolor}; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: {codebackground};\"><pre>" . $foundcode . "<pre></td></tr></table>";
}
)
|
|
#9
|
||||
|
||||
|
In other words, you didn't close the <pre>?
|
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
|
|