Forum Replies Created
-
In reply to: Freshness Date Format
ok so leave in the code that you have – that will make the default into date
then add this
function rew_forum_freshness_link( $forum_id = 0) { echo rew_get_forum_freshness_link( $forum_id ); } function rew_get_forum_freshness_link( $forum_id = 0 ) { $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 ) ) { $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 ) ) { $link_url = bbp_get_forum_last_reply_url( $forum_id ); $title = bbp_get_forum_last_reply_title( $forum_id ); } $time_since = bbp_get_forum_last_active_time( $forum_id ); if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'rew_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id ); }and where you want to show a ‘since’ freshness link change
bbp_forum_freshness_link()to
rew_forum_freshness_link()You should put any amended templates into your child theme
come back if you don’t know how to do that
In reply to: Stop members moving Topicsmembers is buddypress
In reply to: Custom Nav to Forums Archive pageok try this
add a page called ‘forums’ and put the shortcode
[bbp-forum-index]in it.
Your site should then see it as a page, and you should be able to use this page in your menu swapper
In reply to: Subscriber / participant / active user incorrectok, that list is from buddypress.
In reply to: Freshness Date Formatok,
can you say which lines in loop-single-topic you need which in?
In reply to: “Editors’ Choice” for Topics?adding an editors choice field to the topic form is doable, and creating a view of these also possible, but would be a chunk of code.
In reply to: Custom Nav to Forums Archive pageok, not totally sure what you are trying to achieve, is it possible to give me a link to your site and you tell me how to see the problem?
In reply to: Custom Nav to Forums Archive pageok, so you have bbpress as an iten in a menu – yes ?
If so is it a page, a link or what ?
In reply to: Custom Nav to Forums Archive pageby nav – do you mean breadcrumbs ?
In reply to: Restricting topics with predesigned templatescontact me via my website
In reply to: “Oh, no debates have been found here”contact me via my website
In reply to: Restricting topics with predesigned templatesThis can be done with gravity forms and some code.
How technical are you ?
In reply to: “Oh, no debates have been found here”ok, I’d need you to create me as a participant – can I resister on your site, and if so can you give me the url?
In reply to: Migration wpforo – bbpresscontact me via my website
In reply to: “Editors’ Choice” for Topics?the quick solution would be to leave them in the forum mark them as ‘sticky’ and they will stay at the top and then as keymaster you can alter the title to say ‘EDITOR’S CHOICE : How to fix my car’
Alternately you could move those topics to a separate forum called ‘Editor’s Choice’ and put that forum at the top of your forum list
In reply to: “Oh, no debates have been found here”so
1.is this the only forum, or the only private forum ?
2. Do you have other private forums that are working,
3. Do you have public forums that are working?
4. is anything working ?In reply to: Subscriber / participant / active user incorrectWordpress doesn’t have memebers.
ok, I repeat can you post an image or describe where you are seeing members ?
In reply to: Breadcrumbs not workingIt still works fine as far as I know.
In reply to: Subscriber / participant / active user incorrectcan you list all your plugins
In reply to: Freshness Date Formatok can you say which lines should do what?
In reply to: Subscriber / participant / active user incorrectso where is the members section – can you post a view of it
In reply to: Subscriber / participant / active user incorrectI presume that members are part of buddypress or another plugin – it’s not a bbpress concept.
In reply to: Placeholder in visual editoryou would think that was easy – but placeholder is a concept for <input> and <textarea> tags, and wordpress doesn’t use that for then visual editor.
I found several bits of code that do this for posts and pages, but couldn’t get them to work on topics/replies – I haven’t yet worked out why.
I’ll have a further play later to see if I can work it out
Robin
In reply to: Freshness Date Format1. are you using code from above or my plugin https://wordpress.org/plugins/bbp-last-post/
2. so you want some as a date and some as ‘since’ ?
3. if so, which ones are whichIn reply to: Text backgroundI have not seen a custom css area that is so restrictive – is this a part of your theme, a plugin or what?