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
  #42  
Old 01-06-2008, 10:48 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good. nice work.
Reply With Quote
  #43  
Old 01-08-2008, 06:42 AM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, but how do you decrease the huge space between the quote symbols?
Reply With Quote
  #44  
Old 01-08-2008, 11:28 PM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could you do something to the CODE bbcode?
Reply With Quote
  #45  
Old 01-09-2008, 01:17 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demgel View Post
could you do something to the CODE bbcode?
Please be more specific. Thanks
Reply With Quote
  #46  
Old 01-09-2008, 03:04 PM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vietfancy View Post
Please be more specific. Thanks
I mean, the normal CODE template is a little bit ugly... with courier new, and just a box with normal borders... if you could do something like this quote box with the code box, will be nice... may be a image of this: instead the quotes...

I hope you understand me
Reply With Quote
  #47  
Old 01-09-2008, 08:44 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woohoo works thank u!
Reply With Quote
  #48  
Old 01-10-2008, 03:39 AM
Mike08 Mike08 is offline
 
Join Date: Sep 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great!! Thanks for share
Reply With Quote
  #49  
Old 01-10-2008, 01:32 PM
Gez Gez is offline
 
Join Date: Jan 2003
Location: south africa
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, i have been looking for this for a long time
Reply With Quote
  #50  
Old 01-10-2008, 08:03 PM
kiFF kiFF is offline
 
Join Date: Apr 2007
Location: US
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one answered my question yet.

My problem is very simple. Let's say I type the following code:

Quote:
[quote.]How are you?[/quote.]

I'm fine, thanks!

If I press "Preview", it automatically changes the code to this:

Quote:
[quote.]How are you?[/quote.]I'm fine, thanks!

As you can see, it automatically puts the text on one line. This is annoying because some people like to add spaces to make it easier to read or edit their posts.

Why is it doing this? Thanks.
Reply With Quote
  #51  
Old 01-10-2008, 10:22 PM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kiFF View Post
No one answered my question yet.

My problem is very simple. Let's say I type the following code:




If I press "Preview", it automatically changes the code to this:




As you can see, it automatically puts the text on one line. This is annoying because some people like to add spaces to make it easier to read or edit their posts.

Why is it doing this? Thanks.
I don't know why it happened to you, but everything is ok with me, and i guess it's ok for everyone else as well.
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 12:32 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.04480 seconds
  • Memory Usage 2,343KB
  • 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_php
  • (6)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
  • (4)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