vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Neat Quotes (https://vborg.vbsupport.ru/showthread.php?t=92582)

KTBleeding 07-20-2005 09:00 PM

Neat Quotes
 
If you use this, please click INSTALL

Well, I was doing some work today and I thought, "This might look pretty nice as a 'quote' on vBulletin" so I made it up real quick.

What does it do? Simple, it changes vBulletins default "quote" look and makes it a little bit better (in my opinion).

Instructions:

Go into your admincp, and navigate to your style options:
(admincp / Styles & Templates / Style Manager / All Style Options)
Note: you will need to do this for every style you want the neat quotes on.


Scroll down towards the bottom and find the "Additional CSS Definitions" and paste the following in there:

Code:

/* ***** new quote styles ***** */
.bbcquote{
        background: #FFF;
        border: 1px solid #C2CFDF;
        border-top: 4px solid #C2CFDF;
        color: #333366;
        padding: 5px;
        font-size: 9px;
}

.bbcquotetitle{
        font-weight: bold;
        font-size: 10px;
        border: 0px;
        border-bottom: 1px dashed #003366;
        color: #003366;
        padding-bottom: 3px;
        margin-bottom: 5px;
}

Now edit the bbcode_quote template:
(Templates / BB Code Layout Templates / bbcode_quote)

Replace *everything* with:

HTML Code:

<div class="bbcquote">
        <if condition="$show['username']">
                <div class="bbcquotetitle">$vbphrase[quote]: <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
                <div>$message</div>
        <else />
                <div class="bbcquotetitle">$vbphrase[quote]:</div>
                <div>$message</div>
        </if>
</div>

Similar Template Mods:
Neat Code

dm4p8ntballa 07-21-2005 12:17 AM

nice

Vizionz 07-21-2005 09:32 AM

thats cool

KTBleeding 07-21-2005 10:59 AM

Cool. Thanks guys.

I have also made one for the code, html, and php blocks but I'm going to fix a few things before adding them here.

hollyboy 07-21-2005 01:59 PM

it does work for me :(
http://www.interfans.org/forum/showt...725#post744725

KTBleeding 07-21-2005 02:08 PM

Strange. Did you get this mixed up with the "Neat Code" mod I just released?
In your classes, it looks like you put "bbccode" when it should be "bbcquote" :)

hollyboy 07-21-2005 02:10 PM

Quote:

Originally Posted by KTBleeding
Strange. Did you get this mixed up with the "Neat Code" mod I just released?
In your classes, it looks like you put "bbccode" when it should be "bbcquote" :)

I have to mix it? what u mean?

KTBleeding 07-21-2005 02:14 PM

No, sorry. I was just wondering if you had gotten this confused with another mod I put up.

I see that the classes in your stylesheet are now correct, and the templates seem to be fine. I'm not sure why it's not working. Let me look it over a bit real quick.

Edit: are you changing it right now? Cause the stylesheet keeps changing on me. One second it's correct, the other second it's wrong.. haha.

hollyboy 07-21-2005 02:20 PM

now I have the original one, previously I had followed exactly what was written in yuor hack

edit: now I have put back your code

KTBleeding 07-21-2005 02:21 PM

Okay, I found the issue.

You have classes for your scrollbars, but there is no closing part for the tag.
Just add a "}" after your "scrollbar-track-color: #000000;"

hollyboy 07-21-2005 02:29 PM

yeah now works thank u :)
I am just fixing the color to match my style
nice little hack clicked install ;)

KTBleeding 07-21-2005 02:31 PM

Cool. Glad to see you got it working. Looks good btw. :up:

Kirk Y 07-21-2005 02:32 PM

Oh, that's awesome. I love these quotes.

Clicks Install

KTBleeding 07-21-2005 02:41 PM

Shweet. Thanks. :)

SeanMT 09-21-2005 07:03 PM

Good work.

mfizzel 09-23-2005 03:09 PM

Something I don't understand...

in the css for .bbcquote if I add :

'font-style: italic;'

it makes the title of the quote italic too, why would it do that?

Thanks

mfizzel 09-23-2005 03:11 PM

Nevermind, fixed it by adding 'font-style: normal;' to the .bbcquotetitle css

yoyoyoyo 12-03-2006 01:35 PM

how would you add this to 3.5? the bbcode templates are not there

GreigM 02-03-2007 09:55 PM

Great, love them thanks


All times are GMT. The time now is 02:28 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
  • Page Generation 0.02174 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete