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)

StGaensler 06-19-2006 07:44 AM

A user reported that formating in the header cells got lost by making the table sortable. I fixed this and updated the javascript file.
I recommend to use the new file aviable here!

4yBak 06-28-2006 07:39 AM

this hack may control permissions for Usergroups ?
What to be, if I disable this product at admincp? If this product disabled and user know syntax for writing this bb-code, user can be use it or not (this bb-code be parsed)? And if this product disabled, at existing posts where be used this product parsing this bb-code still be or not?

PS: sorry for my english

4yBak 06-29-2006 05:51 PM

why you not include introductions to options (https://vborg.vbsupport.ru/showpost....70&postcount=2) into DB, which all user can see from visit URL misc.php?do=bbcode#table ?

I think, all options to use this bb-code must be shown on page misc.php?do=bbcode#table

PS: great hack, click installed :)

StGaensler 07-04-2006 03:13 PM

Quote:

Originally Posted by 4yBak
this hack may control permissions for Usergroups ?

No you can't enable it only for special usergroups. On or Off.
Quote:

Originally Posted by 4yBak
What to be, if I disable this product at admincp? If this product disabled and user know syntax for writing this bb-code, user can be use it or not (this bb-code be parsed)? And if this product disabled, at existing posts where be used this product parsing this bb-code still be or not?

Disabling the product in the admincp or uninstalling has the same effect: The code will be shown unparsed.
Quote:

Originally Posted by 4yBak
why you not include introductions to options [...] all user can see from visit URL misc.php?do=bbcode#table ?

As you can see in my first post I already have this on my todo-list:
Quote:

detailed description of the vB Code in misc.php?do=bbcode depending on the features enabled in AdminCP
But just to paste this text in would not be a good solution. I only want to display the options enabled in admincp and I also have to rewrite the whole text and to translate it. This needs some time :)

4yBak 07-19-2006 05:12 PM

ok, thanks for answer, and how about to port this product to vB 3.6.x ? :)

StGaensler 07-19-2006 05:38 PM

That's no problem. Edit the xml file manually, find this line:
PHP Code:

$db->query_write("TRUNCATE TABLE ".TABLE_PREFIX."post_parsed;"); 

and replace "post_parsed" by "postparsed". That's all you have to do to run it under vB 3.6.x :) I will release a new version, but I have to find time for it :)

Strike3ForumsMH 07-30-2006 09:11 PM

Where do I edit to change the image that is associated the "head" tag. I would prefer to use the image I have for tcat as when sorting is enabled, the thead image comes into contrast with the color of the links to sort. Either that or how to simply change the color of the header items to white. Any ideas? I know I could change the style, but I would prefer to find a work around.

Great hack by the way, for a baseball forum where I often post many stats this is perfect.

StGaensler 08-12-2006 06:45 AM

I already posted an css example for formating the table and I hope this helps.

The images used are the same that are used if you sort your thread list - so you should think about changing your style if they don't match. It is also possible to change the product. Edit sortable.js and around line 108 you find
Code:

if (span.getAttribute("sortdir") == 'down') {
        ARROW = '&nbsp;<img src="' + IMGDIR_BUTTON + '/sortasc.gif" />';
        newRows.reverse();
        span.setAttribute('sortdir','up');
} else {
        ARROW = '&nbsp;<img src="' + IMGDIR_BUTTON + '/sortdesc.gif" />';
        span.setAttribute('sortdir','down');
}

Edit both bold filenames to use other images. It can be that you will have to clear your browsercache that you can see the changes.

mgurain 08-20-2006 07:08 AM

Quote:

Originally Posted by StGaensler
I will release a new version, but I have to find time for it :)

We are wating ?

StGaensler 08-21-2006 05:24 PM

Quote:

Originally Posted by mgurain
We are wating ?

... and I am working :D

Here is the new version. vB 3.6 support is beta because I added some small features as versioncheck and a upgrade message. This means, in vB 3.6 the postcache isn't deleted automatically, the admin is asked to do this. If the admin wants to do it, only the cache of posts containing the vB Code is deleted.

To update install new product and languagepack - sorttable.js hasn't changed.

To the first five users testing this version: Please report in this thread if it works with vB 3.6 so that I can release a stable version.

product-bbcode_table-multi_beta.xml (31.2 KB, 31 views)
table_bbcode-language-en.xml (5.1 KB, 21 views)
table_bbcode-language-de.xml (5.5 KB, 12 views)
sorttable.js.txt (6.8 KB, 30 views)


All times are GMT. The time now is 04:58 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.03106 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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