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)

Boofo 07-16-2002 08:49 PM

Chen,

What do we need to change to update this hack to work with the slashes problem we found in the other thread? :)

Admin 07-17-2002 12:59 PM

Nothing, this has nothing to do with that.

Boofo 07-17-2002 01:24 PM

DOHH!! I forgot which thread I was in. Sorry about that. :)

Quote:

Originally posted by FireFly
Nothing, this has nothing to do with that.

afterlab 07-29-2002 02:19 PM

Thanks for the great hack, FireFly. :banana:

Boofo 07-29-2002 02:32 PM

Here you go.

Code:

In vbcode_language.js find

----------
php_text = "Insert text with PHP syntax highlighting";
----------

After that add

----------
disable_text = "Insert DISABLE vBcode tag into your message";
----------

In vbcode_buttons template find

----------
<input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')">
----------

After that add

----------
<input type="button" class="bginput" value="DISABLE" title="DISABLE VBCODE" onclick="vbcode(this.form,'DISABLE','')" onmouseover="stat('disable')">
--------

Quote:

Originally posted by afterlab
Very useful hack, but how can I go about adding a button along with the others up top (when posting and private messaging) to use this "disable" code.

Thanks for the great hack, FireFly.


kira 10-14-2002 10:15 PM

Y'know, 8 times out of 10, when I get worried because I need a hack that couldn't possibly exist (because such a hack would make my life just too darn easy!) a search of the Hacks database reveals that someone has already created it. And the person who's created the hack is almost always Chen.

You, sir, rock. A simple but extremely handy little hacklet.

Kars10 03-19-2003 06:26 PM

Works like a charm!!
Thankx FireFly... :)

Oblivion Knight 08-17-2003 08:11 AM

Still running flawlessly on 2.3.2 :)

Thanks Chen!

datainternet 03-24-2004 02:42 PM

I need this great Hack for VB 3.

Is this possible?

MFG datainternet

NTLDR 03-24-2004 03:14 PM

Xenon realeased this a while ago for vB3 IIRC.


All times are GMT. The time now is 07:29 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.01066 seconds
  • Memory Usage 1,729KB
  • 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_code_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