vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [SQL] - vB Code (https://vborg.vbsupport.ru/showthread.php?t=59904)

PET 04-06-2004 03:06 AM

is there any posibility how can i add this as a...icon in bbcode's icons ?

Boofo, i have seen that on your site...share ?

Boofo 04-06-2004 12:57 PM

Evil made the icon. I suppose we could share it with you. ;)

Xenon 08-04-2004 04:47 PM

I've uploaded a new version now.

all yu have to do is to replace the functions file, i've just optimized the parser a bit :)

SamirDarji 08-31-2004 05:59 PM

Wow, is this a dangerous hack. The DROP TABLE function comes to mind and scares me.

Xenon 09-01-2004 11:46 AM

erm, this hack does not execute any SQL statement, it just displays it in a highlighted way. exactly as the [php] tag doesn't execute PHP code

SamirDarji 09-02-2004 01:59 AM

Quote:

Originally Posted by Xenon
erm, this hack does not execute any SQL statement, it just displays it in a highlighted way. exactly as the [php] tag doesn't execute PHP code

Oops! That makes more sense. Excuse my ignorance. I think I've been working too hard...

Xenon 09-02-2004 05:39 PM

*gg*
no problem, everyone knows such days ;)

mikaelweb1 11-23-2004 09:11 AM

Add New BB Code
Title?
Tag?
Replacement ?
Example?
Use {option} yes or no
Button Image (Optional)

to same plase as [php] is how do i make this hapen ????????

Xenon 11-24-2004 05:00 PM

read the install file, such codes cannot be done via the ACP, it needs file changes :)

mikaelweb 01-27-2005 11:24 AM

alll code and SQL is same now

if ($vboptions['allowedbbcodes'] & ALLOW_BBCODE_CODE)
{
// [SQL]
$bbcodes['custom']['find']['[sql]'] = '#\[sql\](.*)\[/sql\]#esiU';
$bbcodes['custom']['replace']['[sql]'] = "handle_bbcode_sql('\\1')";
$bbcodes['custom']['recurse']['sql'][0] = array('handler' => 'handle_bbcode_sql');
}

what is this to SQL CODE

define('ALLOW_BBCODE_BASIC', 1);
define('ALLOW_BBCODE_COLOR', 2);
define('ALLOW_BBCODE_SIZE', 4);
define('ALLOW_BBCODE_FONT', 8);
define('ALLOW_BBCODE_ALIGN', 16);
define('ALLOW_BBCODE_LIST', 32);
define('ALLOW_BBCODE_URL', 64);
define('ALLOW_BBCODE_CODE', 128);
define('ALLOW_BBCODE_PHP', 256);
define('ALLOW_BBCODE_HTML', 512);


All times are GMT. The time now is 10:16 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.01367 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)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