ED:
I have added a link from the showthread page that will allow you to add the member to your buddylist.
What I am wanting to do though is to have it use the javescript pop up window so you don't get a full page opening but instead get the popup. Unfortunately if you use the javascript with this hack you don't get the username inserted but instead you get the last person that post to that thread.
I am using:
Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function popup (addy) {
var popup = window.open("buddy.php?action=manage=1&search=$username","_new","height=460,location=no,menubar=no,resizable=no,scrollbars=auto,status=no,toolbar=no,width=310" );
}
// -->
</SCRIPT>
in the header of the showthread template
and then in javascript link in the postbit template
Code:
<a href="javascript:popup()"><font face="verdana" size="1" color="#ffffff"> <b>Launch Buddy List!</b></font>
Any ideas how to make the link in the showthread template work so that the member you want to add to your list can be added and the popup shows up?
Also, how about adding a close button to close out the javascript box.
Thanks,
Parker