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 02-22-2008 11:38 AM

Good news indeed, have you made the author aware of this?

pewp 02-29-2008 06:32 PM

Has anyone else seen this error since installing this mod?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in .../forums/includes/class_bbcode.php(189) : eval()'d code on line 331

I have disabled this mod to see if the error goes away. This is the last mod I installed before this started happening.

Dr. Bantham 03-08-2008 11:58 PM

How can I activate live sorting outside of the forums? I have set up vBadvanced pages which include tables. The tables work fine, but the sorting mechanism does not. Presumably this is because the portal index does not have the script call for the sorttable javascript file.

I tried including
Code:

<script type="text/javascript" src="clientscript/sorttable.js"></script>
within the page as html as well as a template edit within adv_portal. This made the table sortable with the first pass, but live sorting is not working. When you click on a heading to sort live, nothing happens except for the # character being appended to the end of the URL. What do I need to do to get live sorting to work within vBa?

StGaensler 03-17-2008 08:41 PM

Quote:

Originally Posted by Dr. Bantham (Post 1460381)
How can I activate live sorting outside of the forums? I have set up vBadvanced pages which include tables. The tables work fine, but the sorting mechanism does not. Presumably this is because the portal index does not have the script call for the sorttable javascript file.

I tried including
Code:

<script type="text/javascript" src="clientscript/sorttable.js"></script>
within the page as html as well as a template edit within adv_portal. This made the table sortable with the first pass, but live sorting is not working. When you click on a heading to sort live, nothing happens except for the # character being appended to the end of the URL. What do I need to do to get live sorting to work within vBa?

I think, you missed the JavaScript code just above this code, so IMGDIR_BUTTON is not set - but the sorttable.js needs this var to be set.

For all the vB 3.7.x users:
I modified my mod, and now it seems to work perfectly with vB 3.7. Beneath other small fixes I think it was a missing <![CDATA[ that prevented my mod from being imported properly.
New Version in first post.

Edit:
moved product-bbcode_table-multi.xml (33.0 KB, 11 views) to first post

Dr. Bantham 03-17-2008 09:34 PM

Quote:

Originally Posted by StGaensler (Post 1467357)
I think, you missed the JavaScript code just above this code, so IMGDIR_BUTTON is not set - but the sorttable.js needs this var to be set.

I believe you are correct. However, I can not get the code to take:
HTML Code:

<script type="text/javascript">'."\n\t\t".'var IMGDIR_BUTTON = "'.$stylevar['imgdir_button'].'";'."\n\t".'</script>
I assume it is struggling with the variables somehow. Any idea on what to revise?

Thanks for making this compatible with 3.7!

StGaensler 03-17-2008 10:20 PM

Take the code from the html source of your forum and copy it into the template - then it doesn't use a variable :)
You only have to remember this change if you move your image directory :)

Dr. Bantham 03-17-2008 11:20 PM

Quote:

Originally Posted by StGaensler (Post 1467421)
Take the code from the html source of your forum and copy it into the template - then it doesn't use a variable :)
You only have to remember this change if you move your image directory :)

Worked like a charm! Let me know if integrating the image directory is easily done. I have several styles to change!

StGaensler 03-25-2008 10:02 PM

Sorry, I don't really understand what you mean :( You have to set the IMGDIR_BUTTON variable once for every style you have. My Script code needs the path, because it uses the up and down arrows of the style for showing how the table is sorted. Theroretically you have to set this only once for every style - and I don't think that you move your image directory so often ;)

StGaensler 03-26-2008 05:20 PM

I released a new version which has a small change: You can now use tabs to seperate the columns instead of using |. If the first row doesn't contain any | I will look up, if tabs are there and if I find (at least) one, I will switch to using tabs as seperator.

This feature is useful for directly inserting tables from your favourite spreadsheet (works with Microsoft® Excel™ and OpenOffice.org Calc).

Alfa1 03-26-2008 07:27 PM

Many thanks Stephan! How do you upgrade from 1,6 to 1,7?


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.01553 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)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