miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

link to latest post

Author ClintEastwood
Registered
#1 | Posted: 6 Jul 2004 18:35 
Is ther a possibility to add a link to the latest post of each topic?

Author Team
8-)
#2 | Posted: 7 Jul 2004 10:19 
Using page=-1 automatically redirects you to the last page in thread, so you can insert some <a name="lastpost"> tag near "Your answer" field, and redirect to it using in URL "...page=-1#lastpost"

Author ClintEastwood
Registered
#3 | Posted: 8 Jul 2004 00:52 
whats an <a name="lastpost"> tag near "Your answer" field??

Author marsbar
Associated Member
#4 | Posted: 8 Jul 2004 03:24 | Edited by: marsbar 
1. Create an anchor/target named 'lastpost' somewhere around the reply box. On your board, just create the anchor at where you see the words ":: Deine Antwort".

2. To link to the last post of any topic, form the URL this way:
http://yourdomain.tld/path to forums/index.php?action=vthread&forum=(insert forum number minus the brackets)&topic=(insert topic number minus brackets)&page=-1#lastpost

zum Beispiel (actual example lifted from your board), to link to the last post of the discussion on "wort des tages, obligatorisch runterzusagen", the URL should read:
http://www.styckwaerk.de/forum/index.php?action=vthread&forum=3&topic= 38&page=-1#lastpost

Alles klar? :)

- mb

Author ClintEastwood
Registered
#5 | Posted: 8 Jul 2004 11:53 
jo thx!

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / link to latest post Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB