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:
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>
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:
Code:
var bookmarkurl="http://www.underlight.com$REQUEST_URI"
The $REQUEST_URI part will fill in the path and variables to the thread you're book marking.
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>
Add below:
Code:
<br>
<smallfont><IMG SRC="images/bookmark.gif" BORDER=0> <a href="javascript:addbookmark()">Click to here bookmark this thread!</a></smallfont>
Upload a bookmark icon, and you're all set.
Kath
[Edited by Moonwolf on 06-07-2000 at 10:19 AM]
Bookmarks