![]() |
Beiddos: Don't do any changes to your functions.php file. :)
Ordovicuim: Please read the thread, at least read the first post. :rolleyes: :bunny: |
Quote:
| In the Admin CP, goto Modify under Custom vB Codes and click [edit] next to the [quote] code | | Place this code in the "vB Code replacement" Box | +-------------------------------------------------------------------------------------------------+ <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td><smallfont><b>quote:</b></smallfont></td></tr><tr><td style="BORDER: #000000 1px solid; FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #D7D7D7;">{param}</td></tr></table> +-------------------------------------------------------------------------------------------------+ + +++ + +-------------------------------------------------------------------------------------------------+ | Add a new Replacement Variable, named #D7D7D7: | +-------------------------------------------------------------------------------------------------+ #D7D7D7 +-------------------------------------------------------------------------------------------------+ +-------------------------------------------------------------------------------------------------+ | And another, named #000000: | +-------------------------------------------------------------------------------------------------+ #000000 +-------------------------------------------------------------------------------------------------+ +-------------------------------------------------------------------------------------------------+ | You can adjust these colors to your liking. The first is the background color of the box, and | | the second is the font color of the text inside the box. (Current colors fit default scheme) | +-------------------------------------------------------------------------------------------------+ But there is this problem: the quote include the signature and the result is this :( : |
You didn't run the query... ;)
|
weird problem. I upgraded from 2.2.2 to 2.2.5 and made the mods to the functions.php file. I did not change the replacement or anything else.
Windows users say everything is fine. Mac users can't read the quotes. They are seeing a light green text on a blue background. See it here: http://www.eaforums.com/showthread.p...954#post114954 Amy |
Yeah - that happened to me too. All I did to fix that in 2.2.5 is to replace the {codefontcolor} and {codebackgroundocolor} with the actual color hex codes both in the vbcode section as well as in functions.php.
In other words, I hard-coded the color rather than used the replacement variables - it works like a charm. I suspect that if you did not want to do this you just need to run the db query again. |
Quote:
|
Told'ya. ;)
|
I have only a little problem with the colors...
Custom replacements {--codebackground--} is replaced by #D7D7D7 [edit] [remove] {--codefontcolor--} is replaced by #f7fcd1 [edit] [remove] But the results is this: My Forum--> examples of quote <-- |
Quote:
http://www.vbulletin.com/forum/showt...603#post272603 |
How do i get this to work with the AutoCopy Code and PHP to clipboard hack?
|
Have you run the query, Ordovicium?
|
I fixed it now. I don't know why I put another code in it put now, with this code:
Code:
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"> |
Hey, I tried to install the hack, but it didn't work for me. So I uninstalled the rest of the hack, but I need to know the query that is the opposite of the one he told us to run:
ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT; What would the query be to change it back to the default? |
Hmmm.... I guess my editpost.php was just bad since I just updated to 2.2.5 and I don't think I've ever edited anything yet. I just uploaded the normal 2.2.5 script and I'll add all the hacks back in later.
|
Does anyone know how to get this to work with AutoCopy Code and PHP to clipboard hack yet?
|
I must use the [] in the replacement
[codebackground] is replaced by #FFFFFF [edit] [remove] [codefontcolor] is replaced by #FFFFEF [edit] [remove] The { } does not functions :( |
Code:
i have the same problem as mr x :-\ |
That was my prob too. I was sure I edited functions.php, but I guess I uploaded the old file instead of the newly modified one. Doh!
|
I am wondering if anyone can help me on this. I have installed this hack it works well on all skins except the default one.
Please click the link below to see an example. http://www.visordown.com/forums/show...threadid=53476 The problem is the text is white and so cannot be read on the lilac background. How can I change it so that only in this skin it is black? Regards, veedee |
This is my first post. I am a licensed user and have typed in my username as requested.
Nakkid, someone posted Quote:
I am trying something complicated: I am trying to make the postbit template show in 3D but because it involves an elaborate style sheet with varying pixel widths for the top/left borders and the right/bottom borders and the colors not being readily available in the ACP (there are too few color options anyway) I am forced to hard code the color values in the Postbit template. But that means that the second alternate color will have the wron highlights and shades. How am I to solve that? Please see a 3d example at P?LiNCO Side-by-side works since this is all in the same table row but the Postbit template has only room for one or the other. Please help. Thanks, Polly |
k works great, but how do i modify the font, border, background color and font color for the PHP and CODE box? i dont see it under modify vbcodes under the admin cp, all i see is quote, but i want to modify the PHP and CODE boxes as well, help me please...
|
I don't know whom that was directed at but it doesn't sound like you wrote it to me.
What you are looking for is probably somewhere in functions.php and as far as I can remember has been discussed here already. Now... could Nakkid please get in touch with me regarding the hack I asked about? Does it involve adding replacement variables? If yes, I would have to add 4 replacement variables and a new style to the header template to be able show 3d borders. in postbit, forumdisplay_threadslist and other templates. Please sir, show thyself :) Polly |
I dont if its been answered...
BUT HOW DO YOU REMOVE THIS HACK? |
The same way you installed it, but in reverse. Don't you keep records of the stuff you do to your forum??
Polly |
Quote:
if I dont like it, and want to get rid of it.. how would I undo whatever query he has me do in mysql? |
Quote:
|
The quote function works great everywhere...except in a PM. I still get the lines. In the forums, its great.
Any help? |
how can i make my PHP and CODE boxes look like my QUOTE boxes??? i change the tag code for [quote] but how bout for the [php] and [code] tags? the borders and color schemes are different from my [quote] borders and stuff. plz help
|
whats the original 'factory default' quote code?
|
I am running vb 2.2.5...
In the .txt file, it says to look for : PHP Code:
PHP Code:
PHP Code:
PHP Code:
What went wrong? Satan |
Hi all, I might be a bit late but just noticed this one... :)
Anyway, I installed this hack : AutoCopy Code and PHP to clipboard Version 1.0 By Nakkid (vBulletin.org hacker) But now I want to install this new box look hack and I noticed it asks to replace the same code.... and I know I'll screw this up. I also noticed that right here on vb.org they also use both hacks so I tought, is there a hack that combines the 2 or gives more information on what to remove add to make the hacks work with eachother... ? Tnx. |
I installed this, however maybe I shouldn't have.
It works fine in all but one style, my main style :mad: I don't think I need to say much more but I will include a screen shot, maybe someone can help me out? Cheers :cry: veedee |
Make sure you add the replacement variables to all styles.
|
Hiya,
I am sure that I have done this. How can I check? Cheers, Ben ps screen schot enclosed |
Looks fine?
|
Yes the code works fine but the text come sout WHITE on a LIGHT background. I cannot figure out how to alter this?
|
Change the replacement vars you added when you installed the hack.
|
So FireFly...
Do you know why I got a parse error? Satan |
Quote:
Cheers, [veedee] |
err, after installing this on 225, took a couple of secs, but then i noticed the colors weren't shwing, hit the view source button and noticed that { is replaced by &123;
to fix this find Code:
$bbcode=str_replace("{", "{", $bbcode); // stop people posting replacements in their posts |
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:
|