First of all thanks for great work on Newspaper theme and swift response on my previous questions. Now I have run into problems with bbPress forum and I am not really sure how to fix some issues.
1) In main page of forum you see one person as last comment’s author across all subforums even if other subforums have another comments. You can see this behaviour even on your demo page: http://screencast.com/t/z3hcusuZ8. Is it possible to fix this issue so every subforum will show the name of last commenter in this subforum and not the subforum group (category)
2) Every reply on discussion shows the same date and time: http://screencast.com/t/PsVWe2Uu1b. Is it possible to fix this so it shows exact date and time when reply was added?
I hope you can understand my questions and help out. If it is bbPress issue I will be grateful for tips on where to find solutions to my problems. Thanks!
Hi,
1. There on our demo, is like that because I’ve deleted some users and forum index was not updated. This happen when you delete users. This is a bug from bbPress plugin i think, is not a problem related by the theme.
2. The same issue here. I will take a look about this or i will try to rebuild it.
We have clients that use bbPress without any issue. That is only on our demo.
Thanks for the message!
Hi there,
I’m trying a solution to this that seems to work so far.
First:
open /newspaper/bbpress7content-archive-forum.php and change lines 52-54 to this:
di <a class="td-forum-last-author" href="<?php bbp_reply_author_url($last_active)
?>"><?php echo
bbp_get_topic_author_display_name($last_active); ?></a>
which gets the right user name for each forum (using what is defined on line 17), so that the last user in THAT forum is shown
Second:
/newspaper/bbpress/content-single-forum.php change line 171 so that
bbp_topic_post_date()' becomesbbp_reply_post_date()’.
this will show the correct time for each reply, under the name of the author of each reply.
This will show on the forum index page the author of the last topic (not the last reply), and the correct date for replies in the single topic. If you want the author of the last REPLY to show, instead of the author of the last TOPIC, then you need to work a bit on line 52 and 57 (try to look on sourcexref.com/xref/bbpress/nav.html?_functions/index.html for functions with last_reply).
Hope this helps, let me know if it works!