Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 3,201 through 3,225 (of 32,457 total)
  • Author
    Search Results
  • mvaneijgen
    Participant

    @johnjamesjacoby that sounds amazing! I’ve did some digging already, but I couldn’t find an easy fix to get it working again.

    If you’ve some pointers to get the code from
    Sven (https://wpup.co/bbpress-threaded-nested-replies-with-paging/) working with the latest version, I’ll gladly do some testing.

    #207011
    9march
    Participant

    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,

    #206982
    Rodrigo
    Participant

    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?

    #206978
    Chuckie
    Participant

    Please look here:

    Compact Workbook Schedule – With Student Assistants

    I would like to find a replicating the code snippets like on my posts in BBPress and have not found a solution.

    I would suggest starting with 2.6 instead. There are so many improvements since 2.5, you’ll want to make sure you have them all. The farther behind you’re working, is the more work you’ll end up needing to do later.

    The code changes in your original post are all still pretty close to correct if you want to make paginated hierarchical replies work like Comments do. If you need more help, I can guide you here for the time being. Then maybe we can take that work and turn it around into getting it done for 2.7. What do ya say? 😄

    If we can’t see your forums, we can’t debug them.

    You’ll need to make someone an account so they can login and browse around and see what you see. Screenshots simply aren’t enough to help anyone. We’ve gotta see the code, inspect it, and then recommend changes to improve it.

    #206946

    Engagements.php received a last minute fix specifically for code that is running on WordPress.org. Your best bet is to simply ignore the warning and wait for 2.6.4 to be released next week.

    #206925
    tolgahat
    Participant

    Did he solve this problem? I stayed in the next cycle. constantly repeating itself.

    I’m importing it from mybb.

    
    Toggle panel: Import Status
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    
    9.Calculating topic stickies (50 through 50 of 50)100%
    Oleksandr Kramer
    Participant

    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.

    #206856
    chanwood
    Participant

    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

    #206851
    unclemiru
    Participant

    Thank you for the answer, @robin-w.
    when I Enable WP_DEBUG – wordpress wp-config.php
    define( 'WP_DEBUG', true );
    the errors occur…

    #206830
    joswrigh1
    Participant

    I’ve figgered it out after looking at the code thanks!

    Problem was, I had a plugin called hide admin bar.

    And in the ‘reply.min.js’ file, the code needs the ID of ‘wpadminbar’ to jump to the top.

    This was missing therefore giving a ScrollHeight error in the console.

    To fix this is added an if else statement, if id ‘wpadminbar’ is not available, user id of ‘header’.

    #206827
    Chuckie
    Participant

    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.

    #206821
    unclemiru
    Participant

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

    #206814
    randrcomputers
    Participant

    I am also seeing this problem. I added @ajtruckle code to my childs function.php and will see if it helps. frustrating as bbpress dont email admin about pending posts/topics or replies so hard to keep track. hope the code works until they get it sorted out.

    #206768
    beat sk
    Participant

    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

    #206745
    Chuckie
    Participant

    Resolved:

    // ==============================================================
    // Switch off Theme My Login notifications because WP Approve User manages it
    add_filter( 'tml_send_new_user_notification', '__return_false' );
    add_filter( 'tml_send_new_user_admin_notification', '__return_false' );
    // ==============================================================
    #206736
    Robin W
    Moderator

    bbpress just uses your theme’s font, so theme related.

    you can amend the css

    bbPress Styling Crib

    #206723
    andrew55
    Participant

    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

    #206705
    Danishsard
    Participant

    I mean if where is the list of changes published bbpress codes to know what codes are where found in what line changed etc.

    For example, the page template has visible changes https://themes.trac.wordpress.org/changeset/111632/anima/1.4.0?old&old_path=%2Fanima%2F1.3.0.2

    Is somewhere the same thing about bbpress?

    #206695
    Danishsard
    Participant

    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.

    #206677
    rhysedwards
    Participant

    The menu doesnt really work atmo.

    This is a page called forum, where i have put the shortcode into the content: http://209.97.138.158/?page_id=28

    This is a link directly to a forum:

    Home

    Chuckie
    Participant

    I added some CSS styling to make the error notices stand out on my site:

    #bbpress-forums div.bbp-template-notice.error {
    	background: #fff !important;
    	padding: 2px !important;
    	border: solid 4px #000 !important;
    	outline:#ff0 solid 4px !important;
    	border-radius: 0px;
    }
    
    #bbpress-forums div.bbp-template-notice.error li {
    	color: #000 !important;
    }

    I am very happy with that. It is just this issue of bbPress jumping to the top of the topic rather than the actual error notice it has created in the reply forum.

    Is there a workaround for that or must it be fixed by bbPress authors?

    Danishsard
    Participant

    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.

    #206654
    brownbagmarketing
    Participant

    I tried some of those steps.

    But looking at the MemberPress plugin code, it looks like no matter what the [bbp-forum-index] shortcode would not trigger a login form.
    And not only for that shortcode, but it exposed all content on the entire page to a non logged in user.

    I’ll play around with your suggestion some more as I don’t like the thought of overriding the memberpress plugin filters like this.

    Thanks

Viewing 25 results - 3,201 through 3,225 (of 32,457 total)
Skip to toolbar