I don't know why this worked, but it did. I simply copied the eval template line
PHP Code:
eval("\$newthreadlink = \"".gettemplate('forumdisplay_newthreadlink')."\";");
from above, pasted it into the if statement, and changed the variables. It works fine now. I am using it for the web rings at the bottom of my forums.
http://www.eaforums.com/forumdisplay.php?s=&forumid=49
Amy