View Full Version : BB Code Enhancements - BB Code [table]
AusPhotography
09-07-2009, 01:01 AM
Installed and working on 3.8.4 ! Very nice tool.
Can someone please post some examples of CSS code for changing the table layout?
Valker
09-08-2009, 04:20 PM
I added this in the Main CSS definition and was able to get the padding changed, maybe you can work from this?
table.stg_table td, table.stg_table th {
padding: 10px;
}
WONDER FULL (for the others) just add this into additonal CSS
but i would set the padding to 5...10 is way to much imo.
very simple example:
table.stg_table td, table.stg_table th {
padding: 5px;
background-color: #ffffff;
color: #000000;
}
edit: at the best you separate:
table.stg_table td {}
and
table.stg_table th {}
and make them different looking
otherwise your table wont get a header if you do ="header"
Big thanks !
wolfstream
09-14-2009, 10:56 PM
Wow, talk about not checking settings, fixed myself -- sorry!
paul41598
09-16-2009, 12:17 PM
So this mod doesnt allow you to click a button, and it asks you how many rows you want, how many cells, and then puts the table into the text area? You have to put code in basically and its the same as if I were to put in <tr> tags, etc?
TaMpE
09-17-2009, 04:32 AM
Will CENTER BBCode possible in this mod?
ie.
head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3
kiwivc
09-19-2009, 05:24 PM
Will CENTER BBCode possible in this mod?
ie.
head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3
I tried your table code and the CENTER tag works ... see the image below:
I increased the table width so that the result was more obvious ([table="head;width=70%"])
http://img338.imageshack.us/img338/1696/tabled.jpg
grey_goose
09-21-2009, 03:46 PM
I followed the steps in this post (https://vborg.vbsupport.ru/showpost.php?p=986046&postcount=65) to add:
/*****TABLES******/
.stg_table_top {vertical-align: top; padding: 0px}
/*****TABLES END******/
and then added 'top' in the options.
It seemed to have no effect (or I did it wrong). Basically, I have a two column table, with tables within each column. One table has more data, and the other table is floating in the center -- I watn them both aligned to the top. Also, I want to remove the spacing between cells so that my 'header' graphics are seamless.
Texas_Dawg
09-23-2009, 11:50 PM
How do I get the table icon to show up in the options of buttons on a new post?
Texas_Dawg
09-24-2009, 07:12 PM
Is there a way to center all cells without having to do each cell separately?
For some of the tables I'm creating, it's becoming quite time consuming :)
Did you figure out the answer to this one? Can someone that knows the answer please post it? Thanks.
MagicThemeParks
09-27-2009, 11:20 PM
If I install this mod could I use it on custom pages as well as the threads?
War.Frog
10-05-2009, 03:21 PM
This is a great mod StGaensler!
I mashed up a little MS Excel file to auto-create tables up to 20 columns wide x 50 rows.
It doesn't support CSS or the colsp variables (yet?) but it lets me very quickly create the BB code for large tables in a WYSIWYG way.
If anyone wants to give it a run just let me know. I tried to avoid macros entirely (as you'll see from the coding), but Excel has a bug that doesn't allow clean copying of cell values with line returns...it embeds extra " marks in the clipboard.
RedHacker
10-06-2009, 06:12 PM
Install 0.1.7.x....
How to worked....?
Alfa1
10-06-2009, 06:52 PM
An Excell like applet would be nice. Some of my members are climbing on the walls due to the table code.
I'll gladly try out your Excell file War.Frog
War.Frog
10-07-2009, 12:50 AM
An Excell like applet would be nice. Some of my members are climbing on the walls due to the table code.
I'll gladly try out your Excell file War.Frog
Hi Alfa1...
Sure thing. Give this a run. There's no guarantee of some little glitches I haven't found, but it seems to create the tables accurately. Just enter the info into the main table (up to 20x50) and click the button to copy the table code to the clipboard.
Paste it into your post and you're done. Extra carriage returns are entered where empty rows exist but they're ignored by vBulletin.
Let me know how you make out!
BRotondi
10-15-2009, 02:21 PM
1000 Thanks for this Add, Stefan!
And also for the Excel-Sheet, War.Frog! It seems not to work 100% on Excel 2007 though... perhaps I will find the time to debug it later...
Greetings, Bruno
War.Frog
10-16-2009, 10:34 AM
1000 Thanks for this Add, Stefan!
And also for the Excel-Sheet, War.Frog! It seems not to work 100% on Excel 2007 though... perhaps I will find the time to debug it later...
Greetings, Bruno
Thanks Bruno. Hmm could be the macro? I noticed I leave an extra | character in the title row when that option is selected, resulting in extra right-side columns. I'll take a crack at this this weekend as well as cleaning up some of the formula code.
I hated having to use the macro, but Excel does not copy to clipboard nicely when there are carriage return characters in the source.
BRotondi
10-16-2009, 02:42 PM
Hello War.Frog
Other Problems:
I always get 50 lines, even when I fill out only 2
Sorting gives a php-error, but could be also be a missunderstanding on my side.I wait for your cleaned up code and give it a try again. Perhaps I can then see what has to be changed for Excel 2007. Which Excel do you use?
Greetings & Thanks!
Bruno
War.Frog
10-16-2009, 03:52 PM
Hello War.Frog
Other Problems:
I always get 50 lines, even when I fill out only 2
Sorting gives a php-error, but could be also be a missunderstanding on my side.I wait for your cleaned up code and give it a try again. Perhaps I can then see what has to be changed for Excel 2007. Which Excel do you use?
Greetings & Thanks!
Bruno
Hi Bruno...
Do you get 50 lines rendered in your table, or just 50 lines in the preview / entry window? The problem I found with Excel is, when I try to do a simple concatenation of the final table code and copy it to the clipboard, Excel adds extra " marks in the clipboard itself, even though they don't show on screen. To get around that, I copied the full 50-row set into the clipboard and vBulletin 3.8.4 seems to happily ignore the extra carriage returns.
I'll have a look at the sorting too. I made some changes from an earlier version but never gave sorting another run.
War.Frog
10-17-2009, 01:07 AM
I fixed some of the coding here to try and make it a little more efficient - and work. :D Sorting appears to work now, and I also added an Alignment selection for each column (left, center, right).
See how it runs on 2007 - this was created in Excel 2002 so I'm not sure if there are some inconsistencies with the formulas or macros. On 2002, there's no way around copying the full 50 rows to get the table code properly saved in the clipboard.
Have a try...
AfterWorldForum
10-17-2009, 07:57 AM
To get around that, I copied the full 50-row set into the clipboard and vBulletin 3.8.4 seems to happily ignore the extra carriage returns.
Ran into the same problem. I modified your Excelsheet to suit our needs, and then removed the additonal pipe char from the second sheet.
Whenever I tried copy/pasting, somehow I'd end up with an extra table head line. The problem is the internal Excel markup (I think). Problem can be solved by copy/pasting into notepad, then selecting all in there, and pasting into vB.
War.Frog
10-17-2009, 06:47 PM
Ran into the same problem. I modified your Excelsheet to suit our needs, and then removed the additonal pipe char from the second sheet.
Whenever I tried copy/pasting, somehow I'd end up with an extra table head line. The problem is the internal Excel markup (I think). Problem can be solved by copy/pasting into notepad, then selecting all in there, and pasting into vB.
I fixed the extra bar issue in v 1.4. It works pretty well but I'm not sure if the extra returns affect different versions of vBulletin.
I'd love to include bold and colspan, but I don't know how I'd do cell-by-cell properties without making it clunky. I am, however, going to add bolding option to the header row and at column level.
Wired1
10-20-2009, 12:08 AM
Keep us updated! I can think of some uses for this when polished.
trotskid
10-20-2009, 06:26 AM
Hi. If sort a column of numbers with "." or "," (Project column), the values does not sort properly. For example:
30,274,388 will post higher than 101,274,388 (3>1).
How can I fix that with the current code?
Thank you
https://vborg.vbsupport.ru/
xxxx|Project|Points|P/day|National
test1|30,274,388|68,520|60|3|
test2|101,274,388|50,956|80|2|
test3|20,274,388|21,325|29|6|
mickknutson
10-20-2009, 11:07 AM
I am trying to get this to work with Vault Wiki.
http://www.blincmagazine.com/forum/wiki/Fatality_Statistics?redirect=no
I used this code, but still only ever get 1 row and no head row:
ObjectType|Number
Building|0
Antenna|0
Span|0
Earth|23
BRotondi
10-20-2009, 11:25 AM
Still did not work in 2007 because the simple copy now adds some differen CRs -> you would need to paste it as text only (through Notepad or in simple Editor mode)
I solved this and reduzed the 50 lines to "auto" in the attached version. Does it work on 2002?
Regards, Bruno
MagicThemeParks
10-20-2009, 11:26 AM
Great work guys, keep at it! :up:
If you can get a true, glitch-free option for bringing the info straight over from Excel, then it would take this mod to the stratosphere! :D
BRotondi
10-20-2009, 11:33 AM
Hmmm... but I don't get live sort to work...
- sorttable.js copied to clientscripts
- enabled in the settings
... still no clickable header...
Thanks for any help!
Bruno
BRotondi
10-20-2009, 11:51 AM
O.K. Another "Known Bug" or "minor problem": Table will not be sortable after ajax-Editing the post. You have to reload the page!
And: Be sure to use [table="head"], else you have no head to sort ;)
Bruno
BRotondi
10-20-2009, 11:57 AM
And another Bug: One CR will be deleted after [/table] each time you press "Preview"
...[/table]
Text
->
...[/table]
Text
->
...[/table]Text
Greetings, Bruno
Edit: Interesting: Does not happen any more since I installed live sort...
BRotondi
10-20-2009, 01:13 PM
Perhaps you've seen, that sorting will use the default asc/desc image which sometimes makes the next column header unreadable. Workaround: These little Icons from Windows Explorer. Save them e.g. on /images/sort*.png and change the path in sorttable.js:
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="/images/sortasc.png" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="/images/sortdesc.png" />';
span.setAttribute('sortdir','down');
}
Example (http://sinnimleben.net/forum/showthread.php?t=420)
Greetings, Bruno
War.Frog
10-20-2009, 04:33 PM
Still did not work in 2007 because the simple copy now adds some differen CRs -> you would need to paste it as text only (through Notepad or in simple Editor mode)
I solved this and reduzed the 50 lines to "auto" in the attached version. Does it work on 2002?
Regards, Bruno
Great work guys, keep at it! :up:
If you can get a true, glitch-free option for bringing the info straight over from Excel, then it would take this mod to the stratosphere! :D
Really nice fix Bruno! I've taken a different approach here entirely, and I may need to lean on someone's VBA expertise as well, but I'm REALLY happy with the potential of v2.0. I should have a working version later this aft.
War.Frog
10-20-2009, 07:31 PM
Based on the code of Excel2BBTable, I added some significant modification and conversions to make it work with this hack.
Now, Excel formatting as seen on screen is automatically translated on a cell-by-cell basis. So font, font color, bold, italic, underline...pretty much all the basic styling this hack supports! I would like to add colspan support...and that'll be a work in progress.
To run, just create any data here and format it the way you like. Select the range you want as a table, click on the button (or toolbar) and generate the code for pasting to your post.
One minor issue...because of how this hack is written, it adds an extra column because of the pipe "|" at the end of the rows. To remove that column, you can just delete the end pipe in the first row before you submit your post.
MagicThemeParks
10-20-2009, 10:11 PM
War.Frog, this should be released as an "add-on" modification to this mod or something. This is a HUGE help for folks wanting to work on really complicated or detailed tables! :up:
Thanks for the help on this! :D
War.Frog
10-21-2009, 01:22 AM
Thanks MTP! You're welcome, and I was motivated myself because I just get overwhelmed when the table exceed three rows. :D
This approach definitely eases things because it's a virtual WYSIWYG translation to BB Code. In fact, the macro could be used on ANY Excel range in any table (not just this one), as long as you manually entered the "head", sort and other detail into the code after the fact.
I'm going to continue playing with it to see if I can get colspan to work among other things.
BRotondi
10-21-2009, 05:18 AM
Big Thanks also from my side :). Works on 2007 with a small "Bug":
- Header has CRs after each cell:
[table="head;width=100%"]a
|b
|c
|
and a real bug:
If iSize <> 12 Thenaccording the code you wanted "If iSize <> 2 Then [inserte Code-Tag]"
Nice work!! Thanks again!
Bruno
BRotondi
10-21-2009, 05:45 AM
And solved the empty column on the right:
c = 0
c0 = rngRow.Cells.Count
For Each rngCell In rngRow.Cells
c = c + 1
sCell = rngCell.Text
(...)
'Add opening and closing cell tags
If c < c0 Then
sCell = sCell & "|"
End If
Greetings, Bruno
War.Frog
10-21-2009, 09:40 AM
Awesome Bruno. Hmm, very strange about the extra CRs after the header...this is what frustrates me so much about Excel versions!
Can you try posting your fix in both .xlsx and a down-saved .xls version to see if it translates properly? I can't do anything for > 2002.
Thanks!
MagicThemeParks
10-21-2009, 10:51 AM
Bruno/War.Frog,
Great work for the two of you. This is going to help our community tremendously. :up:
Does that 'empty column on the right' fix work for all versions of Excel? If so, will one of you share the 'corrected' version?
BRotondi
10-21-2009, 10:54 AM
I never use xlsx, perhaps in 10 years when 2002 died :). Here always my latest xls-version in german (for my users): table.xls (http://sinnimleben.net/external/table.xls) (Thread (http://sinnimleben.net/forum/showthread.php?t=420))
Greetings, Bruno
Edit:
Interesting: The CR-Bug disappeared! Perhaps has something to do with my above workaround or with multiple saving the document :).
Yes, should work in all Excel-Versions. I think War.Frog will soon post his new english version :)
War.Frog
10-21-2009, 11:43 AM
I never use xlsx, perhaps in 10 years when 2002 died :). Here always my latest xls-version in german (for my users): table.xls (http://sinnimleben.net/external/table.xls) (Thread (http://sinnimleben.net/forum/showthread.php?t=420))
Greetings, Bruno
Edit:
Interesting: The CR-Bug disappeared! Perhaps has something to do with my above workaround or with multiple saving the document :).
Yes, should work in all Excel-Versions. I think War.Frog will soon post his new english version :)
LOL Bruno...good for you not using xlsx! :D Sadly I'm stuck with 2002 because of corporate hesitation. :rolleyes:
For whatever reason, this doesn't translate well back to 2002. I'm going to look at this to try and understand why - it's now adding MORE columns to the end and a column to the beginning. C'mon Microsoft! lol.
Thanks for your nice words too MagicThemeParks. Hopefully, we can get this ironed out 100% for all versions of Excel, or at least separate ones for each.
War.Frog
10-21-2009, 12:54 PM
O.k. figured it out. Wow, it had nothing to do with Excel in this case. I found that this hack (or perhaps vBulletin) handles certain BB codes differently. For instance, if [center] is the primary modifier to a cell (the outside modifier) in addition to other codes, this hack goes haywire even though VISIBLY the code appears to be correct.
For instance:
[ center ] [ b ] TEST [ /b ] [ /center ] causes this hack grief.
Making the alignment tags the innermost modifiers fixes it:
[ b ] [ center ] TEST [ /center ] [ /b ]
I just moved the alignment tag adds to the beginning of the loop - I would suggest it's a problem you may run into too Bruno since it appears vBulletin is doing the rendering funny business.
For Each rngCell In rngRow.Cells
c = c + 1
sCell = rngCell.Text
sFont = rngCell.Font.Name
'If cell text is right aligned, add the [right] tag
If rngCell.HorizontalAlignment = xlRight Then
sCell ...
End If
'If cell text is centered, add the [center] tag
If rngCell.HorizontalAlignment = xlCenter Then
sCell = ...
End If
Fix attached:
BRotondi
10-21-2009, 07:15 PM
:) :eek: :rolleyes: and some others...
Thanks for the Update! ... and good night, 10:13 PM here ...
Greetings, Bruno
War.Frog
10-22-2009, 02:34 AM
Someone earlier in this thread asked what outside-the-box things people are doing with their tables.
Just for "fun" to demonstrate how one can begin creating some very complex tables, I did a 19x25 table using four different 16x16 px squares...just three different shades (black, dark grey, light grey) and a white square.
Using BB Table Maker 2.2.xls, I was able to create this image. I can't imaging trying to do this manually. :D
MagicThemeParks
10-22-2009, 10:24 AM
LOL...that's great War.Frog! :D
I want to try to do that to make a Mickey Mouse head! :up:
Ads1980
10-22-2009, 11:58 AM
HI guys, do you know how I can add a background image so it's behind the table?
should I do a table within a table maybe that works? I'll test and report back
Cheers,
Ads
Ads1980
10-22-2009, 12:30 PM
hmm nope that didn't work so I guessed next move was css.... can't get that to work either here's what I have so far:
css in the following area:
css=myclass
Defines the aditional css class of the whole table. Possible values have to be defined in admincp.
The value is prepended by stg_table_ so the resulting css class with above example would be stg_table_myclass
The css code has to be added to "Additional CSS Definitions" of your style (AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions)
a quick warning about the style below, I've added a png transparency so the table shows up better on my image, IE doesn't support this! I've tried various ways of getting around this but I've not been successful yet I'll keep you posted
/* ***** table styles ***** */
.stg_table_myclass {
background-image: url(http://www.gamersdomain.net/images/games/forza3/forza3banner_1.jpg);
background-repeat: none;
}
.stg_table_myclass td {
border: none;
background:transparent;
text-align: center;
}
.stg_table_myclass .alt1 {background-image: url(http://www.gamersdomain.net/images/transpancy.png); background: -ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=9 0)”;
filter: alpha(opacity=90);
-khtml-opacity: 0.9;
-moz-opacity: 0.9;
opacity: 0.9;
}
.stg_table_myclass .alt2 {
background-image: url(http://www.gamersdomain.net/images/transpancy.png);
background: -ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=7 0)”;
filter: alpha(opacity=70);
-khtml-opacity: 0.7;
-moz-opacity: 0.7;
opacity: 0.7;
}
/* ***** end of table styles ***** */
BB Code Settings: CSS Classes For The Table
myclass
table:
[table="css=myclass;width=100%"]testcol11|testcol21|testcol31
testcol12|testcol22|testcol32
testcol13|testcol23|testcol33
testcol14|testcol24|testcol34
ok figured it out :) forgot the . in front of my style doh!
trotskid
10-24-2009, 05:52 PM
Hi. If sort a column of numbers with "." or "," (Project column), the values does not sort properly. For example:
30,274,388 will post higher than 101,274,388 (3>1).
How can I fix that with the current code?
Thank you
http://img195.imageshack.us/img195/365/tableen.jpg
xxxx|Project|Points|P/day|National
test1|30,274,388|68,520|60|3|
test2|101,274,388|50,956|80|2|
test3|20,274,388|21,325|29|6|
Bump
Now all we need is an html <table> to bb table converter!
BRotondi
10-27-2009, 06:37 PM
@trotskid: I think, no one has the time yet to repair this... Often it's more complicated to solve it, than it seems. So it's up to you to get into the code or find a workaround (a leading 0? in background color? ...)
Bruno
War.Frog
10-28-2009, 07:16 PM
Now all we need is an html <table> to bb table converter!
I would think you could pseudo pull this off by copying the html table from the web page and pasting it into Excel, then using the content in the converter.
BRotondi
10-28-2009, 07:48 PM
That's right. But works only with MSIE!
Bruno
I would think you could pseudo pull this off by copying the html table from the web page and pasting it into Excel, then using the content in the converter.
Not practical...
MagicThemeParks
10-28-2009, 11:02 PM
I had asked before, but I never got a response. Does anyone know if this mod will work with custom pages on vBulletin?
This simple doesn't work with big tables, giving me a 500 error. (load)
It only works for tables with very few rows!
UPDATE: Removed the sort option and now works.
Robert9
11-01-2009, 09:13 AM
I love it, but
how to make a "align", "valign" or line-break in a text?
kiwivc
11-05-2009, 06:35 AM
I love it, but
how to make a "align", "valign" or line-break in a text?
I've placed a help thread in my Wiki for my forum members. Go to example G to see how to do the line break. I'm unsure about the others.
http://www.vcclan.org/forum/wiki.php?page=Table_BBcode_Mod_Help! (http://www.vcclan.org/forum/wiki.php?page=Table_BBcode_Mod_Help%21)
trotskid
11-05-2009, 12:36 PM
@trotskid: I think, no one has the time yet to repair this... Often it's more complicated to solve it, than it seems. So it's up to you to get into the code or find a workaround (a leading 0? in background color? ...)
Bruno
Thanks for your reply.
Wired1
11-13-2009, 12:46 PM
The beta's only been out for 12 hours. Give modders some time to sleep, eat, work, and then download the beta and figure that out :)
I installed the vb4.0beta on my testvb directory, and this particular product seems to be "almost" working. The table is displayed, but the css is not included (so it's a plain table).
mickknutson
11-16-2009, 01:34 AM
I want to have a TABLE footer that is the total count of rows in the table. Is that possible?
Gargi
11-16-2009, 05:24 PM
I installed the vb4.0beta on my testvb directory, and this particular product seems to be "almost" working. The table is displayed, but the css is not included (so it's a plain table).
You got to go to the templates -> vbulletin.css and insert your table css there. Then it will work like a charm. So I can say this mod is working with vb4.
cu
Gargi
Hi
thank you for this great work ..
but I have this error :
Database error in vBulletin 3.8.2:
Invalid SQL:
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');;
MySQL Error : Column count doesn't match value count at row 1
waiting for you
thank you ..
edytwinky
11-25-2009, 11:23 PM
Good to hear this is working with vb4
vbem2
12-04-2009, 12:13 AM
Hi
thank you for this great work ..
but I have this error :
Yes, I got the same error but on vB 3.8.4
robf23
12-05-2009, 07:14 PM
works great here.
it would be nice to be able to give the table a title within the table... :)
thanks for the mod.
vbem2
12-07-2009, 04:18 PM
robf23, what version of vB are you using?
Issac
12-08-2009, 02:45 AM
while saving setting in admincp I am getting this error:
Fatal error: Unsupported operand types in /home/****/public_html/includes/adminfunctions_options.php on line 692
obmob
12-08-2009, 10:55 PM
Too bad, didn't work on vb 4 beta 5 :(
I have so many tables :eek:
I'm getting that error whe thry to ajust settings (do sortable):
Fatal error: Unsupported operand types in .../forum/includes/adminfunctions_options.php on line 692
vB 3.8.0
kylek
12-24-2009, 02:42 AM
You got to go to the templates -> vbulletin.css and insert your table css there. Then it will work like a charm. So I can say this mod is working with vb4.
cu
Gargi
May be dumb question but...
What table css needs to be added to the vbulletin.css?
Thanks
edytwinky
01-10-2010, 02:13 PM
If you could explain what css part needs to be changed, that'd be great. I'm not the best at editing css
JonUrban
01-10-2010, 02:48 PM
You got to go to the templates -> vbulletin.css and insert your table css there. Then it will work like a charm. So I can say this mod is working with vb4.
cu
Gargi
Can you please explain this a little more "For Dummies"? I have this working in my vB4 upgraded forum, but the table is plain as the previous poster described. It sorts and all, but I am not sure how to "insert your table css" in the vbulletin.css template.
Where do you get the "table css"???
THANKS
El Orans
01-10-2010, 03:47 PM
Hi
thank you for this great work ..
but I have this error :
Database error in vBulletin 3.8.2:
Invalid SQL:
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');;
MySQL Error : Column count doesn't match value count at row 1
waiting for you
thank you ..
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '', 1);;
This change should work.
Verionia
01-10-2010, 06:32 PM
Can you make this for 4.0?
Dervish-Dancer
01-11-2010, 08:21 PM
Originally Posted by buileminh View Post
Moreover, if you can give people some options such as cellpadding, cellspacing,... it will be GREAT.
This can all be done trough CSS, so I don't really see the need for it - exept if you want to have this different for each table.
Colspan is possible as you know?
Actually, I don't think there is a cellspacing CSS rule that works across browsers - unless I am mistaken??
Stefanus
01-14-2010, 09:10 PM
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '', 1);;
This change should work.
Thanks, using Version vB4.0.1
edytwinky
01-16-2010, 01:56 AM
Thanks, using Version vB4.0.1
Is this confirmed as working in VB 4.0.1?
Stefanus
01-17-2010, 02:28 PM
Is this confirmed as working in VB 4.0.1?
Yepp! as long as you do the fix which El Orans (https://vborg.vbsupport.ru/showthread.php?p=1952045#post1952045) gave.
BRotondi
01-25-2010, 05:44 AM
vB4 (El Orans (https://vborg.vbsupport.ru/showpost.php?p=1952045&postcount=575)): Add the red , 1 in product-bbcode_table-multi.xml:
every new line is a new row.', 0, 'table', '', 1);");Greetings, Bruno
crashys
01-26-2010, 04:56 PM
Hi, great work on your mod. I'm just having some trouble hiding the lines (the border of the column). Can you tell me a way to fix it? Thanks.
Its for version: 4.0.1
obmob
01-27-2010, 04:59 PM
How did you make it work in 4.0.1? I disabled this before upgrading, i enabled it and all i see is:
'No code has to be inserted here'
Tried doing the insert, but it says it's already in there. :(
BRotondi
01-28-2010, 05:49 AM
"Add the red ,1 in product-bbcode_table-multi.xml" before installation, then you don't have to do anything after the installation.
Regards, Bruno
obmob
01-28-2010, 02:00 PM
OH, now it works, thanks! :D
edytwinky
01-29-2010, 10:14 PM
"Add the red ,1 in product-bbcode_table-multi.xml" before installation, then you don't have to do anything after the installation.
Regards, Bruno
I need to do this before upgrading to 4.0?
kiyagi
02-01-2010, 06:27 AM
Can someone give me a step by step for the dummy on updating this for 4.0 after an upgrade? :) Sorry to be a hassle.
BRotondi
02-01-2010, 07:02 AM
@edytwinky: First Upgrade to 4.0, then import the new xml
@kiyagi: Download, change to 4.0, import (see 1. Post) ;)
Greetings, Bruno
kiyagi
02-01-2010, 08:11 AM
@edytwinky: First Upgrade to 4.0, then import the new xml
@kiyagi: Download, change to 4.0, import (see 1. Post) ;)
Greetings, Bruno
Thanks BRotondi.
It seems that the result is the same whether I uninstall and import the new xml or I just keep the old xml.
I have a sortable table, but the background color is just plain background color of the postbit background.
Any idea why this is the case?
BRotondi
02-01-2010, 10:41 AM
No... Try to solve it through FireBug (https://addons.mozilla.org/de/firefox/addon/1843) first, so you can locate the reason.
Bruno
Eq4bits
02-01-2010, 07:43 PM
so which one do i download to reinstall after upgrading to 4.0.1?
i 'get' that i'll have to edit the xml file, easy to do. but want to be sure i do the right one
Eq4bits
02-01-2010, 08:37 PM
ugh, everything was going fine until I went in and did the settings/enabling in bbcode table settings, when i 'saved' it got this error:
Fatal error: Unsupported operand types in /home/jdawnsis/public_html/includes/adminfunctions_options.php on line 712
Eq4bits
02-01-2010, 08:43 PM
that error doesn't seem to affect the table bbcode from 'working' tho... i was able to make a table in a test post/thread with no problem
haven't tested the 'sortablility' of it tho =S
lemonadesoda
02-02-2010, 07:37 PM
+1 for a vB 4.0.x compatible version.
Installed it with the XML edits posted earlier, but all tables are plain. We need
1./ Main mod to work directly in vB 4.0.x without manual hacking
2./ Compatible language file. Why not build the EN into the main installer, and allow language files for OTHER languages only. 90% of time then just one download needed
3./ Get the CSS working in vB 4.0.x
Remember that while some people might know how to hack it, most users arent programmers and are getting stuck with trying to get the vB3.x one to work under vB4.0.x
Anyway, great tool! And keep it up :)
___________
Suggestions for development
1./ Have a tab character defined, that works WITHIN a column cell, e.g. ">" for the tab character. How "big" is the tab? Hmm, perhaps it is just an equal divider of the column, just as columns divide the table, tabs divide the column
2./ Have a highlight code so that you can select one row to be highlighted (maybe this is in your special options, but understanding how it works aint obvious to noobs like me! LOL. I'll get there soon!)
obmob
02-02-2010, 08:06 PM
So, how to make the CSS work? Is there a way to use vB4 classes instead of tbordet and alt?
I tried updating the product, changing tborder for mid_border, but can't make it work. :s
The only way is to add extra classes to the CSS?
Eq4bits
02-03-2010, 04:20 PM
Just a heads up...
I had to uninstall this mod... it effed up the CMS/blog editor built-in table.
Wonder why vB has the table code for the cms/blog editors but NOT the forum?
Eq4bits
02-04-2010, 12:12 PM
okay I have a problem after uninstalling... (also deleted the table icon from my images/editor directory)
Now "Wrap [ TABLE] tags around selected text shows up in my editor toolbar... how can I get rid of that????? I searched phrases but can't find it
also looked in the 'obvious' templates and can't find it there either, yet... it's showing =S
Dervish-Dancer
02-08-2010, 08:31 PM
Just a heads up...
I had to uninstall this mod... it effed up the CMS/blog editor built-in table.
Wonder why vB has the table code for the cms/blog editors but NOT the forum?
probably because the forum is still running on mostly very outdated code :(
beduino
02-09-2010, 05:58 PM
Please,
this bbcode works or don't work with vBulletin 4.0.1?
If work , need some special instructions?
Thanks in advance
Pro-eSports.com
02-15-2010, 03:04 PM
There are a lot of download links. Can someone tell me which files I need to download to have the latest version?
Does it work with vBulletin 4.0.1?
Sadikb
02-18-2010, 06:38 PM
thanks for the vb4 fix.
Pro-eSports.com
02-18-2010, 08:27 PM
There are a lot of download links. Can someone tell me which files I need to download to have the latest version?
Does it work with vBulletin 4.0.1?
Bump!
Pro-eSports.com
02-18-2010, 11:55 PM
One says it doesn't work and another one says thanks for a vB4 fix. What's right now?
BRotondi
02-19-2010, 07:45 AM
Works with 4.0.1: Tabellen (http://sinnimleben.net/forum/threads/420-Tabellen)
But perhaps some special features are buggie? Don't use ist too much yet...
Greetings, Bruno
Bellethiel
02-24-2010, 04:39 PM
Well it kinda works with 4 somehow but without the css stuff. Does someone have a solution for that?
HolyKiller
02-24-2010, 11:05 PM
works fine on vB4 with that little fix, thx ;)
Lord Haste
02-25-2010, 08:41 AM
Thanks for this code, it comes in very handy.
It works on 3.8 but I have no doubt everybody using it knows that.
BRotondi
02-25-2010, 11:50 AM
The encluded Plugin link sorttable javascript in <head>-section on hook global_complete does not work with vB4 and with vB4.0.1/2 it will even break vb-scripts like vbulletin_multi_quote.js!
if(($vbulletin->options['stg_table_options']&64)&&in_array(THIS_SCRIPT, array('announcement','calendar','editpost', 'newreply','newthread','private','showpost','showt hread','usernote'))){
$output = str_replace('</head>',"\t".'<style type="text/css">'."\n\t\tspan.sortarrow {position:absolute;}\n\t\tspan.sortarrow img {border:0;}\n\t\ta.sortheader {text-decoration:none; display:block; width:100%;}\n\t</style>\n\t".'<script type="text/javascript">'."\n\t\t".'var IMGDIR_BUTTON = "'.$stylevar['imgdir_button'].'";'."\n\t".'</script>'."\n\t".'<script type="text/javascript" src="clientscript/sorttable.js"></script>'."\n".'</head>',$output);
}The red part sets IMGDIR_BUTTON to "" since $stylevar['imgdir_button'] cannot be referenced this way any more. Effect: Eg Multiquote cannot be used any more since vbulletin_multi_quote.js uses it to reference the multiquote-buttons.
Solution: Disable this PlugIn, since the sorting does not work any more in vB4.0.2. I tried to hardencode stylevar['imgdir_button']:
if(($vbulletin->options['stg_table_options']&64)&&in_array(THIS_SCRIPT, array('announcement','calendar','editpost', 'newreply','newthread','private','showpost','showt hread','usernote'))){
$output = str_replace('</head>',"\t".'<style type="text/css">'."\n\t\tspan.sortarrow {position:absolute;}\n\t\tspan.sortarrow img {border:0;}\n\t\ta.sortheader {text-decoration:none; display:block; width:100%;}\n\t</style>\n\t".'<script type="text/javascript">'."\n\t\t".'var IMGDIR_BUTTON = "images/buttons";'."\n\t".'</script>'."\n\t".'<script type="text/javascript" src="clientscript/sorttable.js"></script>'."\n".'</head>',$output);
}but this helps only for the Multiquote, not for sorting...
German Thread about this Bug: 'Beitrag zum Zitieren ausw?hlen' defekt. (http://www.vbulletin-germany.com/forum/showthread.php/47298-Beitrag-zum-Zitieren-ausw%C3%83%C2%A4hlen-defekt.?highlight=)
Greetings, Bruno
(Again: The Addon works fine with vB4, but the sorting plugin has to be disabled!)
motorola
02-28-2010, 11:14 AM
So what is the installation guide for vb 4.0.2.
I needed it, I'm pretty noob, need help to understand all the things :)
Help will be appreciated !
Thanks
BRotondi
02-28-2010, 12:19 PM
See #1 (https://vborg.vbsupport.ru/showthread.php?t=107985) for the download #581 (https://vborg.vbsupport.ru/showpost.php?p=1965907&postcount=581) for the change before importing the xml and #609 (https://vborg.vbsupport.ru/showpost.php?p=1991193&postcount=609) to disable the "sorting plugin".
Bruno
Bellethiel
03-02-2010, 09:20 AM
By the way: the table works but it doesn´t have any css since the update to vb4. What would i have to add where to get that css working again?
Goonermark
03-09-2010, 01:20 PM
Just started using this on our football statistics site (http://11v11.com/forums/showthread.php?t=804)
Still a total newbie with it - if anyone fancies giving some advice on how to make it easy for our users to use it for League Tables and career histories (We would love to be able to convert existing tables in Excel) that would be great.
BTW its a members-only site but get in touch with us if you fancy helping out and we'll sort out access!
Thanks
BRotondi
03-09-2010, 02:11 PM
There is already a Excel-Converter somewhere here in these 40 pages... Use search or download my German version: table.xls (http://SinnImLeben.net/external/table.xls). (More Infos somewhere in this too long thread...)
Greetings, Bruno
Edit: Found it! Begin to read from #511 (https://vborg.vbsupport.ru/showthread.php?p=1895158#post1895158) (last Version: #541 (https://vborg.vbsupport.ru/showpost.php?p=1903178&postcount=541))
Goonermark
03-09-2010, 02:50 PM
Bruno - you are a genius. Just tried it out on the site and it is fantastic. Vielen Dank!
BRotondi
03-10-2010, 12:04 AM
:) Thanks. Main author was War.Frog (https://vborg.vbsupport.ru/member.php?u=348917). I only helped a little bit.
BRotondi
03-10-2010, 12:21 AM
This Thread is really long now. Here the latest important or interesting things:
#530 (https://vborg.vbsupport.ru/showpost.php?p=1902583&postcount=530) (smaller sorting buttons, 3.8 only)
#543 (https://vborg.vbsupport.ru/showpost.php?p=1903499&postcount=543) (table-art)
#581 (https://vborg.vbsupport.ru/showpost.php?p=1965907&postcount=581) (changes for vBulletin 4.x)
Use FireBug (https://addons.mozilla.org/de/firefox/addon/1843) for personal customisations
German How-to on my site: Tabellen (http://sinnimleben.net/forum/threads/420-Tabellen)
#609 (https://vborg.vbsupport.ru/showpost.php?p=1991193&postcount=609) (Bug: after vBulletin 4.0.0 you MUST disable the sorting plugin)
War.Frog
03-10-2010, 01:42 AM
This Thread is really long now. Here the latest important or interesting things:
#530 (https://vborg.vbsupport.ru/showpost.php?p=1902583&postcount=530) (smaller sorting buttons, 3.8 only)
#543 (https://vborg.vbsupport.ru/showpost.php?p=1903499&postcount=543) (table-art)
#581 (https://vborg.vbsupport.ru/showpost.php?p=1965907&postcount=581) (changes for vBulletin 4.x)
Use FireBug (https://addons.mozilla.org/de/firefox/addon/1843) for personal customisations
German How-to on my site: Tabellen (http://sinnimleben.net/forum/threads/420-Tabellen)
#609 (https://vborg.vbsupport.ru/showpost.php?p=1991193&postcount=609) (Bug: after vBulletin 4.0.0 you MUST disable the sorting plugin)
Thank you for this BR! Very helpful.
BRotondi
03-10-2010, 05:59 AM
No Problem :).
I should clarify the last Point: The following lines from the installation instruction works only till vB 4.0.0:
If you want to have live sortable columns (JavaScript): Download attached sorttable.js.txt rename it to sorttable.js and place it into the /clientscript/ folder of your vBulletin. Then go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Enabled Features Of This BB Code and enable sortable
Note: Including the file on the webpages where it is necessary is done by my product. So if sortable is disabled, it won't be included automatically.This means vor vB > 4.0.0:
Do not upload sorttable.js, since it will break multiquote
or if already done: Disable "[] sortable" in the ACP-Options. (This way the Plugin "link sorttable javascript in <head>-section" which breaks Multiquote will not be executed.)For more details see #609 (https://vborg.vbsupport.ru/showthread.php?p=1991193#post1991193).
Perhaps someone can confirm this? I tested it seriously but of course cannot be 100% sure.
rwoscott
03-24-2010, 09:56 PM
Thanks BRotondi for your helpful tips and advice on here!!
BRotondi
03-25-2010, 05:07 AM
Thanks for your thanks :)
ARPRDcom
03-28-2010, 07:10 PM
I installed but I do not see it on my editor .... Some other settings need set ???
I see the image showing admin under plugins but not on the editors ....
James
Verionia
04-05-2010, 10:10 PM
When will 4.02 support be available?
hotslot
04-06-2010, 04:59 PM
I also need this for 4.0.2
Is it a mess right now?
BRotondi
04-06-2010, 05:33 PM
4.0.2: Everything's fine, except sorting, which is not supported at the moment.
bigmachines
04-06-2010, 06:37 PM
So I downloaded your XML files, etc, but I don't see a readme as to how to install, where can I find installation instructions?
Thanks.
motorola
04-10-2010, 05:23 PM
Installed on 4.0.3. Works fine at the momment . Thanks
One probblem, I uploaded the imaged, but it's not show up on the toolbar editor.
What can I do to have it there?
BRotondi
04-10-2010, 07:24 PM
Upload- and BB-Path must be the same!
motorola
04-11-2010, 10:37 AM
Fixed now. Thanks
zelnik
04-12-2010, 07:22 PM
Hi Guys,
I've been trying to uninstall this for hours now and would appreciate some help.
Using vb4.0.3 i decided to remove it due to the errors and I didn't want to edit files and stuff to get it to sort of work.
I've deleted the JS.
I deleted the bb code entry
and uninstall the product?
I made the mistake of thinking uninstalling and delete the js would uninstall it but that wasn't the case I had to reinstall and then delete it under the bb code menu first and then uninstall the product xml
Is there anything else I'm missing? thanks.
BRotondi
04-12-2010, 08:15 PM
a) Works nice here with 4.0.3.
b) Uninstall: Don't know either... Perhaps you can ask in the main forum, what excatly is beeing done, when uninstalling or how to be sure to 100% remove an AddOn... (and let us know here then)
Texas_Dawg
04-23-2010, 01:35 AM
By the way: the table works but it doesn?t have any css since the update to vb4. What would i have to add where to get that css working again?
Any update on css for vb4?
Mastergumble
05-10-2010, 01:23 PM
A update on this for vb4 would be awesome, the cms editor to work with tables make a lot of things harder...
bnimbhal
05-20-2010, 02:21 AM
I tried it in my Local Machine, and its not working even after adding 1, getting error
"Fatal error: Unsupported operand types in C:\xampp\htdocs\vb\includes\adminfunctions_options .php on line 727"
Using 4.0.3 (1)
Can someone please help me, I am not so good in coding :(
leftwich86
06-07-2010, 10:39 PM
Getting error:
Unsupported operand types in /home/admin/public_html/community/includes/adminfunctions_options.php on line 727
This is when trying to activate sortable
bnimbhal
06-12-2010, 02:31 AM
Its working fine with VB4
But having some problem, I have attached a image, and I want to create table like this ( Need to give brake ), can someone please tell me the way.
mickknutson
06-21-2010, 12:27 AM
vb 4.0.4 seems to work, but I get image 404 errors:
http://www.blincmagazine.com/sortdesc.png
But not sure where this is, or should be.
Keesa
06-30-2010, 12:55 AM
I only can say the same again: You have to link the javascript-file in the <head>-section of the html output, as it is done by my plugin - I don't know how and where this can be done in vBAdvanced.
To all: Sorry, I forgot to mention a new small feature in my new version: If you want to have a linebreak in a tablecell only put {br} instead of it - this will be replaced by a linebreak.
Okay, I got this to work, using the {br}
Does anyone know how, in version 3.8 to set the table class to align at the top of each cell???
John Streetz
06-30-2010, 03:29 AM
This won't install correctly in the latest version of vB. I get a database error. Can someone update this for vB4.0.x?
Amiga Harrison
07-01-2010, 10:04 AM
This is working fine for me in vB4.0.4, with sortable tables disabled. I've had this installed since 3.X and it has continued to work fine.
It would still be great if someone could update this properly for vB4 and fix the sortable issue.
Dragonsys
07-01-2010, 02:48 PM
This won't install correctly in the latest version of vB. I get a database error. Can someone update this for vB4.0.x?
what error?
Kr33p3r
07-23-2010, 09:20 PM
Example CSS for vb4 - put it in your additional.css
Will work for vb3 too.
.stg_table {border-color:#000; border-width: 2px; padding: 2px; background-color:#250517;}
.stg_table td {border-color:#000; border-width: 2px; }
.stg_table .alt1 {border-color:#000; border-width: 2px; background-color:#111111; }
.stg_table .alt2 {border-color:#000; border-width: 2px; background-color:#333333; }
Enjoy.
apokphp
07-24-2010, 02:33 AM
Example CSS for vb4 - put it in your additional.css
Will work for vb3 too.
Cool. How do you change the text color though?
xuanhuy238
07-24-2010, 03:20 PM
Does it work on 4.0.5?
apokphp
07-24-2010, 05:52 PM
Yes. See this thread in my test forum: http://www.onlinedebate.net/forums/showthread.php/22279-testing-tables
.css just needs work.
tpearl5
07-27-2010, 03:49 PM
I'm surprised someone hasn't compiled the above change and fixed the css for a 4.0 version.
apokphp
08-01-2010, 05:42 PM
I've found an error for 4.0.5 installs. I know this was written for 3.8.x...but some of us are trying to use it on updated boards.
At first, it seems to work fine. But you cannot make changes to the settings in the admincp. You get this error:
Fatal error: Unsupported operand types in /home/xxxx/public_html/forums/includes/adminfunctions_options.php on line 728
To be clear, this code is NOT updated for 4.0.5 boards.
Uninstalled.
Darat
08-01-2010, 06:06 PM
I've found an error for 4.0.5 installs. I know this was written for 3.8.x...but some of us are trying to use it on updated boards.
At first, it seems to work fine. But you cannot make changes to the settings in the admincp. You get this error:
Fatal error: Unsupported operand types in /home/xxxx/public_html/forums/includes/adminfunctions_options.php on line 728
To be clear, this code is NOT updated for 4.0.5 boards.
Uninstalled.
Are you sure that is caused by this add-on - I have it installed on 4.05 and it is working fine and I can change and alter all of its settings.
apokphp
08-01-2010, 08:19 PM
I'm absolutely positive. It may be the case that this addon is conflicting with another...but I need my other addons.
I went through every single possible option in admincp and saved. I had to do this because when I display all settings, and save anything at all...I got the error. So weeding it down to the one that was causing trouble...was necessary for troubleshooting (this topic was discussed at vb.com in fact).
This was the only mod that caused that error. I removed it, and I can now save any setting when they are all displayed on the same page.
And it would never let me save settings when this was the only mod option displayed.
*edit*
I didn't test it...now that I think about it...but I did make 1 modification to the .css file as noted in the above posts as a suggestion. Instead of removing that change, I just removed the entire mod.
Did you make the .css change?
Darat
08-02-2010, 08:21 PM
I'm absolutely positive. It may be the case that this addon is conflicting with another...but I need my other addons.
I went through every single possible option in admincp and saved. I had to do this because when I display all settings, and save anything at all...I got the error. So weeding it down to the one that was causing trouble...was necessary for troubleshooting (this topic was discussed at vb.com in fact).
This was the only mod that caused that error. I removed it, and I can now save any setting when they are all displayed on the same page.
And it would never let me save settings when this was the only mod option displayed.
*edit*
I didn't test it...now that I think about it...but I did make 1 modification to the .css file as noted in the above posts as a suggestion. Instead of removing that change, I just removed the entire mod.
Did you make the .css change?
The only change I made was this one:
Example CSS for vb4 - put it in your additional.css
Will work for vb3 too.
.stg_table {border-color:#000; border-width: 2px; padding: 2px; background-color:#250517;}
.stg_table td {border-color:#000; border-width: 2px; }
.stg_table .alt1 {border-color:#000; border-width: 2px; background-color:#111111; }
.stg_table .alt2 {border-color:#000; border-width: 2px; background-color:#333333; }
Enjoy.
thisgeek
08-03-2010, 07:33 AM
For what it's worth, I've changed the CSS that Kr33p3r provided to match the vb default theme:
.stg_table { background:url("images/buttons/newbtn_middle.png") repeat-x scroll 0 0 #7192A8; border:1px solid #E9E9E9; color:#FFFFFF; font:12px Tahoma,Calibri,Verdana,Geneva,sans-serif; padding:2px 0;}
.stg_table .alt1 { background:none repeat scroll 0 0 #F2F6F8; border-width:1px solid #E9E9E9; color:#000000 }
.stg_table .alt2 { background:none repeat scroll 0 0 #FFFFFF; border-width:1px solid #E9E9E9; color:#000000 }
I'm not a CSS guru, so there's probably unnecessary stuff there... but hey, it works for me.
Darat
08-03-2010, 10:11 AM
I have found one bug when running on vb4.05 (at least in my set-up) if you use the live sort option (sortable) it seems to screw-up the html on a page so that the image for the multiquote button can't be found.
MichaelDance
08-07-2010, 01:50 PM
I got this:
Database error in vBulletin 3.8.6:
Invalid SQL:
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');;
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Request Date : Saturday, August 7th 2010 @ 06:48:19 PM
Error Date : Saturday, August 7th 2010 @ 06:48:20 PM
Script : http://www.habbofaithforum.com/******/plugin.php?do=productimport
Referrer : http://www.habbofaithforum.com/*****/plugin.php?do=productadd
IP Address : *******************
Username : **********
Classname : **_Database
MySQL Version : 5.1.48
So i dno all i was doing is installing product.
Adi.s
08-28-2010, 07:28 AM
thanks
PJSkiboy
09-07-2010, 11:28 AM
Could someone possibly update this for 4.0.x ?
Pretty please? :)
AusPhotography
09-15-2010, 01:17 AM
I'll be 'fixing' this for our site in October (V4.0.6).
If I'm successful I'll post the revised code.
Goonie
09-27-2010, 08:45 PM
I'd like this for 4.0.7 if anyone has an update?
Guest20210129
09-30-2010, 10:47 AM
Just what I wanted, thanks ;)
Guest20210129
09-30-2010, 10:48 AM
I'd like this for 4.0.7 if anyone has an update?
I've installed it in a 4.0.7 and it works :)
Dave-M
10-01-2010, 12:45 AM
I've installed it in a 4.0.7 and it works :)
How did you do it please? :)
apokphp
10-01-2010, 04:54 PM
There's a mod for 4.x already.
https://vborg.vbsupport.ru/showthread.php?t=250812
Goonie
10-03-2010, 10:42 AM
That mod for 4.x confuses the hell out of me.
If I install this mod 3.8.x on my 4.0.7 forum it should work???
KrisP
10-03-2010, 08:53 PM
It would be nice if the mouseover the table icon showed:
Example: head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3
Otherwise users wouldnt have a clue...
Alternatively simply inserted the example for editing.
Also | is very hard to find on the keyboard.
KrisP
10-03-2010, 09:22 PM
Seems it renders the table inside code tags for me ?
msolano
10-19-2010, 02:01 AM
Hello. I need help from the coder or some vb guru. I installed this many years ago but when I upgraded to vb4 I uninstalled it.
My problem is simple: the icon for this bbcode is appearing in my editor even the mod was uninstalled.
What could I check or how to eliminate it?
Hello. I need the coder or some vb guru. I installed this many years ago but when I upgraded to vb4 I uninstalled it.
My problem is simple: the icon for this bbcode is appearing in my editor even the mod was uninstalled.
What could I check or how to eliminate it?
Probably you only need to delete the bbcode at admincp > Custom BB Codes > BB Code Manager..
msolano
10-19-2010, 02:11 PM
Probably you only need to delete the bbcode at admincp > Custom BB Codes > BB Code Manager..
Thank you but I forgot to tell you that I double checked bbcode and plugin tables, there isn't rows about this bbcode. Although I use APC I selected datastore table registries and found it, I update the row but nothing changed.
What else can I check?
msolano
10-26-2010, 06:41 PM
Just for those that have this problem: I updated datastore table to delete the information about this mod, then I cleaned the vb cache. That's it!
Alfa1
12-01-2010, 03:18 PM
Does this work on vb4.1?
mawby
12-05-2010, 11:32 AM
I've had this installed since the early 3.8 days and I've got this working for vB4.1.0 with sorting still enabled. It's very hacky though so if you're not confident with hacking files then please don't follow these instructions as I offer no support for this - it is simply a list of things I did to get it working.
1) I added the items to additional.css as instructed here (https://vborg.vbsupport.ru/showpost.php?p=2078470&postcount=651).
2) I edited the "link sorttable javascript in <head>-section" plugin to remove the IMGDIR_BUTTON reference, resulting in...
if(($vbulletin->options['stg_table_options']&64)&&in_array(THIS_SCRIPT, array('announcement','calendar','editpost', 'newreply','newthread','private','showpost','showt hread','usernote'))){
$output = str_replace('</head>',"\t".'<style type="text/css">'."\n\t\tspan.sortarrow {position:absolute;}\n\t\tspan.sortarrow img {border:0;}\n\t\ta.sortheader {text-decoration:none; display:block; width:100%;}\n\t</style>\n\t".'<script type="text/javascript">'."\n\t".'</script>'."\n\t".'<script type="text/javascript" src="clientscript/sorttable.js"></script>'."\n".'</head>',$output);
}
3) I edited the clientscript/sorttable.js file and replace the IMGDIR_BUTTON references with hard coded paths, so this...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortasc.gif" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortdesc.gif" />';
span.setAttribute('sortdir','down');
}
...becomes this on my site...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="images/buttons/sortasc.png" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="images/buttons/sortdesc.png" />';
span.setAttribute('sortdir','down');
}
3) I edited the "parse vBCode table" plugin to remove the thead class reference, so...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead class="thead"><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
}
...becomes...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
}
4) Within the same plugin I had to add the restore class to the table tag, so...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder';
}
...becomes...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder restore stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder restore';
}
5) I ran the option: AdminCP -> Maintenance -> Update Counters -> Rebuild Post Cache
I want to reiterate, the above is simply what I've done to my site to get it working with the sort. I make no guarantee that it is the correct way to fix this or that it will work for anyone else.
With that said, I hope the above proves useful to someone. :D
PhillySportsNow
12-07-2010, 02:39 AM
Thanks for the excellent mod.
Initially I ran into a problem after installing: the icon wasn't showing up on the tool bar, until I add a "/" infront of the path "images/editor/tables.gif"
I realised the table will inherit the colors from the template, is it possible to assign custom colours to it when I create the tables?
Thanks:)
^ First post should be edited to reflect this. I ran into the problem dozens of others have had with the icon not showing up. This solved that problem.
Great Mod tho, thanks.
motorola
12-16-2010, 11:44 AM
Is not working on 4.1.0 PL2 . Is a disaster after I upgraded :(
LE: Its 4.1.0 not 4.0.1
Digital Jedi
12-17-2010, 12:55 AM
Is not working on 4.0.1 PL2 . Is a disaster after I upgraded :(
True of almost all 3.x modifications. vB 4.x is very different from previous versions, and anything with auto template changes likely wouldn't even work.
motorola
12-17-2010, 07:33 PM
Maybe somebody will tell us the solution to make this working on 4.1.0 PL2.
For example I have the following code for the table
Test | Test | Test | Test
1| 2 | 3 | 4
This looks like this
https://vborg.vbsupport.ru/external/2010/12/39.jpg
while saving setting in admincp I am getting this error:
Fatal error: Unsupported operand types in /home/****/public_html/includes/adminfunctions_options.php on line 692
same error! :( Look like developer abandoned that thread :( send PM to him.
Digital Jedi
12-18-2010, 03:30 PM
same error! :( Look like developer abandoned that thread :( send PM to him.
It's best not to do that. Developers mark a mod as Not Supported for a reason.
Check the version of PHP your host is running to see if it's up to date.
DJ I checked above it's "Supported" that's why I sent PM.... PHP version 5.2.9
Digital Jedi
12-20-2010, 05:12 AM
DJ I checked above it's "Supported" that's why I sent PM.... PHP version 5.2.9
Could have sworn it said Not Supported when I looked at it. Nevertheless, you really shouldn't PM developers to check the posts in their own thread. They generally ignore those types of messages anyway. That's what the thread is for.
Perhaps an outdated version of PHP?
motorola
12-20-2010, 03:54 PM
Maybe somebody will tell us the solution to make this working on 4.1.0 PL2.
For example I have the following code for the table
Test | Test | Test | Test
1| 2 | 3 | 4
This looks like this
https://vborg.vbsupport.ru/external/2010/12/39.jpg
Anyone?
Digital Jedi
12-22-2010, 03:18 AM
Anyone?
On the previous page, just a couple of posts before you first asked, someone posted a fix for 4.1 that might work for you.
Sander Prinsen
12-22-2010, 06:00 AM
[a lot of text]
Thanks mawby! This fixed it on my 4.1.0pl2 forum as well :D Great work!
AusPhotography
12-25-2010, 10:38 PM
I've had this installed since the early 3.8 days and I've got this working for vB4.1.0 with sorting still enabled. It's very hacky though so if you're not confident with hacking files then please don't follow these instructions as I offer no support for this - it is simply a list of things I did to get it working.
It works for us on V4.1.0pl2 - thanks!
Kyo-dono
12-27-2010, 08:57 PM
Coming a install for 4.1? Yes I read #670 (https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670).
Kyo-dono
12-29-2010, 08:29 PM
I have install it too. Its look very very nice, but I think it is to simple and not useable for complex tables. In this version, you can't use breaks like:
Line one of cell one
line two of cell one|Cell two|Cell three
:(
Is here a alternative bbcode for table?
midnz
12-29-2010, 09:08 PM
I have install it too. Its look very very nice, but I think it is to simple and not useable for complex tables. In this version, you can't use breaks like:
Line one of cell one
line two of cell one|Cell two|Cell three
:(
Is here a alternative bbcode for table?
How to do a line break:
http://img36.imageshack.us/img36/8642/tablemodhelp4.jpg
Kyo-dono
12-29-2010, 10:54 PM
Nice, thanks. Is it possible to set a custom width for each cell?
midnz
12-30-2010, 03:38 AM
Nice, thanks. Is it possible to set a custom width for each cell?
You're welcome :)
I don't think you're able to set custom cell widths.
I've placed below 4 images showing 7 examples of the common features for this table mod that I have used on my own forum.
http://img39.imageshack.us/img39/8893/tablemodhelp1.jpg
http://img36.imageshack.us/img36/2592/tablemodhelp2.jpg
http://img36.imageshack.us/img36/4205/tablemodhelp3.jpg
http://img36.imageshack.us/img36/8642/tablemodhelp4.jpg
You might want to check out this Table BBCode as an alternative option. It can be tricky to use but the results are superior IMO: BBCode - Comprehensive set of TABLE tags (BB Code) (https://vborg.vbsupport.ru/showthread.php?t=250812)
Drareg
01-02-2011, 04:44 PM
It took me a litte while to figure it out completely, but now I've got it working perfectly with styles for te table and rows. Great ofcourse I installed it :up:
Drareg
01-02-2011, 05:42 PM
I tried to assign a background image, but somehow it does not work, also other background colors do not have any effect. Path to image is ok, if set to another part of vB it workes, waht could be wrong?
Drareg
01-02-2011, 05:51 PM
Mmmm, found it, I had: background-images: url(path) changed it to background: url("path") and it worked!
Digital Jedi
01-02-2011, 07:24 PM
Mmmm, found it, I had: background-images: url(path) changed it to background: url("path") and it worked!
I think it was the "s". There is no background-images property. It should be background-image.
rootsxrocks
01-04-2011, 03:33 PM
I am looking for this feature for 4.1.0pl2 using PHP 5.3.4 can someone point me in the right direction ?
Digital Jedi
01-04-2011, 04:52 PM
I am looking for this feature for 4.1.0pl2 using PHP 5.3.4 can someone point me in the right direction ?
About two or three pages back, someone posted their tweaks for vB4.
pokusek
01-09-2011, 09:43 AM
When I installed the plugin, there was no clickable [table] icon on the editor page. How can I fix it?
PS: I use vBulletin v4.1.0.
Kyo-dono
01-09-2011, 01:29 PM
read the startpost carefully and you find the answer.
pokusek
01-09-2011, 02:55 PM
Well, I must be blind, because I cannot find it. Can you help me?
And I noticed that [table="head"] with enabled JS sorting does not work correctly. Does anyone know how to fix that?
AusPhotography
01-10-2011, 02:00 AM
Well, I must be blind, because I cannot find it. Can you help me?
And I noticed that [table="head"] with enabled JS sorting does not work correctly. Does anyone know how to fix that?
vB4.1.x see https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670
pokusek
01-10-2011, 03:48 AM
vB4.1.x see https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670
Thank you very much! But there is still not a clickable icon in the WYSIWYG editor. How can I add it?
Digital Jedi
01-10-2011, 04:04 AM
Thank you very much! But there is still not a clickable icon in the WYSIWYG editor. How can I add it?
Did you ever add the image to your styles folder?
pokusek
01-10-2011, 12:11 PM
Oh, now I know how to fix it. If anyone else would have the same problem, this should help:
1) go to this page: http://yoursite.tld/admincp/bbcode.php?do=modify
2) find the plugin's custom BB code
3) change the value of "Button Image (Optional)" to "/images/editor/table.gif"
Done. :)
ArchAngelz
01-12-2011, 06:07 AM
Can someone confirm that this mod is not an option for those users on vb4 who are using CMS/Blog built in tables and want to have tables on the forum?
I'm on vb4.03 as of now and am finding a solution to create tables in forum posts.
Just a heads up...
I had to uninstall this mod... it effed up the CMS/blog editor built-in table.
Wonder why vB has the table code for the cms/blog editors but NOT the forum?
mickknutson
02-11-2011, 01:39 PM
vB4.1.x see https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670
Where is the CSS file, and where does it go?
https://vborg.vbsupport.ru/showpost.php?p=2078470&postcount=651
I see some css entries but have no idea where they go.
vitrag24
02-15-2011, 06:09 AM
available for vb 4 plz?
thx.
Morpheus-GND
03-22-2011, 02:40 PM
What have i to do, to show this table correct ?
--- I'm running on vBulletin 4.1.2 ---
The Width of every column should be correct as bright as it needs (should get the width from the value content).
Phaedrus
03-25-2011, 02:33 AM
Can someone confirm that this mod is not an option for those users on vb4 who are using CMS/Blog built in tables and want to have tables on the forum?
I'm on vb4.03 as of now and am finding a solution to create tables in forum posts.
I'm thinking we'll need to rewrite the mod in 4.1.2 style and change the bbcode designator to something like [ftable]... or maybe [tables] so that it doesn't rename and create our cms table bbcode.
I had it working on my site, but it threw an eval code error and messed up page alignment as well... I removed eval and added a variable render, but it still threw out the error for some reason.
Phaedrus
03-26-2011, 01:27 AM
Instead I just added bbcode for each tag, used the regular sorttable.js file (not the one changed for this mod) added a call to it in the headinclude, and bammo. It takes a few more tags to do it, but it works.
Later I may take the time to translate this into 4.1.2, but as of now my site has sortable tables anyway.
:D
vitrag24
03-26-2011, 05:27 AM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=670</a>
can someone simplify or add modified plugin file directly so we can run on vb 4.2.1 ?
Eq4bits
03-26-2011, 07:36 AM
Instead I just added bbcode for each tag, used the regular sorttable.js file (not the one changed for this mod) added a call to it in the headinclude, and bammo. It takes a few more tags to do it, but it works.
Later I may take the time to translate this into 4.1.2, but as of now my site has sortable tables anyway.
:D
Do tables still work for CMS and Blogs with your modifications? Previously having this mod for having tables in forum posts negated the ability to have tables work in CMS =S
A.Chakery
04-07-2011, 08:19 AM
Thanks for this mod,
But when I use this mod , the XHTML Validator gives me too many errors related to the table made by this mod.
any idea ?
HolyKiller
04-10-2011, 02:50 AM
2 A.Chakery's: Screw on validator or w8 for vB 4.1.4 (new editor with table function)
BTW: This works fine on 4.1.1, but ill update my forum to 4.1.3 tomorrow, so i hope it will be fine :)
A.Chakery
04-10-2011, 09:26 AM
But Validatig the Codes is so important to SEO , so its kind of a big problem.
Will there be any updates ?
mickknutson
04-10-2011, 11:55 AM
https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670
can someone simplify or add modified plugin file directly so we can run on vb 4.2.1 ?
That would really help me as well.
rwoscott
04-10-2011, 11:34 PM
I've had this installed since the early 3.8 days and I've got this working for vB4.1.0 with sorting still enabled. It's very hacky though so if you're not confident with hacking files then please don't follow these instructions as I offer no support for this - it is simply a list of things I did to get it working.
1) I added the items to additional.css as instructed here (https://vborg.vbsupport.ru/showpost.php?p=2078470&postcount=651).
2) I edited the "link sorttable javascript in <head>-section" plugin to remove the IMGDIR_BUTTON reference, resulting in...
if(($vbulletin->options['stg_table_options']&64)&&in_array(THIS_SCRIPT, array('announcement','calendar','editpost', 'newreply','newthread','private','showpost','showt hread','usernote'))){
$output = str_replace('</head>',"\t".'<style type="text/css">'."\n\t\tspan.sortarrow {position:absolute;}\n\t\tspan.sortarrow img {border:0;}\n\t\ta.sortheader {text-decoration:none; display:block; width:100%;}\n\t</style>\n\t".'<script type="text/javascript">'."\n\t".'</script>'."\n\t".'<script type="text/javascript" src="clientscript/sorttable.js"></script>'."\n".'</head>',$output);
}
3) I edited the clientscript/sorttable.js file and replace the IMGDIR_BUTTON references with hard coded paths, so this...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortasc.gif" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortdesc.gif" />';
span.setAttribute('sortdir','down');
}
...becomes this on my site...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="images/buttons/sortasc.png" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="images/buttons/sortdesc.png" />';
span.setAttribute('sortdir','down');
}
3) I edited the "parse vBCode table" plugin to remove the thead class reference, so...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead class="thead"><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
}
...becomes...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
}
4) Within the same plugin I had to add the restore class to the table tag, so...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder';
}
...becomes...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder restore stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder restore';
}
5) I ran the option: AdminCP -> Maintenance -> Update Counters -> Rebuild Post Cache
I want to reiterate, the above is simply what I've done to my site to get it working with the sort. I make no guarantee that it is the correct way to fix this or that it will work for anyone else.
With that said, I hope the above proves useful to someone. :D
Thankyou, worked a treat!!!
rwoscott
04-11-2011, 02:27 AM
I am struggling with the CSS to change the link (.a) and the hover color for the stg_table.
Anyone can help please??
Edit:Solved - stg_table a {...}
mickknutson
04-11-2011, 12:27 PM
I've had this installed since the early 3.8 days and I've got this working for vB4.1.0 with sorting still enabled. It's very hacky though so if you're not confident with hacking files then please don't follow these instructions as I offer no support for this - it is simply a list of things I did to get it working.
1) I added the items to additional.css as instructed here (https://vborg.vbsupport.ru/showpost.php?p=2078470&postcount=651).
2) I edited the "link sorttable javascript in <head>-section" plugin to remove the IMGDIR_BUTTON reference, resulting in...
if(($vbulletin->options['stg_table_options']&64)&&in_array(THIS_SCRIPT, array('announcement','calendar','editpost', 'newreply','newthread','private','showpost','showt hread','usernote'))){
$output = str_replace('</head>',"\t".'<style type="text/css">'."\n\t\tspan.sortarrow {position:absolute;}\n\t\tspan.sortarrow img {border:0;}\n\t\ta.sortheader {text-decoration:none; display:block; width:100%;}\n\t</style>\n\t".'<script type="text/javascript">'."\n\t".'</script>'."\n\t".'<script type="text/javascript" src="clientscript/sorttable.js"></script>'."\n".'</head>',$output);
}3) I edited the clientscript/sorttable.js file and replace the IMGDIR_BUTTON references with hard coded paths, so this...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortasc.gif" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="' + IMGDIR_BUTTON + '/sortdesc.gif" />';
span.setAttribute('sortdir','down');
}...becomes this on my site...
if (span.getAttribute("sortdir") == 'down') {
ARROW = ' <img src="images/buttons/sortasc.png" />';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
ARROW = ' <img src="images/buttons/sortdesc.png" />';
span.setAttribute('sortdir','down');
}3) I edited the "parse vBCode table" plugin to remove the thead class reference, so...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead class="thead"><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
} ...becomes...
#if a head is specified, make it
if($bbcode_table['head']['enabled']==true){
$table_head = '<thead><tr><th'.implode('</th><th',$table_head).'</th></tr></thead>';
}else{
$table_head = '';
} 4) Within the same plugin I had to add the restore class to the table tag, so...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder';
} ...becomes...
if (strlen($bbcode_table['css']['table'])>0){
$table_html = '<table class="stg_table tborder restore stg_table_'.$bbcode_table['css']['table'];
}else{
$table_html = '<table class="stg_table tborder restore';
} 5) I ran the option: AdminCP -> Maintenance -> Update Counters -> Rebuild Post Cache
I want to reiterate, the above is simply what I've done to my site to get it working with the sort. I make no guarantee that it is the correct way to fix this or that it will work for anyone else.
With that said, I hope the above proves useful to someone. :D
I am having a hard time finding these plugins to edit such as stg_table_options. Can you help with where to find these files to make these edits?
rwoscott
04-13-2011, 01:09 AM
I am having a hard time finding these plugins to edit such as stg_table_options. Can you help with where to find these files to make these edits?
I admincp, find the Plugins and Products>plugin manager.
Then look for vbcode table.
This is where most of the edits above happen.
punterzone
04-13-2011, 11:53 PM
Thanks very much for this hack...it worked perfectly :)
Carlos X
04-15-2011, 01:45 AM
Looking at 4.1.3 update, seem as though there isn't one, assuming so, I have decided to remove this.
rwoscott
04-15-2011, 08:51 AM
Looking at 4.1.3 update, seem as though there isn't one, assuming so, I have decided to remove this.
Do you mean it no longer works with 4.1.3?
It works fine with 4.1.1
AndrewRich
04-15-2011, 10:49 PM
Happy to report that I've reinstalled this in our newly-upgraded to 4.1 mousepad.mouseplanet.com board, with mawby's changes (https://vborg.vbsupport.ru/showpost.php?p=2129575&postcount=670) to make it 4.1-compatible. Everything works great.
obmob
04-18-2011, 10:46 PM
Under 4.1.3... it works :p
Thank you very much to mawby for helping to update this for 4.1.X.
One question I have though... is there anyway to let the end-user select their own custom color scheme? In reading through, I saw that there were available CSS options but to the best of my understanding, that's only css themes that I create.
For example, I help run a site for fans of college football teams. There are 120 teams so in order for fans of a particular team to create a table with their team's colors, I'd have to create 120 different css options, correct?
Any help would be greatly appreciated.
flussmitteldj
05-13-2011, 02:34 PM
I have a problem with Fixed Style :(
http://www.overclockingstation.de/benchmarks/8863-3d-mark-11-benchmarkthread.html
The "sort" function has a Bug?
On IE Browser very good, on Firefox or Opera Browser Bad :(
MagicThemeParks
05-14-2011, 01:45 PM
Added it to another site (vB version 3.8.7) and works great :up:
Here's an example: United States Presidents (and Vice Presidents) (http://www.unitedstateshistoryforum.com/showthread.php?p=504)
Successfulsteps
05-15-2011, 05:32 AM
Will this work in version 4.1.3?
I could really use this for my forum! Please?
AusPhotography
05-19-2011, 11:22 AM
4.1.4 will have tables in Forum via CKeditor etc
obmob
05-20-2011, 09:42 PM
Hmm... hope they are easy to use, this was a very useful mod for me :p
djbaxter
05-21-2011, 03:02 AM
This mod is still workiong for me in 4.13.
MichaelDance
05-31-2011, 07:17 AM
I Get this:
Database error in vBulletin 3.8.7:
Invalid SQL:
INSERT INTO bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', 'column 1|column 2|column 3', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');;
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Request Date : Tuesday, May 31st 2011 @ 11:46:58 AM
Error Date : Tuesday, May 31st 2011 @ 11:46:58 AM
Script : http://habborawrforum.com/admincp/plugin.php?do=productimport
Referrer : http://habborawrforum.com/admincp/plugin.php?do=productadd
IP Address : **.***.***.***
Username : Michael
Classname : vB_Database
MySQL Version : 5.0.92-community
I love to use this if i can.
Stefanus
06-16-2011, 01:02 PM
4.1.4 will have tables in Forum via CKeditor etc
Pity, the "sharp ones" at vB supplied a really shitty scaled down version of the original CKeditor that renders this mod unusable and does not have a tenth of this mods capabilities.
Rather say: "4.1.4 will have shitty tables in Forum via CKeditor etc"
rootsxrocks
06-18-2011, 03:24 AM
Pity, the "sharp ones" at vB supplied a really shitty scaled down version of the original CKeditor that renders this mod unusable and does not have a tenth of this mods capabilities.
Rather say: "4.1.4 will have shitty tables in Forum via CKeditor etc"
could not have said it better.
Ddiablo
06-18-2011, 07:25 PM
Under 4.0.3... it works:D
Tanks a lot:):):D
mickknutson
06-19-2011, 12:17 AM
I just upgraded to 4.1.4 and now I get the tables horizontal.
http://www.blincmagazine.com/forum/wiki/Fatality_Statistics
Please help...
djbaxter
06-19-2011, 12:33 AM
Pity, the "sharp ones" at vB supplied a really shitty scaled down version of the original CKeditor that renders this mod unusable and does not have a tenth of this mods capabilities.
Rather say: "4.1.4 will have shitty tables in Forum via CKeditor etc"
I just upgraded to 4.1.4 and now I get the tables horizontal.
http://www.blincmagazine.com/forum/wiki/Fatality_Statistics
Please help...
While I have no doubt that the CKE Editor can be improved upon (and probably will be, if not by vBulletin then by an add-on), in the meantime the built-in table feature works pretty well.
Stefanus
06-19-2011, 06:53 AM
While I have no doubt that the CKE Editor can be improved upon (and probably will be, if not by vBulletin then by an add-on), in the meantime the built-in table feature works pretty well.
Depends on what functions you need, the supplied one only has limited functions and nothing what this mod offer. The CKeditor in vBulletin is still only an crippled version of the original.
See the report (http://tracker.vbulletin.com/browse/VBIV-12470).
Please show me how to implement the following table that was made with this mod on the "brand new vB 4.1.4 CKeditor"
{colsp=5} Murder Victim - Offender Relationship by Race 2004{br}Source: Crime in the United States, 2004, Table 2.7
|{colsp=4} Race of offender
| "White" | Black | Other | Unknown
White victims | 3123 | 522 | 37 | 45
Black victims | 228 | 2784 | 7 | 48
Victims of other race | 42 | 23 | 110 | 2
Victims of unknown race | 34 | 15 | 1 | 18
{colsp=5} Note: The FBI classifies Hispanics, Arabs and others as "Caucasians". The "White" figure above therefore does not reflect actual White crime rates, and is significantly inflated. When the actual population ratios are taken into account and extrapolated in, the per capita rate ratio of Black-on-White murders to White-on-Black murders becomes about 23. Similarly, the per capita rate ratio of White-perpetrator murders to Black-perpetrator murders becomes (typically) about 9.5. This ratio is a measure of the relatively higher propensity of Blacks toward violence, as compared with Whites.{br}{br}In 2004, there were 7039 US murders having a single perpetrator and a single victim. Of these murders, Blacks committed 3427 (48.7%) and Whites committed 3344 (47.5%). The Black per capita murder rate was 6.0 times higher than the White per capita murder rate.{br}{br}There were at least 859 interracial murders (12.2% of total murders), of which 545 were committed by Blacks (63.4% of interracial murders) and 270 were committed by Whites (31.4%). The Black per capita interracial murder rate was 12.5 times higher than that for Whites. {br}{br}There were 522 murders in which Blacks killed Whites (60.8% of interracial murders) and 228 murders in which Whites killed Blacks (26.5%). The average Black was 14.1 times more likely to kill a White than the reverse (in a one-on-one situation). {br}{br}The (White+Hispanic)/Black population ratio for 2004 was 6.18.{br}{br}Thanks to Jerry Abbot for the race and crime tables
pokusek
06-19-2011, 07:24 AM
Before vB v4.1.4 I was using this modification. Now I uninstalled it, but there still remains it's icon in the editor (there is no custom BB code on this page http://example.com/admincp/bbcode.php?do=modify right now, which is weird)
https://vborg.vbsupport.ru/external/2011/07/103.jpg
Does anyone know how to remove it?
Thanks.
HolyKiller
06-20-2011, 12:23 PM
I had a big problem after with my forum after updating to 4.1.4 witch this (perfect) mod still installed (disabled during update). Even after uninstall the default "table" function was buggy.
So i restored my fresh backup, uninstalled this MOD, then upgraded to 4.1.4 and it's working now. The main problem is, all of the old tables lost. I mean, it does not left any unparsed "source" in the posts, it just disappeared. So i temporary established the backup forum as a "test" installation in "read only" mode, so any user can copy/paste old table to the new forum. Yes, a bit tricky, but it's ok :)
kayota
06-24-2011, 03:33 PM
Dear all,
I used mod table for version 3.8.x, now i upgraded it to 4.1.1 and the mod table is no longer suitable. Therefore, the old posts using this mod are in error. I need the upgraded version for this function. Could you please do it and let me know the cost? Thank you very much.
Alfa1
06-24-2011, 11:04 PM
The conversion from this table hack to vbulletin 4.1.4 is important. Please release a converter.
Stefanus
06-30-2011, 06:55 AM
The "Table" in 4.1.4 does not have all the functions of this mod, and it does not look as if vB is going to give us the full capabilities of the full CKEditor (http://ckeditor.com/demo),
Have a look at the capabilities of the full: CKEditor - Demo (http://ckeditor.com/demo)
Play with the capabilities of the table function in the demo and decide for yourself if vB is giving us the best or.....
I still use this mod in vB 4.1.4 because of the crappy functions vB has given us in their version is not up to standard and does not have all the functions this mod have.
"4.1.4 will have shitty tables in Forum via CKeditor" ;)
obmob
06-30-2011, 03:45 PM
The conversion from this table hack to vbulletin 4.1.4 is important. Please release a converter.
Certainly, that would be useful.
wonderfulwat
06-30-2011, 06:39 PM
Agreed we need a 4.1.4 converter!
AusPhotography
07-01-2011, 10:10 AM
Agreed we need a 4.1.4 converter!
Why would this mod author write a converter to vB4.1.4??
It's not hard to write one of your own with a bit of PHP and regex .
I'll be writing a one of when i upgrade our site to 4.1.4/5 in production, maybe August as I'm really busy for now
Prorockz
07-02-2011, 11:53 AM
i am used 3.8.7 version im just install it but . table option not show please help me out , ? im miss to edit something ?
MagicThemeParks
07-02-2011, 01:07 PM
i am used 3.8.7 version im just install it but . table option not show please help me out , ? im miss to edit something ?
Do you mean that the icon isn't showing? You'd have to add an icon image path into the "Button Image (Optional)" field in the BBCode.
Prorockz
07-02-2011, 06:50 PM
"Button Image (Optional)" im already add that and in BBCODE is show table pic
but in new thread not see table options . or image .
Prorockz
07-03-2011, 04:22 AM
http://www.easyimageload.com/images/490_table2.jpg
http://www.easyimageload.com/images/514_table.jpg
check screen short .
yes i have added image path in to button image field . but still it is not show in editor post
MagicThemeParks
07-03-2011, 04:38 PM
Do you have any modifications or add-ons that customize the editor? Like an advanced editor mod? If so, you may want to check it on there.
Prorockz
07-04-2011, 08:22 AM
no im use simple/original editor if possible can u check out i can send u admin detail via pm ?
Danielgsc
07-06-2011, 09:14 PM
Why would this mod author write a converter to vB4.1.4??
It's not hard to write one of your own with a bit of PHP and regex .
I'll be writing a one of when i upgrade our site to 4.1.4/5 in production, maybe August as I'm really busy for now
Yes, already I had thought about that. It is easy to substitute | with td, but: how do you put the "tr" in its correct place if with the tab mod it was just necessary to put an enter?
Regards...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.