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

Reply
 
Thread Tools
[HowTo] [BB Code] [3.0.0] [fieldset]boo[/fieldset] Details »»
[HowTo] [BB Code] [3.0.0] [fieldset]boo[/fieldset]
Version: 1.00, by Floris Floris is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-11-2004 Last Update: Never Installs: 3
 
No support by the author.

[HowTo] [BB Code] [3.0.0] [fieldset]boo[/fieldset]

On-line manual on how to add a new custom bb code: Custom BB Codes


Here is the code that I use:

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


This will let you use:

[fieldset=title]content[/fieldset]

The =title for {option} is required and not optional. If you don't want to use a title make a new bbcode called [setfield] with the same code without the <legend>{option}</legend> part in it.

Example: thread on vbnl



ENJOY!

Show Your Support

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

Comments
  #2  
Old 04-13-2004, 08:16 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice.! Thanks for sharing floris..
Reply With Quote
  #3  
Old 04-13-2004, 08:58 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you like it
Reply With Quote
  #4  
Old 04-14-2004, 07:17 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heh, I like it so much I've based my spoiler tag around it..

http://www.gamerseuphoria.com/forum/...05&postcount=9
(rather sloppy css included, but it works..)
Reply With Quote
  #5  
Old 04-16-2004, 05:11 AM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod. I'm looking for something slightly different, though. I'm just coming over from phpBB and trying to find a mod like this one, but haven't found anything. Would this be possible to reproduce in vB?

Thanks.
Reply With Quote
  #6  
Old 04-16-2004, 05:36 PM
Diva's Avatar
Diva Diva is offline
 
Join Date: Oct 2001
Location: CA, USA
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Heh, I like it so much I've based my spoiler tag around it..

http://www.gamerseuphoria.com/forum/...05&postcount=9
(rather sloppy css included, but it works..)
That looks great. I cant quite figure out how you did that. Can you show me?
Reply With Quote
  #7  
Old 04-16-2004, 10:18 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Diva
That looks great. I cant quite figure out how you did that. Can you show me?
First off, in your style options find the Additional CSS Definitions block. Then add this at the bottom of it;
HTML Code:
/* ***** custom css ~ oblivion knight ***** */
.spoiler { color: #282828; background: #282828; }
Replace #282828 both times with your first alternating color background..



Now add this for your custom BB Code;
Title: Spoiler
Tag: spoiler
Replacement:

Code:
<div style="margin:20px; margin-top:5px; "><table width="100%" border="0" align="center" cellpadding="6" cellspacing="0"><tr><td><fieldset><legend>spoiler (highlight to view)</legend><span class="spoiler">{param}</span></fieldset></td></tr></table></div>
Example: [spoiler]Spoiler text[/spoiler]



The css is required because otherwise the spoiler is shown on the topic review on the "New Reply" screen. I couldn't think of a clearner way to do this, but if there are any suggestions - let me know.
Reply With Quote
  #8  
Old 04-18-2004, 04:09 AM
Diva's Avatar
Diva Diva is offline
 
Join Date: Oct 2001
Location: CA, USA
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
First off, in your style options find the Additional CSS Definitions block. Then add this at the bottom of it;
HTML Code:
/* ***** custom css ~ oblivion knight ***** */
.spoiler { color: #282828; background: #282828; }
Replace #282828 both times with your first alternating color background..



Now add this for your custom BB Code;
Title: Spoiler
Tag: spoiler
Replacement:

Code:
<div style="margin:20px; margin-top:5px; "><table width="100%" border="0" align="center" cellpadding="6" cellspacing="0"><tr><td><fieldset><legend>spoiler (highlight to view)</legend><span class="spoiler">{param}</span></fieldset></td></tr></table></div>
Example: [spoiler]Spoiler text[/spoiler]



The css is required because otherwise the spoiler is shown on the topic review on the "New Reply" screen. I couldn't think of a clearner way to do this, but if there are any suggestions - let me know.
Thanks bunches!!!! It looks great.
Reply With Quote
  #9  
Old 07-20-2005, 06:03 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooo.... this is neat.
Reply With Quote
  #10  
Old 10-31-2005, 03:43 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need this
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 02:40 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.04727 seconds
  • Memory Usage 2,301KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete