Customizing SMF > Modifications and Packages

Disable Right Click (v4.0 Released!)

(1/65) > >>

Chas Large:
Disable Right Click v4.1.xx - Chas Large
Disable the right click button for selected membergroups and also protect your images directory.
Support topic | Link to Mod | My Mods

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 2012

o Portuguese and Brazilian translations added.

4.1.0 - 13 Jan 2012

o 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 2009

o 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 2009

o Total re-estructure of all the mod
o Maybe this is the final release

3.3 - 17 May 2009

o Added arabic utf8 translation
- Changed the readme file :p

3.2 - 28 March 2009

o 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 2008

o Re-Build all the mod . I simplify the code and the two bugs in the admin panel are fixed.

3.0.3 - 28 November 2008

o 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 2008

o 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 2008

o Fixed a little bug in the admin panel.

3.0 - 23 October 2008

o 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 2008

o 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 2008

o Initial release.

1.0 - 20 April 2008

o 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:


--- Code: ---// 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.';
--- End code ---

and


--- Code: ---// 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&iacute; la opci&oacute;n "Mostrar un mensaje personalizado como error" esta seleccionada';
--- End code ---

Enjoy and please let me know if you're happy with the mod or have any problems.

Cobra97:
THANK YOU, I have wanted this for a while...............Keeps guests from stealing icon's and avatars.  I had a no right click installed before, but my members couldn't right click either....made using the forum to hard.

Thanks again.....Great Job!

Joomlamz:
Good Work
translate to portuguese and brazilian


--- Code: ---<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['no_click'] = 'Desculpa , mas esta desativado o botão direito para Visitantes';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['no_click'] = 'Desculpa , mas esta desativado o botão direito para Visitantes';
]]></add>
</operation>
</file>
--- End code ---


Support Utf8


--- Code: ---<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['no_click'] = 'Desculpe, mas o bot&atilde;o direito esta desativado para Visitantes';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['no_click'] = 'Desculpe, mas o bot&atilde;o direito esta desativado para Visitantes';
]]></add>
</operation>
</file>
--- End code ---

karlbenson:
Without meaning to disappoint folk.

I've yet to come across any anti-copy/paste/scraping technique that cannot be defeated.
There are a million ways around it. (not least temporarily disable javascript).

Cobra97:

--- Quote from: karlbenson on May 07, 2008, 10:20:16 PM ---Without meaning to disappoint folk.

I've yet to come across any anti-copy/paste/scraping technique that cannot be defeated.
There are a million ways around it. (not least temporarily disable javascript).

--- End quote ---

I know that, but this will stop the people that don't know much............There's no way to stop it all.

Navigation

[0] Message Index

[#] Next page

Go to full version