Forum Replies Created
-
In reply to: Setting up pagination
19 posts in total (1 + 18), I set the limit per page at 10.
he created me a second page identical to the 1stIn reply to: Setting up paginationIn reply to: Setting up paginationif I activate your pluggin and I activate the thread, on the second page I have a repetition of the 1st page
In reply to: Setting up paginationIndeed, if I disable the “thread”, it works.
But does that mean the I can’t use the “thread”?
In reply to: a link on the pictureThanks Robin,
I just added the “title” line because it came out with an error.
Otherwise it works very well.$title = bbp_get_forum_last_reply_title( $topic_id );
I think this function can be useful to other people.Have a good day.
In reply to: a link on the pictureHello robin
Thanks for the function.
It does not work well, it recalls the last post of all the topic of a forum in its category but not the last post of a topic on the same line.Here is the link to see what I’m saying :
my page topicsRegards
In reply to: a link on the pictureHello Robin,
I tried to adapt the code you provided me for the same function but from forums and not topics. I tried a lot of possibilities inside but each time it brings me back to the last forum and not to the last post of each topic.
I searched through the documentation and archives but couldn’t find anything.
So the code used is below, it fits the image well but not the last post of the subject in which it is:add_action( 'bbp_theme_after_topic_freshness_author', 'rew_freshness_display_reply'); function rew_freshness_display_reply ($forum_id = 0) { // Verify forum and get last active meta $forum_id = bbp_get_forum_id( $forum_id ); $active_id = bbp_get_forum_last_active_id( $forum_id ); $link_url = $title = ''; if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_reply_id( $forum_id ); if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_topic_id( $forum_id ); if ( bbp_is_topic( $active_id ) ) { //then reset forum_id to the forum of the active topic in case it is a sub forum $forum_id = bbp_get_topic_forum_id($active_id); $link_url = bbp_get_forum_last_topic_permalink( $forum_id ); $title = bbp_get_forum_last_topic_title( $forum_id ); } elseif ( bbp_is_reply( $active_id ) ) { //then reset forum_id to the forum of the active topic in case it is a sub forum $forum_id = bbp_get_reply_forum_id($active_id); $link_url = bbp_get_forum_last_reply_url( $forum_id ); $title = bbp_get_forum_last_reply_title( $forum_id ); } $anchor = '<a class="rew_freshness_display_image" href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '"><img class="plato" style="width: 29px; height: 20px;" src="https://webershoot.com/mesimages/transplato.png">' . '</a>'; echo '<p class="platopost">'.$anchor.'</p>'; }
Regards.
In reply to: move moderationHello,
Thank you very much Robin.
On top as usual.Bernard
In reply to: Index page with categories and forumsMerci à vous je vais poursuivre mes investigations.
Bon dimanche
In reply to: Index page with categories and forumsFor your questions:
-Yes, I have a bbpress in the plugins folder (version 2.6.6)
-I have these files there in a Multinews folder => content-archive-forum.php
content-search.php
content-single-forum.php
content-single-topic.php
content-single-topic-lead.php
form-search.php
loop-forums.php
loop-replies.php
loop-search.php
loop-search-forum.php
loop-search-reply.php
loop-search-topic.php
loop-single-forum.php
loop-single-reply.php
loop-single-topic.php
loop-topics.php-I put these files above in a bbpress folder in Multinews-child, and it’s them I’m transforming.
But sometimes I supplement these files with others that are in 2.6.6, for example content-single-user.php. Now I realize that they are not in the same version as those contained in Multinews that will cause me problems.
In reply to: Index page with categories and forumsThank you for your very interesting suggestions.
So if I understand correctly I can continue to use an old BBpress without any risk for the future?
So far everything was fine with him, I just don’t want to worry about the future.In reply to: Index page with categories and forumsHello Robin,
My BBpress version was acquired with the global Multinews theme which has BBpress integration.
I was working with BBpress files for this theme in a child. I configured according to my wishes and I realized that the BBpress files of Multinews are old (they have not updated anything on that side).
So I put a current version of BBpress but on the other hand the whole presentation changes in particular at the category and forum level as I indicated in the presentation.In reply to: Create a link image for last post in forum@ robin-w
Just to show, with the CSS I finished configuring this partIn reply to: Create a link image for last post in forumRobin W => you are the best of the best
it’s very good like that.
A big thank’s for you !!!!In reply to: Create a link image for last post in forum@ robin-w
I’sorry i say a mistake, i don’t have bbp style pack
I have bbp initialIn reply to: Create a link image for last post in forum@ robin-w
I’m sorry, I don’t understand what you mean by “setting freshness tab”
where is it ?In reply to: Create a link image for last post in forumyes !
In reply to: Create a link image for last post in forumit works great, thanks.
However, is it possible to have the image under the date as I show on the screenshot?
Thank you
In reply to: Create a link image for last post in forumHello,
Yes it will always be the same image.
Members of my old phpBB forum that I am remaking on bbPress are familiar with this image that I want to reuse on my new bbPress forum.When the user clicks on the link it takes them to the last posted message, just as if they were clicking on the date and time.
In reply to: Create a link image for last post in forumAnother screenshot
Ok, I saw the new translation files in https://translate.wordpress.org/projects/bbpress/
everything works at the level of the integration of the missing files.
For me problem solved.
Thank youIn reply to: create a un functionWAhoooo Robiiiin !!
So good, there is 5 days i’m looking for
You are the best of the best !!Thank you very much !!
Regards
BernardIn reply to: create a un functionno it will be a <div> to create a space with a min-height set in the CSS class.
In reply to: create a un functionThank’s,
I would like that :<div class=”bbp-reply-content”>
<p>hello how are you ?</p>
<div class=”frenchlemans”>
I’m superman
</div>
</div>In reply to: create a un functionSorry I am French and my English can be improved.
I went to see where you say, I can see the function well but the problem is that I don’t know how to create a div with class at all.
which is the subject of my request.
Regards