Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #12  
Old 08-01-2008, 04:40 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome. thanks for a great support.
Reply With Quote
  #13  
Old 08-01-2008, 04:41 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem
Reply With Quote
  #14  
Old 08-01-2008, 04:49 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hope you can answer me this ... how am I going to show all bbcode for the quick reply/quick comment (vb Blog)
Reply With Quote
  #15  
Old 08-01-2008, 10:51 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean? Like have the icons themselves show up there?
Reply With Quote
  #16  
Old 08-02-2008, 05:01 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, right now the quick comment in Blog doesn't have all the custom bb code
Reply With Quote
  #17  
Old 08-02-2008, 08:02 AM
GrandHolyKing GrandHolyKing is offline
 
Join Date: Nov 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by rapidphim View Post
yes, right now the quick comment in Blog doesn't have all the custom bb code
So far, what I've gotten to work in the blogs is to do this:
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>
	<td><div class="imagebutton" id="{$editorid}_cmd_quoteit"><img src="$stylevar[imgdir_editor]/quoteit.png" width="16" height="16" alt="Quote It!" /></div></td>
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.

Quote:
Originally Posted by GrandHolyKing View Post
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.
Yes, this is normal. You are emphasizing the text if you are highlighting it. However, what I would recommend, and what I do, is to just copy and paste where you want the quoteit to go (above, below) and then emphasize it with the bbcode, leaving the original untouched. Of course, don't go too high or low or it doesn't look right.
Quote:
Originally Posted by GrandHolyKing View Post
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.
Currently no, as it is bbcode and made to wrap the tags around the selected text. I had originally sought out to do just that - create a separate text box to type in what you want to quote and then allow you to just do the rest as you normally would have but there were many issues with that. This was by far more easier with very little issues - and it worked relatively easy. Depending on time, I may work on the other version I originally intended to.
Reply With Quote
  #19  
Old 08-02-2008, 12:18 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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?
Reply With Quote
  #21  
Old 08-02-2008, 01:35 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
<--------like that =D
Reply With Quote
Reply

Thread Tools

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 08:52 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.06300 seconds
  • Memory Usage 2,311KB
  • 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
  • (5)bbcode_code
  • (4)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