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)

squawell 01-10-2004 04:10 AM

Quote:

Originally Posted by Boofo
How would we add a button in the editor for this?

also want to know this:D

Boofo 01-10-2004 04:13 AM

Quote:

Originally Posted by squawell
also want to know this:D

Hello there, sir. ;) Where you been?

squawell 01-10-2004 09:59 AM

Quote:

Originally Posted by Boofo
Hello there, sir. ;) Where you been?

Hello,Bob;)im come from Asia ........nice to meet u:D:D

by the way...if anyone want to replace the word--SQL query to phrase

variable just open the file(functions_bbcodeparse_custom_created.php) find
PHP Code:

function handle_bbcode_sql($code


below it add:
PHP Code:

global $vboptions$vbphrase$stylevar

i test it,and it works...;)hope u guys like it

Boofo 01-10-2004 10:13 AM

Quote:

Originally Posted by squawell
Hello,Bob;)im come from Asia ........nice to meet u:D:D

by the way...if anyone want to replace the word--SQL query to phrase

variable just open the file find
PHP Code:

function handle_bbcode_sql($code


below it add:
PHP Code:

global $vboptions$vbphrase$stylevar

i test it,and it works...;)hope u guys like it

Make sure you let them know which file to open. ;)

I had already done this but why did you add the $stylevar and $vboptions to it?

Xenon 01-10-2004 10:46 AM

@Bob: if you want to use other variables within the template you have to add them as well, he just made an all in one thing ;)

@Chris: hmm, i can think of it, maybe i'll do it ;)

@Bob2: hmm, you have to add it o the main JS scripts, but as i don't know JS i cannot answer this :)

squawell 01-10-2004 10:48 AM

Quote:

Originally Posted by Boofo
Make sure you let them know which file to open. ;)

I had already done this but why did you add the $stylevar and $vboptions to it?

ok...ill edit my post above let others know;)

because i paste it from another file and LAZY to edit the code:o:o

Boofo 01-10-2004 10:56 AM

Quote:

Originally Posted by squawell
ok...ill edit my post above let others know;)

because i paste it from another file and LAZY to edit the code:o:o

LOL Don't feel bad, I have done the same thing many times in the past. I had to also add $bbuserinfo to that line to allow my block codes hack to work. ;)

Boofo 01-10-2004 11:02 AM

Quote:

Originally Posted by Xenon
@Bob: if you want to use other variables within the template you have to add them as well, he just made an all in one thing ;)

@Chris: hmm, i can think of it, maybe i'll do it ;)

@Bob2: hmm, you have to add it o the main JS scripts, but as i don't know JS i cannot answer this :)

I was just razzin' him, Stefan. :)

The disable tags would be great if you decide you want to do it. ;)

Wouldn't there be a way to just make a bbcode for the sql tags, without having to add the code that is? That allows buttons to be entered in the editor. ;)

Xenon 01-10-2004 11:05 AM

Quote:

Wouldn't there be a way to just make a bbcode for the sql tags, without having to add the code that is? That allows buttons to be entered in the editor.
not that i know of, as you have to call some functions...
also i'm a purist, so i don't use the editors, a plain textbox is really enough for me ;)

gmarik 01-17-2004 07:01 AM

Do you use it over the board or somewhere in the admin panel as well?


All times are GMT. The time now is 12:56 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.01101 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (8)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