Chuckie (@ajtruckle)

Forum Replies Created

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

  • Chuckie
    Participant

    @ajtruckle

    Welldone.

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


    Chuckie
    Participant

    @ajtruckle

    #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.


    Chuckie
    Participant

    @ajtruckle

    Can we have a link to the page please.


    Chuckie
    Participant

    @ajtruckle

    Perhaps all you need to use is:

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

    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    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/


    Chuckie
    Participant

    @ajtruckle

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


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

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


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    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?


    Chuckie
    Participant

    @ajtruckle

    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; }

    Chuckie
    Participant

    @ajtruckle

    At the moment I added this additional styling:

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


    Chuckie
    Participant

    @ajtruckle

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


    Chuckie
    Participant

    @ajtruckle

    The latest is 2.6.5:

    bbPress


    Chuckie
    Participant

    @ajtruckle

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


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    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?


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    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 …?


    Chuckie
    Participant

    @ajtruckle

    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.


    Chuckie
    Participant

    @ajtruckle

    I find it interesting that even with my new theme (which behaves way better than my previous) that the check box is still central:

    View post on imgur.com


    Chuckie
    Participant

    @ajtruckle

    This is resolved for me now as I am using a new theme Unos Business premium. 🙂


    Chuckie
    Participant

    @ajtruckle

    The only limitation is that of WordPress itself. You can’t have more than the fixed number of sub-menus. But atleast you can configure many things in a nice way. 🙂 Now my menu in the backend has some kind of order! 🙂

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