vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - AioNets : Custom bbcode Quote (https://vborg.vbsupport.ru/showthread.php?t=250995)

A.Chakery 09-21-2010 10:00 PM

AioNets : Custom bbcode Quote
 
1 Attachment(s)
Custom bbcode Quote
Brought you by : AioNets.com
-------------

Installation Guide :

Step-1:

Go to : Admincp>Styles & Templates>Expand your template

then Goto bbcode_quote template and replace entire contents with below :

HTML Code:

<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">

<div style="width:100%">
       
            <if condition="$show['username']">

                <div class="quotetop">
                    <img class="inlineimg" src="http://www.YOUR-DOMAIN.com/images/misc/q.gif" /> &nbsp;$vbphrase[quote]: <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" class="quotemain">$message<img class="inlineimg" align="right" src="http://www.YOUR-DOMAIN.com/images/misc/q2.gif" /></div>
            <else />
    <div class="smallfont quotetop"><img class="inlineimg" src="http://www.YOUR-DOMAIN.com/images/misc/q.gif" /> &nbsp;$vbphrase[quote]:</div>
                <div class="quotemain">$message<img class="inlineimg" align="right" src="http://www.YOUR-DOMAIN.com/images/misc/q2.gif" /></div>
            </if>
</div>
</div>

Step-2:

Rename http://www.YOUR-DOMAIN.com to your forum URL.


Step-3:

Goto Your Main-Css and enter below CSS codes at the bottom of the additional CSS section. and SAVE


HTML Code:

/* AioBoards custom quote bbcode*/

.quotetop
{
    width=98%
    color: #000;
    margin: 8px auto 0px auto;
    font-weight:bold;
    font-size:10px;
    padding: 8px;
    background-color:#E4EAF2;
    border-left: 4px solid #8394B2;
    border-top: 1px dotted #000;
    border-right: 1px dotted #000;
}
.quotemain
{
    width=98%
    color: #465584;
    background-color: #FAFCFE;
    border-left: 4px solid #8394B2;
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    padding: 4px;
    margin: 0px auto 8px auto;
    font-style: italic;
        font-size: 9px;
}



Step-4:


Upload the attached images to : YOUR-DOMAIN.com/images/misc/


Step-5:
Click Installed and Enjoy ;)


Skyrider 09-23-2010 12:56 PM

Quote doesn't seem to work in signatures.

A.Chakery 09-24-2010 12:24 AM

I am not sure about sign. but I am using it in my posts and it works fine.


All times are GMT. The time now is 09:17 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.00980 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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