![]() |
SQL BBCode
The SQL bbcode is extremely glitchy.
If you preview/edit it, then it actually renders it into the WYSIWG as formatted text and previewing or submitting will destroy your original code. |
Some of my members reported similar behavior. Isn't it a stock vBulletin problem?
|
Quote:
|
Any update on this? It's a major flaw when posting any SQL.
|
Never seen it destroy original code, what i have experienced is that (when using preview???) sometimes 2 extra /SPAN are somehow added outside of the box. This might affect layout after the SQL code but i have never seen it make any changes to the code itself.
|
1 Attachment(s)
SQL Query: (how to run queries)
UPDATE TABLE ohnoes; ^^ final result. Progress / reproduction pictures attached. |
Quote:
|
Still an issue...
|
I get this too. :)
|
Sorry, but its likely to remain an issue for the moment. I have no idea who wrote it, or the time to investigate how it works. I dont know if anyone else has time. All I can suggest for now is that you dont use the WYSIWG editor to preview it. I know thats not ideal, but thats how it is for the moment.
|
Just in case, class_bbcode_alt.php has an array of tags to ignore when parsing for the WYSIWYG editor you could maybe add SQL to the array somehow. Might not work, but I saw it yesterday so just thought I'd mention it :D
|
Quote:
|
I think the SQL tags were were written by Xenon a long time back. I have no idea who has updated it here since then.
|
Quote:
|
I've just had a look, and this might work (looked in 3.7 files though). Create a plugin at bbcode_create. Add this PHP:
PHP Code:
|
All times are GMT. The time now is 03:45 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:
|