Disable Right Click (v4.0 Released!)

Started by Chas Large, May 07, 2008, 07:10:11 PM

Previous topic - Next topic

Nibogo

Quote from: zer099 on June 14, 2009, 04:36:47 PM
Maybe someone can help me out here. When installing this I keep getting a "Error in Package Installation". It fails at step four:

4. Execute Modification ./Sources/ManagePermissions.php Test failed

I've tried a few times and still getting this. Anyone got anything that migh give insight? I'm using SMF 1.1.9 by the way. Thanks!

Do manual edit to that file using the parser ;)

zer099

Quote from: NIBOGO on June 14, 2009, 11:43:15 PM

Do manual edit to that file using the parser ;)

Thank you... but here's the problem: could you say that again but explain it as if I no next to jack about coding but can do it fine if just helped a little and pointed in the right direction.

Edit the file: Check, but edit what part. Maybe if I knew what the parser was I might be able to better understand. Sorry for my slight coding illiteracy.

Sabre™

Go to the page where you download the mod from. (HERE)
Look for this text under the mod package "Manual Install Instructions for SMF", select your SMF version, then click on the parse button.
The next page will show you what files to edit, and where.

Have fun :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


katbloke

Hi, bit of anewbie at this stuff, got the board installed fine and up an running, i like the idea of disable right click but i cant get it to fully show in the features setting, i get the 2 tick boxes, pop up custom title but no disable right click title or question mark.

Forum is 1.1.9 and the theme is clean blue, any ideas gratefully received, the site co-owner really wants this mod to work.

Thankyou

Sabre™

Hi mate, and welcome to SMF :)

Read my post above, and check that the code for the "Language" files have been added to your template(s)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


katbloke

Hi ive done the language file mods but it made no change, below is an image of what im poorly trying to describe



Everything seems ticked and looks ok, aprt from its missing the right click disabled text

katbloke

uninstalled it and reinstalled it and still getting the same problem, i can right click on both gallery images and inserted images, quite worrying as we dont want to fully open the site until this problem is resolved, anymore ideas guys?

zer099

I am haveing a similar problem now. Everything is installed and says it is working, but everyone can still right-click. And thank you so much for the earlier help BTW.

Am'

