Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for ' . default . '

Viewing 25 results - 626 through 650 (of 6,789 total)
  • Author
    Search Results
  • #215783
    berry metal
    Participant

    Hi again,

    I added this code:

    if ( function_exists( 'bbp_enqueue_script' ) && function_exists( 'bbp_get_version' ) ) {
        bbp_enqueue_script( 'bbpress-engagements', 'js/engagements.js', array( 'jquery' ), bbp_get_version(), true );
    }

    so now it looks like this:

    add_shortcode( 'bbpresscomments', function() {
        $output     = '';
        $current_id = function_exists( 'vcex_get_the_ID' ) ? vcex_get_the_ID() : get_the_ID();
        $topics = new WP_Query( array(
            'post_type' => 'topic',
            'posts_per_page' => -1,
            'fields' => 'ids',
        ) );
        if ( $topics->have_posts() ) {
            // enqueue scripts on this next line...
            if ( function_exists( 'bbp_enqueue_script' ) && function_exists( 'bbp_get_version' ) ) {
        bbp_enqueue_script( 'bbpress-engagements', 'js/engagements.js', array( 'jquery' ), bbp_get_version(), true );
    }
            foreach( $topics->posts as $topic ) {
                if ( get_the_title( $topic ) == get_the_title( $current_id ) ) {
                    $output .= do_shortcode( '[bbp-single-topic id="' . intval( $topic ) . '"]' );
                }
            }
        }
        return $output;
    } );

    because I can see that code that enables all functionality including AJAX, is only enqueued for bbPress pages:

    https://github.com/bbpress/bbPress/blob/afa6030c3e27c4fe582743074a603d25b5e4de48/src/templates/default/bbpress-functions.php#L151

    And it’s not enabled for bbPress shortcodes.

    Is this right?

    Could you please tell me what is wrong with my code, and why cannot I enqueue the scripts that will enable AJAX for the shortcodes?

    Instead of proper enqueuing, my code makes the buttons not work at all, when I click on them, nothing happens.

    #215781
    Adam
    Participant

    Interestingly, the forum font names are inherited from the Google Fonts plugin I’m using, which is great.

    Presumably you don’t specify a default font name then? Is there a major reason why you specified a default font size?

    #215775
    Adam
    Participant

    Hi Robin,
    I could do a child theme and CSS if that’s necessary but I am trying to figure out whether it is actually necessary.

    If you look at the page I’ve linked to – the topics index for the single forum on my website I believe – then I assume you’ll see the same as me, which is that there is the massive page title, which is default Twenty Twenty theme like the rest of the website, and there is the tiny bbPress text, inc. forum information, pagination text, topic title etc.

    I tried changing the forum information font size in the Topics Index Styling tab but it had no effect. Am I using the wrong bbPress Style Pack tab?

    #215773
    yurius
    Participant

    When I input terms to the search form, it redirect to index.php.
    <?php bbp_get_template_part( 'form', 'search' ); ?>

    I went through troubleshooting here and changed search slag to ‘find’ but it couldn’t resolve.

    Search Redirects to Front Page


    I also tried common troubleshooting here: https://codex.bbpress.org/getting-started/troubleshooting/
    Nothing changed.

    It seems my customized theme causing an issue because it worked when I switched to the default ‘Twenty Nineteen’ theme it worked.
    But I have no idea which part is causing the issue. Can somebody help?

    #215679
    Adam
    Participant

    Hi,

    sorry for the noob question, hopefully the answer’s easy, but I can’t figure it out or find an answer online. Slightly overwhelmed by the 25 tabs on the bb style pack settings.

    I just installed bbpress and the style pack on my WordPress site and set up my single forum here:

    North London Low Carbon Future Group

    However the font size is tiny. I’m using theme Twenty Twenty so I figured it should be defaulting to something that blends right in. Isn’t that the way it’s meant to work?

    #215610
    Robin W
    Moderator

    ok, yes bbpress just uses wordpress registration

    it could be an email issue – email is notoriously difficult to get consistent – many email companies see wordpress emails as spam.

    so I’d try the following which is my standard email advice:

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address
    in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit.
    You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Next try switching to smtp email – this page from the host Siteground explains it

    https://www.siteground.co.uk/tutorials/wordpress/use-smtp/

    and of course

    By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics

    so testing would need two email accounts to prove !

    #215607
    Robin W
    Moderator

    looks like a css issue.

    if this is a new installation (that is submit has never shown) then it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215593

    In reply to: Lost Right Sidebar

    Robin W
    Moderator

    hmm.. not really a bbpress issue, and nothing has changed in bbpress recently.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215535
    AndyHenderson
    Participant

    Thanks for spotting that. I’d assumed it was something I had done to disrupt BBPress but I hadn’t spotted the page was being refreshed and that it cleared the Javascript error from the console.

    Until the issue is fixed, a better work-around is to add a filter to functions.php rather than modify the BBPress code directly. That way the fix should survive a BBPress update. I used…

    // Prevent reply button in forums from executing a refresh of the page
    add_filter('bbp_get_reply_to_link', 'ctcFixReplyToLink', 10, 3);
      function ctcFixReplyToLink( $link, $r, $args ) {
        return str_ireplace( '"return addReply', '"event.preventDefault(); return addReply', $link );
      }
    #215493

    In reply to: Forum description

    Robin W
    Moderator

    can only suggest it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215436
    Robin W
    Moderator

    ok, can only suggest you try this, and then discuss with your theme author

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215421
    elangoemperorsite
    Participant

    If you wish to use a different default restriction message for your forums and topics you can customize them from Paid Member Subscriptions -> Settings -> Content Restriction.

    These restriction messages are helpful if you want to have a different marketing copy for forums and topics, leaving the other restricted content with the marketing copy you already have in place.
    Hope this helped you.

    #215408
    Robin W
    Moderator

    bbpress registration just uses wordpress registration, so likely a site/wordpress issue

    copy/paste of my standard advice on email – hopefully it will help

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address
    in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit.
    You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Next try switching to smtp email – this page from the host Siteground explains it

    https://www.siteground.co.uk/tutorials/wordpress/use-smtp/

    and of course

    By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics

    so testing would need two email accounts to prove !

    a298e
    Participant

    I could solve this by

    How to remove default bbPress login?

    Thanks!

    #215340
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #215301
    Robin W
    Moderator

    you need to confirm that it is JUST wplms and bbpress

    follow this

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215295
    Robin W
    Moderator

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back
    and of course

    By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics

    so testing would need two email accounts to prove !

    #215285
    albertoe
    Participant

    yes I see.

    And how is possible Visual Editor mantein this format wrong format but if you change to HTML editor, is OK?

    How can I do to restore de default format of visual editor?

    #215283
    Robin W
    Moderator

    if you decativate and delete the plugin and then re-install, then forums, topics etc. will be kept, but css will revert to default

    #215241
    albertoe
    Participant

    Thanks Robin, I check that a bbpress.php was created with this code:

    <?php
    get_header();
    
    ?>
    
    	<div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
    		<div class="td-container">
    			<div class="td-pb-row">
                    <div class="td-pb-span8 td-main-content">
                        <div class="td-ss-main-content">
                            <?php
                                if (have_posts()) {
                                    while ( have_posts() ) : the_post();
                                        ?>
                                        <h1 class="entry-title td-page-title">
                                            <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a>
                                        </h1>
                                        <?php
                                        the_content();
                                    endwhile; //end loop
                                }
                            ?>
                        </div>
                    </div>
                    <div class="td-pb-span4 td-main-sidebar">
                        <div class="td-ss-main-sidebar">
                            <?php dynamic_sidebar( 'td-default' ) ?>
                        </div>
                    </div>
    			</div> <!-- /.td-pb-row -->
    		</div> <!-- /.td-container -->
    	</div>
    <?php
    get_footer();
    ?>

    And I change with for this code:

    <?php
    get_header();
    
    ?>
    
    	<div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
    		<div class="td-container">
    			<div class="td-pb-row">
                    <div class="td-pb-span8 td-main-content">
                        <div class="td-ss-main-content">
                            <?php
                                if (have_posts()) {
                                    while ( have_posts() ) : the_post();
                                        ?>
                                        <h1 class="entry-title td-page-title">
                                            <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a>
                                        </h1>
                                        <?php
                                        the_content();
                                    endwhile; //end loop
                                }
                            ?>
                        </div>
                    </div>
    			</div> <!-- /.td-pb-row -->
    		</div> <!-- /.td-container -->
    	</div>
    <?php
    get_footer();
    ?>

    I refresh cache but nothing happends. Any idea?

    #215211

    In reply to: 404 error issue

    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #215197
    wjh
    Participant
    • WordPress 5.4.2
    • bbpress 2.6.5
    • Buddypress 6.3.0 w/ Activities module activated
    • bbp Style pack w/ both form editors (TinyMCE + text) activated
    • bbp Mentions suggest

    The bbp Mentions suggest plugin by the venerable @robin-w still works and enables autocomplete mentions in TinyMCE as well as in the Text (HTML) tab of the editor … but only on initial page load, since bbpress 2.6.2.

    Since bbpress 2.6.2, when clicking on Reply to a specific comment on a subject thread, the dynamic reply form now appears under the comment in question, and the window scrolls to it. Which is a very nice improvement! However, this breaks Robin’s plugin for the TinyMCE editor (mentions do still autocomplete in the Text editor, at least).

    I’m not a developer but I’m guessing it has to do with the new version of /bbpress/templates/default/js/reply.js, specifically the addEditor function at the end of the file.


    @robin-w
    any ideas how to get your plugin to play nice with the dynamic reply form in bbpress ≥2.6.2?

    Or anyone else out there?

    Cheers in advance!

    #215159
    Robin W
    Moderator

    In the right sidebar of the Forum Edit page, under Forum Attributes, I select a parent forum from the list. After pressing Update, the field switches back to -No parent-.

    I cannot replicate this – forum parents are saved and can be switched back and forth.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #215060
    Robin W
    Moderator

    wow, could be many of these or combination of them or your theme

    The best I can suggest is

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    #215016
    Robin W
    Moderator

    and read https://bbpress.org/forums/topic/how-to-remove-default-bbpress-login/

    that should work, it might be that another plugin is overriding this.

    what other bbpress related plugins do you have ?

Viewing 25 results - 626 through 650 (of 6,789 total)
Skip to toolbar