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 CODE (https://vborg.vbsupport.ru/showthread.php?t=250996)

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

AioNets : Custom bbcode CODE
 
1 Attachment(s)

Custom bbcode CODE
Brought you by : AioNets.com
-------------

Installation Guide :

Step-1:

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

then Goto bbcode_code template and replace entire contents with below :
HTML Code:

<div style="margin-top:5px" class="codetop"><img class="inlineimg" src="http://www.YOUR-DOMAIN.com/images/misc/code.png" />
 </div>
 <div class="codemain" dir="ltr">
    <pre class="codemain" dir="ltr" style="
        margin: 0px;
        padding: $stylevar[cellpadding]px;
        border: 1px inset;
        height: {$blockheight}px;
        text-align: left;
        overflow: auto"
>
$code</pre>
<div align="right"><img src="http://www.YOUR-DOMAIN.com/images/misc/code2.png" /></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 CODE bbcode*/
.codetop{
    background: #B6B8BA;
    margin: 0 auto 0 auto;
    border-left: 4px solid #747677;
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    padding: 3px;
    width: 98%;
}

.codemain{
    background: #F2F5F8;
    border-left: 4px solid #747677;
    border-right: 1px dotted #000;
    border-bottom: 1px dotted #000;
    color: #465584;
    font-family: Courier, Courier New, Verdana, Arial;
    margin: 0 auto 0 auto;
    padding: 3px;
    width: 98%;
}

Step-4:

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


Step-5:
Click Installed and Enjoy ;)

Skyrider 09-23-2010 10:43 AM

1 Attachment(s)
I've installed this, but it seems I can't see the content of the code at all.. I only see a very very small bit of it.

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

I believe its a CSS issue

so try to change this

HTML Code:

height: {$blockheight}px;
to any size you want.

-----
Change X to your favorite value ( like 50px; )

Code:

height: Xpx;
please let me know if your problem is solved


regards.

Skyrider 09-28-2010 04:23 PM

Solves it partly, but doesn't show the entire text.. Have to scroll down to see it. But I solved it in using this:

Code:

        height: auto;
But by using that, a scroll bar still shows up only that scrolls down for a mini mini mini part.

A.Chakery 10-03-2010 02:06 PM

Yes U R right,
Thanks for the suggestion.

Regards.

matrex722 03-21-2013 09:16 AM

nice work


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