Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Angus90 Posted March 3, 2015 Posted March 3, 2015 Hello everybody. I´m in the process of converting my vbulletin board to ips. And there are only a few things left. For example, what can I do to use a standard bbcode of vBulletin for tables? The code in vBulletin looks like this: [TABLE="width: 500"] [TR] [TD]column 1 row 1[/TD] [TD]column 1 row 2[/TD] [/TR] [TR] [TD]column 2 row 1[/TD] [TD]column 2 row 2[/TD] [/TR] [TR] [TD]column 3 row 1[/TD] [TD]column 3 row 2[/TD] [/TR] [/TABLE]I have already installed the table plugin for the editor: http://ckeditor.com/addon/tableBut it´s for posts in future, hence using this button , only?!How can already existing posts be rebuilded?
Angus90 Posted March 17, 2015 Author Posted March 17, 2015 Can you please move this thread to the ips4 category forum "technical support". And it would be very nice if someone could post any suggestions
Angus90 Posted July 21, 2015 Author Posted July 21, 2015 Is there any developer out there who can help me concerning this? I managed the conversion from vbulletin one week ago and this is one of my last big things I´m dealing with.
Nathan Explosion Posted July 21, 2015 Posted July 21, 2015 About how many posts do you have that need to be converted? And do they all strictly follow that format (ie width for the table is uniformly 500px etc.)I will be needing to sit down to figure out a conversion of an existing BBCode I made for tables, and the target format is the ckeditor plugin you linked above - I will be trying to write a SQL query that will do what is needed
Angus90 Posted July 21, 2015 Author Posted July 21, 2015 Hello Nathan,thx for your reply. I searched thorugh the database and found 307 posts containing the snippet [TD]. I think this is exactly the number you are asking for. Unfortunately the table width isn´t uniformly. And because of copy and paste into the old WYSIWYWG editor the format seems not to be as strictly as needed?! Here are some examples:[TABLE=class: grid]</p><p> [TR]</p><p> [TD]Also[/TD]</p><p> [TD]man muss schon[/TD]</p><p> [/TR]</p><p> [TR]</p><p> [TD]sagen der</p><p> [/TD]</p><p> [TD]neue Editor</p><p> [/TD]</p><p> [/TR]</p><p> [TR]</p><p> [TD]ist echt[/TD]</p><p> [TD]klasse <img src="/emoticons/default_aliens/10.gif" alt=";)"></p><p> [/TD]</p><p> [/TR]</p><p> [/TABLE] [TABLE]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]FARBAUSWAHL[/TD]</p><p> [TD=class: scrtd2]Alienware M17x Stealth Black[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1]PROZESSOR[/TD]</p><p> [TD=class: scrtd2]Intel® Coreâ„¢ i7 Processor 2720QM (2.20Ghz, 6MB, 4C)[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]BETRIEBSSYSTEM[/TD]</p><p> [TD=class: scrtd2]Original Windows® 7 Home Premium, 64bit, Deustch[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1]GRAFIKKARTE[/TD]</p><p> [TD=class: scrtd2]2GB GDDR5 AMD® Radeonâ„¢ HD 6990M[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]ARBEITSSPEICHER[/TD]</p><p> [TD=class: scrtd2]4.096 MB Dual-Channel DDR3 SDRAM mit 1.333 MHz [2 x 2.048][/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1]FESTPLATTE[/TD]</p><p> [TD=class: scrtd2]320-GB-Serial ATA-Festplatte (7.200 1/min)[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]LCD[/TD]</p><p> [TD=class: scrtd2]17,3-Zoll-FHD-WLED-LCD-Breitbild (1.920 x 1.080)[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1]OPTISCHE LAUFWERKE[/TD]</p><p> [TD=class: scrtd2]DVD+/-RW-Laufwerk (DVD und CD lesen und schreiben)[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]WIRELESS-NETZWERKVERBINDUNG[/TD]</p><p> [TD=class: scrtd2]Intel Wireless LAN 6300 3x3 (802.11a/b/g/n) Card - EUR[/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1][/TD]</p><p> [TD=class: scrtd2][/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1][/TD]</p><p> [TD=class: scrtd2][/TD]</p><p> [TD=class: scrtd3][/TD]</p><p> [/TR]</p><p> [TR]</p><p> [TD]Zusammen:[/TD]</p><p> [TD][/TD]</p><p> [TD]2.009 €[/TD]</p><p> [/TR]</p><p> [TR=class: even]</p><p> [TD=class: scrtd1]Rabatt:[/TD]</p><p> [TD=class: scrtd2][/TD]</p><p> [TD=class: scrtd3] -200 €[/TD]</p><p> [/TR]</p><p> [TR=class: odd]</p><p> [TD=class: scrtd1]Summe:[/TD]</p><p> [TD=class: scrtd2][/TD]</p><p> [TD=class: scrtd3]<span style="text-decoration:underline;"><strong>1.809 €</strong></span>[/TD]</p><p> [/TR]</p><p> [/TABLE]</p><p>The result of the rebuilded posts must not be perfect. But I think everything will be better than these odd looking BBCodes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.