IIRC there was an upgrade script for table bbcode in VW. How can I convert the table bbcode I have from XF1/vb to XF2 default table code?
IIRC there was an upgrade script for table bbcode in VW. How can I convert the table bbcode I have from XF1/vb to XF2 default table code?
I'm not aware of an upgrade script specifically for this. It is possible that you had a custom script developed at one point.
For converting TABLE BB-Codes, it depends which TABLE BB-Code you were really using in XF1/vB. VaultWiki had its own, but there were also other vB mods which you were possibly using that had different formats.
If you were using VaultWiki's, and all your tables are in the same format, and you haven't tried to use any XF2 tables yet, then you can do a simple replacement. First, rename VaultWiki's TABLE BB-Code in your AdminCP's BB-Code page. Name it WIKITABLE or something like that instead of TABLE.
Then, use the Mass edit tool to change all #\[TABLE\]# to #\[/?WIKITABLE\]#. This works for the current edit of wiki pages. For other content types, like posts, you would have to craft a MySQL query for the specific case.
This would at least get you out of a situation where you are using a custom TABLE BB-Code but there is also a default TABLE BB-Code with the same name, allowing you to use either depending on your needs. The features of each differ, so there may be situations where you want to use one or the other.
- lead developer for VaultWiki
Bookmarks