I'd like some instrukcions, that in my wordpress sidebar topics would be listed by the time someone made a post in the topic. for example if topic is very old and it isn't visible in the recent topic sidebar, and when someone posts there it goes in the first position in the sidebar, I'd be thankful for instrukcions or plugin update with this option :)
http://wordpress.org/extend/plugins/phpbb-recent-topics/
:D lol noOne gives a fuck what do I need :D
zodiac1978
Member
Posted 2 weeks ago #
!!! This only works in phpBB3 !!!
In the file display.php change "topic_time" to "topic_last_post_time" (5x)
Now the Topics are sorted by the latest post in the topic, but the plugin is still linking to the topic-page and not to the last post. So you have to change (in display.php) this line:
echo " href='" . $SITEURL . "/viewtopic.php?t=$topic->topic_id'>";
to this:
echo " href='" . $SITEURL . "/viewtopic.php?p=$topic->topic_last_post_id#p$topic->topic_last_post_id'>";
Now you have links to the latest post in the topic!
Greetings
Torsten
Thanks, can you share more hacks? And it would be beautifull to have the ability to add two or more widgets with different information inside (for example, one with last topic, one with last post, and so on).
Thank you
zodiac1978, dude, thanks a lot.It was REALLY REALLY helpful.I was sooo nervous that noone could help me.I'd like to donate you, could I ? :) I'd like to know your paypal in order to do that.If you don't want to say it public, you can send it to my email. rate4d@gmail.com
zodiac1978
Member
Posted 6 days ago #
@rate4d: I've got a Paypal Donate-Button on my Blog: http://netztaucher.wordpress.com/ :)
I've donated €5.00 EUR.It's not very big money, but a bit better than only "thanks".So, thanks again zodiac, you helped a lot.It's pleasure to do someone good :) As I appreaciate your help I hope you appreciate people's donations.Helping for people in support forums for free is very kind work. :)