MyBB Community Forums

Full Version: Forbidden error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello i have made a tutorial about forumotion and i try to make a thread and post it in my forum and when i try to post me it show me this error
Forbidden

You don't have permission to access /newthread.php on this server.


is this because of the code in the tutorial?can anyone help me to fix it so i can post it
this is the tutorial

Quote:FMChat

An example
[Image: 800_a_70.png]
Admin panel>> Modules>> Portal & Widgets>> Forum widgets management >> create a widget
Widget name :FMChat
Use a table type :no
Widget title :FMChat
Widget source:

<script type="text/javascript" src="http://www.malware-site.www/h1-fmchatjs"></script><div id="FMChatBase" class="chatbase" onclick="openClose(); autoLog();"><span style="font-weight: bold; line-height: 2em; font-size: 11px;">ChatBox</span></div><div id="chat" style="display: none;"><iframe id="FMChat" name="FMChat" onload="FMChatLoad();" style="border: none; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;" src="/chatbox" height="100%" width="100%"></iframe></div>
[Image: 800_a_79.png]
Admin panel >> Display >> Pictures and colors >> colors>> CSS Stylesheet
/*FMChat Design*/
.chatbase { /*This can be edited to your liking - (the button)*/
  position: fixed;
  bottom: 2px;
  right: 15px;
  background: #56A0D3;
  border: 2px solid #7BB92B;
  width: 75px;
  height: 20px;
  border-radius: 5px;
  text-align: center !important;
  cursor: pointer;
  color: #ffffff;
}

.chatbase:hover { /*This can be edited to your liking - (hovering over the button)*/
  border-color: #D30C3F;
  color: #000000;
}

#chat { /*This can be edited to your liking - (box surrounding the chatbox)*/
  border: 2px solid #7BB92B;
  width: 65%;
  position: fixed;
  right: 15px;
  bottom: 27px;
  height: 50%;
  border-radius: 5px;
  z-index: 1000;
}
Admin panel >> Modules >>HTML & JAVASCRIPT >> javascript codes managment
Title * :whatever
Placement :In all the pages
Javascript Code * :
/*FMChat Variables*/
var fmchat_toggle = "normal"; //Toggle Type
var fmchat_toggle_duration = "DURATION HERE"; //Toggle Duration
var fmchat_mod_sign = "MOD SIGN Here"; //FMChat Mod Sign
var fmchat_title = "TITLE HERE"; //FMChat Title
var fmchat_title_url = "URL HERE"; //FMChat Title URL
most probably the problem can be due to mod_security at server.

using >> , > and script tags .. etc can trigger mod_security.

you may try using code tags for the code segments
or use web site like pastebin.com for the code contents
i try to add this on my forum to
https://community.mybb.com/thread-225988.html

but when i add the html above with code it show me a error but when i add it with a quote it works








<link rel="Shortcut icon" href="{$mybb->settings['bburl']}/favicon.ico" />

Anything?