![]() |
Quote It! Emphasize a quote to draw attention
What does this do?
This allows you to add an extra quote to your news/stories/blogs/etc/ anywhere that bbcode is used practically (although not 100% tested, but it does quote as that has been tested) and emphasize and make stand out an area (left or right depending on how you set it up). You've probably all seen news stories where there was a little quote - even in a magazine that stood out and immediately you read it - something interesting. This gives you the ability to do just that. Any issues? None really, aside from the fact that you really wouldn't want to use this if you don't have the need to. For example, if you only have one paragraph of text, it will not look right. Also, based on the <style> it will push the quote down and may appear in the signature area. I would only use this if you have a lot of text - see screenshots/examples. Step 1: Upload quoteit.png to http://www.yoursite.com/forums/image...or/quoteit.png Quoteit.png is a famfamfam silk icon - it is a free icon and if you wish, you can use something else. If you use a different image or different location, edit the Button image in the BBCode. Step 2: Upload your quote.png/quote2.png image to your website and put the location in the replacement area (see <blockquote> tag line for details). I created quote.png/quote2.png for this use only - please do not claim it as your own. Step 3: Add New BBCode: Title: Quote It! BB Code Tag Name: quoteit Replacement: Code:
<style type="text/css"> Description: This allows you to quote a certain part of a news story and emphasize it. Use {option}: No Button Image: http://www.yoursite.com/forums/image...or/quoteit.png Remove Tag If Empty: Yes Disable BB Code: No Disable Smilies: No Disable Word Wrapping: No Note: If you want your quote on right side, change: Code:
<blockquote class="floatLeft"> Code:
<blockquote class="floatRight"> Code:
<style type="text/css"> Temporary Demo (may only last a week or two): http://www.christianboards.org/forum...74&postcount=1 |
I am not currently supporting this, although if there are any issues with this, I will attempt to address them.
|
Wow! Looks quite nice!
Thanx DAVID ;) Jacquii. |
Thanks - been considering something like this for a couple months and there are a few inline image modifications, but nothing on quotes. I almost considered putting in the option use for class=" " so that the user could use either floatLeft or floatRight, but it might prove too difficult for a few out there and I just decided to keep it simple.
|
thanks for this beautiful add-on. It works on vB Blog too right? Also, what will be the CSS italic code for the quote section?
|
I don't see why it wouldn't work on a blog. Are you wanting it italicized?
|
Yes... I did try font-style: italic; but not working :-) and you think it looks best on the left or right side?
|
Try this (I've not tested this, so it may not work)
Change {param} to <i>{param}</i> Personally, I think left side actually looks a little better, but it also depends on your layout as well. |
yup... that worked. I thought it should be font-style and under blockquote section. Didn't know that it's infront of param. thanks for this, again. Is it possible for you to create the quoteit.png icon but this time for the right side?
|
Give me a moment...
Fixed it. |
awesome. thanks for a great support.
|
no problem
|
hope you can answer me this ... how am I going to show all bbcode for the quick reply/quick comment (vb Blog)
|
What do you mean? Like have the icons themselves show up there?
|
yes, right now the quick comment in Blog doesn't have all the custom bb code
|
Is it normal for this mod to remove the text from the article for the quote? I have to replace it manually or type the quote and then use the quote tags.
Is there a way for it to keep the quoted text in the article and quote it without doing it manually? Great mod by the way, if only that little problem (At least for me it is) could be sorted. ;) |
Quote:
Edit the Show Threads Quick Reply template in your style(s) and add this where appropriate. Code:
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td> Quote:
Quote:
|
Looks like it might be a good hack, however I would like the quote block to be narrower and with a border with maybe some speech mark images. Is this possible?
|
All of that should be editable in here:
<style type="text/css"> blockquote { color: #AA0; display: block; padding: 2px 20px 2px; font-size: 110%; width: 350px; } img.floatLeft { float: left; margin: 3px; } blockquote.floatLeft { float: left; margin: 4px; } blockquote.floatRight { float: right; margin: 4px; } </style> Did you have something specific in mind for the speech mark images? |
thanks for that. I'll have a go at this during the week.
Probably something similar to the speech marks you get when you quote on vbulletin.org Quote:
|
@Spank: nice idea...
@David: how am I going to move the quotation image to the right of the quote instead of the left? |
Just a stab, but try this:
In your CSS, change this: Code:
img.floatLeft { Code:
img.floatRight { Code:
<blockquote class="floatLeft"><p><span><img class="floatLeft" Code:
<blockquote class="floatLeft"><p><span><img class="floatRight" |
Thanks David. It worked perfectly.
|
Glad you like it.
|
Did you ever get a chance to fix the:
Quote:
Thank you! |
I haven't installed this yet, but it does look nice! If it works, and I see no reason why it wouldn't, on vbadvanced (and possibly on vbdrupal - as I use both), I'm sure I'll be investigating the option of installing...
Nice work! |
Quote:
Quote:
|
Nudge....nudge...nudge..
lol Thanks in advance, Dave |
This is nice, but doesn't work within an[indent] tag. (Just an observation, not a complaint).
|
Ok, figured it out - almost tried to use javascript, but that was going overboard. Find where you want the quick reply button and put this snippet of code in there. I don't know why I didn't use this before. I was having a bald moment.
Code:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quoteit"><img src="http://www.yoursite.com/forums/images/editor/quoteit.png" alt="Wrap QUOTEIT tags around selected text" width="16" height="16" border="0" /></div></td> |
Works like a charm
For the new guys, the code is now the following: Quote:
BE SURE TO EDIT YOUR SITE NAME UNDER THE HTTP:// Thanks so much! Dave *installed* |
Don't forget to click install ;)
|
Anyone have this going on 3.8?
|
I plan to release it for 3.8
|
Nice one^^installed. . .
|
All times are GMT. The time now is 06:01 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:
|