![]() |
I just installed this on a fresh install of 2.2.9 and the quote and php boxes are fine but I get spaces between each line in the code boxes. Can anyone please tell me why this is happening and how to fix it?
|
Is the dowordwrap()... have fun. :)
|
I solved the spacing problem. Chen, do you have any updated code for this that will stop some of the parsing of code like it does here? :)
|
Quote:
|
Check the bbcodeparse2() function. That's where is pulled into, your info.
|
I checked that but I don't undertsnad what that has to do with it. Here's what I did to fix it.
I replaced: Code:
#ffffff; FONT-FAMILY: Courier, Courier New, sans-serif; BACKGROUND-COLOR: #273549;\"><pre>" . $foundcode . Code:
#ffffff; FONT-FAMILY: Courier, Courier New, sans-serif; BACKGROUND-COLOR: #273549;\"><pre>".str_replace("<br>","",str_replace("<br />","",$foundcode)). Is there a better or easier way to do the same thing? |
Sweet hack Firefly :cool:.
Works great (especially when I remove the : at the end of codebackground and codefontcolor :o ). |
I've got it running nicely on 2.2.9, except for one problem: The custom colors I define in the replacements don't appear. The box and quoted text are there, but the colors don't take effect.
There must be something simple I goofed on. Can someone help? |
I just hardcoded the background color...that seemed to work. Though I'd like to make it a call to a variable, if at all possible.
|
vb 2.3.0
it parses the code for all three boxes like this in the html output & #123;codefontcolor} & #123;codebackground} no space between & # any fixes? blah :D https://vborg.vbsupport.ru/showthrea...threadid=35894 |
All times are GMT. The time now is 05:18 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:
|