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)
-   -   BBCode: [fieldset] (https://vborg.vbsupport.ru/showthread.php?t=116665)

Floris 05-24-2006 09:00 PM

BBCode: [fieldset]
 
Title: Custom BBCode: [fieldset]
For: vBulletin forum software version 3.5.4
By: Floris Fiedeldij Dop
Version: 1.01

What does this do?
This will give the user the ability to use <fieldset><legend>title</legend>content</fieldset> inside his post.

Example:

[fieldset=Important]Make sure you drink coffee![/fieldset]


Available options & features:

* Custom BB Code for all your members to use
* [fieldset] button in the editor for easy access
* Ability for styling using CSS classes for each of your styles


Does this come with phrases?
No

Does this come with templates or require me to modify my templates?
No template edits required, but you can optionally use custom CSS classes to design it to your needs.

Does this create additional queries?
No

Does this run on vBulletin 3.0.x?
Yes here's the 3.0.x version

Does this run on vBulletin 3.5.0 - 3.5.1, 3.5.2, 3.5.3 and 3.5.4?
I don't see why not.

Does this work with third party plugins like vBAdvanced, etc?
No, we don't support third party plugins right now, sorry! But if they're properly coded and take custom bb code into consideration: Yes.

Support:
Don't PM me about this, I can't see how you require support for this and I don't plan on giving it. Nor is this written to support third party plugins.

Here's documentation that will help in case of questions: http://www.vbulletin.com/docs/html/bb_code

Installation instructions:

Optional Step!
Admin Control Panel > Styles & Templates > Style Manager > dropdown: Main CSS > Browse all the way down to Additional CSS Definitions > And in the bottom textarea box enter:
Code:

.bbfieldset { margin-bottom: 1px; }
.bblegend { font-size: 13px; font-family: Verdana; }

And change it to your needs > Click SAVE button and continue to the next step.

Next Step!
Admin Control Panel > Custom BB Codes > Add New BB Code >
Title:
Code:

fieldset
Tag:
Code:

fieldset
Replacement:
Code:

<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2"><tr><td><fieldset class="bbfieldset"><legend class="bblegend">{option}</legend>{param}</fieldset></td></tr></table>
Example:
Code:

[fieldset=hello]fieldset![/fieldset]
Description:
Code:

Allows users to use [fieldset]
Use {option}: (x) Yes / ( ) No
Button Image:
Code:

images/editor/bbfieldset.gif
Ok, save the new bb code and continue to the final step.

Final Step!
Upload the bbfieldset.gif into the images/editor/ directory.

You're all done!

Boofo 05-25-2006 07:42 PM

Now I like this! Good job. ;)

Can we get a text file with it too, please? ;)

Floris 05-25-2006 07:57 PM

Hello ;)

Glad you like it ;)

Yeah sure, I was already uploading it ;)

See ya ;)

FleaBag 05-25-2006 08:17 PM

Hey Floris, nice release it's a fab idea. I'll get it installed. :)

Floris 05-25-2006 08:32 PM

Thanks FleaBag, have fun with it.

utw-Mephisto 05-25-2006 11:44 PM

WOW - thanks .. the funny thing is that I was about to create a thread and ask for a bbcode example like this. Glad the search works as designed LOL

/me installs of course

akanevsky 05-25-2006 11:50 PM

Maybe add padding to the fieldset?

Floris 05-26-2006 07:27 AM

Quote:

Originally Posted by utw-Mephisto
WOW - thanks .. the funny thing is that I was about to create a thread and ask for a bbcode example like this. Glad the search works as designed LOL

[high]* Floris installs of course

[/high]
Glad to be able to help, haha. Enjoy installing and using it.

Floris 05-26-2006 07:27 AM

Quote:

Originally Posted by Psionic Vision
Maybe add padding to the fieldset?

As per instructions, feel free to modify the custom bbclasses, which is why I included them.

Stifmeister2 05-26-2006 04:34 PM

It doesn't seem to be working in 3.5.2. :(


All times are GMT. The time now is 07:48 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.02737 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
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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