vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Better Quote Box (https://vborg.vbsupport.ru/showthread.php?t=177322)

Madlike 04-26-2008 10:00 PM

Better Quote Box
 
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 :)

rizelim 04-27-2008 07:40 PM

thanks

Madlike 04-27-2008 08:07 PM

You're WeLcome & Thank You :)

Madlike 04-27-2008 09:54 PM

7 downloads, 1 installs

Jasem 04-28-2008 03:03 AM

Thank you very much

Madlike 04-28-2008 07:08 AM

You're WeLcome & Thank You :)

KingPin6 04-28-2008 07:12 AM

Thank you.... :)

Madlike 04-28-2008 07:17 AM

Now I Will do it with xml File :)

za3bour 04-28-2008 07:20 AM

How can i change it so that it fit arabic ? cause now the alignment is left while i want it right ?

rooban12 04-28-2008 10:17 AM

well done man you have done a good job

K4GAP 04-28-2008 01:49 PM

Wow this would be great if it had images for those of us with dark color schemes.

rizelim 04-28-2008 06:26 PM

this is a bug

burada çizgiler gözükmüyor..

Madlike 04-30-2008 09:10 AM

Workinq Well As 3.6.9

myown 05-09-2008 01:37 PM

looks great will be installing soon.

AzzidReign 05-12-2008 06:26 PM

Will this work with 3.7?

mikkitine 05-12-2008 06:32 PM

^ There is no reason why it shouldn't.

AcidX 05-17-2008 05:38 PM

Quote:

Originally Posted by rizelim (Post 1501680)
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

inciarco 07-31-2008 03:20 PM

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

;)

:)

inciarco 07-31-2008 03:52 PM

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>

:)

ShawneyJ 09-04-2008 02:58 AM

Quote:

Originally Posted by inciarco (Post 1588431)
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.

ShawneyJ 09-04-2008 03:05 AM

edit: if the user has a name of 12 letters and gets quoted 2 words there names messes shit up.

ShawneyJ 09-04-2008 03:10 AM

edit: again lol, are you able to do this with a post?????
i like the look of it.

raja811 11-08-2008 11:30 PM

thabks

TheLastSuperman 11-08-2008 11:36 PM

Quote:

Originally Posted by jaycob (Post 1614101)
edit: again lol, are you able to do this with a post?????
i like the look of it.

Hmmm good idea..... I bet if so it's simple edit to postbit or postbit_legacy etc :D

Edit: And what's w/ the language eh? come on keep it clean lol, of course it messes **** up as the image shows :D

masterross 11-09-2008 09:18 PM

Quote:

Originally Posted by jaycob (Post 1614095)
edit: if the user has a name of 12 letters and gets quoted 2 words there names messes shit up.

use this 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 style="min-width:350px;" border="0" cellpadding="0" cellspacing="0">
          <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>

change:
Code:

table style="min-width:350px;"
to whatever u wish

Valyx 11-11-2008 01:53 AM

very nice.

Superdaantje 11-29-2008 12:14 PM

I have this problem with the quote with IE7 in Firefox it works oke. Some one an idee how to solve this ?

Many thanks

SpeedyHire 12-21-2008 09:07 AM

Quote:

Originally Posted by Superdaantje (Post 1675144)
I have this problem with the quote with IE7 in Firefox it works oke. Some one an idee how to solve this ?

Many thanks

same here
any fix for this yet?


All times are GMT. The time now is 05:54 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.01200 seconds
  • Memory Usage 1,858KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete