The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SQL] BBcode breaks
This [SQL] bbcode breaks when previewing or quick editing in full WYSIWYG mode.
To fix this, you can add an HTML comment to the beginning and end of the [sql] bbcode replacement text (to identify where it begins and ends), and then in a plugin on wysiwyg_parse_start (or wysiwyg_parse_complete (either one should work)), add something similar to this: PHP Code:
|
#2
|
|||
|
|||
This was reported before, although the staff didn't know how to fix it. I'm sure they will appreciate this.
|
#3
|
||||
|
||||
Actually my code is a little bit off, since I just wrote it from memory. I've looked back at my code, and I've found an even easier way to do this. Here is a full working example.
1. Create a custom SQL bbcode, fill in any dummy text in the replacement HTML box (it won't be used). This will cause the bbcode to show up on misc,php?do=bbcode 2. Create a plugin on bbcode_create: The trick is adding 'sql' to the list of unparsed tags (the last line). PHP Code:
|
#4
|
|||
|
|||
Any comment from staff?
|
#5
|
|||
|
|||
Staff will respond once we have information to share.
|
#6
|
|||
|
|||
Ok.
|
#7
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=168734 |
#8
|
||||
|
||||
Quote:
|
#9
|
|||
|
|||
So have you decided on this or not?
|
#10
|
||||
|
||||
Nope, so far no one has had time to look - its been this way for a number of years so there is no hurry.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|