vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   bbBox (https://vborg.vbsupport.ru/showthread.php?t=116774)

TPOCJames 05-26-2006 09:00 PM

bbBox
 
Simple hack, quite nice on forums. This hack will allow you to have a subject and text inside a small box.

Instructions
  1. Go into your Admin CP.
  2. Go to the bbCode manager.
  3. Click "Add New bbCode".
  4. Your title can be anything you want, box would be the best choice.
  5. Tag can be anything you want. I have entered box as my choice.
  6. In replacement, you enter the following code:

Code:

<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]">
        <tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
        <tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>

You may also set for it to have a preset width. You can do so with the following code:

Code:

<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="%[enter a number from 10 - 100 here]>
        <tbody><tr><td class="thead"><div class="smallfont"><strong>{option}</strong></div></td></tr>
        <tr><td class="page"><br>
{param}</blockquote></td></tr>
</tbody></table></div>

After you have pasted your code selection, test it by typing in [box=test]Testing...[/box].

Select use {option} to yes.

Save the bbCode and you're done! Try it out and give some feedback.

TPOCJames 05-26-2006 09:14 PM

<a href="https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=1167 74" target="_blank">Make Sure you Install this Hack</a>

GrendelKhan{TSU 05-26-2006 11:06 PM

nice... I'll try this out! :)

TPOCJames 05-27-2006 12:07 AM

Hope you like it... it's my first hack. :)

Gizmo5h1t3 05-27-2006 08:13 AM

this one is very similar to the fieldset bb code elsewhere on here...like it m8

projectego 05-27-2006 09:07 AM

Pretty cool, thanks for sharing! ;)

TPOCJames 05-27-2006 01:34 PM

Quote:

Originally Posted by Gizmo5h1t3
this one is very similar to the fieldset bb code elsewhere on here...like it m8

This was released before the fieldset... ;) just a few minutes before. The two are pretty different, it is just a matter of opinion on which is better.

Gizmo5h1t3 05-27-2006 02:26 PM

both are pretty decent additions m8...good work

TPOCJames 05-28-2006 01:10 AM

Well thanks :D

beduino 05-28-2006 03:15 AM

congratulations to excellent work!
tks!
beduino
ps. if it is your first mod....also my first add in bbcodes vB! :D


All times are GMT. The time now is 10: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.02583 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete