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

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

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

Installation Guide :

Step-1:

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

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

<div style="margin-top:5px" class="phptop"><img class="inlineimg" src="http://www.YOUR-DOMAIN.com/images/misc/php.png" /></div>
<div class="phpmain" dir="ltr">
        <pre class="phpmain" dir="ltr" style="
          margin: 0px;
          padding: $stylevar[cellpadding]px;
          border: 0;
          width: 800px;
          height: {$blockheight}px;
          text-align: left;
          overflow: auto"
>
$code</pre>
<div align="right"><img src="http://www.YOUR-DOMAIN.com/images/misc/php2.png" /></div>
</div>

Step-2:

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

NOTE: width of this bbcode is set to 800px by default, you can change it if its necessary.

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 php bbcode*/ .phptop{
    background: #A7E9A9;
    margin: 0 auto 0 auto;
    border-left: 4px solid #3C9839;
    border-right: 1px dotted #000;
    border-top: 1px dotted #000;
    padding: 3px;
    width: 98%;
}

.phpmain{
    background: #E9FFE3;
    border-left: 4px solid #3C9839;
    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 ;)


All times are GMT. The time now is 10:27 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.01423 seconds
  • Memory Usage 1,717KB
  • 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
  • (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