Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quote It! Emphasize a quote to draw attention Details »»
Quote It! Emphasize a quote to draw attention
Version: 1.00, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 07-26-2008 Last Update: Never Installs: 25
Additional Files Translations  
No support by the author.

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">
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>
<blockquote class="floatLeft"><p><span><img class="floatLeft" src="http://www.yoursite.com/forums/images/quote.png" alt="" /></span>{param}</p></blockquote>
Example: [quoteit]This is quotable Text![/quoteit]

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">
to
Code:
<blockquote class="floatRight">
Also, if you want to change the color of the quoted text, just look for this:
Code:
<style type="text/css">
blockquote {
	color: #AA0;
and change the #AA0; to whatever color you want.

Temporary Demo (may only last a week or two):
http://www.christianboards.org/forum...74&postcount=1

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-06-2008, 01:42 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Spank: nice idea...

@David: how am I going to move the quotation image to the right of the quote instead of the left?
Reply With Quote
  #23  
Old 08-06-2008, 01:57 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a stab, but try this:
In your CSS, change this:
Code:
img.floatLeft {
float: left;
to
Code:
img.floatRight {
float: right;
and then change this part:
Code:
<blockquote class="floatLeft"><p><span><img class="floatLeft"
to
Code:
<blockquote class="floatLeft"><p><span><img class="floatRight"
I'm at work so I don't have time to test this.
Reply With Quote
  #24  
Old 08-06-2008, 08:41 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks David. It worked perfectly.
Reply With Quote
  #25  
Old 09-10-2008, 08:23 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it.
Reply With Quote
  #26  
Old 09-11-2008, 03:15 PM
SuperDave71 SuperDave71 is offline
 
Join Date: Aug 2007
Location: Memphis
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever get a chance to fix the:

Quote:
However, where it says this... id="{$editorid}_cmd_quoteit" - it isn't working (of course not) - but I've not found a way yet to make it work - possibly this afternoon if I have time.

Thank you!
Reply With Quote
  #27  
Old 09-11-2008, 03:18 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #28  
Old 09-12-2008, 12:09 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SuperDave71 View Post
Did you ever get a chance to fix the:




Thank you!
No, I didn't - sometimes I need a little nudge

Quote:
Originally Posted by karlm View Post
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!
I've heard it does work on vbadvanced - but I've not heard any feedback on vbdrupal. It should work wherever bbcode works.
Reply With Quote
  #29  
Old 09-12-2008, 01:03 PM
SuperDave71 SuperDave71 is offline
 
Join Date: Aug 2007
Location: Memphis
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nudge....nudge...nudge..

lol

Thanks in advance,

Dave
Reply With Quote
  #30  
Old 09-13-2008, 12:59 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice, but doesn't work within an[indent] tag. (Just an observation, not a complaint).
Reply With Quote
  #31  
Old 09-16-2008, 02:26 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07427 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete