View Full Version : BB Code Enhancements - BB Code [table]
Alfa1
12-16-2007, 06:26 PM
...and remove all vB Codes having "table" as tag
Where should I do this?
cygy2k
12-17-2007, 01:38 AM
I understand this isn't a supported mod but I hope that somebody can get permission to take over the project and continue developing the product, it sure has a lot of interest. With 3.7 just around the corner, I'm guessing there will be even more problems that we'll have to individually try to work around.
rwoscott
12-17-2007, 05:41 PM
When I click my table icon, all I get is the table tags, nothing else.
Is this how it is supposed to work?
I thought it would show the default columns as well.
I'm on 3.6.5, BTW.
mistyPotato
12-18-2007, 08:41 AM
Received error -
INVALID FILE when trying to import
TigerWare
12-18-2007, 11:13 AM
Which file are you trying to import, and where are you importing it to? Have you tried to import the language file into the Product Manager? This will certainly give an error.
CypherSTL
12-24-2007, 04:51 PM
I understand this isn't a supported mod but I hope that somebody can get permission to take over the project and continue developing the product, it sure has a lot of interest. With 3.7 just around the corner, I'm guessing there will be even more problems that we'll have to individually try to work around.
A port to 3.7 would be nice, as this does not work in 3.7, can not even import the product xml nor the lang xml, receive errors.
4number8
12-24-2007, 05:30 PM
I need this really bad, and it won't import on 3.7, can someone.....anyone tell us how we can get this installed on 3.7......PLEASE
tekguru
12-24-2007, 06:49 PM
Nasty as this will stop us moving to 3.7 as this Mod is essential to us. Lucky it works on 3.7 if installed on 3.6.8 and then an upgrade performed.
4number8
12-30-2007, 01:51 PM
Can anyone tell me what edits need to be made to get this to import on 3.7. As tekguru already stated, if your doing an upgrade from 3.6.8 to 3.7 it still works just like intended, but something in the product is keeping it from importing. It would be alot of trouble to revert back to 3.6.8
StGaensler
01-10-2008, 08:37 AM
Hallo,
thanks for the feedback. I currently don't know what has changed in vBulletin 3.7 that prevents my mod from being imported.
A workaround could be to set up a test forum with vB 3.6.8 and install my mod, then update it and export my mod.
I hopefully will provide a new version (compatible with vB 3.7) with vBulletin 3.7 Gold.
tekguru
01-10-2008, 08:50 AM
Thanks for coming back to us. I'd have done that a few weeks ago but have had to wipe my test system from 3.7.x to go back to 3.6.8 to do soem other testing.
4number8
01-12-2008, 12:39 PM
I tried that also and it didn't work, thanks for keeping us informed.
tekguru
01-12-2008, 03:18 PM
A pity that - worth a try though!
Dr. Bantham
01-19-2008, 12:02 PM
This is quite simply one of the most valuable mods to my site. I truly hope that we see it ported to 3.7, as it would be a great loss.
I have one issue which should be fairly simple for someone to resolve. I am using live sortable columns, which creates links in the header element. The header seems to be defaulting to a different CSS setting when it comes to links. It works well for the content rows (defaulting to the correct link colors for alt1 and alt2. However, a couple of my styles have table header backgrounds which are causing the column headers to be illegible when the links show.
I have had success modifying the header css by adding the following to Additional CSS Definitions:
table.stg_table thead th {height:25px; font-weight:bold}
What do I need to add to specify a link color for the header? I do not wish to impact the link colors of row content.
EDIT
I discovered the following comment in the sorttable.js:
//link.className = 'sortheader';
Unfortunately, I tried the follow three settings to no avail:
table.sortable thead th {color:#FFFFFF; font-weight: bold}
table.stg_table.sortable thead th {color:#FFFFFF; font-weight: bold}
table.stg_table sortable {color:#FFFFFF; font-weight: bold}
kylek
01-21-2008, 07:45 AM
Trying this out myself on 3.7.0 Beta 3 and get this error while attempting to install, could this be the problem with 3.7.0/
Database error in vBulletin 3.7.0 Beta 3:
Invalid SQL:
INSERT INTO vb3_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
Date : Monday, January 21st 2008 @ 03:33:06 AM
Script : http://www.xxxxx.xxx/forum/admincp/plugin.php?do=productimport
Referrer : http://www.xxxx.xxx/forum/admincp/plugin.php?do=productadd
MySQL Version : 4.1.22-standard
StGaensler
01-24-2008, 08:22 PM
What do I need to add to specify a link color for the header? I do not wish to impact the link colors of row content.table.stg_table .sortheader {color:limegreen;}
will do it :)Trying this out myself on 3.7.0 Beta 3 and get this error while attempting to install, could this be the problem with 3.7.0/Currently vB 3.7 is not supported. There are more bugs to fix - e.g. you can't save the preferences of my mod.
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.
Stefan
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.
The query to add the BB code might not be working 'cause the table now has more rows? They added fields to delete the tag if it's empty, and to disable smilies and word-wrap inside.
beastybob
01-25-2008, 06:18 PM
Just curious is it possible to only allow Admins access to use this in posts ? Just to prevent users stuffing the site. I want to start some news threads with a table of results and there is no need for users to have the option on my site.
If it can be set only for admins/moderators can someone please let me know :)
Thanks
4number8
01-29-2008, 03:19 AM
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.
Stefan
After doing this and testing it out on my test board, this seems to fix it with 3.7
Thanks
Royalridge
02-20-2008, 02:31 PM
With a single modification to the product xml file this can be made to import on 3.7 and create the relevant bbcode table entry, however as always, I'd suggest waiting for the developer to release an approved version.
tekguru
02-22-2008, 11:38 AM
Good news indeed, have you made the author aware of this?
Has anyone else seen this error since installing this mod?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in .../forums/includes/class_bbcode.php(189) : eval()'d code on line 331
I have disabled this mod to see if the error goes away. This is the last mod I installed before this started happening.
Dr. Bantham
03-08-2008, 11:58 PM
How can I activate live sorting outside of the forums? I have set up vBadvanced pages which include tables. The tables work fine, but the sorting mechanism does not. Presumably this is because the portal index does not have the script call for the sorttable javascript file.
I tried including<script type="text/javascript" src="clientscript/sorttable.js"></script> within the page as html as well as a template edit within adv_portal. This made the table sortable with the first pass, but live sorting is not working. When you click on a heading to sort live, nothing happens except for the # character being appended to the end of the URL. What do I need to do to get live sorting to work within vBa?
StGaensler
03-17-2008, 08:41 PM
How can I activate live sorting outside of the forums? I have set up vBadvanced pages which include tables. The tables work fine, but the sorting mechanism does not. Presumably this is because the portal index does not have the script call for the sorttable javascript file.
I tried including<script type="text/javascript" src="clientscript/sorttable.js"></script> within the page as html as well as a template edit within adv_portal. This made the table sortable with the first pass, but live sorting is not working. When you click on a heading to sort live, nothing happens except for the # character being appended to the end of the URL. What do I need to do to get live sorting to work within vBa?I think, you missed the JavaScript code just above this code, so IMGDIR_BUTTON is not set - but the sorttable.js needs this var to be set.
For all the vB 3.7.x users:
I modified my mod, and now it seems to work perfectly with vB 3.7. Beneath other small fixes I think it was a missing <![CDATA[ that prevented my mod from being imported properly.
New Version in first post.
Edit:
moved product-bbcode_table-multi.xml (33.0 KB, 11 views) to first post
Dr. Bantham
03-17-2008, 09:34 PM
I think, you missed the JavaScript code just above this code, so IMGDIR_BUTTON is not set - but the sorttable.js needs this var to be set.I believe you are correct. However, I can not get the code to take:<script type="text/javascript">'."\n\t\t".'var IMGDIR_BUTTON = "'.$stylevar['imgdir_button'].'";'."\n\t".'</script>I assume it is struggling with the variables somehow. Any idea on what to revise?
Thanks for making this compatible with 3.7!
StGaensler
03-17-2008, 10:20 PM
Take the code from the html source of your forum and copy it into the template - then it doesn't use a variable :)
You only have to remember this change if you move your image directory :)
Dr. Bantham
03-17-2008, 11:20 PM
Take the code from the html source of your forum and copy it into the template - then it doesn't use a variable :)
You only have to remember this change if you move your image directory :)Worked like a charm! Let me know if integrating the image directory is easily done. I have several styles to change!
StGaensler
03-25-2008, 10:02 PM
Sorry, I don't really understand what you mean :( You have to set the IMGDIR_BUTTON variable once for every style you have. My Script code needs the path, because it uses the up and down arrows of the style for showing how the table is sorted. Theroretically you have to set this only once for every style - and I don't think that you move your image directory so often ;)
StGaensler
03-26-2008, 05:20 PM
I released a new version which has a small change: You can now use tabs to seperate the columns instead of using |. If the first row doesn't contain any | I will look up, if tabs are there and if I find (at least) one, I will switch to using tabs as seperator.
This feature is useful for directly inserting tables from your favourite spreadsheet (works with Microsoft® Excel™ and OpenOffice.org Calc).
Alfa1
03-26-2008, 07:27 PM
Many thanks Stephan! How do you upgrade from 1,6 to 1,7?
StGaensler
03-26-2008, 07:40 PM
For upgrading, simply import the actual product file and select that vBulletin should overwrite the existing one.
codershark
03-27-2008, 04:08 AM
where I can activate now the sortable ? I use vb3.7 and upload sortable.js to clientscript folder and where I must activate it or what I must do to run this feature ?
Alfa1
04-02-2008, 07:23 PM
For upgrading, simply import the actual product file and select that vBulletin should overwrite the existing one.
Sorry, but it is not clear to me which file is what. Could you please clarify which file I need to upgrade the English version?
Edit: I found the answer here: https://vborg.vbsupport.ru/showthread.php?p=1467357#post1467357
StGaensler
04-02-2008, 07:36 PM
where I can activate now the sortable ? I use vb3.7 and upload sortable.js to clientscript folder and where I must activate it or what I must do to run this feature ?
Go to AdminCP -> vBulletin Options -> BB Code [table] Settings -> Enabled Features Of This BB Code and check sortable
With Sortable Tables By Default at the bottom of the page you can select if a table should be sortable by default or if not. Standard is Yes
hello!
have vbulletin 3.7 rc-2 and need this hack ... but can some explain to me what to do to install this hack - please?
www.belaplay.com/vb (http://www.belaplay.com/vb) there i have tables and i will have them in cmps or forum page
www.belaplay.com/vb/libar/cmps_index.php (http://www.belaplay.com/vb/libar/cmps_index.php) or www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)
regards
macc
have installed this hack but could not get folder.gif image in my post meny!
some help?
have vbulletin 3.7 rc2 ... have installed language file and product file !
reg
macc
elmati
04-07-2008, 02:09 AM
installed and workin like a charm!
thanks m8!
obmob
04-09-2008, 05:53 PM
Which file is for vb 3.7? O_O
Thanks :P
StGaensler
04-09-2008, 06:12 PM
have installed this hack but could not get folder.gif image in my post meny!
some help?What's a post meny and where do you have the folder.gif from?Which file is for vb 3.7? O_OThe last file, not the previous (0.1.6) version.
I also have the previous version online, because I haven't tested importing the current version in a vB 3.6.x - can someone please tell me if this works?
joyceleong
04-16-2008, 02:52 PM
I understand that it could define table width by using: [table="width=100%;"]
But how can I set column width? Such that all the column would be set to width=25%? or even 150px?
Thanks.
StGaensler
04-21-2008, 10:14 AM
Als I say in the first post this feature is planned:
define formatting (bold, italic), align (left, right, center) and width of the cols
I also stated this some times here in the thread.
You currently can only define a (minimum) width of a column by including a (blank) image of the width you want to have.
joyceleong
04-22-2008, 01:53 AM
Als I say in the first post this feature is planned:
define formatting (bold, italic), align (left, right, center) and width of the cols
I also stated this some times here in the thread.
You currently can only define a (minimum) width of a column by including a (blank) image of the width you want to have.
Hopefully it will be out soon. Thanks.
Andyrew
04-24-2008, 04:05 PM
How do i remove the text (Wrap [TABLE] tags around selected text) from my message editor.
I have reverted all templates, deleted icon, but it still shows. :confused:
vrokar
04-25-2008, 01:47 PM
Is there a way to color the background in certain cells to a set color?
Also, I cant for the life of me figure out what code you used to make the list in Screenshot 3.
This table app is awsome. But it seems to overcomplicate a lot of the stuff that used to be very simple.
StGaensler
04-26-2008, 05:23 PM
How do i remove the text (Wrap [TABLE] tags around selected text) from my message editor.
I have reverted all templates, deleted icon, but it still shows. :confused:This can be done as with all other custom BB codes. Go to AdminCP -> Custom BB Codes -> BB Code Manager -> [Edit] and remove the path to the image. As the description there says:If you would like this BB code to appear as a clickable button on the message editor toolbar, enter the URL of an image 21 x 20 pixels in size that will act as the button to insert this BB code.Is there a way to color the background in certain cells to a set color?This currently can only be done for a single row (not a single cell) by adding {css=myclass} right at the beginning of the first cell and enabling the css features, and formating the class stg_tablerow_myclass as you want it. I posted some examples in this thread.Also, I cant for the life of me figure out what code you used to make the list in Screenshot 3.
This table app is awsome. But it seems to overcomplicate a lot of the stuff that used to be very simple.Inserting lists is just as simple, as it would be without my Add-on. Set the cursor where you want to have your list, press the [https://vborg.vbsupport.ru/external/2011/08/28.gif] or the [https://vborg.vbsupport.ru/external/2011/08/27.gif] button, type in your first element and press [OK] or [Enter], type in your second element, ..., ..., ... I don't know how this could be simpler or how my mod could complicate this?
StGaensler
04-26-2008, 05:38 PM
As I previously stated (half a year ago) (https://vborg.vbsupport.ru/showpost.php?p=1343655&postcount=210) I don't want the table.gif to be linked directly. Copy it to your server, and use it from there.
I then already contacted the admins using this directly, and wrote them through "Contact Us" again right now (those who allowed me to do this).
I just want to tell you: I blocked the access to this image from other sites then vbulletin.org - only for those who ask why :)
I an admin doesn't do anything when contacted through contact form I think that I have to do something myself to fix this...
If someone doesn't know how to do it right, I described it here: https://vborg.vbsupport.ru/showpost.php?p=1401947&postcount=250
Stefan
kiwivc
04-27-2008, 08:42 PM
Hi, I'm running 3.6.8. I installed this mod and it worked perfectly until recently when I uninstalled/reinstalled it. Now the bottom line is being reproduced twice and I can't work out why? Any help please?
The following table.....
test|TEST
result|RESULT
total|TOTAL
....ends up looking like this:
http://img187.imageshack.us/img187/9730/tablend0.jpg
StGaensler
04-28-2008, 07:52 PM
Hallo,
I also don't really know, why this happens.
What happenes if you use this code?
test|TEST
result|RESULT
total|TOTAL
Does it work, if you disable all other Add-ons? (Try it with a new post or disable and delete the postcache) If yes, which Add-on causes this behaviour?
kiwivc
04-29-2008, 06:03 PM
Hallo,
I also don't really know, why this happens.
What happenes if you use this code?
test|TEST
result|RESULT
total|TOTAL
Does it work, if you disable all other Add-ons? (Try it with a new post or disable and delete the postcache) If yes, which Add-on causes this behaviour?
If I use your supplied table code then the results still show the same error. I've got 77 mods installed which I disabled while looking for the cause however the duplicate last line still showed even after disabling postcache and testing with a new post. In the meantime I'm using {br} to generate an empty row at the end of each table. Two empty rows look better than duplicating the real data contained in the last row.
I have noticed that if I remove the ="head" part from [table="head"] then the last row does not duplicate.
[table] works fine
[table="head"] causes the last row to duplicate.
invitezone
04-30-2008, 10:15 PM
does anyone have this working under vbulletin 3.6.8?
The mod installs for me fine but dont seem to add the table image to the menu so i am assuming it doesn't work on this version
StGaensler
04-30-2008, 10:48 PM
Just try a example code and you will see that it works :)
As I said many times here you will have to add the image by yourself. (https://vborg.vbsupport.ru/showpost.php?p=1401947&postcount=250)
JonUrban
05-05-2008, 01:40 AM
Hi,
I've had this going in my forum for quite some time and it's great. I just upgraded to vB3.7, and I also upgraded this "product". It still is working, however the table is now aligned against the left side of the post, where before it was centered.
Is there a way to get it back to being centered?
THANKS again for a great set of code!
Deepdog009
05-05-2008, 12:58 PM
I love BBcodes... Dank sch?n
oxblood12
05-08-2008, 02:17 AM
Thank`s For Hack`s
CheeSie
05-08-2008, 05:24 PM
If I use your supplied table code then the results still show the same error. I've got 77 mods installed which I disabled while looking for the cause however the duplicate last line still showed even after disabling postcache and testing with a new post. In the meantime I'm using {br} to generate an empty row at the end of each table. Two empty rows look better than duplicating the real data contained in the last row.
I have noticed that if I remove the ="head" part from [table="head"] then the last row does not duplicate.
[table] works fine
[table="head"] causes the last row to duplicate.
In plugin parse vBCode table, replace if($bbcode_table['table']['rows']<$vbulletin->options['stg_table_maxrows']) $bbcode_table['table']['rows']--; with $bbcode_table['table']['rows']--;
mr.Travel
05-09-2008, 12:28 AM
Just open /includes/class_bbcode.php
Find:
// [INDENT]
$tag_list['no_option']['indent'] = array(
'html' => '<blockquote>%1$s</blockquote>',
'strip_empty' => true,
'strip_space_after' => 1
);
Add after:
//
$tag_list['no_option']['table'] = array(
'html' => '<table>%1$s</table>',
'strip_empty' => true,
'strip_space_after' => 1
);
//
$tag_list['no_option']['td'] = array(
'html' => '<td>%1$s</td>',
'strip_empty' => true,
'strip_space_after' => 1
);
//
$tag_list['no_option']['tr'] = array(
'html' => '<tr>%1$s</tr>',
'strip_empty' => true,
'strip_space_after' => 1
);
Simple for Wemasters like HTML
<table>
<tr>
<td>tab 1</td>
<td>tab 2</td>
</tr>
<tr>
<td>tab 3</td>
<td>tab 4</td>
</tr>
<tr>
<td>tab 5</td>
<td>tab 6</td>
</tr>
</table>
[table]
[tr]
[td]tab 1
tab 2
tab 3
tab 4
tab 5
tab 6
kiwivc
05-12-2008, 03:08 AM
In plugin parse vBCode table, replace if($bbcode_table['table']['rows']<$vbulletin->options['stg_table_maxrows']) $bbcode_table['table']['rows']--; with $bbcode_table['table']['rows']--;Awesome, it works great now. Cheers for that. :)
bezibaerchen
05-17-2008, 01:23 PM
Getting following error messageafter trying to import on 3.7:
old table-tag moved (if existing)
Datenbankfehler in vBulletin 3.7.0:
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-Fehler : Column count doesn't match value count at row 1
Fehler-Nr. : 1136
Fehler-Zeit : Saturday, 17.05.2008 @ 16:23:37
Datum : Saturday, 17.05.2008 @ 16:23:38
Skript : http://<cut>/admincp/plugin.php?do=productimport
Referrer : http://<cut>/admincp/plugin.php?do=productadd
IP-Adresse : <cut>
Benutzername : <cut>
Klassenname : vB_Database
MySQL-Version : 5.0.45-Debian_1ubuntu3.3-log
Any hints?
dilbert
05-20-2008, 10:58 AM
I know this is a file edit and most folks prefer not to do this, but will this work? If so, it would make the use of tables so much easier.
Just open /includes/class_bbcode.php
Find:
//[indent]
$tag_list['no_option']['indent'] = array(
'html' => '<blockquote>%1$s</blockquote>',
'strip_empty' => true,
'strip_space_after' => 1
);
Add after:
//
$tag_list['no_option']['table'] = array(
'html' => '<table>%1$s</table>',
'strip_empty' => true,
'strip_space_after' => 1
);
//
$tag_list['no_option']['td'] = array(
'html' => '<td>%1$s</td>',
'strip_empty' => true,
'strip_space_after' => 1
);
//
$tag_list['no_option']['tr'] = array(
'html' => '<tr>%1$s</tr>',
'strip_empty' => true,
'strip_space_after' => 1
);
Simple for Wemasters like HTML
<table>
<tr>
<td>tab 1</td>
<td>tab 2</td>
</tr>
<tr>
<td>tab 3</td>
<td>tab 4</td>
</tr>
<tr>
<td>tab 5</td>
<td>tab 6</td>
</tr>
</table>
[table]
[tr]
[td]tab 1
tab 2
tab 3
tab 4
tab 5
tab 6
ArnyVee
05-22-2008, 02:00 AM
With what Mr Travel posted (and dilbert quoted), will that make it so that I can include tables similar to HTML code without having to do the .xml file imports?
ArnyVee
05-23-2008, 01:18 AM
Well, I tried the php file edit that Mr Travel detailed and it didn't work for me.
I'm going to have to try the xml imports and see if that works for me.
Dragon Company
05-24-2008, 02:49 PM
very interesting :)
Great mod, great support. I was in need of a table in some forums. Thank you very much! :up:
ninjamaster
05-27-2008, 08:48 AM
how do i change the colour of the lines coz i have a black skin so cant see the box lines
fernandose
05-27-2008, 02:56 PM
is it possible for users to sort the columns themselves by clicking on the column header? Instead of auto sorting the columns?
cellow
06-02-2008, 07:20 AM
I want to use the css option, but it doesn't works.
Maybe i make a misstake.
Here is, how i go for it:
1. Including CSS Option into the table in thread
spalte1|spalte2
bla bla|blabla
2. define of the CSS class in the Style preferences under "Additional CSS Definitions)"
.stg_table_myclass { font-size:8px; }
3. define the CSS in vB Code [table] Admin CP:
stg_table_myclass
If i start the thread, then there is no css formatet table in the thread.
Did i make i misstake?
regards
StGaensler
06-02-2008, 08:35 AM
Is there a way to get it back to being centered?Sorry for the late answer... Put something like .stg_table {margin: 0 auto;} to your additional CSS definitions.is it possible for users to sort the columns themselves by clicking on the column header? Instead of auto sorting the columns?As I said in the first post:
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.I want to use the css option, but it doesn't works.
Maybe i make a misstake.
Here is, how i go for it:
[...]
Did i make i misstake?Yes, but only a very small. With point 1. and 3. you have to use myclass instead of stg_table_myclassJust open /includes/class_bbcode.php [...]
Simple for Wemasters like HTMLYes I know that and I also linked to a product doing this (https://vborg.vbsupport.ru/showpost.php?p=900725&postcount=7). You should avoid file edits if you can archive the same with an Add-on.
Only some disadvantages of this solution: If you make any mistake with nesting or count of the elements, you have a broken (invalid) table. You can't define maximum dimensions of the table, or sort it in any way (live or for posting).
cellow
06-02-2008, 03:31 PM
doesn't work :-(
i put this code into css preferences:
.stg_table_myclass { font-size:6px; }
and then i looked to the html output of the thread, there it is:
<table class="stg_table tborder stg_table_myclass">
regards
StGaensler
06-02-2008, 05:15 PM
So this means my code does it all very well.
Can it be that you mean this?.stg_table_myclass th, .stg_table_myclass td {font-size:6px }
cellow
06-03-2008, 08:32 PM
yes, now it works like a charm :-D
kkilife
06-07-2008, 07:27 AM
i like this plugs
but sometime it's hard for my members to use it
after i installed it
i didn't find the mini admincp
:eek:
- -!
and for the users maybe the photo i uploaded will be easier to use
it's like a guide
81869
in this photo
line 1: number of rows
line 2: number of columns
line 3: the width
line 4: long measure
Can it be put in your plugins ?
:cool:
if can
it'll cool
:D
this is my suggestion
thanks
vitrag24
06-09-2008, 07:19 PM
will this work on vb 3.7.1?
which files i need to import?
StGaensler
06-10-2008, 08:25 AM
after i installed it i didn't find the mini admincpIt's in your vBulletin Optionsand for the users maybe the photo i uploaded will be easier to use it's like a guide [...] Can it be put in your plugins ?If you give me the JavaScript code behind it with the permission to use it in my add-on, I will include it.will this work on vb 3.7.1?Unless stated otherwise all my mods always work with the current vBulletin version. You don't have to ask... If you are unsure, simply try it.which files i need to import?Depends on your needs... I would suggest to use the actual version of the product (the one without the version number), a language file, and - if you want to have live sortable columns - the sortable script (to install as described in the first post).
kkilife
06-10-2008, 01:27 PM
sorry
i don't know which one is the js code u want
i upload the whole bbs software here
u can try it
http://www.cq-sky.com/download/PHPWind_GBK_6.3RC.rar
http://www.cq-sky.com/download/pw_english.rar
first is the newest version
but it's the chinese
the second is the english version
u can compare with the newest one
thanks
sorry for this
:(
vitrag24
06-11-2008, 05:35 PM
Thanks.
Installed.
========
image for button should be uploaded to /images/mice, otherwise it wont load.
========
What is sorrtable? wht will this option do?
any example..i'm not getting it.
NAZIA
06-12-2008, 08:00 PM
Thanks for this Hack..
Wow..
StGaensler
06-12-2008, 08:30 PM
image for button should be uploaded to /images/mice, otherwise it wont load.Thats by design ;) I want you to put it on your server, and not to load it from mine.What is sorrtable? wht will this option do?
any example..i'm not getting it.Klick on the headers of the second table: http://www.kryogenix.org/code/browser/sorttable/ - the table is sorted without having to reload the page.Thanks for this Hack..
Wow..Thanks, too :)
leftie
06-17-2008, 07:04 PM
I've looked in the 3.6.x mods but can't find it, can i use this on 3.6.4 It looks awsome for what i need (archiving results of world competitions)
vitrag24
06-17-2008, 08:42 PM
I've looked in the 3.6.x mods but can't find it, can i use this on 3.6.4 It looks awsome for what i need (archiving results of world competitions)
it'll work for vb 3.6.4
Alfa1
06-19-2008, 08:52 AM
The table.gif icon does not show up in the editor, because the Use {option} is set to no. However I can not change this. When I try to set it to yes, then i get this message again:
There is already a BB code tag named 'table'. You may not create duplicate names.
However, I follow your instructions to resolve this, but to no avail. I had this error earlier on as well when setting the image location. I resolved this by editing the value in the database. However, the value for 'options' in the database is set to '1'
What value does it need to have?
FYI: a search for records tagged with 'table' does not yield anything else than this one record.
Kagemaru
07-01-2008, 07:09 PM
First I want to thank you LOADS for this hack (and especially the port to 3.7.2) I found lots of uses for it. :)
But now I think I found a bug or two.
This works as expected:
1|2|3
1.1|1.2|1.3
{css=blue}2.1 2.2 2.3
3.1|3.2|3.3
4.1|4.2|4.3
But if I put in a {colsp=x>1} an empty, headerless cell is added at the end:
1|2|3
1.1|1.2|1.3
{css=blue}{colsp=3}2.1 2.2 2.3
3.1|3.2|3.3
4.1|4.2|4.3
Also, alignment bbcodes need an extra newline to work correctly (or they get moved into the next row's first cell.) like so:
1|2|3
1.1|1.2|1.3
{css=blue}[ center]2.1 2.2 2.3[/center]
3.1|3.2|3.3
4.1|4.2|4.3
For question about the errors or more info on how to reproduce them, you can write me on any of my messengers or send me an e-mail. (sogar auf Deutsch ;))
Mr. Hoddz
07-12-2008, 07:38 PM
Crap. Doesn't work. Sort it out or get it off will ya mate.
mokonzi
07-12-2008, 08:22 PM
I'm rather disgusted at that comment. It's neither helpful nor constructive.
I've had the mod installed, and it works like a charm.
What is it that is the problem?
TimberFloorAu
07-12-2008, 08:34 PM
Crap. Doesn't work. Sort it out or get it off will ya mate.
A comment like that on our boards, would get an infraction from me !
tekguru
07-12-2008, 10:18 PM
Same here politeness costs nothing.
mark|3
07-13-2008, 06:32 AM
hi i've some problems installing the language pack. Even when i choose ignore. I'm using 3.7. thanks
mokonzi
07-13-2008, 08:35 AM
What exactly is the problem?
iran-egold
07-14-2008, 02:55 AM
1) I copy table.gif to /images/editor/ folder.
2) I copy sorttable.js to /clientscript/ folder.
3) I enable BB code Table and sortable option.
But table.gif is not appear on my editor.
what is the problem?
vitrag24
07-14-2008, 05:42 AM
1) I copy table.gif to /images/editor/ folder.
2) I copy sorttable.js to /clientscript/ folder.
3) I enable BB code Table and sortable option.
But table.gif is not appear on my editor.
what is the problem?
rightclick on table button [which image isnt appearing] and click on properties -- check imagelink - upload your image to that path.
iran-egold
07-14-2008, 11:10 AM
rightclick on table button [which image isnt appearing] and click on properties -- check imagelink - upload your image to that path.
There is not any unloaded image!
I use VB 3.7.2, I test it on firefox and ie.
I attach my editor image.
Tanx
iran-egold
07-14-2008, 02:00 PM
There is not any unloaded image!
I use VB 3.7.2, I test it on firefox and ie.
I attach my editor image.
Tanx
Problem is solved,
I copy pic of [QUOTE] instead of table.gif,
then icon is appeared,
then copy table.gif again and icon table is appeared!!
alexsinev
07-15-2008, 04:26 AM
StGaensler, when will you make an update with the possibility to change column widths? There is a strong necessity in it. Your mod is really great, but some essential features lack.
mark|3
07-16-2008, 03:07 PM
I tried placing the table code in my code wrap. But somehow in the code it still displays the table.
How do i go about achieving something like this > https://vborg.vbsupport.ru/showpost.php?p=1564207&postcount=331
thanks
StGaensler
07-16-2008, 03:26 PM
StGaensler, when will you make an update with the possibility to change column widths? There is a strong necessity in it. Your mod is really great, but some essential features lack.I currently can't promise when this feature will come.
alexsinev
07-17-2008, 09:03 AM
Ok, but this is a pity.
BTW, the code {br} doesn't work in the table head.
StGaensler
07-17-2008, 10:57 AM
But if I put in a {colsp=x>1} an empty, headerless cell is added at the end:
1|2|3
1.1|1.2|1.3
{css=blue}{colsp=3}2.1 2.2 2.3
3.1|3.2|3.3
4.1|4.2|4.3Oh thanks... That worked some time earlier :) If you remove the autonum it's all right. The reason: Internally I have to keep track how much cols I have - something seems to be wrong there.Also, alignment bbcodes need an extra newline to work correctly (or they get moved into the next row's first cell.) like so: [...]Thats known :( Try it again without letting vBulletin write the template names into the HTML source - this worked some time ago. The problem is: vBulletin removes a <br /> after a </div> so I can't say if there was a newline or not... If I find some more time, I will have a closer look at this.
Thanks
Stefan
thincom2000
07-17-2008, 03:08 PM
There is an optional additional argument to fetch_template() that suppresses the HTML comments if they are enabled. Just look at the fetch_template() function again.
I know this because the comments were breaking some all-JS templates I had.
Lady Divus
07-19-2008, 10:59 PM
Hi all...I just wanted to say thank you for this share. I am attaching a screenie to show how i used the table bb code...Works very well for me...Again, thank you. Be well - Lady Divus
Click to Enlarge Image
https://vborg.vbsupport.ru/
stephansvl
07-21-2008, 08:56 PM
Problem is solved,
I copy pic of [QUOTE] instead of table.gif,
then icon is appeared,
then copy table.gif again and icon table is appeared!!
I still have the same problem and cannot solve it.
table.gif is uplaoded in images/editor but it doesn't appear. What am I doing wrong?
StGaensler
07-22-2008, 07:20 AM
Hi all...I just wanted to say thank you for this share.Thanks, too!table.gif is uplaoded in images/editor but it doesn't appear. What am I doing wrong?Empty your browsercache and try again. If that doesn't help, than look if the image is on the right place and the path to the image in AdminCP corresponds to the real image path.
Stefan
Andyrew
07-22-2008, 07:15 PM
How do i make items appear in alphabetical order, at the moment they are staying as ive add them, but i would like them to sort alphabetically.
Thanks
YuKuSaN
07-30-2008, 05:11 AM
ty for all, installed *
Jedric
08-08-2008, 11:22 AM
For some reason, whenever I install this mod it is not adding anything to my Additional CSS Definitions. What is the code that should be in it?
Hannan
08-10-2008, 09:53 PM
Hi, sorry about my newbie question! anyone can tell me how I can put the Icon in the editor bar?!
thanks
john_robot
08-11-2008, 07:47 PM
yes I too have the same issue I am using vBulletin® v3.7.2.
table.gif not showing up on tool bar , let me know a way to add this manually pls
StGaensler
08-11-2008, 08:02 PM
Hi, sorry about my newbie question! anyone can tell me how I can put the Icon in the editor bar?!
thankstable.gif not showing up on tool bar , let me know a way to add this manually plsHave you two placed the icon in your /images/editor/ folder, as described in the first post and repeated many times during this thread?For some reason, whenever I install this mod it is not adding anything to my Additional CSS Definitions. What is the code that should be in it?Why should it add some? Which code?
Stefan
john_robot
08-12-2008, 01:06 AM
yes its placed under /images/editor/ . only problem is not showing it under editor icons.
maniacop
08-12-2008, 01:15 AM
Click to Enlarge Image
http://www.premierstation.net/forum/tablescreen.png
Could anybody tell me how to put the description under the tittle just like Lady Divus has on her screenshot and also how can i make the table border not visible by default?
This is my screenshot...
https://vborg.vbsupport.ru/ (http://imageshack.us)
Thanks in advanced and great MOD!
================================================== ==========
Ok i know now how to use the page break but still having problems with the transparent table can somebody post an example? thanks
john_robot
08-12-2008, 01:31 AM
now its working you have to Use {option} YES
Elenna
08-12-2008, 03:19 PM
Silly question, is there a way to use a | in a cell without it being used as a delimiter? I've tried [noparse] and is still parses it as a delimiter.
StGaensler
08-12-2008, 03:57 PM
Silly question, is there a way to use a | in a cell without it being used as a delimiter? I've tried [noparse] and is still parses it as a delimiter.No, currently there's no such way, ecxept of using a tabulator as delimiter (but that's not easy to write in vBulletin editor), or using unicode character 0x2223 (divides) instead. This is, how it looks: ∣- a little different to the | but depends on the font used.
Stefan
David_R
08-23-2008, 08:54 AM
I am unable to understand this part Please note: (installing)
Installing this product will: (reverted during uninstall)
rename a existing BB code "table" to "table_saved"
add a new BB code [table]
Even after installing this product on Vb 3.6.4 when i click table image in editor (Standard Editor) I just get a box with tags.. Am i doing something wrong ?
StGaensler
08-24-2008, 04:54 AM
[...] I just get a box with tags.. Am i doing something wrong ?No that's the standard behaviour. If you want to write me a big JavaScript where I can select all necessary options, feel free :)
Someone up there posted some bits of JavaScript code, and I will have a look at this some time, but currently there is no assistant for posting the tables.
Stefan
Peterpan002
08-24-2008, 11:12 AM
This is a very nice and useful mod and it installed no problem.
However I have played for some time to get the table to look the way I want and failed LOL
Would anyone help with the table code for me via PM? I just want a very simple table consisting of centered fixed size table, single header row, two tables below vertically expandable for data and seperate headers.
Thank you.
David_R
08-26-2008, 08:11 AM
No that's the standard behaviour. If you want to write me a big JavaScript where I can select all necessary options, feel free :)
Someone up there posted some bits of JavaScript code, and I will have a look at this some time, but currently there is no assistant for posting the tables.
Stefan
It is very difficult to use the current table tag, if you can further customize the same (free or paid) shall be great.
Scott77
08-28-2008, 09:00 PM
Excellent mod.
Installed cheers.
Trana
08-29-2008, 08:16 AM
Does this mod support hardcoding the cell widths yet?
peterle1
09-04-2008, 08:15 PM
Installed it, but the button doesn't show up in the editor. :(
Any hints?
Installed it, but the button doesn't show up in the editor. :(
Any hints?
You have to go to your admincp and add the icon to the BB code, it isn't added automatically.
MiCCAS
09-07-2008, 09:54 AM
Use {br} for a new line in a cell.
edytwinky
09-08-2008, 06:35 PM
Stupid question but how do you change the color of a row?
For example, on one table I'd like for every other cell color to be grey.
On another table, I'd just like one particular row to be yellow
Hostboard
09-12-2008, 06:51 PM
Very cool. I wish the FAQ was better organized so that it better explained/showed examples how to use this along with its abilities.
Installed.
akulion
09-12-2008, 07:34 PM
ecxcellent work, however more documentation is needed for the use of tables and customizations if possible please (with examples)
thanks
aku
Fireproof
09-12-2008, 08:46 PM
This is cool. But how do I get the icon to show up as a button in the editor?
Hostboard
09-13-2008, 01:44 AM
This is cool. But how do I get the icon to show up as a button in the editor?
Upod your images to images/editor/SomeImage.xxx Then in the ACP edit the BBCode. There will be an entry for the button. Just enter the name of the file you uploaded.
Fireproof
09-13-2008, 04:25 AM
Upod your images to images/editor/SomeImage.xxx Then in the ACP edit the BBCode. There will be an entry for the button. Just enter the name of the file you uploaded.
Got it - thanks!!
I was looking for it in "quick reply" and it's obviously not there - but it does show up in "advanced reply" just fine now.
Thanks!
hobsdv
09-14-2008, 08:39 AM
great mod just what i was looking for
kud0gfx
09-21-2008, 10:48 AM
wow! this is a really useful mod!
i've a question... is there some way to give a width for only a colmun, i want to have for example images in the column one, and that all of them will be automatically resized to 100px width if are bigger...
thanks!
g0dfather1984
10-01-2008, 12:12 AM
I have been trying to uninstall this code forever now and it won't disappear. How do I go about doing so? Yes, it was uninstalled too.
StGaensler
10-01-2008, 04:31 AM
@kud0gfx
As stated in the first post this is currently not possible.
@g0dfather1984
Go to AdminCP -> BB Codes and edit one BB Code and safe it without any changes. I'll have to update that cache with the next versions :)
g0dfather1984
10-02-2008, 04:50 AM
@kud0gfx
As stated in the first post this is currently not possible.
@g0dfather1984
Go to AdminCP -> BB Codes and edit one BB Code and safe it without any changes. I'll have to update that cache with the next versions :)
Thank you, works well.
Razasharp
10-02-2008, 01:04 PM
Great hack - thanks Stefan!
I'm testing this as at the mo but seem to have problems with it's sorting.
Say I have the points column as the default sort, for some reason, if the figure is only 2 characters it gets sorted higher than what should actually be at the top :-/
EG:
Name | Points
Me | 300
You | 500
Someone else | 82
And another | 99
It get's sorted like this:
Someone else | 82
And another | 99
You | 500
Me | 300
If I change the figures to 082 and 099 it works fine.
Is this a known problem? Have I done something wrong? I used the 0.1.7.1 product and EN language pack.
Any help appreciated, thanks.
StGaensler
10-05-2008, 05:54 PM
Hi. Sorry, I didn't get notified for this.
On my testboard this works as expected. Maybe it doesn't work on your board because you use a blank (why do you use it?) before the nuber. Does it work, if you remove the unnecessary blank?
Razasharp
10-05-2008, 07:23 PM
Hey Stefan - no probs I guessed you were busy :)
And... thanks! Sorted now!! :D
(ps, is there anyway to make it a bit like excel and do calculations for you? Eg the sum of col 1 AND col 2 gets put in col 3? That would be insane!)
sean-zigster
10-08-2008, 05:17 AM
Help i installed this item and all sees well but i cant seem to use it !
I dont have the little button to define tables etc
sorry for being a noob but how do i see how to insert a table !!
tafreeh
10-23-2008, 04:28 AM
okay .. i install this mod.. did everything right... but cant see this mod in action means there is no table button in my bbcode area.. eventho i added a lil image
segwayon
10-23-2008, 04:55 AM
Help i installed this item and all sees well but i cant seem to use it !
I dont have the little button to define tables etc
sorry for being a noob but how do i see how to insert a table !!
I've attached a little table icon button which I designed for my forum.
Save the attached image file (table_icon1.jpg) to your PC by right-clicking on it and selecting "Save Picture As . . ."
Upload it to your (forumpath)/images/editor/ folder.
Tag the image file path and name into the Custom BB Code listing within the AdminCP.
Save the Custom BB Code change.
Test it out.
mokonzi
11-07-2008, 02:59 PM
I use vbPortal... and I've noticed that the image doesn't show up when the editor is pulled from the forums (the Portal resides in the root of the website, with the forum in a folder).
I've been trying to work out where the code is that is used in the Editor to display the button... cos I need to add a simple variable in front to get it to work in the Portal. Where do I need to look to find the code to adjust it?
Edit:
Strike that... found out what I needed. :)
OblivionMage
11-23-2008, 12:27 AM
Nevermind, the problem was not being caused by tables.
TaMpE
11-25-2008, 07:51 PM
I can't see the Icon in the posting thread
HarleyK
11-27-2008, 10:37 PM
Thank you for this. Marked as installed. :)
Gustafsson
11-28-2008, 01:14 PM
This is a really good mod. Thanks! I'm running vBulletin version 3.7.4 and it's working perfectly.
A table made by this mod: http://www.gtaclone.com/forum/showthread.php?p=7#post7
Ghost Shadow
12-06-2008, 03:13 AM
Can I use this in "Notices"?
Works great in sticky and announcement, but I need it open on top of each thread.
TIA
K58
Can I use this in "Notices"?
Works great in sticky and announcement, but I need it open on top of each thread.
TIA
K58Notices allow for html, so you can probably do some old school table.
Ghost Shadow
12-06-2008, 05:24 AM
Notices allow for html, so you can probably do some old school table.
Works BUT not as flexible as BB Code [table]!!
Is there a way to use BB Code [table] in Notices?
soundbarrierpro
12-09-2008, 01:43 PM
Anybody else getting double records after the heading?
Got it, after turning "OFF" the sorttable option everything worked.
SteamyLightning
12-09-2008, 10:25 PM
Does anyone know how to get rid of the automatic row parse when formating?
For example, in the attachment, it shows one row with the following:
Align=left
Align=center
Align=right
However, when I enter it, it seems like each time I hit a carriage return, it bumps me to the next row.
SteamyLightning
12-09-2008, 10:30 PM
Could anybody tell me how to put the description under the tittle just like Lady Divus has on her screenshot and also how can i make the table border not visible by default?
This is my screenshot...
http://img212.imageshack.us/img212/5372/descriptionkh8.jpg (http://imageshack.us)
Thanks in advanced and great MOD!
================================================== ==========
Ok i know now how to use the page break but still having problems with the transparent table can somebody post an example? thanks
In other words, I need this too.
macara
12-13-2008, 06:38 PM
Why is this message:
No code has to be inserted here.
mostathmr
12-14-2008, 11:13 AM
It is work :)
http://mostathmr.com/upload/uploads/12292602520.gif
Keesa
12-14-2008, 11:31 AM
I am sorry to ask a dumb question, but of these, I do not understand which ones I need to download and install.
table_bbcode-language-de.xml (5.5 KB, 634 downloads)
table_bbcode-language-en.xml (5.1 KB, 1823 downloads)
sorttable.js.txt (6.8 KB, 1675 downloads)
product-bbcode_table-multi.0.1.6.xml (31.3 KB, 314 downloads)
product-bbcode_table-multi.xml (33.4 KB, 897 downloads)
I think #2 for English, #3 if I want javascript, but...
after that? I do not know. Do I need 4 & 5? Or????
Sworm
12-15-2008, 07:15 PM
WOWWWWWW very GREAT! :o:):):):):up:
This will work on vb 3.8.X too?
AnyBody can explain me how can i do for add a lenght row value?
Explaining better, it will be better if will be possible to have a + long table, or it will be very high in the post.
thanks
Sworm
12-15-2008, 08:12 PM
No no, ok, i have found it :D
GREAT
limmengwei
12-16-2008, 12:47 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:)
ArriFinu
12-16-2008, 03:22 PM
Does this hack feat last vb code?
Because my forum got hacked last week and vb staff claimed that it might be because of the add-ons I've got on my forum, since I've installed 3.7.4 PL1 which means last security patch, and the vb is secure.
When I said I installed only 2 vbulletin.org products, since it's an official vb website, they answered who told you it's an official website? And that they are not responsible for installing the products in here, that may open flaws in my forum.
Is this product secure to install? does it feat the last code vb claimed? I like it as well as the Tcattd product I removed for security reasons after the vbulletin.com staff answer, but I'm afraid to use it..
kastet
12-16-2008, 04:27 PM
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:)
I have the same problem - were did you made changes?
Thanks
limmengwei
12-18-2008, 03:50 PM
ACP-->Custom BBcodes-->BBcode manager-->Edit-->image path
Ghost Shadow
12-18-2008, 04:27 PM
ACP-->Custom BBcodes-->BBcode manager-->Edit-->image path
I can't find Custom BBcodes
limmengwei
12-18-2008, 09:39 PM
I am running 3.7.4, no sure if it is located elsewhere in other versions
mine is grouped with the avatar,post icons,smiliies under ACP
Ghost Shadow
12-18-2008, 10:21 PM
i have 3.7.4 also, but where do i go from ACP ?
thanks
limmengwei
12-19-2008, 03:01 AM
Once you have logged into the admin control panel (ACP), it on the left, just scroll for it
Ghost Shadow
12-19-2008, 04:25 AM
Once you have logged into the admin control panel (ACP), it on the left, just scroll for it
sorry dude...i must have been blind. :cool:
thank you
Keesa
12-19-2008, 06:29 AM
I am sorry to ask a dumb question, but of these, I do not understand which ones I need to download and install.
table_bbcode-language-de.xml (5.5 KB, 634 downloads)
table_bbcode-language-en.xml (5.1 KB, 1823 downloads)
sorttable.js.txt (6.8 KB, 1675 downloads)
product-bbcode_table-multi.0.1.6.xml (31.3 KB, 314 downloads)
product-bbcode_table-multi.xml (33.4 KB, 897 downloads)
I think #2 for English, #3 if I want javascript, but...
after that? I do not know. Do I need 4 & 5? Or????
Sorry to bump...
can anyone who has installed this help me know which files I need?
Ghost Shadow
12-19-2008, 03:16 PM
2. table_bbcode-language-en.xml (English)
3. sorttable.js.txt
5. product-bbcode_table-multi.xml
gremlin2412
01-09-2009, 03:16 PM
Very nice plugin. *installed click*
triff
01-14-2009, 11:36 AM
Works with vb 3.8.0?
bezibaerchen
01-14-2009, 11:43 AM
Works at my 3.8 site,yepp.
katie hunter
01-20-2009, 07:04 AM
Hi,
Does this modification causes any server load ?
edytwinky
02-05-2009, 09:09 PM
How do you make it where every other row is a different color? I did a search on the whole css myclass thing and it was rather confusing.
triff
02-11-2009, 07:54 PM
There are several downloads here, which one should I download if I want the 0.1.7.x stable version?
table_bbcode-language-de.xml (5.5 KB, 668 downloads)
table_bbcode-language-en.xml (5.1 KB, 1973 downloads)
sorttable.js.txt (6.8 KB, 1791 downloads)
product-bbcode_table-multi.0.1.6.xml (31.3 KB, 365 downloads)
product-bbcode_table-multi.xml (33.4 KB, 1067 downloads)
StGaensler
02-11-2009, 09:56 PM
Sorry guys, I haven't been here some time :) Thanks for the ones who helped out.
Does this modification causes any server load ?"Yes and no" :)
If you create a table with [table=debug] you can look in the sourcecode, how much server time my script uses.
The script uses this server time only once if the postcache is enabled - vBulletin then caches the whole post in its database and only generates it new if you change the post.
How do you make it where every other row is a different color? I did a search on the whole css myclass thing and it was rather confusing.
I automatically asign the css classes alt1 and alt2 to the table rows, so they get a different color. If there's no difference in your style between those two classes, you won't see this.
Works with vb 3.8.0?
Yes :) There is only one small bug: I don't update the BB-Code cache, so if you upload an Icon you probably have to save a BB-Code again to make this work.
There are several downloads here, which one should I download if I want the 0.1.7.x stable version?
As already said one page before:
2. table_bbcode-language-en.xml (English)
3. sorttable.js.txt
5. product-bbcode_table-multi.xml
You don't necessarely need the sorttable.js but it enhances the feature of this BB-Code a lot :)
zelnik
02-14-2009, 07:57 AM
Can someone explain what the JS script actually does?
I'm a bit confused as I have installed the JS scripted and enabled it and I can't see any difference in what the BBCODE does?
Yes I have renamed and uploaded it to clientscripts
Any help would be greatly appreciated.
StGaensler
02-14-2009, 08:15 AM
Click on the column header in one table, and the table is sorted by this column. If that doesn't work: Have you enabled this feature in your admincp?
Stefan
zelnik
02-14-2009, 08:46 AM
Thanks and fantastic mod!! One of my favs
agreed, by far and away one of the best mods on the site and VB should be begging you to use your code for a built in version in future.
Thank you!
zushiba
02-24-2009, 02:13 PM
This is an excellent mod that will save me a LOT of time. Thanks
Teresa
02-24-2009, 06:40 PM
When I click my table icon, all I get is the table tags, nothing else.
Is this how it is supposed to work?
I thought it would show the default columns as well.
I'm on 3.6.5, BTW.
I couldn't find an answer to this post. I would like the DEFAULT tag to put up a simple table with a header so users know what to do. Finding BB code help while posting is like finding a needle in a haystack.
I would like the default table to be:
Head 1|Head 2|Head 3
ABC|123|hello
DEF|456|goodbye
or something like that.
How can I change the standard code thrown out when the button is pressed?
Teresa
02-24-2009, 06:49 PM
Also, I don't understand something. I get how cool this is. But what I don't get is how people are finding it so helpful--beyond using it themselves. If you aren't the admin and know to come here to look at all the options, where are your users or even other moderators or admins finding out how to use the great features of this bbcode?
Maybe I'm missing something. I hope so.
singabaloo
02-26-2009, 02:58 AM
I'm also having trouble with the sortable.js script. It doesn't seem to work.
In the ACP I have selected sortable in Enabled Features Of This BB Code
I have also selected Sortable tables by default in "This setting allows you to define if tables should be sortable (live sorting through JavaScript) by default"
sortable.js has been copied to my /clientscript directory.
What else can I check to see why it's not working ?
I am defining a sort order in the TABLE head, is that the porblem ? [table="head;sort=5d;width=70%"]
The table is within a page using Logican's WebTemplates incase that makes a difference.
update After some playing around, it seems that sortable.js *is* working when I create a table in a normal post. It's just not working when it's within Logican's WebTemplates. has any anyone been able to get this working ?
myHybridcar.com
02-27-2009, 06:27 PM
I uploaded table.gif but the icon is not appearing in the editor. Did I miss something?
Keesa
03-09-2009, 08:17 AM
Is there anyone who can show me simply what additional CSS to add if all I want to do is increase the cellpadding?
As you can see, it is pretty squished.
https://vborg.vbsupport.ru/external/2009/03/33.gif
plothook
03-15-2009, 08:09 PM
try this:
table.stg_table td, table.stg_table th {
padding: 3px;
}
espesso
03-21-2009, 07:31 PM
Wow great mod and works perfectly...
Thank you
tommythejoat
03-23-2009, 01:42 AM
I like this mod, but I will be glad to see the distributable description.
I did notice that if I have a table with live sortable columns in a post and subsequently edit that post, the live sorting feature is disabled. It would be great if that could be fixed, or if there is a work around, I could at least document that.
StGaensler
03-23-2009, 01:08 PM
The problem is that there is a javascript called every page load that initializes the sortable tables. If the page is modified with ajax (as it is when you edit it with the inline editor) the table isn't initialized again and the sorting feature will only work after a page reload.
If you find a way to initialize the table again I will gladly inlcude this into my mod.
Eq4bits
03-24-2009, 04:54 PM
Running vB 3.8.1PL
Trying to install, imported the product xml fine but the language xml won't import; I get a message when trying to that the language is for 3.6.1 and only option I have is to 'go back'. Is there an updated language file I just haven't seen?
StGaensler
03-25-2009, 08:37 AM
Please read my first post before asking such questions.Important: Select the language you want to import the phrases into, not "(Create New Language)" - this won't work! If you use another version of vBulletin than I use enable "Ignore Language Version" to import the language pack.
Eq4bits
03-25-2009, 10:58 AM
I did read your first post, several times before posting, several times during installation AND several times *after*. I *did* enable the 'Ignore Language Version' but I *still* got the vB error page with the 'go back' on it.
Frondy
03-25-2009, 12:43 PM
I did read your first post, several times before posting, several times during installation AND several times *after*. I *did* enable the 'Ignore Language Version' but I *still* got the vB error page with the 'go back' on it.
On the "Overwrite Language" select any of existing lagnguage, it will append it...
And use "Ignore Language Version" too...
espesso
03-25-2009, 11:40 PM
I have little question :D
How can i make this:
96977
My Code:
{css=top}http://url (http://url)|Text der ist lang.
Download (http://url)|
CSS:
/* format vBCode table */
.stg_table_transp {border: none; padding: 2px; background:transparent; }
.stg_table_transp .alt1 {background:transparent; }
.stg_table_transp .alt2 {background:transparent; }
.stg_table_transp td {border: none; background:transparent; text-align: center; }
.stg_tablerow_top td {valign:top; }
Thanks
StGaensler
03-29-2009, 07:46 PM
There is no property valign :) You want to use.stg_tablerow_top td {vertical-align:top; }
Stefan
belindazhu
04-05-2009, 02:59 PM
I met several problems, pls help me:
1. Where should "product-bbcode_table-multi.xml" be placed? Under the root or under the "install" file?
2. There is no [table] code in my BB code collection, so I don't know what is your meaning of "table_saved"
3. I set up a BB code [table], but I don't know how to write "Replacement", "Sample", "Description", use "Use {option}" or not?
StGaensler
04-05-2009, 03:24 PM
1. Where should "product-bbcode_table-multi.xml" be placed? Under the root or under the "install" file?You can do what ever you want and place it where ever you want - but I would suggest importing this file as add-on in your vBulletin Admin Control Panel, as you would do it with every other add-on.2. There is no [table] code in my BB code collection, so I don't know what is your meaning of "table_saved"If you don't have a [table] BB code this shouldn't bother you3. I set up a BB code [table], but I don't know how to write "Replacement", "Sample", "Description", use "Use {option}" or not?You don't need to add a BB code by yourself, this is done by installing my add-on. So delete this BB code and install my add-on, if you want to use the functionality of my add-on.
This is very confusing, All I need is a simple format to post artiles with Photos wrapped inthe article
Something as simple as this below with no borders and transparent. I can surely use some help :D
97305
OK, been figuring this out
{colsp=5} is merging or spanning cells
How does one go about spanning a row?
this is the bomb...nuff said!
I certainly have to say this mod is a very good mod once figured out. I am still playing with format, but as is I can now post my news articles in a far more appeasing look.
Still workign with spanning colomns and would like to understand how to span rows.
The only thing I had to do was to create a line break BBcode as . to simulate the <br> from html. Had to do this to seperate paragraphs with out adding another row with the return key :erm:
97646
How would you change the default code to start with
|
instead of
~
I just want this as a template
Awesome mod, just what I needed. Many thanks!
Stefanus
04-18-2009, 05:05 PM
Posted by alexsinev
StGaensler, when will you make an update with the possibility to change column widths? There is a strong necessity in it. Your mod is really great, but some essential features lack.
I currently can't promise when this feature will come.
Any help on the possibility to change column widths?
Thanks,
Stefanus
SteamyLightning
05-01-2009, 11:01 AM
Unless I'm doing the {css=myclass} wrong, the function is not working.
Say I want to declare a class in my CSS declarations:
.stg_table_myclass {
padding:5px;
}
Then I'd add {css=myclass} to the new row. Unfortunately, it does nothing.
SteamyLightning
05-01-2009, 11:59 AM
Also, is there anyway to stop the autosort from detecting BBCode? I really don't need to know that [center] comes before Alpha.
HolyKiller
05-01-2009, 01:52 PM
Perfect! installed !
adnoid
05-21-2009, 06:50 PM
Installed, works great!
singabaloo
05-22-2009, 04:58 AM
I'm still not able to get the sortable columns when I have a table within a Web Templates page (https://vborg.vbsupport.ru/showthread.php?t=186644).
has anyone had any success doing this ?
Danielgsc
05-29-2009, 07:26 PM
First of all, thank you very much for this mod. Second, sorry my english.
Well, I have the next doubt:
In the first post, StGaensler, shows three screenshots. In the second screenshot there is a table in wich c3 cell there are three lines with differents aligns.
How can I open three lines in the same cell? If a clic <enter> to open a line, I make a new row...
Anybody can help me?
Pd. StGaensler, if you could show the code of this second table.... I will be you very grateful
Thanks in advance.
Elenna
06-02-2009, 02:07 PM
Danielgsc,
You should be able to use BBCode in the cells. Use {br} to do a new line without starting a new row.
Try this for the code:
number|column 1|column 2|column 3
1|this|is|a
small|table|inside
the|big|table|hallo|everything is possible
2|visit Google? (http://www.google.com)|small quote|:D :) 8)
3|wanna have a list?
list 1
list 2
list 3
|align left{br}align center{br}align right|contact me: example@example.net
Danielgsc
06-11-2009, 09:54 PM
Thank you very much for your big help, Elenna. It has been very useful for me.
imported_silkroad
06-15-2009, 06:17 PM
This is an amazing mod. Thank you!
We have just used these BB codes to create a table where we compare pulling a vB forum image (small gif) from a web server, and then the same object from Amazon CloudFront. These tables are great !!!!
Amazon CloudFront / S3 Small Object Test Results (http://www.unix.com/virtualization-cloud-computing/112210-amazon-cloudfront-s3-small-object-test-results.html)
Thank you Stefan!!
PS: There is a bug in your JS sorting code. Signed and unsigned numbers are sorted the same, it seems ;-) So, if you sort 4, -3 and -6, your code will sort this incorrectly as -3, 4 and -6, instead of 4, -3, -6, etc.
vsawri
06-22-2009, 09:15 AM
i'm having a problem with the settings not saving properly with this mod. example: auto num, sortable, etc... anyone have that problem and/or figured out how to always have everything enabled? anyone please respond on where the settings for these is kept and how to modify them via code. thanks much.
kiwivc
06-24-2009, 04:59 PM
i'm having a problem with the settings not saving properly with this mod. example: auto num, sortable, etc... anyone have that problem and/or figured out how to always have everything enabled? anyone please respond on where the settings for these is kept and how to modify them via code. thanks much.
You should find those settings in your ACP:
http://img149.imageshack.us/img149/1272/tablesh.jpg
vsawri
06-25-2009, 08:49 PM
yeah, my problem is that for some odd reason those bit settings aren't saving properly. every time i check those settings, they all go to blank after save. just wondering if there's some kind of work around for this. i've removed and reinstalled many times, after install some stuff is check. but soon as i modify one setting, then click save, all of them gets unchecked and none of them can be re-saved enabled again. weird...
You should find those settings in your ACP:
hbalagh1
06-29-2009, 12:59 AM
Anyone know how to make a created table float to the right and have the post text wrap around it...
hbalagh1
06-29-2009, 01:49 AM
never mind i got it w/ a custom bbcode
zeroality
07-06-2009, 10:49 PM
When I try to install this, it says "Invalid File Specified". Any help?
cfd107
07-09-2009, 07:51 PM
Wanted to say thanks for this product, working perfectly you can see it in action here:http://912forum.com/showthread.php?t=2039
amish_irish
07-11-2009, 11:04 PM
I am getting the same error
ArnyVee
07-18-2009, 03:41 PM
Works great on 3.7.4 , but I have some questions that are probably easy to answer (at least, I hope ;) ) ....
What do I do to add a 'space' within a cell? The text is right up against the edge of the cell.
The table gif is not showing, even though it's uploaded correctly for my custom style. Any suggestions?
Works great on 3.7.4 , but I have some questions that are probably easy to answer (at least, I hope ;) ) ....
What do I do to add a 'space' within a cell? The text is right up against the edge of the cell.
The table gif is not showing, even though it's uploaded correctly for my custom style. Any suggestions?
Maybe use as a test, I am not a coder so I dont know
ArnyVee
07-18-2009, 10:52 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 :)
This is a FANTASTIC mod which, for me, is going to help with communicating with my folks and displaying information like I had never been able to before. :up:
ArnyVee
07-19-2009, 02:12 PM
Has anyone been able to figure out a way to merge two cells?
Edited: So, you can use the {colsp=5} option to merge cells from that point to five cells to the right. Or, if you use {colsp=2} it'll merge two cells from that cell towards the right.
Is there a way to make certain borders in between two cells transparent? Where it simulates the look of a merged cell, but really are two separate cells with no divider between them.
Or, is there a way to make text from the same cell align on opposite sides of the cell? For example, the left text to align on the left and the right text align on the right.
Baigo
07-20-2009, 06:38 PM
I cant make https://vborg.vbsupport.ru/external/2009/07/8.gif appear when doing a new post/topic. Any idea?
ArnyVee
07-20-2009, 09:05 PM
Baigo, I have the same issue. Do we have to reset the images somewhere?
Baigo
07-21-2009, 05:17 AM
Found the problem. The path to the image is wrong on the BB code. Just edit it and put the correct path.
ArnyVee
07-21-2009, 10:49 PM
Thanks Baigo, something so simple ... LOL
Does anyone have some examples of cool "outside the box" type of stuff that you've done with the tables? I'd like to get some ideas. :up:
hi there,
i am trying to do a legue table, and trying to do it so that it does sort after how many played match and how many points and witn name of the club and a rank order, but cannot getting to work proberly.
heres my eg..
[table="head;sort=16d,15;autonumtitle=Rank;width=12em"]#|CLUBNAME|MATCHES|POINTS
1|a|0|0
2|b|0|0
3|c|0|0
etc etc etc
16|q|0|0[/table}
what i then want is if club b has played 1 match and gets 3 points, this team is sorted as number 1 at the top like this
1|b|1|3
2|a|0|0
3|c|0|0
etc etc etc
16|q|0|0
So it has to sort from more than one thing, both #, Clubname,Match and points at the same time
i hope you get what i mean and is this possible??
should say that i use this on vbadvanced as a left coloumn info
ArnyVee
07-26-2009, 03:09 AM
Completed my first table that uses links to other parts of the site, images and colspan. :D
http://www.waltdisneyboards.com/walt-disney-world-theme-parks/24758-park-information-pictures-videos.html
This is a great enhancement to our site! :up:
hi there,
i am trying to do a legue table, and trying to do it so that it does sort after how many played match and how many points and witn name of the club and a rank order, but cannot getting to work proberly.
heres my eg..
[table="head;sort=16d,15;autonumtitle=Rank;width=12em"]#|CLUBNAME|MATCHES|POINTS
1|a|0|0
2|b|0|0
3|c|0|0
etc etc etc
16|q|0|0[/table}
what i then want is if club b has played 1 match and gets 3 points, this team is sorted as number 1 at the top like this
1|b|1|3
2|a|0|0
3|c|0|0
etc etc etc
16|q|0|0
So it has to sort from more than one thing, both #, Clubname,Match and points at the same time
i hope you get what i mean and is this possible??
should say that i use this on vbadvanced as a left coloumn info
noone???
ArnyVee
07-26-2009, 05:55 PM
Sorry DGF, I don't use the sorting feature. Hopefully someone will jump in to help. Good luck! :up:
Elenna
07-27-2009, 05:57 PM
hi there,
i am trying to do a legue table, and trying to do it so that it does sort after how many played match and how many points and witn name of the club and a rank order, but cannot getting to work proberly.
heres my eg..
[table="head;sort=16d,15;autonumtitle=Rank;width=12em"]#|CLUBNAME|MATCHES|POINTS
1|a|0|0
2|b|0|0
3|c|0|0
etc etc etc
16|q|0|0[/table}
what i then want is if club b has played 1 match and gets 3 points, this team is sorted as number 1 at the top like this
1|b|1|3
2|a|0|0
3|c|0|0
etc etc etc
16|q|0|0
So it has to sort from more than one thing, both #, Clubname,Match and points at the same time
i hope you get what i mean and is this possible??
should say that i use this on vbadvanced as a left coloumn info
Auto Number - Don't forget to add in "autonum=1" to your table definition.
For the sorting, it goes by column number. In your example, you are using column 15 and 16, with 16 sorting in descending order, and then by column 16 in ascending order.
If you do not have 16 columns, change those numbers to the column number.
If you want to sort it by number of points (descending) and then number of matches played (ascending), then your code could look like this:
#|CLUBNAME|MATCHES|POINTS
1|Team A|3|16
2|Team B|3|18
3|Team C|4|20
4|Team D|3|13
5|Team E|5|23
6|Team F|4|21
7|Team G|3|25
But if you wanted it to sort by the number of matches played (descending) and then number of points, it would look like this:
#|CLUBNAME|MATCHES|POINTS
1|Team A|3|16
2|Team B|3|18
3|Team C|4|20
4|Team D|3|13
5|Team E|5|23
6|Team F|4|21
7|Team G|3|25
Auto Number - Don't forget to add in "autonum=1" to your table definition.
For the sorting, it goes by column number. In your example, you are using column 15 and 16, with 16 sorting in descending order, and then by column 16 in ascending order.
If you do not have 16 columns, change those numbers to the column number.
If you want to sort it by number of points (descending) and then number of matches played (ascending), then your code could look like this:
#|CLUBNAME|MATCHES|POINTS
1|Team A|3|16
2|Team B|3|18
3|Team C|4|20
4|Team D|3|13
5|Team E|5|23
6|Team F|4|21
7|Team G|3|25
But if you wanted it to sort by the number of matches played (descending) and then number of points, it would look like this:
#|CLUBNAME|MATCHES|POINTS
1|Team A|3|16
2|Team B|3|18
3|Team C|4|20
4|Team D|3|13
5|Team E|5|23
6|Team F|4|21
7|Team G|3|25
Fu.... fantastic Elenna thaank you very much..
Brathamike
08-09-2009, 02:17 AM
NOMINATED very useful mod ... thank you sir
Brathamike
08-09-2009, 04:53 AM
Is there a update for the language file to be used with 3.8? everything else seems to work but unable to install language pack
Brathamike
08-09-2009, 05:13 AM
Completed my first table that uses links to other parts of the site, images and colspan. :D
http://www.waltdisneyboards.com/walt-disney-world-theme-parks/24758-park-information-pictures-videos.html
This is a great enhancement to our site! :up:
very very impressive table. would you like to share to us the table bbcode you use?
ArnyVee
08-09-2009, 11:54 AM
Thanks Brathamike, I've responded to your PM :up:
Brathamike
08-10-2009, 05:37 AM
starting to bugs or errors. nice mod though i can get to work on the latest vb version but unable to upload the language pack and when i try to edit the tabels after i save. it mess everything all up
starting to bugs or errors. nice mod though i can get to work on the latest vb version but unable to upload the language pack and when i try to edit the tabels after i save. it mess everything all up
about the messing eveythin up, by edit, is it olso when you center the table, because it is the only time i got the mess up.
carsomyr
08-21-2009, 09:26 AM
Love this mod but im having real problems getting the sorttable working properly
The table contains a lot of numbers and when you click the heading it sorts them by first digit only.
For example
1008,6,201,704,500,304,
Would be sorted to
1008,201,304,500,6,704
I'd want it to be sorted like:
6,201,304,500,704,1008
How do I make it look at the whole number?
kiwivc
08-22-2009, 06:37 AM
I'd want it to be sorted like:
6,201,304,500,704,1008
How do I make it look at the whole number?
I tried your numbers in a table and the column sorted properly. I've found that sometimes sortability is affected by blank spaces between the |'s. Check that there are no blank spaces.
Wired1
08-25-2009, 01:09 AM
Just installed it, great mod! I'm finding I have one issue with it though. Apologies if someone's posted this already. Did a quick skim of the thread but didn't see anyone with this issue.
Example code:
column 1|column 2|column 3
row1|111|222
row2|333|444
row3|555|666
103665
As you can see in the first picture, it works just fine. HOWEVER, as soon as I use BBCODE that adjusts text in a cell (center or list will do it, but size won't) on a cell that is in the last column and isn't in the last row, it somehow thinks the next row's first cell is part of it, and merges them, which in turn nulifys the next row. Any rows after it work just fine. See my example below as well as the 2nd picture. NOTE: Yes, I know the wrong bracket is at the end of the center BBCODE. That's only so the forum here won't screw up the layout.
It doesn't affect the last row because there's no more cells after it to merge with.
column 1|column 2|column 3
row1|111|222
row2|333|[CENTER]444[/CENTER}
row3|555|666
103668
Can anyone else duplicate this issue?
While I'm certainly open to the possibility that one of the mods on my forum could have caused this, I somewhat doubt it because I coded most of them, and none of them interact with posts.
adnoid
08-25-2009, 10:26 AM
Can anyone else duplicate this issue?
While I'm certainly open to the possibility that one of the mods on my forum could have caused this, I somewhat doubt it because I coded most of them, and none of them interact with posts.
Consistently, and based on a comment earlier in the thread I use an extra empty line after any table row with such formatting - and it works. Give that a shot!
Wired1
08-25-2009, 06:11 PM
Good idea, thanks!
adnoid
08-26-2009, 04:31 AM
Good idea, thanks!
Also, to be sure - in your example you used a "}" where you should have used a "]"
Wired1
08-26-2009, 04:50 AM
NOTE: Yes, I know the wrong bracket is at the end of the center BBCODE. That's only so the forum here won't screw up the layout.
:-)
Valker
08-29-2009, 11:40 AM
first of all, the mod is great, but there is a problem.
Normally the table got this "stg_table_" style. Where can i adjust it ?
i´d like to add a padding, and the background...arg.
My bordsytyle is (imo ^^) quite beautiful, but die table uses alt1 and alt2 as standard, which is eye-mashing.
Just because the alt1+2 backgrounds have a shadow on the top.
So, the table gets illegible.
Therefor i´d like to know were i can adjust this style (not making a css=)
And when this is impossible, i´d like to have a more precise instruction of making a css=myclass. I really do have programming skills, but the instruction...i can´t figure it out.
Rainstater
09-03-2009, 05:40 PM
This is great! downloaded and installed. I allready know many places that this will be used on my forums.
Keesa
09-05-2009, 07:51 AM
What are the difference between???
I do not know which one to use.
table_bbcode-language-en.xml (5.1 KB, 2613 downloads)
product-bbcode_table-multi.0.1.6.xml (31.3 KB, 564 downloads)
product-bbcode_table-multi.xml (33.4 KB, 1769 downloads)
Keesa
09-05-2009, 08:00 AM
first of all, the mod is great, but there is a problem.
Normally the table got this "stg_table_" style. Where can i adjust it ?
i?d like to add a padding, and the background...arg.
My bordsytyle is (imo ^^) quite beautiful, but die table uses alt1 and alt2 as standard, which is eye-mashing.
Just because the alt1+2 backgrounds have a shadow on the top.
So, the table gets illegible.
Therefor i?d like to know were i can adjust this style (not making a css=)
And when this is impossible, i?d like to have a more precise instruction of making a css=myclass. I really do have programming skills, but the instruction...i can?t figure it out.
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;
}
Alfa1
09-06-2009, 12:18 PM
Thank you that's a very welcome enhancement.
For some reason the sortable function does not work for me anymore.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.