vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - Alternate Quote Layouts (https://vborg.vbsupport.ru/showthread.php?t=241734)

TheInsaneManiac 05-01-2010 10:00 PM

Alternate Quote Layouts
 
If you don't like the current VBulletin Quote BBCode here are some other layouts. Simply replace the contents of bbcode_quote with one of these codes. The PM codes will only show the Quote layout in PMs only.

Email Look
Code:

_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
                <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
               
            <else />
                <p><p><i>$message</i>
            </if><p><p>
_________________________________________________________
<br />

Sleek Look
Code:

<fieldset>
<legend>
Quote:
        <if condition="$username != ''">
        Originally posted by: <b>$username</b>  <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>
        </span>
        </if>
        </legend>
$message
</fieldset>


Show in PM only Email Look
Code:

<if condition="THIS_SCRIPT=='private'">
_________________________________________________________
<p><p>
<strong>$vbphrase[quote]:</strong>
<p><p>
<if condition="$show['username']">
                <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase>:
<p><i>$message</i>
<p><p>
               
            <else />
                <p><p><i>$message</i>
            </if><p><p>
_________________________________________________________
<br />
<else />
<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:1px inset">
                        <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>
                                </div>
                                <div style="font-style:italic">$message</div>
                        <else />
                                $message
                        </if>
                </td>
        </tr>
        </table>
</div>
</if>

Show in PM only Sleek Look
Code:

<fieldset>
<legend>
Quote:
        <if condition="$username != ''">
        Originally posted by: <b>$username</b>  <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>
        </span>
        </if>
        </legend>
$message
</fieldset>
<else />
<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:1px inset">
                        <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>
                                </div>
                                <div style="font-style:italic">$message</div>
                        <else />
                                $message
                        </if>
                </td>
        </tr>
        </table>
</div>
</if>



All times are GMT. The time now is 12:23 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.01140 seconds
  • Memory Usage 1,722KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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