![]() |
[SQL] - vB Code
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: [SQL] SELECT * FROM user LEFT JOIN userfield USING(userid) [/sql] most of the queries are working perfectly, just nested quotes can make problems, i'll try to fix these, soon :) Enjoy |
Yay i wondered where that was :) Cheers Xenon!! Im guessing you got Chen's permission :p lol
|
Quote:
(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 ;)) |
Thanks for releasing this Xenon, its somthing I've wanted for a while now :)
|
:)
i know there are not that much boards out which need this hack, but if at least one can use it i'm glad :) |
i've uploaded a slightly modificated version as it seems, the old one made problems with newreply and the newer vb-versions..
|
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. |
:)
i use a different block code hack now ;) but yeah i remember that nice conversation ;) |
Hmmm - Nice:)
Now that you have been so kind, make a [disable] tag :p Satan |
How would we add a button in the editor for this?
A disable tag would be excellent! I really miss that one. ;) |
All times are GMT. The time now is 09:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|