![]() |
Neater Code, Quote, HTML and PHP boxes
Time taken: 2 Minutes
Difficulty: Easy as pie What it does: This modifies the look of the boxes when people you the bbcode for PHP, HTML, Code and Quote. You can also use this for Vb 3.5.x too Go to: Style manager --> [Style you want to edit] --> Main CSS --> Additional CSS Definitions Add: Code:
/* ***** new code styles ***** */ Now go to: Style manager --> [Style you want to edit] --> Edit Templates --> BB Code Layout Templates --> bbcode_code Replace everything with: HTML Code:
<div class="bbccode"> Style manager --> [Style you want to edit] --> Edit Templates --> BB Code Layout Templates --> bbcode_html Replace everything with: HTML Code:
<div class="bbchtml"> Style manager --> [Style you want to edit] --> Edit Templates --> BB Code Layout Templates --> bbcode_php Replace everything with: HTML Code:
<div class="bbcphp"> Style manager --> [Style you want to edit] --> Edit Templates --> BB Code Layout Templates --> bbcode_quote Replace everything with: HTML Code:
<div class="bbcquote"> Enjoy |
very nice! Thanks for the info!
|
Excellent! Thank you!
*clicks Install* |
Quote:
What does that TMS .xml provide? :) |
Quote:
|
Quote:
What seems to be the problem? |
Great Mod, thank you! :)
(Marked as installed :)) |
Your welcome :)
|
Okay well if you need any help don't fret to ask :)
|
I installed this but now my
HTML Code:
[html] xxxxxxxx Help |
Quote:
|
Excellent, I've it installed. :)
|
Quote:
|
How to add a smilie all the way to the top right hand cornor of the qoute box?
|
Quote:
|
seen your Mod Where someone put this image on the upper right hand side ATTACHED
Personally im running you mod and like it but i think i would like to use a legend Instead ..... And Put the Qouted By info in the top left .... https://vborg.vbsupport.ru/attachmen...3&d=1166574096 How can i do a legend instead Thanks ! https://vborg.vbsupport.ru/showthread.php?t=134387 |
the [code] tags adds a scrollbar if the text is too wide (because of the "pre" tags), but the right side of the scrollbar is outside the box. Any idea how to fix this?
Edit: nevermind... fixed it by adding style="width:525px;" to the top div tag (my stylevar[codeblockwidth] was set at 515, so I added 10px to the outer div). |
is there any way the width can be adjusted so the whole page wont show
for example i do one Q and say HELLO it can be only as large as the 5 letters ? |
Notice the second code segment. If you use the code tags on a single line of code it doesn't work right.
Also, the scroll bars are entirely too tight. I'd like to move them out to more fully utilize the page size...any ideas? |
Quote:
can you tell me where you added this in the code? |
interesting
|
I installed this and noticed that it added a few spaces before the php code. To fix this I changed the php replacement code to this:
Code:
<div class="bbcphp"><div class="bbcphptitle">$vbphrase[php_code]:</div><pre style="margin:0px; padding:$stylevar[cellpadding]px; width:$stylevar[codeblockwidth]; overflow:auto"><div dir="ltr"><code style="white-space:nowrap"><!-- php buffer start -->$code<!-- php buffer end --></code> |
I'm having an issue with long bits of code.
Quote:
http://www.mp3car.com/vbulletin/fusion-brain/107981-fusion-brain-software-feature-requests-2.html#post1143094 Any ideas how to fix this? |
Looks cool, but it screwed up my style.
|
Anyone know if this will work in 3.7?
|
It should do dude, but i aim to give this a relook soon as a few people have had issues!
|
All times are GMT. The time now is 05:22 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:
|