|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
Allow Toggle of Markup/HTML in Posts? HTML may only be used if enabled in the forum. Admins and Moderators can always toggle.
WHAT DOES TOGGLE MEAN IN THIS SITUATION?
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
It simply means that you can switch between HTML only, HTML & UBBCode, UBB code or nothing.
What is available depends upon how the admin sets up the permissions of the user.
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
As html appaears to be such a dangerous feature to enable - is it possible to allow only mods to use this?
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
By default only mods & admins can use this, so yes.
You have to enable it in the forum settings if you wish users to post in html.
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
I am logged in as admin and when I go to the Mods area (forum) I see this text at the top where you would post
Posting form. HTML is disabled. UBBCode is enabled.
If I enable it in the forum - does this mean everyone can use html?
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Yes - that is correct, if you enable it everyone can use it - you should still be able to post in html as an admin.
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
although I can select html from the drop down option when I post the code in (its for a no-rght click) it does not work - image can still be copied via right click.
If i use exact same code in via say dreamweaver page and dispaly and try to right click - then it prevents me.
Am i missing something?
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
This is the code btw ===================== <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>A Web Page</title> </head> <body> <script language=JavaScript> <!-- //Disable right click script III- By Renigade (renigade@mediaone.net) //For full source code, visit http://www.dynamicdrive.comvar message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script> </body> </html> <img border="0" src="http://www.awebsite.co.uk/BANNER_HOME_041207.jpg" width="1024" height="44">
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
What has these got to do with HTML / UBB code etc.?
Unless I have missed something LOL
|
|
|
|
Joined: Jul 2004
Posts: 87
journeyman
|
journeyman
Joined: Jul 2004
Posts: 87 |
The code above (if posted into a normal blank webpage and uploaded to a server) means user cannot right click.
I assumed that using some code in a post by admin would acheive same result?
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Any right click code should be put into the template, so that it is included throughput the page.
I would suggest adding it to the header file.
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
And if you do put it into your header leave off the html head and body tags. Go with just the script tags. <script language=JavaScript> <!-- //Disable right click script III- By Renigade (renigade@mediaone.net) //For full source code, visit http://www.dynamicdrive.comvar message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script> Not that this is actually going to do much of anything for you. It's a javascript that prevents right clicking.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
yes, and please check your html at http://validator.w3.org afterwards - if you paste the above html into just anywhere you are going to have issues in some browsers not displaying well. BTW, disabling right-click only keeps internet dummies from saving/copying images, if that's your goal. It's an irritant, but easily by-passed.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
ooo.. sniped by navaho
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Yes, but unless it has been fixed in 7.3 once posted in a specific format, not even an Admin can come back and edit it as another format type.
Would really like to see that fixed.
|
|
|
|
Joined: Jun 2006
Posts: 16,300 Likes: 116
|
Joined: Jun 2006
Posts: 16,300 Likes: 116 |
Much better, non irratating, ways of implimenting anti right clicking, but quite simple to subvert any method
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
And if you do put it into your header leave off the html head and body tags. Go with just the script tags. Thanks - meant to mention that, but forgot
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
Got you covered.
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Thanks buddy
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
3 members (Nightcrawler, Stovebolt, 1 invisible),
907
guests, and
160
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|