The Arcive of vBulletin Modifications Site. |
|
[SQL] - vB Code Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Yay i wondered where that was
Cheers Xenon!! Im guessing you got Chen's permission lol
|
|
#3
|
||||
|
||||
|
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 )
|
|
#4
|
||||
|
||||
|
Thanks for releasing this Xenon, its somthing I've wanted for a while now
|
|
#5
|
||||
|
||||
![]() i know there are not that much boards out which need this hack, but if at least one can use it i'm glad
|
|
#6
|
||||
|
||||
|
i've uploaded a slightly modificated version as it seems, the old one made problems with newreply and the newer vb-versions..
|
|
#7
|
||||
|
||||
|
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. |
|
#8
|
||||
|
||||
![]() i use a different block code hack now ![]() but yeah i remember that nice conversation
|
|
#9
|
||||
|
||||
|
Hmmm - Nice
![]() Now that you have been so kind, make a [disable] tag ![]() Satan |
|
#10
|
||||
|
||||
|
How would we add a button in the editor for this?
A disable tag would be excellent! I really miss that one.
|
![]() |
|
|