![]() |
BB code tables 1.0 for vB 3.5.x
This plugin permits the creation of a table in a post! Tables support for thread postbit, post review and post preview!
This is a just port which is based on the original JohnWoo BB code tables 1.0 hack for vB 3.0.x . This is posted with his permission. All credits to the original author! Quote:
a)It inserts an empty cell if you leave a space after the [table] tag, so the first line has to be like this [table 1 3 0] 1|2|test 16798789789797979799879797979|4|5|6|7 b) you can not use other bbcodes or smilies inside the table tag as they will not get parsed... You can see demos at the screenshots |
very cool :) will be testing it out.
|
very nice ... test it
|
- EvilHawk, how to add background color to "td" if don't use alt1 or alt2?
- You can add collapse / uncollapse images into to right of table? |
Good work and thanks!
|
Quote:
|
Installed, thanks! :D
nhascso why would you want collapse/uncollapse images in posts??? :confused: There is an obsession with collapse/uncollapse images by some people that I can't understand at all :confused: |
Quote:
|
Thank you, great hack :)
That helps us a lot for our editorial work... cheers, ze |
*clickin install
i love it :) |
Works great! Is there some reason why the first column in one of my tables has a green font? I don't have a green color in any of my styles.
|
very nice ... test it
|
[high]* Detomah officially installs it. ;)
[/high] I've been working on it to try and get it to show images and to try and get rid of that damn cell at the beginning of the table for the last few weeks on my site, but everythng i've tried so far has failed. So, i'd been hoping it would get officially released. Really hope someone elses brains can figure out the problem. |
Well I mostly use it so I take care of the first cell thingy. :)
What bugs me the most is that some bbcodes inside the cells aren't parsed, eg images, attachments and who knows what more... and this problem will be much harder to fix than the first blank cell issue... :( |
Love it!
|
EvilHawk,
This plug-in is just what my organization has needed for some time. Thank you for your efforts! As I understand it from a previous reply you made in this thread the td backgrounds are dependent on CSS. The Style 5 (beige) does not work on our forum, it appears as basic white. I checked the plugin values for style/class 5 and it says it is alt3. We have very few custom modifications to our Default Style. Currently there are only 2 alternating colors defined, alt1 and alt2. Am I looking in the right place? I would like to be able to also use the beige style 5 background. as well as gray and white. I couldn't find an option to add an additional alternating color for the style. Sorry for the rookie question! :ermm: |
alt3 doesn't exists by default you can customize it as you like! ;)
|
Can this be set for as maximum width?
|
It does not stretch your postbit template, if that's you are asking sir.
|
Even on a fixed width? ;)
|
AFAIK yes (allthough i don't have a fixed width style to test it).
|
Dear EvilHawk, I think that it is better working with phrases! ;)
so, I changed the text in your xml, and I replaced it with some vbphrases :D bb_table_title bb_table_explanation bb_table_example bb_table_usage so, by adding 4 phrases to the system, we can change or translate it easily :D Here is what theese phrases should replace: Code:
bb_table_title: I also include the new xml file(I just changed that part, nothing else:) ) |
Hello again, I think there is a bug!
When I type an url in a cell, and the system makes it a link with [url] tag, the link is wrong. If the url is http://www.site.com, then the link will be: http://www.site.com\"/ What could it be? |
كفوا ا والله
thanksssss |
Quote:
|
I suggest to use this hack instead https://vborg.vbsupport.ru/showthread.php?t=107985
|
Hello,
here's a code correction for bbcode (like url and image) working : Replace all code like that (in modules) : Code:
$this->post['message'] = preg_replace("~(\[table.+\[/table\])~iUse", "fetch_html_table('\\1')", $this->post['message']); Code:
preg_match("~(\[table.+\[/table\])~iUs", $this->post['message'], $matches); the e search option of preg_replace escape simple and double quote. |
it's great code but complicated in used. However, thanks for advance
|
All times are GMT. The time now is 05:14 PM. |
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:
|