Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Better Quote Box (just like on vbulletin.org) Details »»
Better Quote Box (just like on vbulletin.org)
Version: 1.00, by vietfancy vietfancy is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 01-02-2008 Last Update: Never Installs: 162
Template Edits
 
No support by the author.

Upload this image to your image/misc folder:

Add this to your Additional CSS:
PHP Code:

.quote {
    
margin:15px 10px;
    
backgroundurl(images/misc/q.gif0 0 no-repeat;
    
padding-left:25px}
blockquote.bq {
    
fontitalic 10pt verdanagenevalucida'lucida grande'arialhelveticasans-serif;
    
border-left:3px solid #ccc; 
    
margin:0px;
    
padding:0 5px


then replace templates bbcode_quote and blog_bbcode_quotewith this code:

PHP Code:
<div style="margin:3px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
    <
table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%">
    <
tr>
        <
td><div class="quote" style="margin-bottom:2px">
            <if 
condition="$show['username']">
                <
div class="smallfont" style="margin-bottom:2px">
                    <
phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>
                    <if 
condition="$postid"><a href="showthread.php?$session[sessionurl]p=$postid#post$postidrel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/viewpost.gif" border="0" alt="$vbphrase[view_post]/></a></if>
                </
div>
                <
blockquote class="bq" style="font-style:italic">$message</blockquote>
            <else />
                <
blockquote class="bq" style="font-style:italic">$message</blockquote>
            </if>
        </
div></td>
    </
tr>
    </
table>
</
div
Done!


And here is what it looks like:

Quote:
Originally Posted by vietfancy View Post
This code can be use for many versions, not just 3.6.8 . Have fun people.
==========================
If you want to have quote at the end then upload this image to misc folder and use this css instead.

PHP Code:
.quote {
    
margin:15px 10px;
    
backgroundurl(images/misc/q.gif0 0 no-repeat;
    
padding-left:25px}
blockquote.bq {
    
backgroundurl(images/misc/q1.gifno-repeat bottom right;
    
fontitalic 10pt verdanagenevalucida'lucida grande'arialhelveticasans-serif;
    
border-left:3px solid #ccc; 
    
margin:0px;
    
padding:0 5px

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
ricardoNJ

Comments
  #12  
Old 01-03-2008, 11:05 PM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ran_iu_Conan View Post
and bbcode php , code , htm ?
do you know ? ^_^
Will do when i have time

Quote:
Originally Posted by Snake View Post
Thanks for this! But is it possible to have a quote at the end, too?
You can do that easily just by adding a few lines of css code. But it wouldn't look good anymore.
Reply With Quote
  #13  
Old 01-03-2008, 11:09 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's easy for you to say. The quote icon needs to be vertical flipped and I'm not really good at graphics, and not to mention CSS editing. Maybe you can help a brother out?
Reply With Quote
  #14  
Old 01-04-2008, 02:41 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snake View Post
It's easy for you to say. The quote icon needs to be vertical flipped and I'm not really good at graphics, and not to mention CSS editing. Maybe you can help a brother out?
hahahaha bro! I'm not going to make that button for ya. you have to make it yourself and named it q1.gif, then upload it to misc folder, then replace the css with the code below.

Code:
.quote {
	margin:15px 10px;
	background: url(images/misc/q.gif) 0 0 no-repeat;
	padding-left:25px}
blockquote.bq {
        background: #FFF url(images/misc/q1.gif) no-repeat bottom right;
	font: italic 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	border-left:3px solid #ccc; 
	margin:0px;
	padding:0 5px}
Reply With Quote
  #15  
Old 01-04-2008, 04:50 AM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, bro
do you have to change the bb_quote template as well if you want quote at the end ? It only show the first quote after i add the q1.gif and the css
Reply With Quote
  #16  
Old 01-04-2008, 05:55 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not showing at the end for me either.
Reply With Quote
  #17  
Old 01-04-2008, 06:22 AM
drhimadri82 drhimadri82 is offline
 
Join Date: Aug 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any solution for legacy???
Reply With Quote
  #18  
Old 01-04-2008, 07:08 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drhimadri82 View Post
Any solution for legacy???
Quote:
Originally Posted by SBlueman View Post
Not showing at the end for me either.
Quote:
Originally Posted by Quantnet.org View Post
thanks, bro
do you have to change the bb_quote template as well if you want quote at the end ? It only show the first quote after i add the q1.gif and the css
Done, sorry, i misspelled "images" in the css
Reply With Quote
  #19  
Old 01-04-2008, 08:53 AM
drhimadri82 drhimadri82 is offline
 
Join Date: Aug 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Images now not appearing in quotes.....I mean these
Reply With Quote
  #20  
Old 01-04-2008, 09:24 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drhimadri82 View Post
Images now not appearing in quotes.....I mean these
had you uploaded the image yet?

use this css instead:

Code:
.quote {
    margin:15px 10px;
    background: url(images/misc/q.gif) 0 0 no-repeat;
    padding-left:25px}
blockquote.bq {
    background: url(images/misc/q1.gif) no-repeat bottom right;
    font: italic 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    border-left:3px solid #ccc; 
    margin:0px;
    padding:0 5px}
Reply With Quote
  #21  
Old 01-04-2008, 10:12 AM
drhimadri82 drhimadri82 is offline
 
Join Date: Aug 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vietfancy View Post
had you uploaded the image yet?

use this css instead:

Code:
.quote {
    margin:15px 10px;
    background: url(images/misc/q.gif) 0 0 no-repeat;
    padding-left:25px}
blockquote.bq {
    background: url(images/misc/q1.gif) no-repeat bottom right;
    font: italic 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    border-left:3px solid #ccc; 
    margin:0px;
    padding:0 5px}
I already found the images in the previous code when the legacy layout got messy....so images are fine I guess....still I am checking once again...

EDIT: working...

*installed
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 03:25 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.04696 seconds
  • Memory Usage 2,351KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_php
  • (9)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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • 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