Quote:
Originally Posted by EvilSeph
As far as I can see, yours just directs to the thread and not to a specific post...? Please correct me if I'm wrong.
Edit the template cyb_topstats_newposts and find:
PHP Code:
<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$get_new_posts[lastpostid]#post$get_new_posts[lastpostid]" style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[cybstats_jump_to_post_in_x]</phrase>"><font face="arial">▼</font></a></td>
Replace that with something like:
PHP Code:
<td align="center" nowrap="nowrap" class="smallfont" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&t=$get_new_posts[threadid]" style="text-decoration:none" title="<phrase 1="$get_new_posts[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><font face="arial">▼</font></a></td>
That should achieve what you want - for the down arrow to direct your users to the first unread post in the thread.
|
Thank mate, your code helped me. I have chanced it a little, now the link and the arrow goes to the first unread post when you visited the topic again.
@fragov
Also thanks for your help!