Displays the latest posts of one user in the forums, in his/her account details.
The new version of the old plugin (now on Ajax technology and adapted by Сotonti)
Version: 0.0.5
GitHub: https://github.com/Alex300/userlatestposts
Installation
Enjoy!
Old Genoa version: download
<!-- BEGIN: TOPIC --> {UPF_DATE}: {UPF_FORUMS} <a href="forums.php?m=posts&p={UPF_FORUMS_ID}#{UPF_FORUMS_ID}">{UPF_FORUMS_TITLE}</a><br /> <!-- END: TOPIC -->
<!-- BEGIN: TOPIC --> {UPF_DATE}: {UPF_FORUMS} / <a href="forums.php?m=posts&p={UPF_FORUMS_ID}#{UPF_FORUMS_ID}">{UPF_FORUMS_TITLE}</a><br /> <!-- END: TOPIC -->
GROUP BY t.ft_id
It has to be in the SQL query that calculates the value of $ totalitems. Total items in that case will be the number of topics with the users posts (not total number of users posts). Otherwise pagination is wrong and show us too many pages.
Or we have to move out GROUP BY t.ft_id from the main SQL query.
в той ревизии под siena что сейчас в закачке есть баг - видимо в новых версия сиены сменились урлы у форума - надо в userlatestposts.tpl прописать урл такого вида <a href="forums?m=posts&q={UPF_FORUMS_ID}#{UPF_FORUMS_ID}">{UPF_FORUMS_TITLE}</a>
Для исправления проблемы с урлом в сиене попробуйте https://github.com/Dayver/userlatestposts вот эту версию
Insgesamt: 7, auf Seite: 7