Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[SQL] - vB Code Details »
[SQL] - vB Code
Mod Version: 1.2, by Xenon (Member) Xenon is offline
Developer Last Online: Jul 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 21
Released: 08 Jan 2004 Last Update: 04 Aug 2004 Downloads: 14
Not Supported  

This hack is more or less Selfexplaining as we use it since a long time on vb.org .
Credits go to Chen Avinadav for the original version for vBulletin 2.

It allows you and your users to use [ SQL] Tags to highlight special SQL Tags and so on.
example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


most of the queries are working perfectly, just nested quotes can make problems, i'll try to fix these, soon

Enjoy

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements URL, BB code & Embed code information under album images C.Birch vBulletin 3.7 Template Modifications 58 07 Apr 2008 17:04

Comments
  #2  
Old 08 Jan 2004, 17:09
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Yay i wondered where that was Cheers Xenon!! Im guessing you got Chen's permission lol
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #3  
Old 08 Jan 2004, 21:14
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
Originally Posted by MindTrix
Yay i wondered where that was Cheers Xenon!! Im guessing you got Chen's permission lol
Yeah, even myself has to ask, and i have asked
(but as i have rewritten it strongly for vb.org and vb3, that was just a formality, the code itself is more or less in my brain now )
Reply With Quote
  #4  
Old 08 Jan 2004, 21:41
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
Thanks for releasing this Xenon, its somthing I've wanted for a while now
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #5  
Old 08 Jan 2004, 22:21
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser


i know there are not that much boards out which need this hack, but if at least one can use it i'm glad
Reply With Quote
  #6  
Old 08 Jan 2004, 23:05
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
i've uploaded a slightly modificated version as it seems, the old one made problems with newreply and the newer vb-versions..
Reply With Quote
  #7  
Old 09 Jan 2004, 16:59
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
This works perfect, sir! Thank you.

I finally figured out what the problem was when you and I tried to get this to run on vB2 (remember the nightmare?). The variable $bbuserinfo I was using in the if statement wasn't made global. Once I did that with this version of your hack, I can use my block code hack with it.
Reply With Quote
  #8  
Old 09 Jan 2004, 17:31
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser


i use a different block code hack now
but yeah i remember that nice conversation
Reply With Quote
  #9  
Old 10 Jan 2004, 00:44
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Hmmm - Nice

Now that you have been so kind, make a [disable] tag

Satan
Reply With Quote
  #10  
Old 10 Jan 2004, 03:19
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
How would we add a button in the editor for this?

A disable tag would be excellent! I really miss that one.

Last edited by Boofo; 10 Jan 2004 at 03:30.
Reply With Quote
  #11  
Old 10 Jan 2004, 05:10
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Talking

Originally Posted by Boofo
How would we add a button in the editor for this?
also want to know this
Reply With Quote
  #12  
Old 10 Jan 2004, 05:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by squawell
also want to know this
Hello there, sir. Where you been?
Reply With Quote
  #13  
Old 10 Jan 2004, 10:59
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Talking

Originally Posted by Boofo
Hello there, sir. Where you been?
Hello,Bobim come from Asia ........nice to meet u

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Last edited by squawell; 10 Jan 2004 at 11:49.
Reply With Quote
  #14  
Old 10 Jan 2004, 11:13
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by squawell
Hello,Bobim come from Asia ........nice to meet u

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

variable just open the file find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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?
Reply With Quote
  #15  
Old 10 Jan 2004, 11:46
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
@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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:37.

Layout Options | Width: Wide Color: