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

Reply
 
Thread Tools
Better Quotes - Round Quotes Details »»
Better Quotes - Round Quotes
Version: 1.00, by Sofia Sofia is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 05-26-2009 Last Update: 05-27-2009 Installs: 262
Re-useable Code Translations  
No support by the author.

Better Quotes - Round Quotes 3.8.x



Description:

Little mod. This modification allows you to have round quotes.



https://vborg.vbsupport.ru/vborg_mis...hreadid=214643







0. PSD

You must edit PSD Files (only two files) with PhotoShop.
Replace the red color by color of your posts (class alt1)


I'm not willing to modify background colors for each member.



1. Upload

Upload images in the zip into "images/misc"



2. CSS


ACP >> Styles & Templates >> Styles Manager >> Choose a style >> All Style Options (Go) >> At the bottom : Additional CSS Definitions, in the second box :


Enter:


HTML Code:
.quote_body {
    padding: 3px;
    background-color: #F8F8F8;
    color: #444;
}
.quote_global-quote { background: #FAFAFA url(images/misc/q_quote.png) top right no-repeat; }
.quote_global {
    background-color: #FAFAFA;
    margin: 3px 20px 3px 20px;
}

.quote_head, .quote_head div, .quote_head span, .quote_foot, .quote_foot div, .quote-foot span {
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 1px;
    font-size: 1px;
    height: 5px;
}
.quote_head, .quote_head div {
    background: url(images/misc/bg_quote1.gif) top right no-repeat;
}
.quote_foot, .quote_foot div {
    background: url(images/misc/bg_quote2.gif) top right no-repeat;
}
.quote_head div, .quote_foot div {
    background-position: 0 -5px;
    height: 5px;
    padding: 0 5px;
}
.quote_head span {
    display: block;
    border-top: solid 1px #CCC;
    height: 4px;
}
.quote_foot span {
    display: block;
    border-bottom: solid 1px #CCC;
    height: 4px;
}
.quote_name, .quote_body {
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;
    padding: 4px;
}



3. Template



In the template bbcode_quote,



Replace all your code by:


HTML Code:
<table class="quote_global quote_global-quote" cellspacing="0">
<tr>
    <td class="quote_head"><div><span></span></div></td>
</tr>
<tr>
    <td class="quote_name">
        <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]" /></a></if>
        <else />
            <div class="smallfont">$vbphrase[quote]:</div>
        </if>
    </td>
</tr>
<tr>
    <td class="quote_body">
        $message
    </td>
</tr>
<tr>
    <td class="quote_foot"><div><span></span></div></td>
</tr>
</table>



Enjoy!

Download Now

File Type: zip forum - upload.zip (1.4 KB, 764 views)
File Type: zip PSD.zip (6.6 KB, 549 views)

Screenshots

File Type: png plop.png (22.0 KB, 0 views)

Show Your Support

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

Comments
  #42  
Old 07-08-2009, 01:01 AM
way2xtreme way2xtreme is offline
 
Join Date: Oct 2006
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question, no matter how I change the code in template bbcode_quote, it doesn't show the changes, I have saved it in the style I am using as well as the default style...

I even tried empty cache / cookies whatsoever on two different browsers, still see no changes (I checked the source code and couldn't see the changes)..

Checked in the plug-in / product as well, dont see anything related....


So... Does anyone here happen to know how to fix this?

Many THX


Btw I am on 3.6.1
Reply With Quote
  #43  
Old 07-08-2009, 02:05 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mistah Roth View Post
Marked as installed.

Hi, this works brilliantly in posts but doesn't have any effect on quotes in sigs. Obviously that looks silly. I can't find a template for the quote box in sigs, I figured it'd be the same.

Any help? Thanks.
Sorry but I don't know how I can do this :s

Quote:
Originally Posted by way2xtreme View Post
I have a question, no matter how I change the code in template bbcode_quote, it doesn't show the changes, I have saved it in the style I am using as well as the default style...

I even tried empty cache / cookies whatsoever on two different browsers, still see no changes (I checked the source code and couldn't see the changes)..

Checked in the plug-in / product as well, dont see anything related....


So... Does anyone here happen to know how to fix this?

Many THX


Btw I am on 3.6.1

Have you modified the bbcode_quote template? Have you used the right style?
Reply With Quote
  #44  
Old 07-08-2009, 05:12 PM
P?ŋĭsЋ?я's Avatar
P?ŋĭsЋ?я P?ŋĭsЋ?я is offline
 
Join Date: Mar 2009
Location: Trabzon
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very sofia
Reply With Quote
  #45  
Old 07-08-2009, 10:06 PM
way2xtreme way2xtreme is offline
 
Join Date: Oct 2006
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sofia View Post
Sorry but I don't know how I can do this :s




Have you modified the bbcode_quote template? Have you used the right style?

I am certain I have modified the quote template in the right style... It doesn't show, then I modified the templates in ALL styles, it still doesn't work ....

Any ideas?
THX
Reply With Quote
  #46  
Old 07-14-2009, 02:39 PM
11133's Avatar
11133 11133 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone tell me how to make
[code] [HTML][PHP] with this style
only with difirent image on top right
Reply With Quote
  #47  
Old 07-15-2009, 02:48 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work for 3.8.1
Reply With Quote
  #48  
Old 07-15-2009, 05:15 PM
biome.pat biome.pat is offline
 
Join Date: Aug 2008
Location: Toronto, ON, Canada
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Nominated rated installed
Works as a charm for me, after I replaced first line in template "bbcode-quote"
with
Code:
<table class="quote_global quote_global-quote" cellspacing="0" width="95%">
as you suggested

Just one small noob question
What's for that PSD file for, I only uploaded two gif images and that PNG one !?

And one more question
How to change colour within quote field, I would like that quoted txt stick out a bit more?

Cheers
In case you happen to like the differently sized quote boxes (like I do), you can just change the last css item to this:
Code:
.quote_name, .quote_body {
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;
    padding: 4px;
    min-width: 300px;
}
I just added min-width so that my longest username can be accommodated without falling under the quote image. Then again, this won't be so clean a solution if users resize their browser text, but whatever.
Reply With Quote
  #49  
Old 07-15-2009, 05:45 PM
ravi_9793 ravi_9793 is offline
 
Join Date: Sep 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, installed.. worked like charm.
Reply With Quote
  #50  
Old 07-24-2009, 06:39 AM
freeoffline freeoffline is offline
 
Join Date: Dec 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10q
Reply With Quote
  #51  
Old 07-26-2009, 11:04 AM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm having problems

When someone clicks the little viewpost.gif to take them to the original quoted post it opens a new tab and opens viewpost.gif in a different tab then loads the original post in the other tab. any idea why this may be happening? here is the code below:

PHP Code:
     <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> 
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:40 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.08802 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete