vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Quote style as here (https://vborg.vbsupport.ru/showthread.php?t=164890)

andreamarucci 12-11-2007 09:26 AM

Quote style as here
 
I would like to modify the quote style on my board to looks like here with the quote and the little grey bar on the left.

Could someone suggest me how to do that or where to modify the CSS?

Thanks in advance

Shelley_c 12-11-2007 05:16 PM

You need to go into the bbcode_quote template.

doobiefillin 12-12-2007 03:59 PM

Quote:

test
hmm

deepak7 12-16-2007 12:45 PM

any idiots guide for doing this like on vbulletin.org ?

fn9mm 12-16-2007 10:39 PM

also interested in template changes, someone plz help ?

z3r0 12-17-2007 06:06 AM

1 Attachment(s)
I have got this working on my site using the following code to replace the bbcode_quote template, and copying q.gif to images/misc

Code:

<div style="margin:20px 10px; background: url(images/misc/q.gif) 0 0 no-repeat">               
  <div style="padding-left:25px">
    <div style="padding:0 5px; border:0px solid #ccc; border-left-width:3px">
           
<if condition="$show['username']"><div>
                                        <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></if>
   
    <br />
    <em>$message</em>
<br />
    </div>
  </div>
</div>
<br>

I am no coder, I just tinker with stuff until it works so use at your own risk.

I'm sure somebody else will come up with a nicely coded version soon.

fn9mm 12-17-2007 11:51 AM

1 Attachment(s)
well you should tinker more often then ;)
works great, thanks a lot for the help mate


I inverted the q.gif and attached it here for use for others, (q2.gif
how could i implement this final quote at the end of each quote,
where should I add code in the above? and how ... ?

Shelley_c 12-17-2007 12:12 PM

1 Attachment(s)
I added the code/image after...

Code:

$message
                        </if>


fn9mm 12-17-2007 01:12 PM

thx Shelley, could u however post the integral bb_quote code you've got from your admin CP please, that would help a lot

Shelley_c 12-17-2007 02:36 PM

Quote:

Originally Posted by fn9mm (Post 1402795)
thx Shelley, could u however post the integral bb_quote code you've got from your admin CP please, that would help a lot

It's a complete mess but here is what I have in my template the style is a w.i.p and the code is currently going to be cleaned up.

Code:

<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
        <div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
        <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
        <tr>
                <td class="alt2" style="border-top: 1px dotted #ebc05a;
border-bottom: 1px dotted #ebc05a;
border-right: 1px solid #ebc05a;
border-left: 8px solid #ebc05a;">
                        <if condition="$show['username']">
                                <div>
                                        <img src="$stylevar[imgdir_misc]/quote_bit.gif" alt="" width="20" height="16"/>
                                        <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>
                                </div>
                                <div style="font-style:italic">$message</div>
                        <else />
                                $message
                        </if><div align="right"><img src="$stylevar[imgdir_misc]/quote_bit1.gif" alt="" width="20" height="16"/></div>
                </td>
        </tr>
        </table>
</div>



All times are GMT. The time now is 10:41 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.01097 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete