Search Results for 'code'
-
Search Results
-
Hi
Can anyone please help with with the right css code to use to hide the ‘website’ field for guest users who want to reply.
Thanks,
Hi,
I’m creating a forum with bbPress in which I want to run only a forum/”room”, showing all the topics in the front page. I achieved that in settings, selecting that the forum root should show most recent topics.
On the front page, however, I wish any user could post new topics straight from a form. So, I opened
content-archive-topics.php
and add this line of code right after the topics’ loop:<?php bbp_get_template_part( 'form', 'topic' ); ?>
It worked like a charm, except only for admins. Participants (the role) are shown a message saying they aren’t allowed to post topics. On the other hand, when a participant enter the (only) forum page, the form appears working below the topics.
Any idea about how to fix this?
Topic: Code example window
Please look here:
I would like to find a replicating the code snippets like on my posts in BBPress and have not found a solution.
Custom Field doesn’t work with bbpress 2.6 and above
I use custom fields for bbpress topics.
I tried to turn off all plugins and change the theme to default but always receive next javascript error in the console:load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=5.3.1:4 POST https://test.3d-kstudio.com/wp-admin/admin-ajax.php 400 send @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=5.3.1:4 ajax @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=5.3.1:4 ajaxAdd @ load-scripts.php?c=0&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,wp-ajax-response,jquery-color,wp-lists,jquery-ui-sortable,postbox,jquery-ui-position&load[chunk_1]=,jquery-ui-menu,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,wp-sanitize,post,editor-expand,thickbox,shortcode,backbo&load[chunk_2]=ne,wp-util,wp-backbone,media-models,wp-plupload&ver=5.3.1:9 i.wpList.<computed> @ load-scripts.php?c=0&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,wp-ajax-response,jquery-color,wp-lists,jquery-ui-sortable,postbox,jquery-ui-position&load[chunk_1]=,jquery-ui-menu,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,wp-sanitize,post,editor-expand,thickbox,shortcode,backbo&load[chunk_2]=ne,wp-util,wp-backbone,media-models,wp-plupload&ver=5.3.1:9 (anonymous) @ load-scripts.php?c=0&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,wp-ajax-response,jquery-color,wp-lists,jquery-ui-sortable,postbox,jquery-ui-position&load[chunk_1]=,jquery-ui-menu,jquery-ui-autocomplete,tags-suggest,tags-box,word-count,wp-sanitize,post,editor-expand,thickbox,shortcode,backbo&load[chunk_2]=ne,wp-util,wp-backbone,media-models,wp-plupload&ver=5.3.1:9 dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=5.3.1:3 r.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,suggest,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=5.3.1:3
PS. For getting the error the topic must be saved.
Hi,
Can we know how to create bb shortcode to hide portion content (text or URL) in the post or replies?
for example, only logged-in users can view some content/URL in the post/replies.
I saw lots articles to make this work in WordPress post, but could not find for Bbpress.
Please help.
thanks
I have the GD Power Search plugin installed and raised a query here:
https://wordpress.org/support/topic/searching-is-broken/
They stated:
The bbPress search requires to have the search term/keyword present. As a workaround, right now, you can set the keyword to minus sign: -.
But I find that even that is not working on my site.
What are the expected rules for performing searches? With this extra form I can seach by author or tag etc but doesn’t seem quite right.
Topic: errors after updating 2.6.3
After updating 2.6.3, the following error occurs.
Notice: Undefined variable: topic_id in E:\xampp-2\htdocs\test\wp2\wp-content\plugins\bbpress\includes\replies\template.php on line 456 Notice: Undefined variable: topic_id in E:\xampp-2\htdocs\test\wp2\wp-content\plugins\bbpress\includes\replies\template.php on line 461 Notice: Undefined variable: topic_id in E:\xampp-2\htdocs\test\wp2\wp-content\plugins\bbpress\includes\replies\template.php on line 467
wordpress
config.php setting
define( ‘WP_DEBUG’, true );Hello,
Is there any function or something for the nickname field to take data from username field and possible to save the profile? I’ve tried everything but I can’t do it.
I don’t want users to be able to change their name at all times, but only administrators will be able to change it through the dashboard.I am editing bbpress form-user-edit.php in my child-theme. But still got only ERROR: Please enter a nickname.
<div> <label for="first_name"><?php esc_html_e( 'First Name', 'bbpress' ) ?></label> <input type="text" name="first_name" id="first_name" value="<?php bbp_displayed_user_field( 'first_name', 'edit' ); ?>" class="regular-text" /> </div> <div> <label for="last_name"><?php esc_html_e( 'Last Name', 'bbpress' ) ?></label> <input type="text" name="last_name" id="last_name" value="<?php bbp_displayed_user_field( 'last_name', 'edit' ); ?>" class="regular-text" /> </div> <div> <input type="hidden" name="nickname" id="nickname" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> </div>
Thank you.
beat
Topic: 404 after update
When recently updating to 2.6.2 version of bbPress, I am getting 404s when new user arrives on homepage of forums. 404s are visible to user and showing in logs. When page is hard refreshed, forums show up.
But strange, if, if user goes to link within forums (topic, etc.), no 404s occur.
I am using bbp-forum-index shortcode on homepage of forums. I did a test and issue doesn’t occur when shortcodes aren’t used (no 404), but of course, no forums are available.
With shortcodes, even through 404s occur, the sidebar displays and shows the user’s logged-in info (avatar, etc).
Issue seems to only occur when user is logged in and visits forums. I have forums on their own WordPress installation within a directory of main site.
I thought it might have been cache, but issue still occurs when cache is disabled.
Here is link to site:
https://www.lifeleap.org/community/
Any suggestions on what might be occurring or what I do to troubleshoot issue? Thanks for any help
Hello, where can you see what code and file changes are made in each bbpress update?
I have a forum on bbpress https://infomiasto.eu/forum/tematy/rozmowy/ but if the update is manual changes to the code will be lost – I want to see where the code changes during each update.
My page template has something such that I always see what code and where it changes on the wordpress page in bbpress, I don’t know where to look for such information if you wanted to manually paint it in the template. I am asking for help.
Hello, I would like my forum to be set up in css and some pages code by myself. https://infomiasto.eu/forum/tematy/rozmowy/ I have a question how to do it in the sense of the template folder bbpress does not contain everything, many things appear on the forum – the description frame is after the template layout
How to do it so that you don’t lose those data when updating – because I want to remove a lot of what the forum displays, columns of voices, description frame and this type.