MyBB Community Forums

Full Version: Redirect last post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all,
In the last post (forumbit_depth2_forum_lastopst) when i click the link, it redirect to last post of the topic. Can I redirect to the first post of the topic?

Another question: When i login to the forum and I read a discussion, it redirect to the index page. Can I redirect to the topic was reading?

Sorry for the bad english Shy
Upped
I found a plugin for this but for MyBB version 1.4

Link: http://community.mybb.com/thread-63705.html

Try changing the compatibility from 1.4 to 1.6 by editing the plugin file.
This is first post (post #2), i want remove this on the link:

?pid=1686#pid1686

In this way, it redirects me to first post, you have any suggestion for the login?
Take a look here to remove PID number from threads.

Link: http://community.mybb.com/thread-140053.html

For the login, not sure at the moment. Let me check on localhost first.
I don't find a reply in this topic for my problem
to show the first post link on the index, you may have to use php in templates plugin (more details)

after installing the plugin, you can add code like below in forumbit_depth2_forum_lastpost template
<a href="<?php echo get_thread_link($forum['lastposttid']) ?>" title="first post">first post</a>
Work, but not for all thread, any solution? I use Google SEO