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
  #72  
Old 05-05-2008, 04:46 AM
edgeyveggie edgeyveggie is offline
 
Join Date: Mar 2007
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get this to work. Is it a problem if I do all of the modifications to a parent style and have it effect the children of that style or will this not work? I tried it with the template part of the installation and that worked but I had to manually go into the child styles to do the CSS and it still didn't work, I would get the 3px border on the left side but no quote image even though it was in the image/misc folder, and even after moving it into my styles respective "misc" image folder it still didn't work, I don't know what the problem is. (The image is prior to me doing the custom CSS for each child style so it does not show the gray 3px border)
Reply With Quote
  #73  
Old 05-11-2008, 06:08 PM
edgeyveggie edgeyveggie is offline
 
Join Date: Mar 2007
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anone..?
Reply With Quote
  #74  
Old 05-18-2008, 12:18 PM
GremlinPrince GremlinPrince is offline
 
Join Date: May 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lovin it thanks
Reply With Quote
  #75  
Old 05-19-2008, 12:03 AM
silly rabbit silly rabbit is offline
 
Join Date: Oct 2005
Location: Atlanta/NYC
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice look vietfancy!

I added 1 thing to your quote design. I created a user profile field giving the user the choice of the original 'vBulletin' quote or your 'custom' style. Rather than "replace" the templates I placed a conditional:
PHP Code:
<if condition="$bbuserinfo['field25'] == 'sharp'">
. . . 
your code
<else />
. . . 
original code
</if> 
Seems to work OK and gives the board a little more individuality and flare. I love it when someone says "how'd you do that?" and I of course reply "you should check your usecp options a little more often".

Oh, I also added a very thin:
PHP Code:
    border-bottom:1px solid #ccc; 
to the CSS and like it just fine!

thx from Rabbit

(Oops! Users have choice of three styles now! Just saw "Better Quote Box" which I labeled as "rounded". Why Not? Might have to play with text size and color on this one, kinda jumps out at ya.)
Reply With Quote
  #76  
Old 05-22-2008, 06:53 AM
leannet leannet is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and its working fine.

Is it possible to have a border around it and a different background colour so that it stands out.

This is what is currently looks like on my site.







This is an example of how I want it to look.
Reply With Quote
  #77  
Old 08-02-2008, 08:27 PM
Atlantean Atlantean is offline
 
Join Date: Jun 2008
Location: dublin
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leannet View Post
Is it possible to have a border around it and a different background colour so that it stands out.
I would also like to be able to do this.
Reply With Quote
  #78  
Old 08-11-2008, 09:04 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

simple easy goodness. THANKS!1

btw, viet.. you back? I'd LOVE to see some updates to some of your skins for 3.7.x
Reply With Quote
  #79  
Old 08-13-2008, 08:55 PM
Master_Biji Master_Biji is offline
 
Join Date: Feb 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this mod. Thanks a lot!!

Installed!
Reply With Quote
  #80  
Old 08-19-2008, 12:45 PM
dfc005 dfc005 is offline
 
Join Date: Mar 2008
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it but can't get the quotes to appear.... Have uploaded the image files and have made the changes. But no quotes....
Reply With Quote
  #81  
Old 08-21-2008, 04:04 AM
dfc005 dfc005 is offline
 
Join Date: Mar 2008
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed the CSS around a bit and it's working fine for me. Nice.
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 01:55 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.06318 seconds
  • Memory Usage 2,339KB
  • 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_php
  • (2)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