vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [disable] vB Code (https://vborg.vbsupport.ru/showthread.php?t=39096)

Chris M 06-11-2002 12:55 PM

[disable]Wheeeee!!![/disable]

Wheeeee!!!

Satan

Admin 06-11-2002 01:35 PM

Hack updated! I know I said I won't, but today I had a great idea to fix it -- so I did. :)

Read the first post for more info.

[disable]
PHP Code:

<?=$hello?>

[/disable]

Admin 06-11-2002 01:36 PM

Quote:

Originally posted by Xenon
test if it ist rekursiv: [disable][disable]Test[/disable][/disable]

edit: ok, i see it isn't ^^

Say what?! ;) :D

Boofo 06-11-2002 02:11 PM

Ok, it looks like I'm going to have to be the one who's the dummy on this one. :) What does this actually do? And where would I use it? Could someone show an example in here? Please?

Admin 06-11-2002 02:20 PM

Let's say you want to explain your users how to use the [code] tag.

You tell them, use it like this:
Code:

My code;
But alas -- it's parsed. :)

So you put [disable] around it, like this:
[disable]
Code:

My code;
[/disable]

Boofo 06-11-2002 02:36 PM

I think I get it. Instead of taking the ending close tag and doing it in the code box, it just does it in the message without a box now so you can see both tags like I have it here right? And it only works for vb code? Is there a way to get it to work for PHP code too? :) (Am I even close on this one?)

[disable]
Code:

My vb code
[/disable]

Quote:

Originally posted by FireFly
Let's say you want to explain your users how to use the [code] tag.

You tell them, use it like this:
Code:

My code;
But alas -- it's parsed. :)

So you put [disable] around it, like this:
[disable]
Code:

My code;
[/disable]


Xenon 06-11-2002 02:38 PM

good work chen :)

Stealthy 07-15-2002 04:46 AM

FireFly, I have this hack installed as well as your new "Attached Images Elsewhere" hack installed but I cannot get this to disable the [ attachment ] code.

Is there a way to do this as well?

Thanks!

Admin 07-15-2002 06:36 AM

Nope, since [attachment] is not a real vB Code.

N9ne 07-15-2002 08:37 AM

Very useful hack, thanks.


All times are GMT. The time now is 09:34 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.01567 seconds
  • Memory Usage 1,734KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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