UBB.Dev
Posted By: Tunnleram Codeblock Quoteblock - 05/04/2003 5:47 PM
Ok, here's what I got by using a quick hack I found here -
[Linked Image]

What I'm hoping to do:

Make the font smaller, give the box a border perhaps. Like the code box in this post, but with smaller font.

From the info I've read I looked in ubb_lib.cgi, but quite honestly I feel like I'm in Greece tipsy ~

I'm guessing this is the section that needs to be edited:

[code][/code]I've tried to specify textsize and the font face, but no matter what I do I can only get very small font...I know I'm doing something wrong, missing something, etc since I'm very new at this.
Posted By: PrimeTime Re: Codeblock Quoteblock - 05/06/2003 7:11 AM
I think Allen posted an update to the UBBCode Block hack? It's somewhere here and only a two step process, if I remembered correctly. smile

When I edited the codes for UBBQuote I did so in both ubb_lib_posting.cgi and ubb_lib.cgi files. I've striped out the and
tags and just used the
. Then I added style sheet to it to control the look of the Quote Block.

I can't say I recommend doing it the way I did because of what you'll need to edit. If you can find Allen's fix use that instead. If I find it I'll post it here. smile
Posted By: Tunnleram Re: Codeblock Quoteblock - 05/06/2003 7:43 AM
Thanks man. I found the thread and I was able to get it to look ok. Just seems that it doesn't want to recognize any font settings. I'm guessing it's being overridden somewhere else, but honestly I'm ok with it tipsy ~

It looks better now.

I might go the route you went if it annoys me enough smile Thanks again!
Posted By: PrimeTime Re: Codeblock Quoteblock - 05/06/2003 9:38 AM
You're correct. These two files (ubb_lib_posting.cgi and ubb_lib.cgi files) are the ones you need to edit to rid of the tags for the Quote Block. If you ever decide to edit further you can:

In ubb_lib_posting.cgi look for sub routines:

Code
[/code]and:

Code
</pre></div></div>In ubb_lib.cgi look for sub routine:<br><br>[code]
smile
© UBB.Developers