Previous Thread
Next Thread
Print Thread
Rate Thread
#311653 10/10/2006 11:43 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
What: Pretty Quotes

Description: Makes the quote box a little better-looking in my opinion, giving it a style you might see more in blogs.

Example: http://www.praisecafe.org/forum/ubbthreads.php/ubb/showflat/Number/54418

Instructions: The colors below are basically from the default threads 7 stylesheet, adjust to your taste smile

This is the css code for your ubbcode properties (toward the bottom of your style).

In the .ubbcode-block box change it to this:
Code

margin: 5px 2em;
background: #FFF;
padding: 0px;
border-spacing: 0px;
border: 1px dotted #AAAA11;

In the .ubbcode-header box change it to this:
Code

display: block;
font-weight: bold;
padding: 4px;
color: #666666;
background: #EEEECC;
border-bottom: 1px solid #AAAA11;
font-size: 8pt;

In the .ubbcode-body box change it to this:
Code

font-size: 10pt;
display: block;
background: #F1F0D1 url(/img/quote.gif) 10px 10px no-repeat;
font-style: italic;
line-height: 1.5em;
padding: 10px 1.5em .25em 45px;

Adjust the url to the image in the above box to suit your site. You can use the image below if you like smile
Attachments
2273-quote.gif (241 Bytes, 99 downloads)


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Oct 2006
Posts: 21
Newbie
Newbie
Offline
Joined: Oct 2006
Posts: 21
To be concise, wouldn't you want another image to close the quote? I found myself looking for it tipsy

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You know allen, since you posted this, i've noticed something similar at a LOT of forums using differant images lol... I just never paid attention before :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I may add a closing image, this one is a little cleaner smile


- Allen wavey
- What Drives You?
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
my version:

.ubbcode-block
PHP Code
margin: 5px 2em;
background: #FFF;
padding: 0px;
border-spacing: 0px;
border-top: 1px dotted #000;
border-left: 4px solid #8394B2;
border-right: 1px dotted #000;
border-bottom: 1px dotted #000;

.ubbcode-header
PHP Code
display: block;
font-weight: bold;
padding: 4px;
color: #000;
background: #E4EAF2 url('/styles/images/koniro/quote.gif') no-repeat right;
border-bottom: 1px solid #AAAA11;
font-size: 8pt;

.ubbcode-body
PHP Code
padding: 4px;
max-width: 100%;
max-height: 300px;
overflow: auto;
font-size: 10pt;
display: block;
border-right: 1px dotted #000;
background-image: url('http:/styles/images/koniro/nbkg-l.png');

Looks like this:
http://www.dragonclan-forum.de/board/ubbthreads.php/ubb/showflat/Number/119141

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)