PDA

View Full Version : [HowTo] [BB Code] [3.0.0] [fieldset]boo[/fieldset]


Floris
12 Apr 2004, 23:41
[HowTo] [BB Code] [3.0.0] boo

On-line manual on how to add a new custom bb code: Custom BB Codes (http://www.vbulletin.com/docs/html/bb_code)


Here is the code that I use:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



This will let you use:

=title[/i]]content

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 (http://www.vbulletin.nl/community/showthread.php?t=3136)



ENJOY!

Oblivion Knight
13 Apr 2004, 22:16
Nice.! Thanks for sharing floris.. :)

Floris
13 Apr 2004, 22:58
I'm glad you like it :)

Oblivion Knight
14 Apr 2004, 21:17
Heh, I like it so much I've based my spoiler tag around it.. :p

http://www.gamerseuphoria.com/forum/showpost.php?p=2405&postcount=9
(rather sloppy css included, but it works..)

zetetic
16 Apr 2004, 07:11
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 (http://www.forumimages.com/forum/viewtopic.php?t=1574), but haven't found anything. Would this be possible to reproduce in vB?

Thanks.

Diva
16 Apr 2004, 19:36
Heh, I like it so much I've based my spoiler tag around it.. :p

http://www.gamerseuphoria.com/forum/showpost.php?p=2405&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?

Oblivion Knight
17 Apr 2004, 00:18
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;


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Replace #282828 both times with your first alternating color background..



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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Example: Spoiler text



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.

Diva
18 Apr 2004, 06:09
First off, in your style options find the Additional CSS Definitions block. Then add this at the bottom of it;


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Replace #282828 both times with your first alternating color background..



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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Example: Spoiler text



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

Kirk Y
20 Jul 2005, 20:03
Oooo.... this is neat.

LEAD_WEIGHT
31 Oct 2005, 05:43
Need this ;)

Floris
25 May 2006, 22:41
Update:

Version 1.01 has been released for 3.5.x
http://www.vbulletin.org/forum/showthread.php?t=116665

Enjoy!

Floris
07 Jun 2006, 22:58
Update:

Version 1.02 has been released for 3.6.x
http://www.vbulletin.org/forum/showthread.php?t=117936

Enjoy!