This is an example, you can stylize it for your needs with CSS.
Put the following code at your [ic]overall_footer_begin[/ic]
- Code:
[panda=html]<script type="text/javascript">
//<![CDATA[
if ("Sorry, but only users granted special access can read topics in this forum." == $("p.message").text() || "/login" == location.pathname && null !== GetParam("redirect")) {
var log = "";
"/login" == location.pathname && (log = '<li><a href="/register' + location.search + '" title="New forrum registration")>Create Account</a></li>');
$(".main:not(.module)").html('<h1>Sorry, an error occured!</h1><br><h2>Sorry, you don\'t have permissions to view this forum.</h2><br><h3>Useful links:</h3><ul>' + log + '<li><a href="/faq" rel="help" title="Our help documentation">Frequently asked questions</a></li><li><a href="/contact" title="Contact the community administrator">Contact the Administrator</a></li></ul></div></div>')
};
//]]>
</script>