Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
Round Quotes by BOP5 Details »»
Round Quotes by BOP5
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 05-22-2011 Last Update: 05-22-2011 Installs: 23
Supported Template Edits
Re-useable Code Translations  

Now that Internet Explorer 9 supports the "border-radius" property I thought it was time to update my old style round quotes with new, pure CSS based round quotes. The old quotes used small graphics in each corner to simulate roundness and had to be edited for each color and style you used.

This solution is all CSS based and uses your forums existing colors.

In your Admin CP -> Style Manager -> Edit Templates find the template: bbcode_quote

Erase it all and replace it with:

HTML Code:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
  
  <div width="100%">
	 
	 <div class="alt2" style="border: 1px outset; border-color: #EEFFFF; font-style:normal; padding:$stylevar[cellpadding]px; -moz-border-radius: 8px;  -webkit-border-radius: 8px; border-radius: 8px;">
	    
	    
				<div class="tcat" style="color: black; background-image:url('/forums/images/misc/quote_bar.png'); background-repeat:no-repeat; background-position: 100% 0; padding:3px; -moz-border-radius: 4px;  -webkit-border-radius: 4px; border-radius: 4px; margin-bottom: 3px;">
					<if condition="$show['username']"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
					<if condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]" style="vertical-align: middle; position:relative; top:-2px;" /></a></if><else />&nbsp;</if>
				</div>
				<div style="font-style:italic">$message</div>
	   </div>
	</div>
</div>

Next - Upload the file quote_bar.png to your images/misc directory.

quote_bar.png is optimized for the default vbulletin 3.x style. If you have different colors you will probably want to make your own graphic with your own colors. Just make sure it's the same height in pixels as the original.

That should look good on any light vBulletin style. If you have a black or dark style I would make 1 change:

Find:
Code:
<div class="tcat" style="color: black;
and change black to white or some other light color that fits your style. This will be the font color of the "Originally Posted by USERNAME" text.

If you want to uninstall simply revert the bbcode_quote template.

Demo: http://www.juot.net/forums/showthread.php?t=59271

Screenshot Attached.

Working and tested in the latest versions of IE, Firefox, Chrome, Opera and Safari.

NOTE: If you haven't already done so place this line at the top of your headinclude template for IE9 compatibility:
HTML Code:
<meta http-equiv="X-UA-Compatible" content="IE=9" />
Please Mark as Installed if you use this.

Download Now

File Type: zip BOP5 - Round Quotes.zip (6.1 KB, 98 views)

Screenshots

File Type: jpg roundquotes_ss.jpg (112.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 05-23-2011, 12:11 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 09-16-2011, 02:56 PM
mesdar mesdar is offline
 
Join Date: Jul 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you ..
Reply With Quote
Благодарность от:
BirdOPrey5
  #4  
Old 09-16-2011, 03:21 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

Here's you a better showoff, BOP5, if you want to use it:

http://usmessageboards.com/showthread.php?t=9083
Reply With Quote
Благодарность от:
BirdOPrey5
  #5  
Old 10-24-2011, 10:12 AM
prandah's Avatar
prandah prandah is offline
 
Join Date: Jun 2010
Location: Indonesia
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thank you

correct
if your forum runs with root directory
change this line

PHP Code:
/forums/images/misc/quote_bar.png 
to

PHP Code:
/images/misc/quote_bar.png 
Reply With Quote
  #6  
Old 05-31-2012, 05:58 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thank you
Reply With Quote
  #7  
Old 05-31-2012, 10:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Please "Mark as Installed" in the top post.
Reply With Quote
  #8  
Old 03-15-2015, 01:01 PM
3saltoot 3saltoot is offline
 
Join Date: Mar 2015
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed...

Good wishes
Reply With Quote
Благодарность от:
BirdOPrey5
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 02:20 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.04644 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (3)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete