Forum Replies Created
-
In reply to: Imported Topics are blank
1. Download the plugin from this url :
Then upload to your site and activate3. Create a page called anything and put this shortcode in it
[fix-topics]
and publish4. Go to this page and you will see a drop down, use the drop down to select ‘run’ and click submit
That should do it
In reply to: Imported Topics are blankGreat – I do have a plugin that will do that, but if you are happy to do that manually then fine.
Are replies all ok ?
In reply to: Remove /search from the sitenot that I can see easily
In reply to: Imported Topics are blankok, so final test, and then I’ll be happy I know what needs doing (one we did earlier)
go into
dashboard>topics> and select one topic to edit, and just hit update.
DON’T set the forum.In reply to: Remove /search from the siteI’d suggest you just add redirect to htaccess
In reply to: Imported Topics are blankcan you answer this question
Then go back to
dashboard>topics and see if the forums show in the main listIn reply to: Imported Topics are blankso did you reset forums as in
dashboard>tools>forums>reset forums
In reply to: Remove /search from the siteand what do you want it to return ?
In reply to: How do I enqueue the custom css?you can only enqueue a style name once, so suggest you rename the second child one eg
wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style')); wp_enqueue_style( 'child-theme-bbpress-css', get_stylesheet_directory_uri() .'/css/bbpress.css', array());
that might be the problem, if not, it certainly isn’t helping
In reply to: Anonymous Profile in Tool BarHaven’t tested but googled and found this
add_filter( 'admin_bar_menu', 'replace_wordpress_howdy', 25 ); function replace_wordpress_howdy( $wp_admin_bar ) { $my_account = $wp_admin_bar->get_node('my-account'); $newtext = str_replace( 'Howdy,', 'Welcome,', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtext, ) ); }
Put this in your child theme’s function file – or use
In reply to: Imported Topics are blankok, I think from previous threads that you need to import in an order
so I’d suggest that (as long as you don’t have any other topics in the forum) you reset the forums (ie get rid of all the current forums, topics and replies)
dashboard>tools>forums>reset forums
Then import in the following order
forums
topics
repliesThen go back to
dashboard>topics and see if the forums show in the main list
In reply to: BBPress looking strangehome button is in breadcrumbs tab
create new topic button is in buttons tab (and not there by default)
don’t know what you mean by ‘box they type in’
html tags is in topic/reply form tab
In reply to: How do I enqueue the custom css?if that second part is all you are after, then add it to the custom css bit of your theme, or use
In reply to: Anonymous Profile in Tool Barthe bbpress theme that this site uses is here
the following file holds the code
but you will also need to pull through some css from the theme, and JavaScript to do the drop downs
then tie all this back to the right place in your theme.
It’s quite doable, but well beyond free help
In reply to: Remove /search from the siteso is this the search at the top of this page, or a search on a forums page?
In reply to: Imported Topics are blankok, so if you
go into
dashboard>topics> and select one topic to edit, and just hit update.DON’T set the forum.
meta boxes are used in the backend, but you are most of the way there.
so to add the dropdown you can use
add_action(‘bbp_theme_before_reply_content’, ‘so_additional_content’);
(there is a bbp_theme_after_reply_content action as well)
and then in the function put the drop down stuff – I’ve not checked your code, so you’ll need to tidy and correct the following if it doesn’t work
so
function so_additional_content () { ?> <label>Choose the size of the element : </label> <select name=”custom_element_grid_class” id=”custom_element_grid_class”> <option value=”normal” <?php selected( $meta_element_class, ‘normal’ ); ?>>normal</option> <option value=”square” <?php selected( $meta_element_class, ‘square’ ); ?>>square</option> <option value=”wide” <?php selected( $meta_element_class, ‘wide’ ); ?>>wide</option> <option value=”tall” <?php selected( $meta_element_class, ‘tall’ ); ?>>tall</option> </select> <?php }
Then when the user presses submit a function in bbpress called ‘new reply handler’ takes over.
that has a hook
do_action( ‘bbp_new_reply_post_extras’, $reply_id );
which you can link to, to do the save.
so you would have
add_action ( 'bbp_new_reply_post_extras' , 'so_save' ) ; function so-save ($reply_id) { $meta_element_class = $_POST[‘custom_element_grid_class’]; update_post_meta($reply_id, ‘custom_element_grid_class_meta_box’, $meta_element_class); }
again your code is not checked.
you will need to add functionality if you want users to edit their replies and change the dropdown selection
I’ll let you play with the above, and do come back with a first version if you need extra help.
If you fix it, then PLEASE post your solution here to help others
In reply to: Imported Topics are blankok, sorry to keep asking, but it is important
in
dashboard>topics>all topics you get a list of topics, and there is a column that says forum. Does each topic have a forum listed in that main list, or is that column blank?
In reply to: Multiple notifications Errorok, can only suggest you deactivate that and see if the problem persists.
In reply to: “No Topics” issue on forum pageok, you’ll need to work out why/when this occurs (appreciate that is not easy), but without a ‘this happens and then that happens), we can’t really get any further.
In reply to: Imported Topics are blankso in
dashboard>topics doe then forum show in the main list ?
In reply to: bbpress and custom themesThis plugin will let you style it to match your theme, and do much else besides
In reply to: Imported Topics are blankok, can you go into
dashboard>topics> and select one topic to edit, and just hit update.
let me know if that topic now shows
In reply to: How can I fully remove this plugin?ok, thanks for update and hope all ok now 🙂
In reply to: Editing the ‘Oh bother!’ MessagePut this in your child theme’s function file – or use
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'old text' ) { $translated_text = 'new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
and change the old text and new text to suit.