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.
  #406  
Old 16 Dec 2008, 18:27
kastet kastet is offline
 
Join Date: Jan 2007
Originally Posted by limmengwei View Post
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
Reply With Quote
  #407  
Old 18 Dec 2008, 17:50
limmengwei limmengwei is offline
 
Join Date: Nov 2008
ACP-->Custom BBcodes-->BBcode manager-->Edit-->image path
Reply With Quote
  #408  
Old 18 Dec 2008, 18:27
Ghost Shadow's Avatar
Ghost Shadow Ghost Shadow is offline
 
Join Date: Aug 2005
Originally Posted by limmengwei View Post
ACP-->Custom BBcodes-->BBcode manager-->Edit-->image path
I can't find Custom BBcodes
Reply With Quote
  #409  
Old 18 Dec 2008, 23:39
limmengwei limmengwei is offline
 
Join Date: Nov 2008
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
Reply With Quote
  #410  
Old 19 Dec 2008, 00:21
Ghost Shadow's Avatar
Ghost Shadow Ghost Shadow is offline
 
Join Date: Aug 2005
i have 3.7.4 also, but where do i go from ACP ?

thanks
Reply With Quote
  #411  
Old 19 Dec 2008, 05:01
limmengwei limmengwei is offline
 
Join Date: Nov 2008
Once you have logged into the admin control panel (ACP), it on the left, just scroll for it
Reply With Quote
  #412  
Old 19 Dec 2008, 06:25
Ghost Shadow's Avatar
Ghost Shadow Ghost Shadow is offline
 
Join Date: Aug 2005
Originally Posted by limmengwei View Post
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.

thank you
Reply With Quote
  #413  
Old 19 Dec 2008, 08:29
Keesa Keesa is offline
 
Join Date: Oct 2007
Originally Posted by Schnee View Post
I am sorry to ask a dumb question, but of these, I do not understand which ones I need to download and install.
  1. table_bbcode-language-de.xml (5.5 KB, 634 downloads)
  2. table_bbcode-language-en.xml (5.1 KB, 1823 downloads)
  3. sorttable.js.txt (6.8 KB, 1675 downloads)
  4. product-bbcode_table-multi.0.1.6.xml (31.3 KB, 314 downloads)
  5. 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?
Reply With Quote
  #414  
Old 19 Dec 2008, 17:16
Ghost Shadow's Avatar
Ghost Shadow Ghost Shadow is offline
 
Join Date: Aug 2005
2. table_bbcode-language-en.xml (English)
3. sorttable.js.txt
5. product-bbcode_table-multi.xml
Reply With Quote
  #415  
Old 09 Jan 2009, 17:16
gremlin2412 gremlin2412 is offline
 
Join Date: Sep 2007
Very nice plugin. *installed click*
Reply With Quote
  #416  
Old 14 Jan 2009, 13:36
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Real name: Sverre
Works with vb 3.8.0?
__________________
Basic Roleplaying Central - the best d100 RPG website there is!
Reply With Quote
  #417  
Old 14 Jan 2009, 13:43
bezibaerchen bezibaerchen is offline
 
Join Date: Oct 2007
Works at my 3.8 site,yepp.
Reply With Quote
  #418  
Old 14 Jan 2009, 20:09
Mum Mum is offline
 
Join Date: Jun 2006
Real name: Kirsty
Works on mine too.
__________________
Mummybrain.com We're virtually family
Reply With Quote
  #419  
Old 20 Jan 2009, 09:04
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Hi,

Does this modification causes any server load ?

Last edited by katie hunter; 20 Jan 2009 at 10:24.
Reply With Quote
  #420  
Old 05 Feb 2009, 23:09
edytwinky edytwinky is offline
 
Join Date: Sep 2007
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.

Last edited by edytwinky; 05 Feb 2009 at 23:18.
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 09:53.

Layout Options | Width: Wide Color: