Search Results for 'code'
-
Search Results
-
I’ve set up a set of discussion forums on a site. Now I want to the purpose of each forum to be clear.
One forum is called ‘Introductions’.
I’d like to have a message on the page saying something like “Hi. This is where we get to know each other”.I guess I could hack up something with ACF and put some logic in the page template that shows the forums. But I’m wondering if there’s a faster option.
Is there an inbuilt way to make add non-hardcoded content to the forum pages?
Topic: The matter of backslashes
Hello,
Some mathematical objects written in mathjax/latex use backslash (\). For example, one use \sqrt{} for the square root function, \mathbb{} for the set of numbers. In bbpress forums, these objects work perfectly but when the forums are displayed in buddypress activities streams, the backslash disappears and therefore the mathematical symbols are not rendered and make the texts difficult to read. If the texts are typed directly in buddypress side, things are also alright. So, the problem seems to be in the transition from forum to the buddypress activities.
I tried some solutions but nothing work. For example, I tried this solution:
remove_filter( ‘bp_get_the_topic_post_content’, ‘stripslashes_deep’ );
but it did not work.
So I am asking for help; how can I do to solve the problem?Thank you in advance
Wordpress 5.7.2
bbpress 2.6.6Regards
Nestor
I’ve installed bbpress and created a set of forums.
On the forums page of my website, a linked list of forums shows… which is great.
However, I now want to alter the order in which the forums are listed.
Usually for post types, the admin screen allows a re-ordering of posts via the ‘quick edit’ link.
However, in the bbpress forums admin screens, forums don’t have the ‘quick edit’ listing.I’ve installed and configured a couple of plugins that allow admins to re-order post types. These don’t seem to touch bbpress forums.
At a last resort I’m sure I could find a code snippet online. But I’d like to work within the CMS admin as much as I can.
Is there a way to alter the order of the bbpress forums list display without falling back to code?
I am thinking about editing what the shortcode [bbp-single-view id=’popular’] displays. What I would like to change it to is to display the most popular topics per day. For example, a topic that has 10 replies one day and so classed as ‘popular’ has 1 the next day and so it is no longer on the list.
I have made a function that returns the number of replies in the current day by using the topicID but I am unsure where to go from here, to link it to this feature.
Any help is greatly appreciated!
Topic: Too many search forms
When I use the bbPress forum search form, it adds it to the search form that was already there, so now there are two. I’d prefer to only have one, the bbPress one. I thought removing the one that was already there would be a WordPress problem (not a bbPress problem) because, to remove it, I could use the Disable Search plugin or the code at
https://www.wpbeginner.com/awp-tutorials/how-to-disable-the-search-feature-in-wordpress/
with Code Snippets. But, neither of those two methods worked. I couldn’t find the form that was already there at the widgets page. I also couldn’t remove it by customizing a header. I know that this might seem like more of a WordPress or theme problem, but because bbPress has the option of adding its forum search form, I thought a lot of people who use bbPress might wind up with too many forms (and bring it up at this forum). But, I couldn’t find anyone who has the same problem as me, at this forum. My site is at dancing4locations.org. There, you can see the bbPress form that I want to keep below the login form, and the form that I want to remove (which is to the left of the login form).
Thank you.
I’m new at this, so this might not be a good question. Can I use
Dashboard: Appearance > Customize > Additional CSS
to make “No Topics” go away? If not, is there an “easy” way to do it, that just involves pasting code somewhere?
I was able to make my site look nice using < li >, except for the fact that “No Topics” showed up scattered all over the page. I used < li > in one category or forum, and it effected all the others, which was good. So, now I’m trying to make “No Topics” go away.
My site is at dancing4locations.org. If you go to my site now, it doesn’t look as good as it did before, when I was using parents (with < li >). I’m using version 5.5.5 of WordPress, and version 2.6.6 of bbPress.
I’m sorry that my last post was marked as spam. It think it had to do with the fact that I didn’t put spaces between <, li, and >, and I kept on trying to edit it.
Thank you.
I want to make changes to the forum without using plugins, I want to mess with the code, but I don’t know where I get it and where to start
Hi,
Have two bbpress forums on a webpage, a public one, for “usual” registered users, and private one, for “special” registered users.
Used bbp private groups plug-in to create both groups.
Would like to hide private forum menu item from the general registered users (not redirect to some custome page on something).
Asked the question on plugin’s support page, but got no answer.
Is there any code snippet or something I could use to hide the menu item which opens private forum? Now i get 404 error.