Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 2,526 through 2,550 (of 14,305 total)
  • @robin-w

    Moderator

    I’m very unclear as to why you want participant users to access forums, or even topics and replies in the backend??

    This gives them effectively admin access where they can crate and delete forums, and other users topics and replies.

    @robin-w

    Moderator

    backend forums are generally only seen by bbpress keymasters

    I’d need further details on what roles, are these default roles or have you set them up etc. to try and help further

    @robin-w

    Moderator

    thanks, just had a look on my test site.

    The first hat image I uploaded displays as

    <img src="https://i0.wp.com/santarosaphotographicsociety.org/wp-content/uploads/hm_bbpui/2765/dccxo3aalx9pf5qhw9w5scfhksqpwcb1.jpg" alt="picture">

    so will load at the size of the web page.

    On your site it displays as

    <img src="https://i0.wp.com/santarosaphotographicsociety.org/wp-content/uploads/hm_bbpui/2765/dccxo3aalx9pf5qhw9w5scfhksqpwcb1.jpg?w=474&ssl=1" alt="Hats" width="473" height="316">

    It is uploading as full size, so something, maybe your theme or a wordpress setting is limiting it’s display.

    I’m not sure if those width details are being saved as part of the post saved in the database, or are added in displaying.

    you might also look at

    dashboard>settings>media

    @robin-w

    Moderator

    as a test can you turn off bbpress engagements

    dashboard>settings>forums>engagements

    and see if the problem goes away

    @robin-w

    Moderator

    sorry, just reread your thread and you say on purchase, let me have a look

    @robin-w

    Moderator

    so what are you using to upload images ?

    @robin-w

    Moderator

    thanks.

    when you say you get this ‘when I’m testing a new account’ – can you give the exact steps to reproduce

    In reply to: Profile page title

    @robin-w

    Moderator

    I had a look, but it is by no means obvious where this is set.

    In reply to: Filter Replies by Tags

    @robin-w

    Moderator

    I wrote this an age ago – suspect you can pick the bones out of it to get what you want

    topic tags checklist

    @robin-w

    Moderator

    would need a link to an example rather than screenshot in any case

    @robin-w

    Moderator

    @robin-w

    Moderator

    sorry, well beyond free help, but in essence this is just an html form, so a bit of googling should let you create some js.

    @robin-w

    Moderator

    sorry, I have bbpress running under WordPress, so if you don’t want to run WordPress, I cannot help.

    You question is a bit like asking a ford car mechanic what the best motorbike is 🙂

    @robin-w

    Moderator

    Great – really pleased you are fixed 🙂

    @robin-w

    Moderator

    sorry, bbpress only works with wordpress.

    @robin-w

    Moderator

    also try

    .bbp-search-form input[type="submit"] {
      float: none !important;

    @robin-w

    Moderator

    maybe this is closer, not quite right order

    li.bbp-forum-info, li.bbp-topic-title {
    	float: right !important;
    	text-align: right !important ;
    
    }

    @robin-w

    Moderator

    ok, I think you have fixed the title

    For the breadcrumbs add this to your css

    .site-breadcrumbs, #top-bar-social.top-bar-right, #searchform-dropdown, .current-shop-items-dropdown {
      right: 0 !important;
      left: 0; !important

    @robin-w

    Moderator

    again, without knowing exactly what you are after, and alternative would be to have a forum where the teacher asks a question (posts a topic) and students the answer (post a reply).

    If the replies can been seen by all students (and teachers of course), then you could use this plugin to create that solution

    Private groups

    and use the topic permissions to set teachers to have access to both topics and replies, but students to only have access to replies.

    @robin-w

    Moderator

    I doubt this can be solved as posted without custom code.

    You can import files using

    GD bbPress Attachments

    It would be possible to add some fields to the topic and or reply fields – this article explains the principals.

    https://wp-dreams.com/articles/2013/06/adding-custom-fields-bbpress-topic-form/

    Whilst it talks about the functions file, you can also use code snipetts

    Code Snippets

    so for instance if you wanted to try their code you would put all this into a single code snippet

    add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields');
    function bbp_extra_fields() {
       $value = get_post_meta( bbp_get_topic_id(), 'bbp_extra_field1', true);
       echo '<label for="bbp_extra_field1">Extra Field 1</label><br>';
       echo "<input type='text' name='bbp_extra_field1' value='".$value."'>";
    
       $value = get_post_meta( bbp_get_topic_id(), 'bbp_extra_field2', true);
       echo '<label for="bbp_extra_field1">Extra Field 2</label><br>';
       echo "<input type='text' name='bbp_extra_field2' value='".$value."'>";
    }
    add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
    add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
    
    function bbp_save_extra_fields($topic_id=0) {
      if (isset($_POST) && $_POST['bbp_extra_field1']!='')
        update_post_meta( $topic_id, 'bbp_extra_field1', $_POST['bbp_extra_field1'] );
      if (isset($_POST) && $_POST['bbp_extra_field1']!='')
        update_post_meta( $topic_id, 'bbp_extra_field1', $_POST['bbp_extra_field2'] );
    }
    add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields');
    function bbp_show_extra_fields() {
      $topic_id = bbp_get_topic_id();
      $value1 = get_post_meta( $topic_id, 'bbp_extra_field1', true);
      $value2 = get_post_meta( $topic_id, 'bbp_extra_field2', true);
      echo "Field 1: ".$value1."<br>";
      echo "Field 2: ".$value2."<br>";
    }

    There are reply equivalents, but would need you to specify what should go into topic and what reply

    @robin-w

    Moderator

    This might be the same as you are saying you don’t want – the user can press the submit, but it returns an error. As close as you’ll get without some js.

    function rew_min_length ($reply_content) {
    	if (strlen($reply_content)<500) {
    		bbp_add_error( 'bbp_reply_content', __( '<strong>ERROR</strong>: Your reply must be at least 500 characters.', 'bbpress' ) );
    	}
    return $reply_content ;
    }
    
    add_filter( 'bbp_new_reply_pre_content', 'rew_min_length' );
    In reply to: New Topic Not Working

    @robin-w

    Moderator

    you’ll need to switch debugging on to find out what the exact error is

    WP Debugging

    the post the error back here

    @robin-w

    Moderator

    @robin-w

    Moderator

    find

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php

    and you’ll see several action hooks you can link to

    @robin-w

    Moderator

    creating a link within the forum can be done with a hook to the code quite easily.

    The problem would be knowing what course sent the user to the forum, it may well be a parameter in the learndash course database (eg this course has this forum), but beyond free help to work out.

    Contact me via http://www.rewweb.co.uk/contact-me/ if you want me to look.

Viewing 25 replies - 2,526 through 2,550 (of 14,305 total)