Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

Go to the first post in the thread (showthread)

$
0
0
You can add a link in showthread in the left bottom of page (or where you wanna to follow your forum design) to redirect you to the first post in the thread.

1) Open showthread template and add these piece of code (below {$addpoll}):
<li class="first_post"><a href="{$mybb->settings['bburl']}/thread-{$tid}-post-{$thread['firstpost']}.html#pid{$thread['firstpost']}">Go to the first post</a></li>

2) Add this to your global.css:
/* Showthread - go to the first post in the thread */
ul.thread_tools li.first_post {
 background: url(images/first_post.png) no-repeat 0px 0px;
}

3) Copy the image from the attachment below to your image folder Smile

Here is the result (srry, it is in my Czech language)

.png   first_post.png (Size: 603 bytes / Downloads: 14)

Viewing all articles
Browse latest Browse all 690

Trending Articles