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. :(

Floris 05-26-2006 09:38 PM

Quote:

Originally Posted by Stifmeister2
It doesn't seem to be working in 3.5.2. :(

I don't see why it wouldn't work. I don't have much info to go on, so can't really help - make sure you have set everything ok.

quang188 05-26-2006 11:07 PM

I like I like *click install*

rossco_2005 05-27-2006 12:54 AM

I like, thanks.

How do you get those rounded corners like you have in your screenshot? That's sexy ;)


edit: Bah, it's like that in IE.
Best I can get in Firefox with css looks really jagged, is there a way to anti-alias? :P

Lady Divus 05-27-2006 01:07 AM

Very nice Floris, works perfectly. I needed this for adding instructions and such in posts...Thank you -

Lady Divus *Clicks Install*

gothicuser 05-27-2006 03:04 AM

Thank you very much Floris. The guys really appreciate this one :D

Floris 05-27-2006 05:52 PM

You're welcome, enjoy!

TPOCJames 05-27-2006 07:19 PM

Hey Floris, we released similar things at the same time. ;) Yours is really nice. Well done. :D

Floris 05-28-2006 09:03 AM

Quote:

Originally Posted by TPOCJames
Hey Floris, we released similar things at the same time. ;) Yours is really nice. Well done. :D

I will soon go view your releases and see which ones you've made. :)

akanevsky 05-28-2006 11:15 AM

Quote:

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

Ok, cool, thanks a lot for such a useful advice :)

Floris 06-01-2006 10:56 AM

Hello everybody,

I am looking for a few demo-sites from where I could take a screenshot to see how it is being used by different sites. Could you please post your URL here so I can go and collect some screenshots?

Maybe some of your customizations to the CSS are so cool the next update will include it. Looking forward working together as a team to even more improve this little mod :)

Hope to hear from you soon,

Boofo 06-01-2006 11:33 AM

Quote:

Originally Posted by Floris
Hope to hear from you soon,

Did you really mean this? :(

SweetHome 06-04-2006 04:58 AM

thanks..

Floris 06-07-2006 07:59 PM

Update:

Version 1.02 has been released for vBulletin 3.6.0 beta 1:
https://vborg.vbsupport.ru/showthread.php?t=117936

Enjoy!

Boofo 06-07-2006 09:27 PM

Quote:

Originally Posted by Floris
Update:

Version 1.02 has been released for vBulletin 3.6.0 beta 1:
https://vborg.vbsupport.ru/showthread.php?t=117936

Enjoy!

Will the new version still work with 3.5.4?

Floris 06-08-2006 08:50 PM

Use version 1.01 for vB 3.5.x
Use version 1.02 or above for vB 3.6.x

Both are basically the same though, however, the 3.5 one won't be any further developed or improved. It is now 3.6.x onwards.

Smiry Kin's 06-18-2006 09:22 AM

what would be cool if it wraped around the text, not the whole lenght of the post, i think ill install it, if you add that. :)

sam anders 06-18-2006 01:58 PM

thanks for this :)


All times are GMT. The time now is 12:36 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.02328 seconds
  • Memory Usage 1,773KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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