Right Click Code Question
+2
ArChKnIgHt
nikko
6 posters
Page 1 of 1
Right Click Code Question
- Code:
<script language=Javascript1.2> function ejs_nodroit() { alert('Text Here');
return(false); } document.oncontextmenu = ejs_nodroit; </script>
That is the code to disable the right click text, but is there any way to disable right click just for guests? So that all members can access it?
Re: Right Click Code Question
Hi,
Sure Just Use This Code
This Way You Have Disabled Right Click For Guests Only, Btw I Tested It and Worked For Me
Hope That Help, ArChKnIgHt
Sure Just Use This Code
- Code:
<!-- BEGIN switch_user_logged_out -->
<script language=Javascript1.2> function ejs_nodroit() { alert('Text Here');
return(false); } document.oncontextmenu = ejs_nodroit; </script>
<!-- END switch_user_logged_out -->
This Way You Have Disabled Right Click For Guests Only, Btw I Tested It and Worked For Me
Hope That Help, ArChKnIgHt
Re: Right Click Code Question
Thanks! Where do i put that code?
Update:
I tried putting it in the site description (where the original one was suppose to go) and it didn't work
I tried putting it in the java management and still didnt work
When i say it didnt work, i mean Im still logged in a getting that message.
Update:
I tried putting it in the site description (where the original one was suppose to go) and it didn't work
I tried putting it in the java management and still didnt work
When i say it didnt work, i mean Im still logged in a getting that message.
Re: Right Click Code Question
plz tell me where i can put this code???
abbas haider05- Forumember
- Posts : 131
Reputation : 0
Language : urdu
Re: Right Click Code Question
no that code dont seem to be working for guest only?
It blocks right click but for both guest and if your logged in???
Anyway for phpbb3 you would want to place it in your forums description or general announcement in messages and email options,
actually i think ArChKnIgHt may have it in a template, so i can test that too and if it's working for him it's probably because he has it there like that.
However you can not edit templates in phpbb3 so i think we would need a different code all together.
It blocks right click but for both guest and if your logged in???
Anyway for phpbb3 you would want to place it in your forums description or general announcement in messages and email options,
actually i think ArChKnIgHt may have it in a template, so i can test that too and if it's working for him it's probably because he has it there like that.
However you can not edit templates in phpbb3 so i think we would need a different code all together.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Right Click Code Question
right thats the thing, when you do it it's for everyone.
Although i have seen a code to do what yous are asking before.. but have no idea where it was... it was a while ago.
You should try Google it and i will check some of my older test forums to see if i have it there.
Although i have seen a code to do what yous are asking before.. but have no idea where it was... it was a while ago.
You should try Google it and i will check some of my older test forums to see if i have it there.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Right Click Code Question
You could try putting the code in a widget, and making that widget only available to guests. that's how I got my Hellobar for guests.
Re: Right Click Code Question
Thanks kirk!kirk wrote:right thats the thing, when you do it it's for everyone.
Although i have seen a code to do what yous are asking before.. but have no idea where it was... it was a while ago.
You should try Google it and i will check some of my older test forums to see if i have it there.
Re: Right Click Code Question
Since this thread appears to be solved, I will lock this thread and mark it as solved now. Important: You can also help the moderators to know if your topic/problem is solved by EDITING your first post and marking the topic as solved. Thank you. ~ Joph25 |
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» little help in that code disable the right click
» Chat box code question
» Poll Question Code * *
» Question RE: Wrap Text Around Image Code
» Code issue when registering & email says already used repeat? (answer to Brandon's question)
» Chat box code question
» Poll Question Code * *
» Question RE: Wrap Text Around Image Code
» Code issue when registering & email says already used repeat? (answer to Brandon's question)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum