Advertisement:
2by2host

Author Topic: Disable Right Click (v4.0 Released!)  (Read 88222 times)

Offline davegior

  • Semi-Newbie
  • *
  • Posts: 67
Re: Disable Right Click (v4.0 Released!)
« Reply #300 on: March 22, 2012, 05:25:08 PM »
Thanks Chas, subs.php has been attached....

Offline Chas Large

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,672
  • Gender: Male
  • Running 2.0.xx on Apache.
    • Chas.Large on Facebook
    • chaslarge on LinkedIn
    • Fifty Plus Forum
Re: Disable Right Click (v4.0 Released!)
« Reply #301 on: March 22, 2012, 06:38:56 PM »
In between my post and yours I've confirmed this bug. The code is correct so I can't work out at the moment why this error is occurring. Similar code is used elsewhere with no errors.

My best guess is that it's to do with Guests permissions. I need to consult with a colleague before I can come up with a fix.

Having said all that, it won't stop the forum running correctly, you error log will just fill up a bit when guests try to right click. Other than space in your error log being taken up there should be no further impact.

I'll post a fix just as soon as I'm able.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Offline davegior

  • Semi-Newbie
  • *
  • Posts: 67
Re: Disable Right Click (v4.0 Released!)
« Reply #302 on: March 25, 2012, 03:26:44 PM »
I was about to uninstall version 4.10 and install the latest version but received many Test failed and skip file errors.
I am reluctant to uninstall it. I have attached the error image.

Offline Labradoodle-360

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Disable Right Click (v4.0 Released!)
« Reply #303 on: March 25, 2012, 04:27:57 PM »
Most likely mods are conflicting since you installed it. You could manually uninstall it.

The quality of the responses received is directly proportional to the quality of the question asked. | My Modifications

Offline Venera

  • Jr. Member
  • **
  • Posts: 303
  • Gender: Female
    • 232678563437136 on Facebook
    • Venerin san
Re: Disable Right Click (v4.0 Released!)
« Reply #304 on: April 06, 2012, 09:08:51 AM »
Hi,

if I try to right click as a gust in error log is:

http://www.***.com/index.php?action=dlattach;attach=1080;type=avatar8: Undefined index: html_headersDatoteka: /home/***/public_html/Sources/Subs.php
Linija: 4586

I have Simple Portal and some avatars in blocks. Avatars make problems...

Offline XHIBIT911

  • Jr. Member
  • **
  • Posts: 194
    • PSHomeSource.com
Re: Disable Right Click (v4.0 Released!)
« Reply #305 on: July 23, 2012, 04:08:00 PM »
This does not work for PortaMx. The enable button doesnt show anywhere...Does anyone have a workaround because Im uninstalling this its not helping at all

Offline Chas Large

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,672
  • Gender: Male
  • Running 2.0.xx on Apache.
    • Chas.Large on Facebook
    • chaslarge on LinkedIn
    • Fifty Plus Forum
Re: Disable Right Click (v4.0 Released!)
« Reply #306 on: July 24, 2012, 01:05:09 AM »
This does not work for PortaMx. The enable button doesnt show anywhere...Does anyone have a workaround because Im uninstalling this its not helping at all
Sorry, never used that mod and my mod was only designed to work with the basic SMF software.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Offline נєяιкσ σиє

  • Newbie
  • *
  • Posts: 9
Re: Disable Right Click (v4.0 Released!)
« Reply #307 on: August 23, 2012, 03:43:18 AM »
Hi all!

With firefox 14 there is the possibility to block the right click pop up message and then the right click works again.

Can you fix it?

Offline Chas Large

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,672
  • Gender: Male
  • Running 2.0.xx on Apache.
    • Chas.Large on Facebook
    • chaslarge on LinkedIn
    • Fifty Plus Forum
Re: Disable Right Click (v4.0 Released!)
« Reply #308 on: August 23, 2012, 03:49:11 AM »
Hi all!

With firefox 14 there is the possibility to block the right click pop up message and then the right click works again.

Can you fix it?

I'll see what I can do. Can you tell me how you block the pop-up in FF 14?
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Offline Tatek

  • Semi-Newbie
  • *
  • Posts: 23
Re: Disable Right Click (v4.0 Released!)
« Reply #309 on: March 27, 2013, 02:46:08 PM »
Please, where I should go to define a options of this mod, because there's nowhere visible, even it shows that is normally installed... where I should look to arrange options?? Thanx!!

Offline Chas Large

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,672
  • Gender: Male
  • Running 2.0.xx on Apache.
    • Chas.Large on Facebook
    • chaslarge on LinkedIn
    • Fifty Plus Forum
Re: Disable Right Click (v4.0 Released!)
« Reply #310 on: March 27, 2013, 03:45:59 PM »
There are no options, when installed the RIGHT CLICK of the mouse does not work but you have to set the permission in members permissions.

[EDIT] My Bad, sorry.

The options are in Admin > Configuration > Miscellaneous.
« Last Edit: March 27, 2013, 03:56:51 PM by Chas Large »
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Offline Arantor

  • SMF Legend
  • *
  • Posts: 50,842
    • wedgebook on Facebook
Re: Disable Right Click (v4.0 Released!)
« Reply #311 on: March 27, 2013, 03:53:44 PM »
I'll see what I can do. Can you tell me how you block the pop-up in FF 14?

The same way other users will: after a popup, the browser will ask if you want to suppress further popups from the site. And the script has no control over that happening.

Offline Hristo

  • Semi-Newbie
  • *
  • Posts: 69
  • Gender: Male
  • SMF 2.0.4
Re: Disable Right Click (v4.0 Released!)
« Reply #312 on: March 27, 2013, 04:43:45 PM »
Or most probably he refers to this addon:
https://addons.mozilla.org/en-us/firefox/addon/righttoclick/

Offline Arantor

  • SMF Legend
  • *
  • Posts: 50,842
    • wedgebook on Facebook
Re: Disable Right Click (v4.0 Released!)
« Reply #313 on: March 27, 2013, 04:46:38 PM »
Well... Chrome (for YEARS) has given users the option to disable popups after the first one. I thought last time I used Firefox that it had the same option, without any add-ons being required (since I've never used that add-on)

Offline Hristo

  • Semi-Newbie
  • *
  • Posts: 69
  • Gender: Male
  • SMF 2.0.4
Re: Disable Right Click (v4.0 Released!)
« Reply #314 on: March 27, 2013, 05:39:12 PM »
It's same with Firefox, but there is an option to block the right click without pop-up showing, and that addon works in these (and all other) cases.

Offline Arantor

  • SMF Legend
  • *
  • Posts: 50,842
    • wedgebook on Facebook
Re: Disable Right Click (v4.0 Released!)
« Reply #315 on: March 27, 2013, 05:42:03 PM »
It's entirely futile, of course since I can bypass it without a plugin ;)

Offline dimspace

  • Jr. Member
  • **
  • Posts: 267
    • @dimspace on Twitter
    • Velorooms.com
Re: Disable Right Click (v4.0 Released!)
« Reply #316 on: March 27, 2013, 07:32:58 PM »
I'll see what I can do. Can you tell me how you block the pop-up in FF 14?

The same way other users will: after a popup, the browser will ask if you want to suppress further popups from the site. And the script has no control over that happening.

Most of the time opera doesnt even bother telling me about pop ups its blocked :S depends on its mood..

Saying that, not sure why im in here. Never understood no-right click scripts. One, they are easily disabled, they are intrusive, and they achieve nothing. Its like these sites that say they can protect your photos from theft.. they cant.. :D

Offline Arantor

  • SMF Legend
  • *
  • Posts: 50,842
    • wedgebook on Facebook
Re: Disable Right Click (v4.0 Released!)
« Reply #317 on: March 27, 2013, 08:18:34 PM »
Ah, but there's a difference between a popup and an alert. A popup is a JS-created window, this notification is not.

Quote
One, they are easily disabled, they are intrusive, and they achieve nothing. Its like these sites that say they can protect your photos from theft.. they cant..

Bingo. You show me a site that has them, I'll show you that it can be bypassed either modestly or very easily.

Offline Hristo

  • Semi-Newbie
  • *
  • Posts: 69
  • Gender: Male
  • SMF 2.0.4
Re: Disable Right Click (v4.0 Released!)
« Reply #318 on: March 27, 2013, 08:37:55 PM »
Indeed, they are annoying and nothing more. And in this exact case, frankly I can't see what benefit can be achieved if such function is used on a forum. I see much more potential harm than good.

Offline dimspace

  • Jr. Member
  • **
  • Posts: 267
    • @dimspace on Twitter
    • Velorooms.com
Re: Disable Right Click (v4.0 Released!)
« Reply #319 on: March 27, 2013, 09:07:42 PM »
Ah, but there's a difference between a popup and an alert. A popup is a JS-created window, this notification is not.

Quote
One, they are easily disabled, they are intrusive, and they achieve nothing. Its like these sites that say they can protect your photos from theft.. they cant..

Bingo. You show me a site that has them, I'll show you that it can be bypassed either modestly or very easily.

I did actually spend a few hours one bored winters afternoon, visiting sites that said they could protect your images, for anything up to about $200 and "stealing" their demo images just to make a point. Most of those sites thankfully have now gone.

Besides, microsoft made it easy from windows 7 with the snipping tool.