vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   ZH - Right Click Disabled (https://vborg.vbsupport.ru/showthread.php?t=124470)

Ziki 08-19-2006 10:00 PM

ZH - Right Click Disabled
 
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Disable Right Click

~Hack description
Disables right click in forums.(Works in 3.6)

~Hack options
  • Turn on/off
  • Change Alert box text
  • [S]Exclude staff[/S]
  • Exclude certain usergroups

~Hack info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 7
Settings: 3

Install time: 3 sec
Install level: Easy

~Hack installation
Step 1: Import product



~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki 08-20-2006 01:55 PM

~1.0.0
-Initial Release

~1.0.1
-Thanx to Ntfu2 for expanding code!

~1.0.2
-Abilty to edit alert text!

~1.0.3
-Ability to exclude staff members from nrc!

~1.0.4
-Removed unneeded query

~1.0.5
-Removed exclude staff option and replaced by exclude certain usergroups option

~1.0.6
-Right click now doesn't work in Opera

AcidX 08-20-2006 02:16 PM

[high]* AcidX installs.[/high]

Edit:
There is a bug though. I'm using Firefox and although a "stop" window pops up, after clicking "OK" I can still see the "right click" options.
My vB Version is. 3.5.0, and my Firefox version 1.5.0.6.

Keep that in mind ;)

Ziki 08-20-2006 02:17 PM

So please click install :)

EDIT: AcidX check the second post :)

AcidX 08-20-2006 02:29 PM

Ah, you wrote it doesn't work in Mozilla. :)

Ziki 08-20-2006 02:31 PM

7 mins b4 you did :D

Ntfu2 08-20-2006 02:36 PM

You should take this a few steps further, and try to destroy all functionaltiy

Disable the microsoft image toolbar, anywhere in your head include template.
Code:

<meta http-equiv="imagetoolbar" content="no">
Disable the right click in Mozilla as well, in your head include (this also works for IE)
Code:

<body oncontextmenu="return false">
Disable copy and pasting in your headinclude put:
Code:

<body ondragstart="return false" onselectstart="return false">

Ziki 08-20-2006 02:37 PM

Will put in right now.Thanx :)

Ziki 08-20-2006 02:43 PM

1.0.1 released

Snake 08-21-2006 09:57 AM

Thanks! :)


All times are GMT. The time now is 05:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01056 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete