Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

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
  #2  
Old 01-03-2008, 08:12 PM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool thanks!

Here's a white version of the quote image for those of you with dark styles.

(demo)
Reply With Quote
  #3  
Old 01-03-2008, 08:14 PM
FaNtAzY FaNtAzY is offline
 
Join Date: Feb 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW... thank u very much dude... i postet a request some days ago and here it is.... awesome... it's such a nice look thank you man! :up:
Reply With Quote
  #4  
Old 01-03-2008, 08:26 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Compressed CSS:
Code:
.quote{margin:15px 10px;background:url(images/misc/q.gif) 0 0 no-repeat;padding-left:25px}blockquote.bq{font:italic 10pt verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;border-left:3px solid #ccc;margin:0;padding:0 5px}
Thanks by the way.
Reply With Quote
  #5  
Old 01-03-2008, 09:53 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! But is it possible to have a quote at the end, too?
Reply With Quote
  #6  
Old 01-03-2008, 10:21 PM
FaNtAzY FaNtAzY is offline
 
Join Date: Feb 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snake View Post
Thanks for this! But is it possible to have a quote at the end, too?
.... i have not so good abilities in coding but I think you can easily add a vertical flipped version of the quote icon at the end of the code... (I have no time atm for testing it myself ^^) or wait for the coder who possibly can add your request... because your idea interesst me too
Reply With Quote
  #7  
Old 01-03-2008, 10:24 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be interested in adding this if it could be coded to include the end quote.
I always thought it looked unfinished when I see it used on vborg.
Reply With Quote
  #8  
Old 01-03-2008, 10:27 PM
ran_iu_Conan ran_iu_Conan is offline
 
Join Date: Jul 2006
Location: Viet Nam
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i very very like it
thanks thanks so much
Reply With Quote
  #9  
Old 01-03-2008, 10:29 PM
ran_iu_Conan ran_iu_Conan is offline
 
Join Date: Jul 2006
Location: Viet Nam
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and bbcode php , code , htm ?
do you know ? ^_^
Reply With Quote
  #10  
Old 01-03-2008, 10:49 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG View Post
I'd be interested in adding this if it could be coded to include the end quote.
I always thought it looked unfinished when I see it used on vborg.
Yeah, that what I was talking about. It looks like a bit incomplete so it would be nicer if there's one at the end as well.
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 12:50 AM.


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.10924 seconds
  • Memory Usage 2,327KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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