vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - BB Code [table] (https://vborg.vbsupport.ru/showthread.php?t=107985)

tekguru 01-10-2008 08:50 AM

Thanks for coming back to us. I'd have done that a few weeks ago but have had to wipe my test system from 3.7.x to go back to 3.6.8 to do soem other testing.

4number8 01-12-2008 12:39 PM

I tried that also and it didn't work, thanks for keeping us informed.

tekguru 01-12-2008 03:18 PM

A pity that - worth a try though!

Dr. Bantham 01-19-2008 12:02 PM

This is quite simply one of the most valuable mods to my site. I truly hope that we see it ported to 3.7, as it would be a great loss.

I have one issue which should be fairly simple for someone to resolve. I am using live sortable columns, which creates links in the header element. The header seems to be defaulting to a different CSS setting when it comes to links. It works well for the content rows (defaulting to the correct link colors for alt1 and alt2. However, a couple of my styles have table header backgrounds which are causing the column headers to be illegible when the links show.

I have had success modifying the header css by adding the following to Additional CSS Definitions:
PHP Code:

table.stg_table thead th {height:25pxfont-weight:bold

What do I need to add to specify a link color for the header? I do not wish to impact the link colors of row content.

EDIT
I discovered the following comment in the sorttable.js:
PHP Code:

//link.className = 'sortheader'; 

Unfortunately, I tried the follow three settings to no avail:
PHP Code:

table.sortable thead th {color:#FFFFFF; font-weight: bold}
table.stg_table.sortable thead th {color:#FFFFFF; font-weight: bold}
table.stg_table sortable {color:#FFFFFF; font-weight: bold} 


kylek 01-21-2008 07:45 AM

Trying this out myself on 3.7.0 Beta 3 and get this error while attempting to install, could this be the problem with 3.7.0/

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
INSERT INTO vb3_bbcode VALUES (NULL, 'table', 'No code has to be inserted here.', '[table]column 1|column 2|column 3[/table]', 'With this vB code tables can be inserted into the post. Columns are seperated by ?|?, every new line is a new row.', 0, 'table', '');;

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, January 21st 2008 @ 03:33:06 AM
Script : http://www.xxxxx.xxx/forum/admincp/p...=productimport
Referrer : http://www.xxxx.xxx/forum/admincp/pl...?do=productadd

MySQL Version : 4.1.22-standard

StGaensler 01-24-2008 08:22 PM

Quote:

Originally Posted by Dr. Bantham (Post 1424384)
What do I need to add to specify a link color for the header? I do not wish to impact the link colors of row content.

table.stg_table .sortheader {color:limegreen;}
will do it :)
Quote:

Originally Posted by kylek (Post 1425708)
Trying this out myself on 3.7.0 Beta 3 and get this error while attempting to install, could this be the problem with 3.7.0/

Currently vB 3.7 is not supported. There are more bugs to fix - e.g. you can't save the preferences of my mod.
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.

Stefan

Pod 01-24-2008 11:20 PM

Quote:

Originally Posted by StGaensler (Post 1428203)
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.

The query to add the BB code might not be working 'cause the table now has more rows? They added fields to delete the tag if it's empty, and to disable smilies and word-wrap inside.

beastybob 01-25-2008 06:18 PM

Just curious is it possible to only allow Admins access to use this in posts ? Just to prevent users stuffing the site. I want to start some news threads with a table of results and there is no need for users to have the option on my site.

If it can be set only for admins/moderators can someone please let me know :)

Thanks

4number8 01-29-2008 03:19 AM

Quote:

Originally Posted by StGaensler (Post 1428203)
If you want, you can remove/comment out this query (<installcode>-block) this isn't really needed for operation. You only won't have entry in your custom bb codes - you can add one yourself.
Stefan

After doing this and testing it out on my test board, this seems to fix it with 3.7

Thanks

Royalridge 02-20-2008 02:31 PM

With a single modification to the product xml file this can be made to import on 3.7 and create the relevant bbcode table entry, however as always, I'd suggest waiting for the developer to release an approved version.


All times are GMT. The time now is 07:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01624 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete