Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AioNets : Custom bbcode CODE Details »»
AioNets : Custom bbcode CODE
Version: 1.00, by A.Chakery A.Chakery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 09-22-2010 Last Update: Never Installs: 14
Template Edits
Additional Files  
No support by the author.


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

Download Now

File Type: zip code-images.zip (2.7 KB, 42 views)

Screenshots

File Type: jpg code.jpg (27.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-23-2010, 10:43 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: jpg example-codeissue.jpg (179.2 KB, 0 views)
Reply With Quote
  #3  
Old 09-24-2010, 12:27 AM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 09-28-2010, 04:23 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-03-2010, 02:06 PM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes U R right,
Thanks for the suggestion.

Regards.
Reply With Quote
  #6  
Old 03-21-2013, 09:16 AM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04006 seconds
  • Memory Usage 2,280KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete