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)

Admin 05-26-2002 10:00 PM

[disable] vB Code
 
This was requested a couple of days ago. Very simple but pretty useful for most boards.

With this hack you can use vB Code without having to escape it, add asterisks, spaces, etc. All you need to do is surround the vB Code with the new [disable] tag, like this:
[disable][disable]Tsk tsk...[/disable][/disable]
Which becomes:
[disable]Tsk tsk...[/disable]
And you can even nest the tags:
[disable][disable][disable]Tsk tsk...[/disable][/disable][/disable]

The tag name is also configured in the hack, so you can change it if you want (by default it is disable).

This hack has been updated and now it is -- or at least I'd like to this it is -- perfect. :)

Enjoy.

Admin 05-27-2002 11:48 AM

A text version of the hack.

Sparkz 05-27-2002 11:54 AM

Could you please go do something unproductive for a while? You're making the rest of us look lazy. :p

Admin 05-27-2002 11:57 AM

Actually, I'm working on some very unproductive as we speak. :) There is a hint in the hack... ;)

Xenon 05-27-2002 12:47 PM

yeah, usefull but your trick with the [disable][/disable] is not bad too ;)


test if it ist rekursiv: [disable][disable]Test[/disable][/disable]

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

Admin 05-27-2002 12:47 PM

Quote:

Originally posted by Xenon
test if it ist rekursiv: [disable][diasble]Test[/disable][/disable]
I told you it's far from perfect.

Xenon 05-27-2002 12:50 PM

i does not need to be perfect, i just wantet to test it out chen :)

but you are very fast, you have quotet my post which i have editet 2 secounds later because of disspellings.. ;)

ForKmaN 05-27-2002 01:50 PM

I like

/me installs

heretic 05-27-2002 02:04 PM

thank you :)

LouChipher 05-28-2002 08:44 AM

:ermm:test


All times are GMT. The time now is 05:48 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.01121 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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