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 (vBulletin-Germany Staff) StGaensler is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (135 votes - 4.70 average) Installs: 1198
Released: 14 Feb 2006 Last Update: 26 Mar 2008 Downloads: 11461
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:	8251
Size:	10.9 KB
ID:	42776Click image for larger version

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

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

Name:	table_04.jpg
Views:	6607
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.
  #676  
Old 18 Dec 2010, 16:30
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by M.C. View Post
same error! Look like developer abandoned that thread send PM to him.
It's best not to do that. Developers mark a mod as Not Supported for a reason.

Check the version of PHP your host is running to see if it's up to date.
__________________
Reply With Quote
  #677  
Old 19 Dec 2010, 22:19
M.C.'s Avatar
M.C. M.C. is offline
 
Join Date: Jan 2002
DJ I checked above it's "Supported" that's why I sent PM.... PHP version 5.2.9
__________________
WBR`s
M.C.
Reply With Quote
  #678  
Old 20 Dec 2010, 06:12
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by M.C. View Post
DJ I checked above it's "Supported" that's why I sent PM.... PHP version 5.2.9
Could have sworn it said Not Supported when I looked at it. Nevertheless, you really shouldn't PM developers to check the posts in their own thread. They generally ignore those types of messages anyway. That's what the thread is for.

Perhaps an outdated version of PHP?
__________________
Reply With Quote
  #679  
Old 20 Dec 2010, 16:54
motorola motorola is offline
 
Join Date: May 2009
Real name: Gabriel
Originally Posted by motorola View Post
Maybe somebody will tell us the solution to make this working on 4.1.0 PL2.

For example I have the following code for the table

[table="head"] Test | Test | Test | Test
1| 2 | 3 | 4
[/table]


This looks like this

Anyone?
Reply With Quote
  #680  
Old 22 Dec 2010, 04:18
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by motorola View Post
Anyone?
On the previous page, just a couple of posts before you first asked, someone posted a fix for 4.1 that might work for you.
__________________
Reply With Quote
  #681  
Old 22 Dec 2010, 07:00
Sander Prinsen Sander Prinsen is offline
 
Join Date: Nov 2004
Originally Posted by mawby View Post
[a lot of text]
Thanks mawby! This fixed it on my 4.1.0pl2 forum as well Great work!
Reply With Quote
  #682  
Old 25 Dec 2010, 23:38
ricktas's Avatar
ricktas ricktas is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by mawby View Post
I've had this installed since the early 3.8 days and I've got this working for vB4.1.0 with sorting still enabled. It's very hacky though so if you're not confident with hacking files then please don't follow these instructions as I offer no support for this - it is simply a list of things I did to get it working.
It works for us on V4.1.0pl2 - thanks!
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #683  
Old 27 Dec 2010, 21:57
Kyo-dono Kyo-dono is offline
 
Join Date: Jun 2010
Coming a install for 4.1? Yes I read #670.
Reply With Quote
  #684  
Old 29 Dec 2010, 21:29
Kyo-dono Kyo-dono is offline
 
Join Date: Jun 2010
I have install it too. Its look very very nice, but I think it is to simple and not useable for complex tables. In this version, you can't use breaks like:

[table]Line one of cell one
line two of cell one|Cell two|Cell three[/table]



Is here a alternative bbcode for table?
Reply With Quote
  #685  
Old 29 Dec 2010, 22:08
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Real name: Wayne
Originally Posted by Kyo-dono View Post
I have install it too. Its look very very nice, but I think it is to simple and not useable for complex tables. In this version, you can't use breaks like:

[table]Line one of cell one
line two of cell one|Cell two|Cell three[/table]



Is here a alternative bbcode for table?
How to do a line break:

Reply With Quote
  #686  
Old 29 Dec 2010, 23:54
Kyo-dono Kyo-dono is offline
 
Join Date: Jun 2010
Nice, thanks. Is it possible to set a custom width for each cell?
Reply With Quote
  #687  
Old 30 Dec 2010, 04:38
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Real name: Wayne
Originally Posted by Kyo-dono View Post
Nice, thanks. Is it possible to set a custom width for each cell?
You're welcome
I don't think you're able to set custom cell widths.
I've placed below 4 images showing 7 examples of the common features for this table mod that I have used on my own forum.

http://img39.imageshack.us/img39/8893/tablemodhelp1.jpg
http://img36.imageshack.us/img36/2592/tablemodhelp2.jpg
http://img36.imageshack.us/img36/4205/tablemodhelp3.jpg
http://img36.imageshack.us/img36/8642/tablemodhelp4.jpg

You might want to check out this Table BBCode as an alternative option. It can be tricky to use but the results are superior IMO: BBCode - Comprehensive set of TABLE tags (BB Code)
Reply With Quote
  #688  
Old 02 Jan 2011, 17:44
Drareg's Avatar
Drareg Drareg is offline
 
Join Date: Aug 2009
Real name: Gerard
It took me a litte while to figure it out completely, but now I've got it working perfectly with styles for te table and rows. Great ofcourse I installed it
__________________
Admin and owner of www.wfcfotobeeld.com
Dutch amature and pro photographers forum and gallery
<a href=http://www.wfcfotobeeld.com target=_blank>www.wfcfotobeeld.com</a>
Reply With Quote
  #689  
Old 02 Jan 2011, 18:42
Drareg's Avatar
Drareg Drareg is offline
 
Join Date: Aug 2009
Real name: Gerard
I tried to assign a background image, but somehow it does not work, also other background colors do not have any effect. Path to image is ok, if set to another part of vB it workes, waht could be wrong?
__________________
Admin and owner of www.wfcfotobeeld.com
Dutch amature and pro photographers forum and gallery
<a href=http://www.wfcfotobeeld.com target=_blank>www.wfcfotobeeld.com</a>
Reply With Quote
  #690  
Old 02 Jan 2011, 18:51
Drareg's Avatar
Drareg Drareg is offline
 
Join Date: Aug 2009
Real name: Gerard
Mmmm, found it, I had: background-images: url(path) changed it to background: url("path") and it worked!
__________________
Admin and owner of www.wfcfotobeeld.com
Dutch amature and pro photographers forum and gallery
<a href=http://www.wfcfotobeeld.com target=_blank>www.wfcfotobeeld.com</a>
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 23:41.

Layout Options | Width: Wide Color: