[2.0.13] Custom Right Click Mod

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
1
50%
Very Good
0
No votes
Good
0
No votes
Fair
1
50%
Poor
0
No votes
 
Total votes: 2

hondaforumscouk
Registered User
Posts: 39
Joined: Sat Feb 26, 2005 4:59 pm

Post by hondaforumscouk » Wed Jun 08, 2005 7:59 pm

Sorry but how do the users use it then ie how do you add it to the menu?

:oops:

Ok it also seems it's stopped working i'm gonna delete this mod i think its a brilliant mod but its not ideal for my site

saabirsa
Registered User
Posts: 359
Joined: Thu Nov 04, 2004 12:38 am
Contact:

Post by saabirsa » Thu Jun 09, 2005 3:09 pm

A bug has been found which stops the Custom Right Click Mod updating itself from a change in the ACP.

To fix;

Code: Select all

#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/overall_header.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
<!-- I S U A  T E A M --> 
<!-- Begin Right Click Menu MOD --> 
{ISUA_RCOF1}
<div id="ie5menu" class="skin0" onMouseover="highlightie5(event)" onMouseout="lowlightie5(event)" onClick="jumptoie5(event)" display:none>
<div class="menuitems" url="index.php">Home</div> 
<div class="menuitems" url="faq.php">FAQ</div> 
<hr><div class="menuitems" url="search.php">Search</div> 
<div class="menuitems" url="memberlist.php">Memberlist</div> 
<hr><div class="menuitems" url="groupcp.php">Usergroups</div>  
<div class="menuitems" url="viewonline.php">Who is Online?</div> 
<hr><div class="menuitems" url="profile.php?mode=editprofile">Profile</div>  
<div class="menuitems" url="privmsg.php?folder=inbox">P.M.</div> 
<hr><div class="menuitems" url="javascript:history.back();">Go Back</div>  
</div> 
<script language="JavaScript1.2">
// This Code Thanks To http://www.dynamicdrive.com/
//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0

var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("ie5menu")

function showmenuie5(e){
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX
var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidth
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX

//same concept with the vertical position
if (bottomedge<menuobj.offsetHeight)
menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeight
else
menuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientY

menuobj.style.visibility="visible"
return false
}

function hidemenuie5(e){
menuobj.style.visibility="hidden"
}

function highlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor="highlight"
firingobj.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor=""
firingobj.style.color="black"
window.status=''
}
}

function jumptoie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode
if (firingobj.getAttribute("target"))
window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target"))
else
window.location=firingobj.getAttribute("url")
}
}
//NetscapeRCS
if (ie5||ns6){
menuobj.style.display=''
document.oncontextmenu=showmenuie5
document.onclick=hidemenuie5
}

</script>
<!-- I S U A  T E A M --> 
<!-- End Right Click Menu MOD --> 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
<!-- I S U A  T E A M --> 
<!-- Begin Right Click Menu MOD --> 
{ISUA_RCOF1}
<div id="ie5menu" class="skin0" onMouseover="highlightie5(event)" onMouseout="lowlightie5(event)" onClick="jumptoie5(event)" display:none>
<div class="menuitems" url="{ISUA_LINK1}">{ISUA_NAME1}</div> 
{ISUA_DIVD1}
<div class="menuitems" url="{ISUA_LINK2}">{ISUA_NAME2}</div> 
{ISUA_DIVD2}
<div class="menuitems" url="{ISUA_LINK3}">{ISUA_NAME3}</div> 
{ISUA_DIVD3}
<div class="menuitems" url="{ISUA_LINK4}">{ISUA_NAME4}</div> 
{ISUA_DIVD4}
<div class="menuitems" url="{ISUA_LINK5}">{ISUA_NAME5}</div>  
{ISUA_DIVD5}
<div class="menuitems" url="{ISUA_LINK6}">{ISUA_NAME6}</div> 
{ISUA_DIVD6}
<div class="menuitems" url="{ISUA_LINK7}">{ISUA_NAME7}</div>  
{ISUA_DIVD7}
<div class="menuitems" url="{ISUA_LINK8}">{ISUA_NAME8}</div> 
{ISUA_DIVD8}
<div class="menuitems" url="{ISUA_LINK9}">{ISUA_NAME9}</div>
{ISUA_DIVD9}  
</div> 
<script language="JavaScript1.2">
// This Code Thanks To http://www.dynamicdrive.com/
//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0

var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("ie5menu")

function showmenuie5(e){
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX
var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidth
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX

//same concept with the vertical position
if (bottomedge<menuobj.offsetHeight)
menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeight
else
menuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientY

menuobj.style.visibility="visible"
return false
}

function hidemenuie5(e){
menuobj.style.visibility="hidden"
}

function highlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor="highlight"
firingobj.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor=""
firingobj.style.color="black"
window.status=''
}
}

