Page 3 of 4

Posted: Wed Jun 08, 2005 7:59 pm
by hondaforumscouk
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

Posted: Thu Jun 09, 2005 3:09 pm
by saabirsa
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

Posted: Tue Sep 06, 2005 3:51 pm
by thenextbigthing05
How do i unistall this without messing anything up?? PLEASE HELP

Posted: Tue Sep 06, 2005 4:37 pm
by saabirsa
Replyed on My Support Website

:-D
Saabir Salim

Posted: Sat Sep 17, 2005 10:07 pm
by Capmaster
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)

Posted: Sat Sep 17, 2005 11:40 pm
by tomythius
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.

Posted: Tue Sep 20, 2005 1:47 pm
by Capmaster
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:

Posted: Wed Sep 21, 2005 8:04 pm
by saabirsa
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)

Posted: Sun Oct 02, 2005 6:41 pm
by Capmaster
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:

Posted: Fri Dec 02, 2005 1:27 am
by vanguard693
Woops.... can this be deleted... My bad!

Posted: Sun Mar 05, 2006 1:28 pm
by saabirsa
Hello all,

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

Saabir Salim

Posted: Sun Nov 26, 2006 3:21 am
by qctuners.com
What are the 2 codes I need to disable this feature via my Config on my board's admin panel?

Posted: Mon Nov 27, 2006 7:28 am
by spaceman33
NM. Removed it for now.

Posted: Mon Nov 27, 2006 7:31 am
by yongkian
Nice one! :D

Posted: Mon Nov 27, 2006 10:29 pm
by qctuners.com
anyone able to help? I need to disable this mod from my board.