Forum Replies Created
-
In reply to: “Reply To” Combo – When editing a “Reply”
Any clarification about this please? Thank you.
In reply to: Block a user and delete all his topics and repliesYou 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.
In reply to: Removing Private: prefix from breadcrumbsThis 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; }
In reply to: Need Help Changing the ColorsWelldone.
BTW you can share images if you put them on imgur website and paste the link in your topic.
In reply to: Need Help Changing the Colors#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.
In reply to: Need Help Changing the ColorsCan we have a link to the page please.
In reply to: Need Help Changing the ColorsPerhaps all you need to use is:
#bbpress-forums div.bbp-topic-header, #bbpress-forums div.bbp-reply-header { }
In reply to: Need Help Changing the ColorsHave 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.
In reply to: Need Help Changing the ColorsYou 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.
In reply to: Block a user and delete all his topics and repliesI 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/
In reply to: Favourites button not showing.Have you inspected the source via the browser just to see if it is there and not being hidden by some CSS styling?
In reply to: Need Help Changing the ColorsCan 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.
In reply to: bbPress forum blank pageI have not really sure how to solve your issue. Have you tried with a default WordPress theme?
In reply to: Using my search form on the main forum page?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:
Thank you.
In reply to: bbPress forum blank pageThanks 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?
In reply to: Using my search form on the main forum page?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; }
In reply to: Using my search form on the main forum page?At the moment I added this additional styling:
#bbp-search-form > div { display: flex; }
#bbp-search-form > div input[type=text] { flex: 1; }In reply to: bbPress forum blank pageI suggest you use the latest version as a starting point. Next, actually provide a link to your forum root page.
In reply to: bbPress forum blank pageThe latest is 2.6.5:
In reply to: How to mitigate spam registration?And remember you have to set recaptcha up and have a site key and secret.
In reply to: How to mitigate spam registration?It is possible:
I use Advanced noCaptcha & invisible Captcha (v2 & v3). See:
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.
In reply to: Problem with the Forum Statistics widgetThat 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?
In reply to: Moving a reply to a new topicFixed:
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.In reply to: Problem with the Forum Statistics widgetI 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 …?In reply to: Moving a reply to a new topicThe 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.