I tryed to add the "bookmark us " code into a html/javascript block , using this code
<center>
<Script>
function ssbookmark(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>
<a href="javascript:ssbookmark('TheTeenZone.Net', 'http://www.theteenzone.net')"><b>Bookmark TheTeenZone</b></a>
<br><br>
<SCRIPT LANGUAGE="JavaScript">
</script></center>
But I Get The Error
Forbidden
You don't have permission to access /forums/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
and yet its just that code , i've tryed other codes and they work perfectly , any ideas anyone?
Try CHMOD forum folder to 755 permission ;D
its already at 777
Add this to the very top of the code
global $scripturl;
nope still the same after adding that code G6
If you have your portal in another folder than the root, try to add the path to that instead of to the root when thats where you get permission denied
Eg <a href="javascript:ssbookmark('TheTeenZone.Net', 'http://www.theteenzone.net/smf/')"><b>Bookmark TheTeenZone</b></a>
nope for some reason its this bit of the code that makes the error message appear
<Script>
function ssbookmark(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>
Could my host have something that stops javascript from being activated on the server?
I think you might have to ask your host that question
here is the book mark script i use with no problems. it is very close to what you have but some minor differences. you can try it and see.
<Script>
// Bookmark Script IE & Firefox
// No Need To Change Below
function tpbookmark(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>
<center><a href="javascript:tpbookmark('SITE NAME HERE', 'SITE URL')">CLICK HERE TO BOOKMARK[/url]</center>