vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Collapse feature for (New Look for Code Modifications) wont work ? (https://vborg.vbsupport.ru/showthread.php?t=112133)

SaN-DeeP 04-04-2006 12:19 PM

Collapse feature for (New Look for Code Modifications) wont work ?
 
tested both in ie 6.x and firefox latest version on windows 2003 and xp system
any clues ?

Nutz 04-04-2006 01:56 PM

Quote:

Originally Posted by SaN-DeeP
tested both in ie 6.x and firefox latest version on windows 2003 and xp system
any clues ?

Sorry what do you mean by 'New Look for Code Modifications' ?

Thanks,
Mat

Brad 04-04-2006 05:29 PM

It's a known bug that I have not got around to fixing yet.

SaN-DeeP 04-14-2006 09:39 PM

sorry to bump back again, its being very annoying to go through each and every page for a specific hack to read through the solutions/comments from others.

the entire hack description gets loaded on every page :(
(big pain for 56K users)

Logikos 04-15-2006 12:23 AM

Brad is lazy :p.

SaN-DeeP 05-09-2006 04:42 PM

getting back the thread to brad's attention and a cc to xenon ;)

Logikos 05-10-2006 01:34 AM

Yes, this is really anoyying. I'll give you the code if you need it. :p

Paul M 05-10-2006 01:38 AM

Quote:

Originally Posted by SaN-DeeP
the entire hack description gets loaded on every page :(
(big pain for 56K users)

The fact it is collapsed will not stop this happening - that would require a proper option to turn off the display of the first post on every page.

SaN-DeeP 05-11-2006 12:22 AM

Paul M this worked perfect on 3.x series :)
LiveWire share the codes if you are sure of a working solution.. we might get the stuff implemented asap.

Logikos 05-11-2006 01:56 AM

Template Code: postbit or w/e
HTML Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
        <tr>
                <td class="tcat" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('groupbit_$post[postid]')"><img id="collapseimg_groupbit_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_groupid}.gif" alt="" border="0" /></a></div>
                        Test
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_groupbit_$post[postid]" style="$collapseobj_groupid">
        <tr>
                <td class="alt1">Test</td>
        </tr>
</tbody>
</table>

Hook Location : postbit_display_complete
PHP Code:

// collapse/expand fields in a group
global $vbcollapse;

$groupid $post['postid'];
$collapseobj_groupid =& $vbcollapse["collapseobj_groupbit_$groupid"];
$collapseimg_groupid =& $vbcollapse["collapseimg_groupbit_$groupid"];
$show['collapsebutton'] = true



All times are GMT. The time now is 09:20 AM.

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.01211 seconds
  • Memory Usage 1,739KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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