function jumptoie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode
if (firingobj.getAttribute("target"))
window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target"))
else
window.location=firingobj.getAttribute("url")
}
}
//NetscapeRCS
if (ie5||ns6){
menuobj.style.display=''
document.oncontextmenu=showmenuie5
document.onclick=hidemenuie5
}

</script>
<!-- I S U A  T E A M --> 
<!-- End Right Click Menu MOD --> 
#
All Packages will be updated ASAP

Thanks
Saabir Salim

thenextbigthing05
Registered User
Posts: 10
Joined: Wed Jul 27, 2005 9:27 pm

Post by thenextbigthing05 » Tue Sep 06, 2005 3:51 pm

How do i unistall this without messing anything up?? PLEASE HELP

saabirsa
Registered User
Posts: 359
Joined: Thu Nov 04, 2004 12:38 am
Contact:

Post by saabirsa » Tue Sep 06, 2005 4:37 pm

Replyed on My Support Website

:-D
Saabir Salim

Capmaster
Registered User
Posts: 69
Joined: Tue Jul 05, 2005 1:26 pm

Post by Capmaster » Sat Sep 17, 2005 10:07 pm

Great potential mod, but I don't see it as being finished yet. I'd like to see it retain copy/paste as well as open in new window.

Removing the right-click copy doesn't do a thing since you always have the keyboard combination to copy something. I'd rather see the mod retain those two.

But it shows promise, and keep up the great work! 8)
Image
Some mornings, it's just not worth chewing through the leather straps

tomythius
Registered User
Posts: 74
Joined: Sat May 28, 2005 3:05 pm
Location: Queniborough - Leicester - UK
Contact:

Post by tomythius » Sat Sep 17, 2005 11:40 pm

Work on this mod is slow...
I have bills to pay and exams to pass, I'm sorry to say it's not a priority at the moment. I'll be able to work more on it soon hopefully, please bear with me.
Tom says so, QED.

Capmaster
Registered User
Posts: 69
Joined: Tue Jul 05, 2005 1:26 pm

Post by Capmaster » Tue Sep 20, 2005 1:47 pm

tomythius wrote: Work on this mod is slow...
I have bills to pay and exams to pass, I'm sorry to say it's not a priority at the moment. I'll be able to work more on it soon hopefully, please bear with me.
I'll keep checking then. Thanks for the effort :wink:
Image
Some mornings, it's just not worth chewing through the leather straps

saabirsa
Registered User
Posts: 359
Joined: Thu Nov 04, 2004 12:38 am
Contact:

Post by saabirsa » Wed Sep 21, 2005 8:04 pm

Sorry for the long reply, I have been moving house and don't expect to have the internet back online for a furthert 3/4 weeks.

Please bear with me in this time :-D
Saabir Salim

(PS This post is from a internet cafe)

Capmaster
Registered User
Posts: 69
Joined: Tue Jul 05, 2005 1:26 pm

Post by Capmaster » Sun Oct 02, 2005 6:41 pm

saabirsa wrote: Sorry for the long reply, I have been moving house and don't expect to have the internet back online for a furthert 3/4 weeks.

Please bear with me in this time :-D
Saabir Salim

(PS This post is from a internet cafe)
My sympathies, Saabir 8O

Mar Salaam :wink:
Image
Some mornings, it's just not worth chewing through the leather straps

vanguard693
Registered User
Posts: 9
Joined: Sat Nov 12, 2005 12:19 pm

Post by vanguard693 » Fri Dec 02, 2005 1:27 am

Woops.... can this be deleted... My bad!

saabirsa
Registered User
Posts: 359
Joined: Thu Nov 04, 2004 12:38 am
Contact:

Post by saabirsa » Sun Mar 05, 2006 1:28 pm

Hello all,

I am currently looking for someone to take over this Mod, please PM me if you are interested :)

Saabir Salim

qctuners.com
Registered User
Posts: 67
Joined: Sun May 22, 2005 11:37 pm

Post by qctuners.com » Sun Nov 26, 2006 3:21 am

What are the 2 codes I need to disable this feature via my Config on my board's admin panel?

spaceman33
Registered User
Posts: 34
Joined: Thu Jul 13, 2006 6:18 am

Post by spaceman33 » Mon Nov 27, 2006 7:28 am

NM. Removed it for now.
Last edited by spaceman33 on Mon Nov 27, 2006 1:54 pm, edited 2 times in total.

yongkian
Registered User
Posts: 92
Joined: Sat Jul 17, 2004 1:44 pm
Location: Singapore

Post by yongkian » Mon Nov 27, 2006 7:31 am

Nice one! :D

qctuners.com
Registered User
Posts: 67
Joined: Sun May 22, 2005 11:37 pm

Post by qctuners.com » Mon Nov 27, 2006 10:29 pm

anyone able to help? I need to disable this mod from my board.

Post Reply

Return to “[2.0.x] MOD Database Cleanup”