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 Details »»
Better Quote Box
Version: 1.00, by Madlike Madlike is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.9 Rating:
Released: 04-26-2008 Last Update: Never Installs: 40
Template Edits
 
No support by the author.

This hack replace QuoteBox with New QuoteBox

Upload quotes to /images Folder.

Change bbcode_quote Template With:

Code:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="margin-top: 5px; margin-bottom: 5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
  <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="75" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="50">
          <tr>
            <td width="28" valign="top">
            <img src="images/quotes/quot-top-left.gif" alt /></td>
            <td width="100%" style="background: url('images/quotes/quote-bg.gif') #FFFFFF; background-position: center;" valign="middle">
            <span class="smallfont">$vbphrase[quote]:</span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        <td align="left" style="background-image: url('images/quotes/quot-lr-bg.gif')" valign="bottom">
        </td>
        <if condition="$show['username']">
        <td width="0" align="left" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="225">
          <tr>
            <td valign="top">
            <img src="images/quotes/quot-by-left.gif" alt /></td>
            <td width="100%" style="background-image: url('images/quotes/quote-bg.gif'); background-position: center;" valign="middle">
            <span class="smallfont"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        <else /></if>
        <td align="left" style="background-image: url('images/quotes/quot-lr-bg.gif')" valign="bottom">
        </td>
        <td width="0" align="left" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="30">
          <tr>
            <td valign="top">
            <img src="images/quotes/quot-by-left.gif" alt /></td>
            <td width="100%" style="background-image: url('images/quotes/quote-bg.gif'); background-position: center;" valign="middle">
            <span class="smallfont"><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></span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        <td width="100%" align="right" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="100%">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td style="background-image: url('images/quotes/quot-top-bg.gif')" width="100%" valign="middle">
                </td>
                <td align="left" valign="top">
                <img src="images/quotes/quot-top-right-10.gif" alt /></td>
              </tr>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="10" style="background-image: url('images/quotes/quoting-left.gif')">
        </td>
        <td width="100%" valign="top" bgcolor="#ffffff"></td>
        <td width="10" style="background-image: url('images/quotes/quoting-right.gif')">
        </td>
      </tr>
      <tr>
        <td width="10" style="background-image: url('images/quotes/quot-left-bg.gif')">
        </td>
        <td width="100%" valign="top" style="background: url('images/quotes/quote.gif') #FFFFFF no-repeat" class="smallfont">
        <if condition="$show['username']"><i><br />$message</i>
        <else /><br />$message</if></td>
        <td width="10" style="background-image: url('images/quotes/quot-right-bg.gif')">
        </td>
      </tr>
      <tr>
        <td width="10" valign="bottom">
        <img src="images/quotes/quot-bot-left.gif" alt /></td>
        <td width="100%" style="background-image: url('images/quotes/quot-bot-bg.gif')">
        </td>
        <td width="10" valign="bottom">
        <img src="images/quotes/quot-bot-right.gif" alt /></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
Note: If you don't Like ' ' image, You Can Change it. Go to Extras/images/quotes And Choose one ,Replace name to quote.gif And Upload to /images/quotes Folder.

Many Thanx To Princeton For ' ' images

Show Your Support

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

Comments
  #12  
Old 04-28-2008, 01:49 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this would be great if it had images for those of us with dark color schemes.
Reply With Quote
  #13  
Old 04-28-2008, 06:26 PM
rizelim's Avatar
rizelim rizelim is offline
 
Join Date: Nov 2006
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a bug

burada çizgiler gözükmüyor..
Reply With Quote
  #14  
Old 04-30-2008, 09:10 AM
Madlike's Avatar
Madlike Madlike is offline
 
Join Date: Jan 2008
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Workinq Well As 3.6.9
Reply With Quote
  #15  
Old 05-09-2008, 01:37 PM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks great will be installing soon.
Reply With Quote
  #16  
Old 05-12-2008, 06:26 PM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work with 3.7?
Reply With Quote
  #17  
Old 05-12-2008, 06:32 PM
mikkitine's Avatar
mikkitine mikkitine is offline
 
Join Date: Oct 2007
Location: London
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ There is no reason why it shouldn't.
Reply With Quote
  #18  
Old 05-17-2008, 05:38 PM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rizelim View Post
this is a bug

burada ?izgiler g?z?km?yor..
It's a bug, a it doesn't look nice.

