News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Disable Right Click (v4.0 Released!)

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

Previous topic - Next topic

crustybum

Just installed..got this   Fatal error: Call to undefined function: modifyrightclicksettings() in /home/content/b/r/u/brummies/html/forum/Sources/ModSettings.php on line 164

::)

Boby_

Quote from: crustybum on November 20, 2008, 09:03:28 AM
Just installed..got this   Fatal error: Call to undefined function: modifyrightclicksettings() in /home/content/b/r/u/brummies/html/forum/Sources/ModSettings.php on line 164

::)

This error is displayed because the funcion in ModSettings.php is wronly named ModifyRightClickModSettings. Just edin ModSettings.php and change ModifyRightClickModSettings to ModifyRightClickSettings.

Meanwhile I have another problem - the mod is installed, the menu is there but when I try to activate it and push Save button, it refuses to remember the values.


lluks

Quote from: Boby_ on November 20, 2008, 09:36:02 AM

Meanwhile I have another problem - the mod is installed, the menu is there but when I try to activate it and push Save button, it refuses to remember the values.

I get the same problem...

Lyonsy

Hello
I am Getting this error in the forum error log it mounts up every time i enter the board    


  Today at 09:45:43 pm
Apply Filter: Only show the error messages of this IP address 192.168.1.1      Apply Filter: Only show the error messages of this session cff2f51c412e770746b19c41cd71ea96
Apply Filter: Only show the error messages of this URL http://david.hobby-site.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: drc_option
File: C:\web\webfiles\smf\index.php
Line: 358
   
Apply Filter: Only show the error messages of this member david    Today at 09:45:43 pm
Apply Filter: Only show the error messages of this IP address 192.168.1.1      Apply Filter: Only show the error messages of this session cff2f51c412e770746b19c41cd71ea96
Apply Filter: Only show the error messages of this URL http://david.hobby-site.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: drc_option
File: C:\web\webfiles\smf\index.php
Line: 355

bullbreedluverz

Quote from: lluks on November 21, 2008, 04:04:56 AM
Quote from: Boby_ on November 20, 2008, 09:36:02 AM

Meanwhile I have another problem - the mod is installed, the menu is there but when I try to activate it and push Save button, it refuses to remember the values.

I get the same problem...

Ditto same issue wont save settings for me on Default theme on 1.1.7

Lyonsy

 :( Hello NIBOGO.
Sorry but did not know were to post this problem i have with Disable_Right_Click_Mod.
I have attached my errors. Please can you help.
I am running  SMF 1.1.7
with these packages installed.

    Mod Name                                          Version     
1.    Attachments Download Permission    1.0   
2.    Colorize Boards                                  3.0   
3.    Custom Copyright                                1.1   
4.    Disable Right Click v3                                 3.0   
5.    Downloads System                              1.0.4   
6.    Read Topic Permission Mod                  1.0.4   
7.    SMF Media Gallery                                1.5 RC 3.1   
8.    View Only Boards                                1.2   

okae

Quote from: Lyonsy on November 22, 2008, 03:49:36 PM
Hello
I am Getting this error in the forum error log it mounts up every time i enter the board   


  Today at 09:45:43 pm
Apply Filter: Only show the error messages of this IP address 192.168.1.1      Apply Filter: Only show the error messages of this session cff2f51c412e770746b19c41cd71ea96
Apply Filter: Only show the error messages of this URL http://david.hobby-site.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: drc_option
File: C:webwebfilessmfindex.php
Line: 358
   
Apply Filter: Only show the error messages of this member david    Today at 09:45:43 pm
Apply Filter: Only show the error messages of this IP address 192.168.1.1      Apply Filter: Only show the error messages of this session cff2f51c412e770746b19c41cd71ea96
Apply Filter: Only show the error messages of this URL http://david.hobby-site.com/index.php?action=viewErrorLog;desc
Apply Filter: Only show the errors with the same message
8: Undefined index: drc_option
File: C:webwebfilessmfindex.php
Line: 355

same error on my forum

Lyonsy the same as you too :)

Lyonsy

Hello,

So it looks like not just me with the Bug then.
I cannot get it to Save ether. it just refuses to remember the value that i tick.
And my error log just keeps getting bigger & Bigger.
So now i have uninstalled it for now.

::)

Nibogo

#109
3.0.2 - 27 November 2008

o Fixed "8: Undefined index: drc_option" Error in the Error Logs
o Fixed a little extra bugs with the code

Please test the new version to see if everything is right and if the mod is fixed

Boby_

Quote from: NIBOGO on November 27, 2008, 05:52:34 PM
3.0.2 - 27 November 2008

o Fixed "8: Undefined index: drc_option" Error in the Error Logs
o Fixed a little extra bugs with the code

Please test the new version to see if everything is right and if the mod is fixed

I tried it again - the same happens. The menu appears in Admin Panel but the settings can't be saved.

okae

Quote from: Boby_ on November 28, 2008, 02:54:41 AM
Quote from: NIBOGO on November 27, 2008, 05:52:34 PM
3.0.2 - 27 November 2008

o Fixed "8: Undefined index: drc_option" Error in the Error Logs
o Fixed a little extra bugs with the code

Please test the new version to see if everything is right and if the mod is fixed

I tried it again - the same happens. The menu appears in Admin Panel but the settings can't be saved.

same for me, and drc_option error appear yet

Catanonia

#112
DRC is still there and the options are not saved.

Never been able to get the actual right click disabled ever.


Is the actual download to the mod the correct version ?

Can you post a direct link to 3.02 in this thread ?


Catanonia

Quote from: NIBOGO on November 28, 2008, 03:08:54 PM
I can save the options in the admin panel so is not a bug of this mod

I will check that error :s

can you post a direct link to the mod. It might be that the version we are all testing is wrong on the download page.



villasg

I try this mod in my 1.1.7 BUT no have any effects ....


villasg

#118
Quote from: NIBOGO on November 29, 2008, 07:46:58 AM
Quote from: villasg on November 29, 2008, 02:51:14 AM
I try this mod in my 1.1.7 BUT no have any effects ....

Tested with SMF 1.1.7 with the package manager and works great

My friend the problem is DONT KEEP THE CHANGES IN



I check the box , put the entries in the "write message"  and i press save .
When go back in this page DONT have keep anything of that
Please tell what is the problem ?

Error log

http://www.xxxx/xxxx/index.php?action=featuresettings2;save;sa=right_click 
8: Undefined index: drc_option
Αρχείο: /xxxx/xxxx/xxx/xxxx/index.php
Γραμμή: 385
385 =    if ($modSettings['drc_option'] == '1' && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))
 
http://www.xxxx/xxxx/index.php?action=featuresettings2;save;sa=right_click
8: Undefined index: drc_option
Αρχείο: /xxxx/xxxx/xxx/xxxx/index.php
Γραμμή: 382

382=    if ($modSettings['drc_option'] == '0' && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))

http://www.xxxx/xxxx/index.php?action=featuresettings2;save;sa=right_click
8: Undefined index: max_pm_recipients
Αρχείο: /xxxx/xxxx/xxx/xxxx/Sources/ModSettings.php
Γραμμή: 261

261=       $_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];


This is the other mod already installed  in my forum


Nibogo

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

Try the new version please and thanks to Bulakbol for the help

Advertisement: