(R.C. Menu) Disable right click and show your custom menu (Cross Browser) - Page 4 (R.C. Menu) Disable right click and show your custom menu (Cross Browser) - Page 4
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

(R.C. Menu) Disable right click and show your custom menu (Cross Browser)

Started by Sami, July 01, 2006, 07:11:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tgontz

In regards to "When I enter 0 for the priority and click on "Change items" to delete an item the priority of the item changes to 50 and the item is not removed."

Actually, it is only the last/the 5th item that does this and it doesn't matter what I set the priority to it changes to 50. Also, it still reads "My Site" for the title and "http://www.yourdomain.com" for the URL. In other words I can't get the 5th menu item to change at all.

icobgr

Hi, when I use this plugin and click to validate the gallery page I get an error :(
QuoteValidation Output:  1 Error

   1. Warning Line 17, Column 20: character "<" is the first character of a delimiter but occurred as data.

         for ( var i = 0; i < links.length; i++ ) {

      ✉

      This message may appear in several cases:
          * You tried to include the "<" character in your page: you should escape it as "&lt;"
          * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
          * Another possibility is that you forgot to close quotes in a previous tag.
   2. Error Line 17, Column 21: XML Parsing Error: StartTag: invalid element name.

         for ( var i = 0; i < links.length; i++ ) {

Why is this happening? It is a script. Is it the validator bug?

Nibbler

The plugin should be modified to either put html comments around the inline javascript (like this SMF page does) or move it into a separate file.

Joachim Müller

Disabling the right-click is sort-of a breach of the accessibility concept of a site. This being said: if you're installing this plugin, you embrace invalidity imo. Validity is meant to me a tool to provide accessibility as a second step. In other words: I wouldn't bother to validate a site if I was keen to keep my users from right-clicking.

icobgr

Quote from: Nibbler on October 25, 2008, 02:25:53 PM
The plugin should be modified to either put html comments around the inline javascript (like this SMF page does) or move it into a separate file.

Thank you very much Nibbler.

RoCkR

Hello,
Thanks for the plugin, but i have a problem :( :
Since I installed the lightbox mod (http://forum.coppermine-gallery.net/index.php/topic,49596.html) the rc menu plugin doesn't work. (site: http://www.macarenissima.com/galeria)

Thanks for reply and happy new year!

Mimer

Try to change the order of the plugins.
I have lightbox before (above) the rc menu plugin. Works fine in combination.

Mimer  8)

RoCkR

Quote from: Mimer on January 07, 2009, 03:31:17 PM
Try to change the order of the plugins.
I have lightbox before (above) the rc menu plugin. Works fine in combination.

Mimer  8)
Didn't work

Mimer

You could try to uninstall both plugins, then install lightbox first and rc menu second.
Thats what I did and it worked.

Mimer  8)

Joodie

I downloaded the most recent version of this plugin and installed it to my gallery with no problems. However, when I right click, I just get the same old basic right click menu. Nothing is customized. How do you disable right click with this plugin so that I can instead show the custom menu?? I'm usually pretty good at figuring these things out, but I feel like I'm missing something obvious...? I'm not getting any errors or anything, so I'm confused.
- Joodie

Sami

A link to your gallery (installed this plugin) would be helpful
‍I don't answer to PM with support question
Please post your issue to related board

Joodie

Quote from: Sami on January 13, 2009, 01:36:39 PM
A link to your gallery (installed this plugin) would be helpful

It's password protected, members only area. :-\ Any information that I can copy/paste for you??
- Joodie

Sami

It's ok , just give me the URL , Login page would be enough for me now
‍I don't answer to PM with support question
Please post your issue to related board

Joodie

- Joodie

Sami

Ok , Now I get it why you said it's password protected , I was referring to gallery (coppermine) login page by asking for URL
would please login to gallery and try "view source" option of your browser and past entire source here ? I want to see plugin output
don't forget to use code tag ([ c o d e ][ / c o d e ])
‍I don't answer to PM with support question
Please post your issue to related board

Joodie

Yeah it's a bit of a pain in this case. I had to upload the source code in a txt file because it was a bit long. But you can find it all in the file attached. Thanks for helping me out with this by the way!
- Joodie

Sami

Joodie , I said browser out put of gallery ,you send template.html
Please do as suggested,
- login to gallery
- try "view source" option of your browser
- save it on a text file and attach it here
‍I don't answer to PM with support question
Please post your issue to related board

BIGSHOT

Any ideas why the right click menu plugin doesnt make any change to my wensite what so ever? Ive put the folder into the plugins folder of the gallery, installed it and configured under the rcmenu tab on the website. It just doesnt make any change to the right clicking-ability of the site at all...

??????


Thanks, Remy

www.bigshot-photo.com

RoCkR

Thanks for the plugin, I'm using them in Macarenissima.com's gallery,    But it does not work when javascript is disabled, How to show a message requesting to enable javascript without showing the contents of the page (or something similar)?

Thanks!

PD: Some support for Google Chrome?

Fabricio Ferrero

QuoteHow to show a message requesting to enable javascript without showing the contents of the page (or something similar)?
Google it! You will find your answer. Nothing to do with CPG.

QuotePD: Some support for Google Chrome?

  • Do you have an issue with CPG in Chrome? We probably could offer support.
Post your issue. ;)

  • Support for Google Chrome itself? Google it!  ;D



----
Edited: Update as soon as possible! You're in risk to be hacked!
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)