![]() |
BB code tables 1.0
Hello!
It still needs optimization, but should work fine already :) How it works : 1) starting code is [table] or [table 1 2 3] where 1 2 3 any numbers separated by space first - border second - cellpadding third - cellspacing - ending tag is always [/table] - table lines separated by line break - each line can have 7 styles. To specify a style add in the beginning number and ^ symbol without spaces example: 2^ you may skip 7^ - it is default (alt1) style - ceils in line separated by | - there is no need to add | before first and after last ceil - each ceil can have each own align. Use align mark as a first symbol of ceil without spaces blank (default) - left = - center ~ - right - you can use any other BB code inside ceils :) - if number of ceils different in lines, last ceil of shorter lines will get colspan= with needed number so table in post may look like [table 1 3 0] 1|2|test 16798789789797979799879797979|4|5|6|7 1^~right with colspan 2^333|=center with colspan 3^1|2|left with colspan 4^1|=center without colspan|3|4|5|6|7 5^1|blablabla|3|4|5 6^1|2|3|4|5|6|7 [/table] |
Sound like an interesting hack. will check it out
|
screeny?
|
screenshot for code from first post :)
|
Very nice Hack but it doesn´t work with the WYSIWYG Editor.
Test it and post a new Table, after it edit your post with the WYSIWYG Editor |
Very cool, Thanks!
|
Does anyone know how to fix the problem of the BBcode changing to a table when you try to edit the post?
|
Excellent Hack ! Thank you !!!!!
|
Hello,
Out of 'all' the table hacks, this is the only safe one (just adding BB codes in ACP wrecks your forumlayout when a closing tag is 'forgotten'). Is this going to be ported to 3.5? |
I had this code working perfectly on my site up to vB3.0.9 but now that i've upgraded to vB3.5.1 it's stopped working. :(
It used to be placed in the functions_bbcodeparse.php file, but that file isn't even part of 3.5.1 any more looking at it and instead there is a class_bbcode.php file and a class_bbcode_alt.php file, which has really confused me, as I don't know where to put it now, or if it would still work in the same way. Could someone possibly help me get this hack working for vB3.5.1, it's a really important part of my website and I have thousands of pages that use these codes and i'm lost without it. |
Ok, I've also found this thread https://vborg.vbsupport.ru/showthread.php?t=96057 where one of the moderators has stated that this could easily be made into a plugin for it to be made to work again.
I've tried the obvious in copying the code to a new plugin and trying to make it as a bb-code parse plugin, but I get the white screen of death. I'm not quite up on the new vBulletin variables and stuff yet so aint got a clue if the code actually needs updating and stuff or not? I really would appreciate a hand with this one, it's got me seriously baffled. It's probably something really simple and straight forward to do, but I think i've probably spent so long staring trying to find the answer that i'm suffering from a problem black out. Anyway, thanks in advance if you do decide in your heart, that I am worthy of being given a wee helping hand on this one. I promise that if I can at some stage in the future help you back out in some shape or form, I will. |
Nobody feeling brave enough to tackle this? :(
|
Quote:
Surely someone out there has a spare few mins to help a guy in need with this? |
Anyone?
|
:down: Can't believe nobody is willing or able to help out on this one, i'd have really thought for one advanced coder or another, this is would be the sort of port that could be done in a few short minutes. :(
|
Quote:
|
Quote:
I've Pmed you about it. :) |
hello!
i'd be interested in this too for 3.5! - loved it on 3.0.x... :D |
ugh... i searched and searched but did not see this. came across it today in another post!
those seeking 3.5: https://vborg.vbsupport.ru/showthread.php?t=105802 thx JohnWoo for the original work! :D |
Hi, i have vb 3.5.4 and can´t find includes/functions_bbcodeparse.php why?Please help
|
All times are GMT. The time now is 07:01 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:
|