PDA

View Full Version : Showthread > View first unread



Big Dan
10-22-2006, 03:58 PM
I'm pulling my hair out here, I reinstalled Zoints SEO and have been trying to get the View First Unread Post link to work.

Here's what's happening, on 1 page threads the URL of the link is: http://www.ourdjtalk.com/#post7066 which results in a redirect back to the homepage.

On multiple page threads the URL is correct and looks like this: http://www.ourdjtalk.com/showthread.php?t=602&goto=newpost

I'm not all that familar with the phrases system but from poking around in the template it looks like this:
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>

I've tried hardcoding it using: http://www.ourdjtalk.com/showthread.php?$firstunread and even http://www.ourdjtalk.com/$thread?$firstunread. Neither worked. :(

Any ideas?

Thanks,
Dan

Big Dan
10-22-2006, 04:10 PM
I think I have it fixed. I looked at another forums URL structure. Here's what I used does this look right?


<a href="http://www.ourdjtalk.com/showthread.php?t=$threadid$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>

Hell³
10-22-2006, 05:46 PM
Looks perfect to me. It should work ok.

Big Dan
10-22-2006, 07:01 PM
Thanks, it's the first time I've modified a template without having my hand held through it.

Big Dan
10-23-2006, 01:01 PM
Update:

This code works but it causes the 1 page threads to be reloaded and then taken to the new post. Eats up a little extra bandwidth but at least it works.