Search Results for 'code'
-
Search Results
-
Topic: Turn off @mentions
I’ve been trying to turn off mentions using:
add_filter( 'bbp_find_mentions', '__return_false' );and
add_filter( 'bp_activity_do_mentions', '__return_false' );but it’s not working. Has this changed in v2.6?
Running bbPress v2.6-rc-7 and buddypress 4.3.0
I want to turn it off as it’s not required by the site, but mainly that it breaks URLs that happen to contain a username as described here.
Any ideas on how I can turn off @mentions?
What is the secret to modifying/changing the query on the topic archive page? I want to list all topics on that page rather than have 16, and i do not want pagination. On normal wordpress post types this is easily done with pre_get_posts filter. But how is it done with bbpress?
I have tried this:
function bbp_change_topic_archive_query_args( $query = array() ) { $query['order'] = 'asc'; $query['orderby'] = 'title'; $query['post_count'] = -1; $query['posts_per_page'] = -1; return $query; } add_filter('bbp_has_topics_query','bbp_change_topic_archive_query_args');and this: (but this requires a shortcode to work properly)
function bbp_my_register_custom_views() { bbp_register_view( 'asc', __( 'A-Z' ), array( 'orderby' => 'title', 'order' => 'ASC', 'post_count' => '-1', 'posts_per_page' => '-1', 'hide_empty' => false, ), false ); } add_action( 'bbp_register_views', 'bbp_my_register_custom_views' );What else can be done?
This has to be possible.wp v5.2.2, bbp 2.5.14
site is a pw protected site. I can give access privately if necessary.Thanks!
We have an HTML5 website using SimpleCMS, and a linked WordPress blog. I have installed the WordPress bbPress forum plugin on that blog site. When it seemed like it was lacking what appeared to be some pretty basic controls, I also installed the bbPress Toolkit plugin.
Since that also seemed to lack what to me should have been basic components of a working forum, I also installed the bbPress WP Tweaks plugin. It amazes me that a tool that is this popular seems to lack simple ordinary functions like clear login and registration tools that link directly to the forum.
Using the shortcodes, I created separate pages for login, registration and lost passwords, but once logged in, it still does not take the user to the main forum page. In fact, it goes nowhere. I would think that there should be a simple field for adding the path to the forum to which the user would be registering or logging in, but there isn’t. Instead, it just states “You are already logged in.” on the login screen with no link to anywhere else.
Can someone please explain to me how I can get the login to take the user to the actual forum page after they login? To me this should be automatic, but for some reason it is unnecessarily complicated.
Also, is there not a way to manage the subscription without requiring the user to have a WP or bbPress account? All I want is a private forum with users who can create their own usernames and passwords to login and share information, without that user data being shared with anyone else. For some reason, this simple task seems to be too much to expect.
So unless I’m doing something completely wrong (which is entirely possible), I need a way to resolve this with the tools available in bbPress. Any practical solutions are welcome. Thanks.
Hi,
Over the past few weeks I’ve been customizing bbress to my liking using the live css editor in wordpress.
I tried moving it all to a stylesheet within my child theme in a folder called css.
I’ve named the file bbpress.css.Everything was working fine in the wordpress editor, but after moving it to bbpress.css a lot of things no longer work.
Even when I try !important, a lot of things still don’t to work.I should note that some of the code does work which is why this confuses me.
Any suggestions?WordPress 5.2.2
BBPress 2.5.14
https://flippednormals.com/forums