vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Disable Save button when clicked (Admincp) (https://vborg.vbsupport.ru/showthread.php?t=157437)

PitchouneN64ngc 09-08-2007 10:00 PM

Disable Save button when clicked (Admincp)
 
Description

With this mod, when you click to a 'Save' button, this button (and the 'Cancel' button if exists) will be no more usable.

This can avoid any doucle click for sending forms and avoid errors.

The better example is given when you download vBulletin from the Members' Area (the 'Download' button).

Note: This will not be applied for all buttons in the Admin Control Panel, only for buttons using the print_submit_row() function.

Enjoy ;)

[hr]grey[/hr]
Installation

Time: 5 minutes
vB version: 3.6.0 to 3.6.x.

[hr]grey[/hr]
Instructions

Follow the file edits (2 files) in the install.txt file.

[hr]grey[/hr]
FAQ

No FAQ for now :p

[hr]grey[/hr]
Copyright

All code present is this mod can't be redistributed or anything else without my consentement.

[hr]grey[/hr]
Changelog

- 1.0.0 : Intial release. (September 10 2007)
- 1.0.1: Maintenance release (October 24 2007)
- Corrected some errors Firebug was able to report.
- Added the possibility to disable the "Edit Settings" button
when yu duble-click in the options list in the vBulletin Options page.

[hr]grey[/hr]
If you like it...


Subah 09-09-2007 10:26 PM

Thank you :)

COBRAws 09-09-2007 11:00 PM

this should be default to vb =)

staff80 09-10-2007 09:28 PM

there is an easier way to do this, clicking save button once :)

PitchouneN64ngc 09-24-2007 09:50 PM

A lot of users can have some lag with their computers and click again after a first clic ;)

I'll made a newer version of this because Firebug reports some errors with it when I'm in the language manager ;)

PitchouneN64ngc 10-24-2007 06:36 PM

Updated to version 1.0.1 :)


All times are GMT. The time now is 11:17 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.02345 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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