vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding New BB Code (https://vborg.vbsupport.ru/showthread.php?t=136585)

LauraM 01-15-2007 02:13 PM

Adding New BB Code
 
Hi, all,

I would like to add the "spoiler" BB code to my forums. When I fill out the "add new BB code" area according to instructions, all that happens when testing it on the forums is that the selected text is simply there as any other normal text would be.

For instance, when in the forums and I type: [spoiler]testing[/spoiler] the word "test" simply appears as:

test

.........it does not make the word "test" black with the black background. How do I get it to appear as it is supposed to? What am I doing wrong?

This is what I put in the "replacement" box:

<spoiler>{param}</spoiler>

LauraM 02-02-2007 06:34 PM

bump!

da420 02-02-2007 06:37 PM

As far as I know <spoiler> is not valid HTML...

LauraM 02-02-2007 07:03 PM

Look at this thread on this forum:

http://forums.techguy.org/random-dis...-world-75.html

This link should be to the last page or so. At any rate, pretty much anywhere on this thread you will see posts that have text that is blacked out.........If you click and highlight the black area, you are able to read the text. This ability is what I am wanting to add to my forums, but I can't figure out how.

da420 02-02-2007 07:16 PM

From what I can tell all that is is a very basic HTML table in which the background color is the same as the text font color, so you have to highlight it and you can see the text.

Try using this as the replacement.

HTML Code:

<i>Spoiler:</i>
<table border=0 bgcolor="#000000"><tr><td><font color="#000000">{param}</font></td></tr></table>


LauraM 02-03-2007 01:08 PM

Yay!! It works!

Thanks so much! I would have NEVER figured all that out on my own, lol. :)


All times are GMT. The time now is 03:50 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.01169 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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