I added the mod but i not see the box quick eply in any board :(

please help me, i use smf 2rc1-1
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

Shadow1243

I installed to my forum: http://www.doktortr.net/forum/index.php?action=forum



And you can add Turkish language to your mod:
Quote// Disable Right Click BY: NIBOGO
$txt['arrange_drc'] = 'Belli gruplar için sağ tıklamayı engelle';
$txt['drc_msg'] = 'Sağ tık engellendiğinde hata raporu göster';
$txt['drc_message2'] = 'Sağ klik yasaktır!';
$txt['drc_title'] = 'Hata mesajını giriniz (Boş bırakabilirsiniz)';
$txt['drc_exception'] = 'Belirli action\'lar için bu modu inaktive et<br /><span class="smalltext">Action\'ları virgül ile ayır (login,register,..)</span>';
$txt['permissionname_right_click'] = 'Sağ tık';
$txt['permissionhelp_right_click'] = 'Bu modifikasyon kullanıcı gruplarının forumda sağ tık kullanmasını ayarlar.';

QuoteRight Click BY: NIBOGO
$helptxt['drc_msg'] = 'Sağ tık kullanan kullanıcıya bir uyarı göstermek istiyorsanız bu şıkkı işaretleyiniz.';
$helptxt['drc_title'] = 'Göstermek istediğiniz hata mesajını yazınız.';


katbloke

I can still right clikc on your forum


zer099

I can right click on all of the diffrent pages and thread on your forum i tried as well. I think your having the same problem I am with the mod.

Sabre™

Just to throw a question in here, have you(s) selected which member groups this will and will not work for in your 'Permissions' section in your Admin Panel?

@ katbloke
Are you still experiencing the problem with the text not visible?
If so, check if you have a file in your Languages folder named Modifications.english-utf8.php and make sure the edits for it are there.
If you are using a custom theme, see if it has its own Languages folder, and if it contains a Modifications.english.php and/or a Modifications.english-utf8.php file. Those will need editing if they are there.

Is anyone receiving any errors in their log generated from this mod?
Post them if you are, as that will help with solving your problem.

I do not have this mod installed as I rewrote the original version and it hasn't failed me yet, but I will try and help out where I can.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


villasg

I install but dont work in all forum pages .
Only in the first page ( http://www.thai.gr/forum/index.php?action=forum )
inside the borders dont work !
Make a try in www.thai.gr and check
Any help plz ?


greek utf-8
<file name="$languagedir/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Disable Right Click BY: NIBOGO
$txt['arrange_drc'] = 'Απενεργοποιηση του δεξιου κλικ για καποιους users membergroups';
$txt['drc_msg'] = 'Εμφανισε ενα μυνημα λαθους';
$txt['drc_message2'] = 'Συγνωμη αυτο δεν επιτρεπεται ';
$txt['drc_title'] = 'Γραψε τι θες να εμφανιζετε (μπορεις να το αφησεις κενο)';
$txt['drc_exception'] = 'Ορίστε εάν θέλετε να απενεργοποιήσετε το mod σε συγκεκριμένες δράσεις<br /><span class="smalltext">διαχωριστε την καθε δραση με κομμα (login,register,..)</span>';
$txt['permissionname_right_click'] = 'δεξι κλικ';
$txt['permissionhelp_right_click'] = 'Αυτο το δικαιωμα  καθοριζει εαν οι χρηστες απο αυτο το membergroup μπορουν να κανουν χρηση του δεξιου κλικ στο forum.';
]]></add>
</operation>
</file>


<file name="$languagedir/Help.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Disable Right Click BY: NIBOGO
$helptxt['drc_msg'] = 'Αν θέλετε να δείξετε ένα προσωπικό μήνυμα όταν ένας χρήστης, χωρίς το δικαιωμα , κανει δεξί κλικ επιλεξτε εδω ';
$helptxt['drc_title'] = 'Γραψε το μυνημα που θα εμφανιζετε σαν λαθος';
]]></add>
</operation>
</file>

casp3r

Is it possible to have the mod work on just images? At present it works no matter where you right click but it would be great if there was an option to allow it on text but not on images.
Aviation forum & gallery
www.niaviation.co.uk

katbloke

aaaarghhh ruddy, thing it will work im sure

katbloke

Quote from: Sabre™ on July 08, 2009, 06:14:33 PM
Just to throw a question in here, have you(s) selected which member groups this will and will not work for in your 'Permissions' section in your Admin Panel?

@ katbloke
Are you still experiencing the problem with the text not visible?
If so, check if you have a file in your Languages folder named Modifications.english-utf8.php and make sure the edits for it are there.
If you are using a custom theme, see if it has its own Languages folder, and if it contains a Modifications.english.php and/or a Modifications.english-utf8.php file. Those will need editing if they are there.

Is anyone receiving any errors in their log generated from this mod?
Post them if you are, as that will help with solving your problem.

I do not have this mod installed as I rewrote the original version and it hasn't failed me yet, but I will try and help out where I can.

Have now editied that file and yes  it now appears as a permission in the usergroups, trouble is if i create an account in a standard usergroup i can still right click even with the rightclick option ticked/unticked

Sabre™

You'll have to wait for NIBOGO or another that has experienced and sorted that issue.
Im still using the old version with [THESE] edits for membergroup permission.
It shouldn't be too difficult to fix for someone familiar with the updated version.

If I use it on another board Im currently building and run into the same issue, I'll return with a possible solution, if it hasn't already been seen to.

Good luck :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LFinder

Hi,

I cant install mod it says The package you are trying to download or install is either corrupt or not compatible with this version of SMF. I am using SMF 1.1.10

Advertisement: