The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
BB Code [table] Details »» | |||||||||||||||||||||||||||||||||||||||||||
BB Code [table] by StGaensler Description This Hack provides a BB code [table] to add a table to the post The skin of the table automatically fits the style because the CSS classes of vBulletin are used. A table is simply made of some lines (will be the rows). The cols are seperated by |. So this will be a table: Code:
[table="head"]head col1|head col2|head col3 row1 col1|row1 col2|row1 col3 row2 col1|row2 col2|row2 col3[/table] Usage
Please note: (installing) Installing this product will: (reverted during uninstall)
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. If you want to have a icon for the editor you may use this for free: Download this icon and place it in your /images/editor/ folder. Please note: (usage)
New features
Maybe planned features
Known problems
Version history: 0.0.1 - 0.0.5 internal releases for testing purposes (Thanks to Zombie79 from powerforen.de for testing) 0.1 first official release 0.1.1 fixed small bug: if a line ends with eg vbcode quote no new row was generated (should already have been fixed but did not work) 0.1.2 workaround: removed call to function bcmod(), it could also be done another way 0.1.3.x beta version described here (and following) - added admin panel, colpan and css feature 0.1.4 stable version - no significant changes to the last beta (0.1.3.8) 0.1.5.x beta version described here (and following) - added sortable, maxwidth, versioncheck, upgrade message, compatibility to vB 3.6 0.1.6 stable version - two bugfixes to last beta, {br} for posting linebreaks in a tablecell 0.1.7.x stable version - compatibility to vB 3.7 (description) - added tab seperated tables This hack can be used for free. If you want to make a small donation, just contact me. We will find a way I don't want this product to be distributed from other sources. Please don't upload it to other vBulletin related boards etc. Download Now
Screenshots
Show Your Support
|
Comments |
#152
|
|||
|
|||
I have this installed and it is working great, er, was working great. You can see my use of it here in my forum:
http://www.quadraphonicquad.com/foru...ead.php?t=7592 However, although it appears to be working fine and is sortable, I can no longer add any more lines to it. Is there a limit to the number of rows you can have, or is there something that the 3.6.7 upgrade did that I have to undo? THANKS |
#153
|
||||
|
||||
No its nothing the update of vBulletin has done. Since version 0.1.3 (?) you are able to define the maximum number of rows in the table. I set this to 500 what is the exact count of rows in your table.
If you want to have more, then simply go to AdminCP -> vBulletin-Options -> BB Code [table] Settings -> How Many Rows May A Table Have and increase this value. |
#154
|
|||
|
|||
Quote:
Again, it works great! |
#155
|
|||
|
|||
Is it going to work with vbadvanced cmp?
I want table on those for sports leagues on my own. Just like leaguegaming.com |
#156
|
|||
|
|||
Can you add an option to have cells aligned easier? (See how your current hack works below then see why I request this)
This is my code: (see the attachment for the result) HTML Code:
[table="head;width=360px"][CENTER]Th?ng tin[/CENTER] | [CENTER][COLOR=Plum][B]VIP thường[/B][/COLOR][/CENTER] | [CENTER][COLOR=DarkOrchid][B]VIP Pro[/B][/COLOR][/CENTER]
[B]20 ngày[/B]|[RIGHT]50.000VND[/RIGHT]|[RIGHT]150.000VND[/RIGHT]
[B]50 ngày[/B]|[RIGHT]100.000VND[/RIGHT]|[RIGHT]300.000VND[/RIGHT]
[B]90 ngày[/B]|[RIGHT]150.000VND[/RIGHT]|[RIGHT]450.000VND[/RIGHT]
[COLOR=DarkOliveGreen][B]RapidShare[/B][/COLOR]|[RIGHT]Kh?ng có [/RIGHT]|[RIGHT][COLOR=Red][B]Có - Mi?̃n phí[/B][/COLOR][/RIGHT]
[COLOR=Sienna][B]MegaUpload [/B][/COLOR]|[RIGHT]Kh?ng có [/RIGHT]|[RIGHT][COLOR=Red][B]Có - Mi?̃n phí[/B][/COLOR][/RIGHT]
[/table]
1 - First of all, if i want to align cells, i must switch to Simple Editor Mode! It's better if people can align them in WYSIWYG mode. 2 - If last cell of a row is aligned (center/right/left), there must be one more line break. 3 - If the last cell of the current row and the first cell of the next row are both aligned in a same way (center/right/left), it will not work! Why? Imaging that you will have close tag at the end of the current row and open tag at the begin of the next row, because there are only blank character (spaces, line breaks,..) among them, they will be pruned! Moreover, if you can give people some options such as cellpadding, cellspacing,... it will be GREAT. |
#157
|
|||
|
|||
Awesome, and very useful, thanks!
|
#158
|
||||
|
||||
does this break layout if the table is not correct?
ie, someone types: Code:
[table] erwe|rewrwe|rew| |
#159
|
||||
|
||||
Yes, I think of adding such a feature, but I'm sorry I can't tell you when this will be I currently don't find enough time for it.
Quote:
Colspan is possible as you know?No, this won't break the layout. It's very hard to break the layout because I use the standard vBulletin functions. If a code isn't closed correctly my plugin doesn't even get the code from vBulletin and so this stays unparsed until you close it properly. |
#160
|
|||
|
|||
I receive an error when I try to add the english language xml file
Quote:
|
#161
|
||||
|
||||
Quote:
Import the language file through Languages & Phrases -> Download / Upload Languages -> Import Language XML File into your current language (chosen at "Overwrite Language") |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|