Another one of those minor hacks that are so minor it's embarassing to say it's a hack at all.
Open showthread template
Find:
Insert Above:
Note you need to replace "http://your.domain.here" with the URL to your domain -itself-, not to the forums.
e.g. Forums on http://www.underlight.com
Code will read:
The $REQUEST_URI part will fill in the path and variables to the thread you're book marking.
Then, in the showthread template, find:
Add below:
Upload a bookmark icon, and you're all set.
Kath
[Edited by Moonwolf on 06-07-2000 at 10:19 AM]
Open showthread template
Find:
Code:
</head>
Code:
<script language="JavaScript1.2"> var bookmarkurl="http://your.domain.here$REQUEST_URI" var bookmarktitle="$threadtitle" function addbookmark(){ if (document.all) { window.external.AddFavorite(window.location.href,document.title); } else { alert("Use Ctrl-D to add a bookmark in Netscape Navigator."); } } </script>
e.g. Forums on http://www.underlight.com
Code will read:
Code:
var bookmarkurl="http://www.underlight.com$REQUEST_URI"
Then, in the showthread template, find:
Code:
<smallfont><img src="images/sendtofriend.gif" border="0"> <a href="sendtofriend.php?threadid=$threadid">Email This Page to Someone!</a></smallfont>
Code:
<br> <smallfont><IMG SRC="images/bookmark.gif" BORDER=0> <a href="javascript:addbookmark()">Click to here bookmark this thread!</a></smallfont>
Kath
[Edited by Moonwolf on 06-07-2000 at 10:19 AM]
Comment