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: 11828
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:	8619
Size:	10.9 KB
ID:	42776   Click image for larger version

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

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

Name:	table_04.jpg
Views:	6976
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.
  #631  
Old 12 Apr 2010, 21:15
BRotondi BRotondi is offline
 
Join Date: Sep 2008
a) Works nice here with 4.0.3.
b) Uninstall: Don't know either... Perhaps you can ask in the main forum, what excatly is beeing done, when uninstalling or how to be sure to 100% remove an AddOn... (and let us know here then)
Reply With Quote
  #632  
Old 23 Apr 2010, 02:35
Texas_Dawg Texas_Dawg is offline
 
Join Date: Sep 2009
Originally Posted by Bellethiel View Post
By the way: the table works but it doesn´t have any css since the update to vb4. What would i have to add where to get that css working again?
Any update on css for vb4?
Reply With Quote
  #633  
Old 10 May 2010, 14:23
Mastergumble Mastergumble is offline
 
Join Date: Sep 2008
A update on this for vb4 would be awesome, the cms editor to work with tables make a lot of things harder...
Reply With Quote
  #634  
Old 20 May 2010, 03:21
bnimbhal bnimbhal is offline
 
Join Date: Jul 2009
Not working in Local Machine

I tried it in my Local Machine, and its not working even after adding 1, getting error

"Fatal error: Unsupported operand types in C:\xampp\htdocs\vb\includes\adminfunctions_options.php on line 727"


Using 4.0.3 (1)

Can someone please help me, I am not so good in coding
Reply With Quote
  #635  
Old 07 Jun 2010, 23:39
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Real name: Gabe Leftwich
Getting error:

Unsupported operand types in /home/admin/public_html/community/includes/adminfunctions_options.php on line 727

This is when trying to activate sortable
Reply With Quote
  #636  
Old 12 Jun 2010, 03:31
bnimbhal bnimbhal is offline
 
Join Date: Jul 2009
Working With vb4

Its working fine with VB4

But having some problem, I have attached a image, and I want to create table like this ( Need to give brake ), can someone please tell me the way.
Attached Images
File Type: png table.png (33.9 KB, 65 views)
Reply With Quote
  #637  
Old 21 Jun 2010, 01:27
mickknutson's Avatar
mickknutson mickknutson is offline
 
Join Date: Jan 2004
Real name: Mick Knutson
vb 4.0.4 seems to work, but I get image 404 errors:
http://www.blincmagazine.com/sortdesc.png

But not sure where this is, or should be.
__________________
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
  #638  
Old 30 Jun 2010, 01:55
Keesa Keesa is offline
 
Join Date: Oct 2007
Unhappy

Originally Posted by StGaensler View Post
I only can say the same again: You have to link the javascript-file in the <head>-section of the html output, as it is done by my plugin - I don't know how and where this can be done in vBAdvanced.

To all: Sorry, I forgot to mention a new small feature in my new version: If you want to have a linebreak in a tablecell only put {br} instead of it - this will be replaced by a linebreak.
Okay, I got this to work, using the {br}

Does anyone know how, in version 3.8 to set the table class to align at the top of each cell???

Last edited by Keesa; 30 Jun 2010 at 02:15.
Reply With Quote
  #639  
Old 30 Jun 2010, 04:29
John Streetz John Streetz is offline
 
Join Date: Nov 2007
This won't install correctly in the latest version of vB. I get a database error. Can someone update this for vB4.0.x?
Reply With Quote
  #640  
Old 01 Jul 2010, 11:04
Amiga Harrison Amiga Harrison is offline
 
Join Date: Dec 2006
This is working fine for me in vB4.0.4, with sortable tables disabled. I've had this installed since 3.X and it has continued to work fine.

It would still be great if someone could update this properly for vB4 and fix the sortable issue.
Reply With Quote
  #641  
Old 01 Jul 2010, 15:48
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Real name: Eric
Originally Posted by John Streetz View Post
This won't install correctly in the latest version of vB. I get a database error. Can someone update this for vB4.0.x?
what error?
Reply With Quote
  #642  
Old 23 Jul 2010, 22:20
Kr33p3r's Avatar
Kr33p3r Kr33p3r is offline
 
Join Date: Oct 2007
Example CSS for vb4 - put it in your additional.css

Will work for vb3 too.


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

Enjoy.
__________________
www.CyberneticPunks.com
Gaming Community
Reply With Quote
  #643  
Old 24 Jul 2010, 03:33
apokphp apokphp is offline
 
Join Date: Nov 2002
Originally Posted by Kr33p3r View Post
Example CSS for vb4 - put it in your additional.css

Will work for vb3 too.
Cool. How do you change the text color though?
Reply With Quote
  #644  
Old 24 Jul 2010, 16:20
xuanhuy238 xuanhuy238 is offline
 
Join Date: Apr 2006
Does it work on 4.0.5?
__________________
game games gameonline forum auto
Reply With Quote
  #645  
Old 24 Jul 2010, 18:52
apokphp apokphp is offline
 
Join Date: Nov 2002
Yes. See this thread in my test forum: http://www.onlinedebate.net/forums/s...testing-tables

.css just needs work.
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 15:35.

Layout Options | Width: Wide Color: