Forum Replies Created
Oh goodness! I get what you meant now!!! The link isn’t going to the topic… it is going to the forum 🙁In reply to: forum freshness and topic freshness is not equal
Seems like you and I will be solving eachother’s problems lol. I replied on your reply in my post.
Maybe I can help you with your issues… I’m not 100% sure what the problem is you are having with freshness though…
Did you mean the time shown on topic freshness and the time in forum freshness is not the same?
Hey, I modified it a little to fit the needs of my forum…
I can’t show you the link as I’m working on localhost at the moment, but here is what I did.
Inside loop-single-forum.php, I removed this:
<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?> <?php bbp_forum_freshness_link(); ?> <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
And placed this in it’s place:
<a class="bbp-forum-freshness" href="<?php bbp_forum_permalink(); ?>"> <?php bbp_forum_last_topic_title(); ?></a> (<?php bbp_forum_last_active_time(); ?>) by <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
Now the last step I need help with is…
Right now if a forum doesn’t have posts in it yet, it shows the time I created the forum. Which is very weird. So what I i need is a php if/else code that would check if there is a forum_last_topic if there is, it must show my code… if there isn’t, it must show the text “No topics yet”. How do I do this? I have very basic php knowledge
Awesome! Thank you… One more question though.
After using your code, if there has been no posts made in a forum, it shows a random time (which seems to be the time I created the forum) and the topic title appears blank. How can I do this:
if the forum has posts, show the latest post title and time (the code you gave me), otherwise show “No topics posted yet”.
Awesome… great, thank you
How do I display the time next to it? The <?php bbp_forum_freshness_link (); ?> displays it in link form… and I just want it next to the title in brackets (not linked)In reply to: Sub Forum Freshness, Topic and Post Counter styling
I’m looking for the same thing! Did you have any luck?In reply to: Hierarchical Forum and Category Layout
Hi, has this been created in the meantime? I really need this…In reply to: Customising bbp_list_forums – Last Poster Block