vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Collapse Quick Reply in Mozilla Firefox 1.1 (https://vborg.vbsupport.ru/showthread.php?t=191281)

ForumsMods 09-18-2008 10:00 PM

Collapse Quick Reply in Mozilla Firefox 1.1
 
Collapse Quick Reply in Mozilla Firefox 1.1

Description:
Collapse Quick Reply in Mozilla Firefox.

Installation:
1)Import the product.
Or
Do the following file edit:
1)In showthread.php, find:
PHP Code:

// Mozilla WYSIWYG can't have the QR collapse button,
        // so remove that and force QR to be expanded
        
$show['quickreply_collapse'] = false

And replace with:
PHP Code:

// Mozilla WYSIWYG can't have the QR collapse button,
        // so remove that and force QR to be expanded
        
$show['quickreply_collapse'] = true

Or
Do the following template edit:
1)In SHOWTHREAD, find:
Code:

<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
And replace with:
Code:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a>


History:

1.0 18-09-08
- First Release
1.1 19-09-08
- Added Template Edit and File Edit

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

AzaDiyaR 09-19-2008 12:41 PM

thank you so much this working ;)

iogames 09-19-2008 08:20 PM

I will donate if u make it Template instead of hack

ForumsMods 09-19-2008 08:45 PM

Added template edit and file edit.

demoniavbh 10-24-2008 09:37 AM

Thanks for this!!

Do you know if there's any way to set it to be always collapsed by default?


All times are GMT. The time now is 01:10 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.01129 seconds
  • Memory Usage 1,721KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete