Forum Replies Created
-
In reply to: How do I change forum title font
without explaining which ‘forum title’ you are referring to it is hard to answer
it really needs to also update the forum latest activity – I’ll try and look at that as well
this is more complicated than it as first looks, as there is forum data that needs updating
but as a start
function rew_status_transitions( $post ) { if ( $post->post_type == 'topic') { //update the post meta update_post_meta ($post->ID, '_bbp_last_active_time' , $post->post_date) ; } } add_action( 'future_to_publish', 'rew_status_transitions', 10, 1 );
In reply to: admin menu doesn’t show on topic pageok, thanks for the update
ok, let me take a further look
In reply to: All Forums not showingok
In reply to: Create New Topic – At the top of the forum pagethe templates are in
wp-content/plugins/bbpress/templates/default/bbpress
start with content-archive-forum which is the main forums list, and then you’ll see how the other templates are called
In reply to: Create New Topic – At the top of the forum pageIn reply to: BBPRESS Related Forum Post Pluginnothing I know of does that
In reply to: bbpress SlowI can only suggest as a test remove the notification plugin and see if this is making the difference
In reply to: Topic tag conditional for specific wordgreat – thanks for posting the solution
In reply to: Links in new topicok
sorry, but can you explain what is not working ? what is the issue you are facing ?
In reply to: Links in new topicfunction custom_bbp_has_replies($args) { $args[‘order’] = ‘DESC’; // 'ASC' (Ascending, Default), 'DESC' (Descending) return $args; }
needs the apostrophies sorting on it !!
In reply to: Links in new topiccan you post the code you are now using
In reply to: if statement for forum root?no problem, – glad you are fixed !
In reply to: Users posts are public in a private forumif the forum is set as private, then you will not see topics or replies in the profile for that forum unless logged in.
what theme and other bbpress related plugins are you running?
In reply to: Custom Header for Forumfunction rew_check_forum_root () { $forum_slug = '/'.bbp_get_root_slug().'/' ; $page_slug = $_SERVER['REQUEST_URI'] ; if ($page_slug == $forum_slug) return true ; else return false ; } if (rew_check_forum_root() ) echo 'we are at the forum root!' ;
In reply to: if statement for forum root?this should do it
function rew_check_forum_root () { $forum_slug = '/'.bbp_get_root_slug().'/' ; $page_slug = $_SERVER['REQUEST_URI'] ; if ($page_slug == $forum_slug) return true ; else return false ; } if (rew_check_forum_root() ) echo 'we are at the forum root!' ;
In reply to: bbpress not working with yoast seoIn reply to: Links in new topicI’m pretty sue that you code is suffering from apostrophe differences.
When you copy code differ3ent editors change the ‘ !
so your code has for instance
(‘bbp_before_has_replies_parse_args’,
suggest you remove the start and end apostrophies and replace eg
('bbp_before_has_replies_parse_args',
In reply to: bbp-messages message box sizingThat looks like an issue with the bbp-messages plugin, which is not part of bbpress, you’ll need to post on their forum
In reply to: Links in new topichmmm…
1. did you leave in the code, from what you say that is needed as well
function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = ‘true’; return $show_lead; } add_filter(‘bbp_show_lead_topic’, ‘custom_bbp_show_lead_topic’ );
on your other errors, can you post lines from say 615-630 from your functions file
In reply to: Links in new topicyour first bit of code should be
function custom_bbp_has_replies($args) { $args[‘order’] = ‘DESC’; // ‘ASC’ (Ascending, Default), ‘DESC’ (Descending) return $args; } add_filter(‘bbp_before_has_replies_parse_args’, ‘custom_bbp_has_replies’ );
The ($args) brings in all the existing args and then your next line modifies just the ‘order’ arg. Otherwise the only argument passed to the query is the ‘order’ arg, so there is nothing to display.
In reply to: email notification to “noreply”Great – glad you are fixed, and for anyone reading this later the code should be
add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ; function rew_no_reply ($no_reply) { $no_reply = 'abc@def.com' ; return $no_reply ; }