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

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.

disposition

Thanks for the sarcasm...I guess I am used to it here.

Anyway this was the debug info:

While executing query "

INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '1','Home','URL to your gallery index.php','_self','0','0')" on 0

mySQL error: Duplicate entry '1' for key 1



Thanks!

Nibbler

That wasn't sarcasm.

Empty or drop the table in phpMyAdmin and try again.

@Sami: Perhaps the installer needs to be adjusted (INSERT to INSERT IGNORE or REPLACE perhaps).

disposition

So I did what you said and dropped the table and it worked, but I had to uninstall it because for some reason the site wouldn't load in Firefox, I had that problem before when I tried to install it.  At least I understand how to get it installed but since it makes Firefox not even load I of course have to uninstall it.

Any ideas...it is kinda weird.

Sami

@Nibbler: Thanx, I'll

@disposition:I can help you if you re-install the plugin and provide the url to see the problem...

[Edit]
New version with bug fixed
You can download it from initial thread
[/Edit]
‍I don't answer to PM with support question
Please post your issue to related board

disposition

The plugin still reads 2.0.0 I am not sure if it is supposed to or not.  I tried installing it anyway and it still froze my firefox and disables it for my gallery. 

At this moment I am having foulu do some work on my site and untill he is done I can't reinstall the plugin and send you the link.  I will for sure come back to you when he is done.

Thanks for your help!

Dan

Sami

‍I don't answer to PM with support question
Please post your issue to related board

Mimer

Hi

I've translated the language file for R.C.Menu v 2.0.1 to danish.

Mimer  8)

Mimer

Hi again

The "Target" field and the "Target of item :" field is greyed out.
Is there a way to get them active?
I need to make items with _blank target and not _self target.
I think this was possible in a previos version.

Mimer  8)

nointerest

I have translated the plug-in into German. I am adding the file as txt.

(I do not use the plug-in, therefore I could not try if it really sounds smooth the way I did it.)

Hot Rides

Hey Sami, Great work on the Awesome code, Works perfectly!

Do you think it would be possible for me to convert this code to work in my SMF forum or is it depent on coppermine some how?

Joachim Müller

Ask this on the SMF board, as it is SMF code that needs to be edited. Something that we're not familiar with. Diabling the right-click is dead easy and there are millions of code snippets on the internet that explains how to accomplish this - just pick one of the methods designed for general use instead of picking one that was specifically designed for coppermine.

ksawery

The plug-in doesn't work with opera navigator :(.

I have translated the plug-in into Spanish ;D.

Hot Rides

Quote from: Joachim Müller on May 01, 2008, 08:33:00 AM
Ask this on the SMF board, as it is SMF code that needs to be edited. Something that we're not familiar with. Diabling the right-click is dead easy and there are millions of code snippets on the internet that explains how to accomplish this - just pick one of the methods designed for general use instead of picking one that was specifically designed for coppermine.
I figured that much, I was just wondering if the menu code was dependent on coppermine or if it was more universal and could be adapted to another environment

Joachim Müller

Find it out on your own - your question is beyond the scope of this thread/board.

Hot Rides


xxxxmints

Hi Sami

Works like a dream!

This is exactly what I needed, however the target area is greyed out (as mentioned before) how do I access this?

Mel

JMcPeak

Quote from: Hot Rides on April 30, 2008, 07:21:57 PM
Hey Sami, Great work on the Awesome code, Works perfectly!

Do you think it would be possible for me to convert this code to work in my SMF forum or is it depent on coppermine some how?

The XWebMenu JavaScript can be used with anything. Since I changed hosting providers, I haven't added the download and documentation to my website. If you want a copy, email me (it's in my profile), and I'll send you the .zip. However, it's horribly old and needs updating (and rewritten, which I'll get to one of these days).

Quote from: ksawery on May 01, 2008, 12:17:42 PM
The plug-in doesn't work with opera navigator :(.

I have translated the plug-in into Spanish ;D.


Aye. That's my fault, and not Sami's. People use Opera? ;)

Author:
Professional Ajax (Wrox)
Beginning JavaScript, 3rd Edition (Wrox)

tgontz

What is the status of being able to turn RC Menu off for full-size pics? I am using v2.0.0. Was this ability added to v2.0.1?

Thanks

tgontz

I downloaded 2.0.1 from the first post in this thread but when I install it still shows up as v2.0.0.

I uninstalled the plugin via Coppermine, I did choose Yes for "Remove the table that was used to store settings?" and clicked on Submit. I also removed the rcmenu folder from the server and verified that there was nothing for rcmenu in my database via phpMyAdmin. (When it is installed I have a table called cpg14x_plugin_rcmenu and there is also an entry for rcmenu in the cpg14x_plugins - When not installed these are gone.)

What is going on? I have tried uninstalling and installing several times but with the same result.

Also, how do I disable rc menu for the full size images?

tgontz

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.