Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
BB Code [table] Details »
BB Code [table]
Mod Version: 0.1.7.1, by StGaensler (Member) StGaensler is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (100 votes - 4.77 average) Installs: 1198
Released: 14 Feb 2006 Last Update: 26 Mar 2008 Downloads: 11813
Not Supported Uses Plugins Auto-Template  

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

A screenshot of a "ready" table is attached

Usage
  1. install attached product XML through product manager (overwrite existing)
  2. install at least one language pack in AdminCP -> Languages & Phrases -> Download / Upload Languages -> Import Language XML File
    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.

Please note: (installing)
Installing this product will: (reverted during uninstall)
  1. rename a existing BB code "table" to "table_saved"
  2. add a new BB code [table]
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.
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)
  • Of course you can use vB Code and smilies inside the table!
  • The first line defines how much columns are in the table. If the other lines have more or less colums they are cut off or filled with   (space)
  • You can find a detailed description of the options (please read it before requesting help)
  • Empty rows are (should be ) removed.

New features
  • define colspan of cells
  • small panel in AdminCP
  • define CSS class of table and tablerows
  • live sorting of table through clicking the head of a column
  • defining maximum width of a table

Maybe planned features
  • detailed description of the vB Code in misc.php?do=bbcode depending on the features enabled in AdminCP (planned for next beta version)
  • define formatting (bold, italic), align (left, right, center) and width of the cols
Suggested but not planned features
  • none

Known problems
  • Bugfix of version 0.1.1 doesn't work if vBulletin should write template names into the source code

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	table_01.jpg
Views:	8600
Size:	10.9 KB
ID:	42776   Click image for larger version

Name:	table_02.jpg
Views:	7725
Size:	10.1 KB
ID:	42777   Click image for larger version

Name:	table_03.jpg
Views:	11844
Size:	30.9 KB
ID:	42792   Click image for larger version

Name:	table_04.jpg
Views:	6960
Size:	135.1 KB
ID:	48107  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #751  
Old 08 Jul 2011, 10:11
mickknutson's Avatar
mickknutson mickknutson is offline
 
Join Date: Jan 2004
Real name: Mick Knutson
I removed all the css from additional.css, then just re-added


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then the tables started working again:

http://www.blincmagazine.com/forum/w...ity_Statistics
__________________
Thank You
Mick Knutson

BLiNC Magazine
"Everything you ever wanted to know about BASE-Jumping, but didn't know whom to ask."
Reply With Quote
  #752  
Old 08 Jul 2011, 14:12
pokusek pokusek is offline
 
Join Date: Oct 2010
Originally Posted by pokusek View Post
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)



Does anyone know how to remove it?
Thanks.

I just figured it out - I had to empty the content of datastorebbcodecache in my database.
__________________
---
Reply With Quote
  #753  
Old 15 Jul 2011, 11:57
Ddiablo Ddiablo is offline
 
Join Date: Jul 2008
thanks for this.. installed
Reply With Quote
  #754  
Old 18 Jul 2011, 14:32
hohleweg's Avatar
hohleweg hohleweg is offline
 
Join Date: Oct 2005
Real name: Joachim
Hello
I have the same problem,
the addon is deleted the Icon I deleted by hand
but the field is still there,
how do I get the addon completely deleted?
Greetings Joachim
Attached Images
File Type: jpg 001.jpg (47.0 KB, 43 views)
__________________
www.buggy-forum.de : The best side vor Buggys!
Reply With Quote
  #755  
Old 25 Jul 2011, 16:22
wrhatter wrhatter is offline
 
Join Date: May 2008
Does anyone know how to disable the ckeditor tables function or modify this to fix excel problems?

If I turn off the [table] bbcode feature, tables insert by Excel work fine. When I turn on this [table] bbcode however I get the following when pasting Excel content:

[TR]
[TD]Name[/TD]
[TD]Age[/TD]
[TD]B[/TD]
[TD]DI[/TD]
[TD]CN[/TD]
[TD]BA[/TD]
[TD]SL[/TD]
[TD]SP[/TD]
[TD]RA[/TD]
[TD]GL[/TD]
[TD]AR[/TD]
[TD]EN[/TD]
[TD]R/L[/TD]
Reply With Quote
  #756  
Old 08 Sep 2011, 18:48
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
went from 3.8 to 4.1.5. Had to uninstall this. For some reason I can't even view the previous table text in the editor, only the database.

Update: reinstalled this so I at least have my tables back. Of course now the new editor tables do not work.

Curious if anyone has figured out a solution to have new and old co-exist without going back and redoing all of the old tables.
__________________
John

Last edited by tpearl5; 08 Sep 2011 at 20:02.
Reply With Quote
  #757  
Old 08 Oct 2011, 10:40
entertain entertain is offline
 
Join Date: May 2007
Doesn't work with vBulletin 4.1.7 anymore. Does anybody have a fix for that?
Reply With Quote
  #758  
Old 11 Oct 2011, 04:35
hoatran hoatran is offline
 
Join Date: Aug 2008
Does it work with 4.X?
Reply With Quote
  #759  
Old 30 Dec 2011, 11:59
TiKu's Avatar
TiKu TiKu is offline
 
Join Date: Sep 2006
I hope this mod gets updated for VB 4.1.x.
Reply With Quote
  #760  
Old 30 Dec 2011, 12:30
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by TiKu View Post
I hope this mod gets updated for VB 4.1.x.
Not needed for 4.x which has its own built-in table BBCode.
Reply With Quote
  #761  
Old 30 Dec 2011, 12:59
TiKu's Avatar
TiKu TiKu is offline
 
Join Date: Sep 2006
Oh, I didn't know that. Great!
Reply With Quote
  #762  
Old 30 Dec 2011, 13:40
trotskid trotskid is offline
 
Join Date: Feb 2009
Hi all.

A time ago we have a problem with the links inside the table. With more than 3 links (in red) an error of blank page appears "forbidden" and we don't know which is the problem here, if is the bbcode table or the forum itself. This has appeared recently and now we cannot edit the tables with more than 3 links inside the table. Very confused...

Any sugestion?

Edit: is the forum, not the table.

Last edited by trotskid; 02 Jan 2012 at 13:55.
Reply With Quote
  #763  
Old 06 Mar 2012, 15:18
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Hi,

How to adjust cell height ?
__________________

Reply With Quote
  #764  
Old 06 Mar 2012, 20:44
twista46 twista46 is offline
 
Join Date: Oct 2008
pls update for vB 4.1.1
Reply With Quote
  #765  
Old 06 Mar 2012, 20:57
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by twista46 View Post
pls update for vB 4.1.1
Not needed. vBulletin 4.x has its own built-in table bbcode.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:24.

Layout Options | Width: Wide Color: