Disable Right Click v4.1.xx - Chas Large
Disable the right click button for selected membergroups and also protect your images directory.
Author:
New code - Chas Large
Original Mod- NIBOGO
Features:
o Permission to disable Right Click Button within the SMF Permission system.
o You can use your own text to advise guests that the right click is disabled.
o You can enable or disable the whole Mod in the Mod Settings.
o Automatically installation in all the themes.
o Support for SMF 1.1.xx & 2.0.xx
o English, Spanish_latin, Spanish_es with utf8 support.
o You can Show a Message or not when a user attempts to use the right click button.
o Protect the images directory with an empty index.php.
Languages:
- English/English-utf8
- Spanish Latin/Spanish Latin-utf8
- Spanish Es/Spanish Es-utf8
- Portuguese and Brazilian. Translation by Candidosa2 (Joomlamz)
Compatibility:
- 1.1.X
- 2.0.x
Changelogs:4.1.1 - 14 Jan 2012o Portuguese and Brazilian translations added.
4.1.0 - 13 Jan 2012o Recoded the 1.1.xx Install
o Recoded the Install English Text for better readability.
o Tested with 2.0.xx
4.0.1 - 08 Oct 2009o Added support for SMF 1.1.10
o Should be working in all the SMF Versions so this is the final unless something big happend
4.0 - 18 May 2009o Total re-estructure of all the mod
o Maybe this is the final release
3.3 - 17 May 2009o Added arabic utf8 translation
- Changed the readme file :p
3.2 - 28 March 2009o Fixed a bug with the xhtml validation and breaking ajax,visaul verification and javascript, PLEASE UPGRADE!
o Changed the ManagePermission for compatibility purpose
o Added translation for Spanish Es and Spanish Es-utf8
3.1 - 01 December 2008o Re-Build all the mod . I simplify the code and the two bugs in the admin panel are fixed.
3.0.3 - 28 November 2008o Fixed "8: Undefined index: drc_option" Error in the Error Logs with another method thanks to
Bulakbol.
o Renamed a function from disable_right_click2 to disable_right_click_mute
3.0.2 - 27 November 2008o Fixed "8: Undefined index: drc_option" Error in the Error Logs.
o Fixed some others little bugs in the code.
3.0.1 - 20 November 2008o Fixed a little bug in the admin panel.
3.0 - 23 October 2008o Added support for SMF 2.0 BETA 4.
o Now you can select "Show a Message" or "Dont Show Nothing" when the user make a right click.
o Added the Right Click permission in the SMF Permission system.
o Auto-Template , this mod work in all the themes.
o Added portuguese and spanish with utf8.
o Moved the Right Click Mod settings.
o Fixed some little bugs.
o Now the mod protect the images directory with an empty index.php.
2.0 - 17 June 2008o Added support for SMF BETA 2.0.
o Now you can disable or enable the right click in your admin panel.
o Added a little window with help
o Now the mod is called "Disable Right Click"
1.0 - 26 April 2008o Initial release.
1.0 - 20 April 2008o Initial private release.
I have now taken over responsibility for this mod.
The Mod has been updated and tested. Now works correctly on 1.1.xx (Tested on 1.1.16 but should work with earlier versions). Also works correctly on 2.0.xx (Tested on 2.0.2).
Tested with Firefox, Chrome, Safari, Opera and IE (All current versions) on a Windows PC.
I have changed some of the wording for the English language installs but if anyone wants to amend or add a new language, please post your language file text strings like this:
// Disable Right Click BY: Chas Large
$txt['arrange_drc'] = 'Deshabilita el click derecho para determinados grupos de usuarios';
$txt['drc_msg'] = 'Mostrar un mensaje personalizado como error';
$txt['drc_message2'] = 'Lo Sentimos, pero el click derecho esta desactivado';
$txt['drc_title'] = 'Escribe el mensaje personalizado (Puedes dejar esto vacio)';
$txt['drc_exception'] = 'Selecciona si quieres deshabilitar el mod en determinadas acciones<br /><span class="smalltext">Separa cada accion con comas (login,register,..)</span>';
$txt['permissionname_right_click'] = 'Click Derecho';
$txt['permissionhelp_right_click'] = 'Este permiso determina si los usuarios de este grupo de miembros pueden usar el click derecho.';and
// Disable Right Click BY: Chas Large
$helptxt['drc_msg'] = 'Activalo para mostrar un mensaje personalizado cuando el usuario haga el click derecho';
$helptxt['drc_title'] = 'Escribe el mensaje personalizado que sera mostrado, solo funciona sí la opción "Mostrar un mensaje personalizado como error" esta seleccionada';Enjoy and please let me know if you're happy with the mod or have any problems.