Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,251 through 8,275 (of 32,505 total)
  • Author
    Search Results
  • #164750
    Robkk
    Moderator
    #bbpress-forums fieldset.bbp-form input[type=text] {
        border: 1px solid #e4e4e4;
        padding: 0.5em 0;
    }

    `

    #164748
    Robkk
    Moderator

    If you guys haven’t already try some troubleshooting.

    Troubleshooting

    Also check out these possible solutions for this specific error.

    https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error

    #164727
    Robkk
    Moderator

    If you are talking about the email, website, and name fields this will do it.

    #bbpress-forums fieldset.bbp-form {
        padding: 0!important;
    }
    #164712
    x0rchid
    Participant

    I want to embed a forum in a page, such that the user doesn’t leave the page when creating or viewing a topic. I.e unlike the code [bbp-single-forum id=$id], the user stays in the same page

    Is there a simple way to do this?

    #164707
    Robkk
    Moderator

    @steo83

    This topic was for issues made in bbPress version 1 which was a standalone version, the latest is a plugin for WordPress. The registration process on your site is mostly handled by WordPress. bbPress does have a registration form shortcode, but even that kind of piggybacks off of the WordPress registration form. If there is something wrong with your regular WordPress emails, which might include new comment emails for WordPress comments then you definitely need to hear from your hosting provider. If it is just the registration emails sent to users, you might need to contact WordPress support on their forums. https://it.wordpress.org/forums/

    #164706
    Robkk
    Moderator

    Try some troubleshooting to see what could be causing the issue.

    Troubleshooting

    #164699
    Robkk
    Moderator

    This custom CSS might help.

    #bbpress-forums #bbp-user-wrapper ul.bbp-replies {
        clear: both !important;
    }

    Off topic but I really like the color scheme you have going with your site.

    #164681
    HansRuedi
    Participant

    I have add_filter( 'auto_update_translation', '__return_false' ); in my functions file but bbpress language files are updated anyway. What can I do to stop it? Thanks for help!

    #164680
    Robkk
    Moderator

    What about this?? It will hide @mentions in bbPress forums though.

    .activity-list .bbpress, 
    .activity-list .bbpress {
    	display: none;
    }
    #164654

    In reply to: Importing from WBB4

    Robkk
    Moderator

    @sammmmy

    See if this helps any.

    Import Troubleshooting

    #164652
    Robkk
    Moderator

    Thanks you for sharing your fork.

    Have you read this for that freezing issue??

    Import Troubleshooting

    Robkk
    Moderator

    Its not a plugin specific error. Your server just can’t handle too much memory usage. WordPress may need more memory to use for your site. It has increased the minimum requirements before.

    https://core.trac.wordpress.org/ticket/21646

    You can follow the link I placed above then follow another link to show you some code to add to your wp-config.php file and see if that fixes your issue, in most cases it likely will. In some situations your server will cap the allowed memory so you may need to contact them about increasing it more.

    If you want you can also google your issue and you will see countless posts on the wordpress.org forums about this, and they have the same exact answer.

    Robkk
    Moderator

    There is probably a better way then CSS but it is all I could find real quick.

    Does this work??

    .activity-list li.bbp_topic_create, 
    .activity-list li.bbp_reply_create {
        display: none;
    }
    Robkk
    Moderator

    Yeah this issue is not because of the bbPress plugin but your site does not have enough memory.

    https://codex.wordpress.org/Common_WordPress_Errors#Allowed_memory_size_exhausted

    Robkk
    Moderator

    You have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.

    Getting Started in Modifying the Main bbPress Template

    #164627
    drinkingsouls
    Participant

    Basically when I activate bbPress on my blog the log out links no longer work. It seems to append a redirect to the end of log out links which prevents it from working. I’m not sure why but it’s definitely to do with bbPress.

    Here is the logout anchor tag when bbPress is deactivated (works)
    <a href="http://test.webshrimp.uk/wp-login.php?action=logout&_wpnonce=1ef350795a">Log out</a>

    Here is the anchor tag when bbPress is activated – doesn’t do anything
    <a href="http://test.webshrimp.uk/wp-login.php?action=logout&_wpnonce=1ef350795a&redirect_to=http%3A%2F%2Ftest.webshrimp.uk%2F%3Floggedout%3Dtrue">Log out</a>

    Any help would be greatly appreciated.
    Thank you.

    #164621
    PinkishHue
    Participant

    I’m assuming by category you mean the forum that the topic is in?

    You can remove the forum dropdown menu and use a hidden field here instead.

    In your theme you need to have this file:

    wp-content/your-theme/bbpress/form-topic.php

    If you don’t have it, copy it over from the bbpress default templates at:

    wp-content/plugins/bbpress/templates/default/bbpress

    Then open your new form-topic.php in a text editor and find this part of the code:

    <p>
    	<label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br />
    	<?php
    		bbp_dropdown( array(
    		'show_none' => __( '(No Forum)', 'bbpress' ),
    		'selected'  => bbp_get_form_topic_forum()
    		) );
    	?>
    </p>

    and replace it with this:

    <input id="bbp_forum_id" type="hidden" name="bbp_forum_id" value="20">

    Where 20 is the ID no. of the forum you want all topics to be created in.

    Hope that helps 🙂

    #164616
    killer_x10
    Participant

    You could’ve added a function to allow extra tags though.

    I think most people prefer bbcode in the Forums and besides I’m not a Developer, I know very little js and just started with php (You could call me Web Designer though).

    But the close Tags isn’t still working for me, I think I’m just gonna publish the Site without that functionality.

    #164615
    Robkk
    Moderator

    Found this snippet earlier this week, this should help not allow guest users to see BuddyPress Profiles.

    /**
    * Redirect buddypress and bbpress pages to registration page
    */
    function kleo_page_template_redirect()
    {
        //if not logged in and on a bp page except registration or activation
        if( ! is_user_logged_in() && ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) {
            wp_redirect( home_url( '/register/' ) );
            exit();
        }
    }
    add_action( 'template_redirect', 'kleo_page_template_redirect' );
    #164611
    Robkk
    Moderator

    I’ve looked inside the loop-forums.php template, then found this <?php do_action( ‘bbp_template_before_forums_loop’ ); ?> being executed. Which template file is bbp_template_before_forums_loop pulling from ?

    Sorry for the late reply, but that is a hook. If you want the login form only above the forum index just echo the shortcode like so above or below that hook.

    <?php echo do_shortcode("[shortcode]"); ?>

    or if you are pretty good with PHP just use the hook.

    If you want the login form above all bbPress pages, you might have to consider echoing the shortcode in a bbpress.php file.

    Getting Started in Modifying the Main bbPress Template

    #164608
    Robkk
    Moderator

    If what you are looking for is to remove the

    This topic contains blah blah blah

    Look for this in content-single-topic.php

    <?php bbp_single_topic_description(); ?>

    You can also use a function snippet like this to remove it for Forums and topics.

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }
    #164607
    Robkk
    Moderator

    Try some troubleshooting especially the Theme and Plugin steps.

    Troubleshooting

    #164605
    Robkk
    Moderator

    You have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.

    Getting Started in Modifying the Main bbPress Template

    #164603

    In reply to: Image

    Robkk
    Moderator

    Add all this CSS, it fixes the issue you have created this topic for and whatever else I could find on your site.

    #bbpress-forums .reply a {
        padding: 0;
        display: inline-block !important;
        text-align: inherit!important;
    }
    
    #bbpress-forums .reply a:hover {
        background-color: transparent !important;
    }
    
    #bbpress-forums li.bbp-topic-voice-count, 
    #bbpress-forums li.bbp-topic-reply-count {
        color: inherit;
    }
    
    #bbpress-forums #content p{
        text-align: inherit;
    }
Viewing 25 results - 8,251 through 8,275 (of 32,505 total)
Skip to toolbar