I've installed the modification, but it didn't look good so I'm using the "old" quote box again
Reply With Quote
  #19  
Old 07-31-2008, 03:20 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod, Thank You Very Much For Sharing it!! :up:

Quote:
Originally Posted by rizelim
this is a bug

burada ?izgiler g?z?km?yor..
The Bug is Not in the Code, is in the extension of one of the Quote's Images Files:

You Should Change the Extension GIF (Mayuscule) for gif (minuscule) in the files:

quote-bg.gif

and I also found that other File has the same Problem, so is better to change the Extension to lowercase:

spacer.gif



Reply With Quote
  #20  
Old 07-31-2008, 03:52 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

An Improvement for you code to Not to Show the Link to the Post if the Quote don't refer to a Post:

Notice the "<if condition="$postid">" and "</if>" Code, added to the Original Code:

Code:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="margin-top: 5px; margin-bottom: 5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
  <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="75" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="50">
          <tr>
            <td width="28" valign="top">
            <img src="images/quotes/quot-top-left.gif" alt /></td>
            <td width="100%" style="background: url('images/quotes/quote-bg.gif') #FFFFFF; background-position: center;" valign="middle">
            <span class="smallfont">$vbphrase[quote]:</span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        <td align="left" style="background-image: url('images/quotes/quot-lr-bg.gif')" valign="bottom">
        </td>
        <if condition="$show['username']">
        <td width="0" align="left" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="225">
          <tr>
            <td valign="top">
            <img src="images/quotes/quot-by-left.gif" alt /></td>
            <td width="100%" style="background-image: url('images/quotes/quote-bg.gif'); background-position: center;" valign="middle">
            <span class="smallfont"><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        <else /></if>
        <td align="left" style="background-image: url('images/quotes/quot-lr-bg.gif')" valign="bottom">
        </td>
        <if condition="$postid">
        <td width="0" align="left" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="30">
          <tr>
            <td valign="top">
            <img src="images/quotes/quot-by-left.gif" alt /></td>
            <td width="100%" style="background-image: url('images/quotes/quote-bg.gif'); background-position: center;" valign="middle">
            <span class="smallfont"><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></span></td>
            <td valign="top">
            <img src="images/quotes/quot-top-right.gif" alt /></td>
          </tr>
        </table>
        </td>
        </if>
        <td width="100%" align="right" valign="bottom">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="100%">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td style="background-image: url('images/quotes/quot-top-bg.gif')" width="100%" valign="middle">
                </td>
                <td align="left" valign="top">
                <img src="images/quotes/quot-top-right-10.gif" alt /></td>
              </tr>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="10" style="background-image: url('images/quotes/quoting-left.gif')">
        </td>
        <td width="100%" valign="top" bgcolor="#ffffff"></td>
        <td width="10" style="background-image: url('images/quotes/quoting-right.gif')">
        </td>
      </tr>
      <tr>
        <td width="10" style="background-image: url('images/quotes/quot-left-bg.gif')">
        </td>
        <td width="100%" valign="top" style="background: url('images/quotes/quote.gif') #FFFFFF no-repeat" class="smallfont">
        <if condition="$show['username']"><i><br />$message</i>
        <else /><br />$message</if></td>
        <td width="10" style="background-image: url('images/quotes/quot-right-bg.gif')">
        </td>
      </tr>
      <tr>
        <td width="10" valign="bottom">
        <img src="images/quotes/quot-bot-left.gif" alt /></td>
        <td width="100%" style="background-image: url('images/quotes/quot-bot-bg.gif')">
        </td>
        <td width="10" valign="bottom">
        <img src="images/quotes/quot-bot-right.gif" alt /></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
Reply With Quote
  #21  
Old 09-04-2008, 02:58 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Great Mod, Thank You Very Much For Sharing it!! :up:



The Bug is Not in the Code, is in the extension of one of the Quote's Images Files:

You Should Change the Extension GIF (Mayuscule) for gif (minuscule) in the files:

quote-bg.gif

and I also found that other File has the same Problem, so is better to change the Extension to lowercase:

spacer.gif



ahhhh yeah i see the .GIF i changed both to .gif and works great thanks.
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 11:37 AM.


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.06436 seconds
  • Memory Usage 2,324KB
  • 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
  • (2)bbcode_code
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete