Chuckie (@ajtruckle)

Forum Replies Created

Viewing 25 replies - 101 through 125 (of 399 total)
  • @ajtruckle

    Participant

    Any clarification about this please? Thank you.

    @ajtruckle

    Participant

    You are getting into territory that is a bit beyond me. Short of using your phpmyadmin and deleting content directly from the database (which I don’t recommend). Maybe someone else can help here.

    @ajtruckle

    Participant

    This is resolved:

    add_filter('private_title_format', 'my_private_title_format', 10, 2); function my_private_title_format($format, $post) { if($post instanceof WP_Post && ($post->post_type === 'forum' || $post->post_type === 'topic')) { $format = '%s'; } return $format; }

    @ajtruckle

    Participant

    Welldone.

    BTW you can share images if you put them on imgur website and paste the link in your topic.

    @ajtruckle

    Participant
    #bbpress-forums div.odd, #bbpress-forums ul.odd {
        background-color: #fbfbfb;
    }

    The above is the CSS that you have at the moment to colour the borders.

    @ajtruckle

    Participant

    Can we have a link to the page please.

    @ajtruckle

    Participant

    Perhaps all you need to use is:

    #bbpress-forums div.bbp-topic-header,
    #bbpress-forums div.bbp-reply-header {
    }

    @ajtruckle

    Participant

    Have you tried:

    input#bbp_anonymous_author,
    input#bbp_anonymous_email,
    input#bbp_anonymous_website,
    input#bbp_topic_title,
    textarea#bbp_topic_content {
     background-color: #313131;
    }

    I have not tested it.

    @ajtruckle

    Participant

    You are not really making sense now. #fff is colour white and you said you don’t want colour white.

    If you right-click a comment in the browser and choose “Inspect Element” you can see what type of object it is and what class it is using. All bbPress comments are:

    #bbpress-forums blockquote { 
    }

    You put your styling inside there for comments. Virtually anything can be worked out by just inspecting elements and learning to understand what the screen is telling you in the browser about the element.

    @ajtruckle

    Participant

    I might be wrong but is that not handled by WordPress? When you delete a user you are asked what you want to to with their content. You can assign it to someone else or delete it etc.

    See:

    https://easywpguide.com/wordpress-manual/users/deleting-a-user/

    @ajtruckle

    Participant

    Have you inspected the source via the browser just to see if it is there and not being hidden by some CSS styling?

    @ajtruckle

    Participant

    Can can add your own additional CSS to manage how comments are displayed.

    #bbpress-forums blockquote { 
        color: #000;
    }

    You can put whatever styling you like in there. This styling us usually in the customizer area of your website. Although the bbp style pack also has a Custom CSS tab.

    And the bbp style pack allows you to set some other colour properties too on the various tabs.

    @ajtruckle

    Participant

    I have not really sure how to solve your issue. Have you tried with a default WordPress theme?

    @ajtruckle

    Participant

    Actually, my original question still stands. I had modified this code to add a placeholder (for consistency)

    // ============================================================== 
    //display bbPress search form above single topics and forums
    function rk_bbp_search_form(){
      
        if ( bbp_allow_search()) {
            ?>
    <form role="search" method="get" id="bbp-search-form" action="https://www.publictalksoftware.co.uk/support-forums/search/">
        <div class="trucklesoft-bbp-searchrow">
            <label class="screen-reader-text hidden" for="bbp_search">Search for:</label>
            <input type="hidden" name="action" value="bbp-search-request">
            <input tabindex="101" type="text" value="" name="bbp_search" id="bbp_search" placeholder="Type Search Term ...">
            <input tabindex="102" class="button" type="submit" id="bbp_search_submit" value="Search">
        </div>
    
        <div class="gdpos-power-link">
            <a href="https://www.publictalksoftware.co.uk/support-forums/search/">Advanced Search</a>
        </div>
    </form>        <?php
        }
    }
      
    add_action( 'bbp_template_before_single_forum', 'rk_bbp_search_form' );
    add_action( 'bbp_template_before_single_topic', 'rk_bbp_search_form' );
    // ==============================================================

    Now I would also like to add this placeholder to the search form here:

    https://www.publictalksoftware.co.uk/support-forums/

    It shows OK everywhere else, example:

    Frequently Asked Questions

    Thank you.

    @ajtruckle

    Participant

    Thanks for sharing that. I think you must deal with one issue at a time.

    You state it should have 5 root forums and only displays 1. Have you double-checked the configuration for these 5 root forums?

    @ajtruckle

    Participant

    Please ignore.

    I simply use:

    /* Widen the search form */
    #bbp-search-form > div:first-of-type { display: flex; }
    #bbp-search-form #bbp_search { flex: 1; margin-right: 5px; }
    #bbp-search-form #bbp_search_submit { margin-top: 0px; margin-bottom: 0px; }

    @ajtruckle

    Participant

    At the moment I added this additional styling:

    #bbp-search-form > div { display: flex; }
    #bbp-search-form > div input[type=text] { flex: 1; }

    @ajtruckle

    Participant

    I suggest you use the latest version as a starting point. Next, actually provide a link to your forum root page.

    @ajtruckle

    Participant

    The latest is 2.6.5:

    bbPress

    @ajtruckle

    Participant

    And remember you have to set recaptcha up and have a site key and secret.

    @ajtruckle

    Participant

    It is possible:

    Register

    I use Advanced noCaptcha & invisible Captcha (v2 & v3). See:

    View post on imgur.com

    I should also point out that I use “Theme My Login” plugin and use my own actual page, which has this shortcode on it:

    [theme-my-login action="register"]

    I have found this to be the best solution. The above and the “WP security Questions” when I can ask additional question and check their reply.

    @ajtruckle

    Participant

    That is interesting to know. I didn’t realise there was a filter.

    The logic you describe sounds sensible. I have had to cache values in my InnoSetup installers for performance reasons too.

    Maybe one day I will have a look at this and see if I can write a hook. Is it documented? For example, how do we know what the function definition should be in the php file?

    @ajtruckle

    Participant

    Fixed:

    input[type="text"]#bbp_topic_title,
    input[type="text"]#bbp_topic_tags {
    	width: 100%;
    }

    This way I don’t affect the checkbox type controls. Now all OK.

    @ajtruckle

    Participant

    I checked the functions.php file, line 353:

    	// Forums
    	$forum_count = ! empty( $r['count_forums'] )
    		? wp_count_posts( bbp_get_forum_post_type() )->publish
    		: 0;

    So this is a bbPress issue, part of the function bbp_get_statistics. Is there anyway for me to correct this logic without modifying the core …?

    @ajtruckle

    Participant

    The reason for the issue is because I have this custom CSS that has a side effect on the check box:

    /* Topic Title */
    input#bbp_topic_title, input#bbp_topic_tags {
    	width: 100%;
    }

    This is causing that check box to take on 100% with instead of 13px like the other check boxes. I need to find a way of being able to make my changes above without causing the side effect to the third check box.

    You see, when creating a topic or reply we have a list of tags in a input box and in that context I want 100% width. But when merging topics we are using the same ID for some reason for tags check box and as a result I have a conflict.

    Is there a way to resolve it? Thanks.

Viewing 25 replies - 101 through 125 (of 399 total)