![]() |
Quote:
|
Working beautifully with 2.2.7. Thanking you. :)
|
I am running VBulletin 2.2.7 and the back ground color is of the quote, php, and code doesn't work. I tried that replacement code fix and it didn't do anything to the color of the boxes. Help please. My test forum is at: http://www.thatfinalfantasysite.com/testvb
Dark Shogun |
You'll find the solution to this earlier in the thread.
|
Quote:
|
thanks!
works great :classic: lg, havefun |
Running on 2.2.8. :)
|
|
Quote:
Anyone have a solution? :) |
Is this hack going to be included in V3?
|
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 |
The problem lies in that initial { at the start of the new replacement variables...
Just follow the original instructions but when you see https://vborg.vbsupport.ru/external/2003/03/1.jpg remove the { - replace it with: codefontcolor} codebackground} respectively. Works fine on 2.3.0 |
Quote:
|
Quote:
You have to change it for every step along the way - I did it and it works, just open the original instructions and use search/replace in a text editor..... |
im really only interested in the [quote] portion of this. however, i don't want the text being forced to another color if the person's text color is custom set (such as light blue).
would what i need to do be this: Code:
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td> |
nm, answered my own question when curiosity got the best of me and i just went ahead and tried it out. works fine.
|
Great hack, although i'm having one problem, I get the following error when ever someone quotes a message:
Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/domain.com/path/newreply.php(47) : eval()'d code on line 1 |
Anyone? :confused:
This hack works fine on my second and third template, but nor my default one. Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/www.cyclingforums.com/html/newreply.php(47) : eval()'d code on line 1 |
So is there a way to get this wo work with 2.2.9 without removing the { in front of the variables? I am trying to add this to the admincp and I can't right now... :(
|
I am having a problem with 2.30. I am hacking this into two new boards at once, and with both boards when I reply with quote to a thread, it quotes the sample text for the custom vb code "This is a quote", rather than the actual post. At first I thought I made a mistake hacking it in, but I double checked everything and it is doing it on both boards.
Any ideas? |
hello i just want the php of this hack and if possible the code part to it
the reason is that i got this template edit from VbulletinTemplates and i am not sure if it will conflict if i run the query |
nice Hack, I used it before I updated my Forum to the latest Version, but it doesn't work in vB 2.3.2 :(
Is there a rewrite for the newer versions anywhere? |
I recently installed this hack on VB 2.3.4, and the only problem I am having is when I put code or something in the PHP/CODE box, it streches the box across the screen. The entire web page is stretched, instead of just the boxes having scroll bars. Can anyone help?
Thanks, Shady |
You're pretty well stuck with it that way until you upgrade to vB3. That's the way it's always been in vB2. ;)
|
Ahh well. Thanks Boofo.
later, Shady |
Sorry. ;)
When you're ready to upgarde, I did a hack for blocking code that also has it where you can just click anywhere in the box and it will copy it to the clipboard (just like that had for vB2). The update for it to do that is on my site. ;) |
im using 2.3.* and have this installed on a test forum.
There must be a way to make the new boxes "scrollable" like here @ vbulletin.org... i have seen it on another 2.* version. Can anyone find a way to do this for 2.3.* ? |
All times are GMT. The time now is 04:17 AM. |
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:
|