Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 12,126 through 12,150 (of 64,454 total)
  • Author
    Search Results
  • #172319
    Robin W
    Moderator

    ok, sorry been tied up elsewhere, and only just got back to looking at this.

    I think I can get it working and would suggest you do the following

    1. take a copy of page.php and save it into your theme as bbpress.php

    so you end up with

    wp-content/themes/%mytheme%/bbpress.php where %mytheme% is your currently active theme’s name.

    Now edit that file as follows

    The theme seems to be looking for a value of the sidebar for the post meta of the page ID. Since I suspect that bbpress is not having that at that point, it can’t look it up.

    Now the page.php (which is now bbpress.php!) tries to set this in line 4 using

    $sidebar = get_post_meta($id, "qode_show-sidebar", true);

    and then the page.php (which is now bbpress.php!) later on looks for what value between 1 and 4 that is set to, which would determine what if any sidebars are shown.

    therefore in bbpress.php try changing line 4 from

    $sidebar = 1

    save the file and see what happens

    then try
    $sidebar = 2
    $sidebar = 3
    $sidebar = 4

    each should change what sidebar appears and where, so you should be able to get one working !

    Do come back if anything isn’t clear, or if you need further help, or just to tell us that we’re wonderful (or rubbish!)

    Pascal Casier
    Moderator

    Hi siparker,

    I won’t start about your first line about the ‘money’, but for adding new functionalities of finding code for existing tickets, https://bbpress.trac.wordpress.org is one of the places that can be used for that. If a ticket is there and there is code attached, it makes a fair chance to be added into future versions.

    Pascal.

    Robkk
    Moderator

    Well you cannot modify the functions in the template.php by copying over the file like the file in the bbPress default theme, which is in wp-content\plugins\bbpress\templates\default

    To customize the code in template.php you would have to filter the code. Paste any new functions you create with the filters from the template.php file into a functions.php file in your child theme or in a custom functionality plugin.

    https://codex.wordpress.org/Function_Reference/add_filter

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-5/

    #172311
    abiliocaetano
    Participant

    I used cms2cms to migrate one of my forums.

    in addition to what everyone wrote, I would like to add something very important: keep the SEO juice.

    if you want to keep all your SERP positions in google you must 301 redirect every topic from your old phpbb forum to the new bbpress topics.

    to do this you just have to:

    Open/edit:

    /styles/prosilver/template/overall_header.html
    (or the template you are using)

    search for:

    // Send vars to template
    $template->assign_vars(array(
    ‘FORUM_ID’ => $forum_id,

    and just above this lines add this piece of code:

    ##################################
    $titleac = trim($topic_data[‘topic_title’]);
    $relativeurl = str_replace(‘ ‘,’-‘,$titleac);
    $relativeurl = strtolower($relativeurl);
    header(“HTTP/1.1 301 Moved Permanently”);
    header(“Location: http://www.YOURDOMAIN.com/forums/topic/”.$relativeurl.”/”);
    #####################################

    I have little more detail of the bbpress permalink, etc configurations in this article: http://abiliocaetano.com/seo-migrate-phpbb-to-bbpress/

    regards,

    siparker
    Participant

    @Robkk

    Thanks for drawing some attention to it.

    If you want to get devs interested then money always helps.

    possibly have a central “i want this feature” area where people could individually, or as groups, sponsor certain bits of development? they would need to be core devs to be able to bid on the other jobs and do x amount of commits to qualify

    perhaps automattic could sponsor some initial bits to get it kickstarted again? and my contribution to the url bit id be happy to do the first sponsored fix.
    alternatively being part of the “Best” thing might make a differnce. as WP is arguably the best platform to build a site on out there then bbpress should really be the bbest forum software. buddypress is on its way to being the best social platform, but its the new cool and has left bbpress in the dust. and i still believe that forums are th lifeblood of the internet. social is fun and all but its the serious discussions that affect everything that come from forums.

    kodacollider
    Participant

    Hello. I am trying to customize my bbPress installation, and I want to make some edits to a template file (i.e. /plugins/bbpress/includes/topics/template.php). I don’t want to edit the core file, however, as it may be overwritten by plugin updates?

    I’ve tried placing a copy of this into my child theme’s /bbpress/ folder, as well as a /bbpress/includes/topics/ folder in my child theme, and neither seemed to work.

    Is there a safe way I can edit this file, or is my only option to edit the core file?

    Thanks.

    #172307
    abiliocaetano
    Participant

    Hi all,

    in addition to what everyone wrote, I would like to add something very important: keep the SEO juice.

    if you want to keep all your SERP positions in google you must 301 redirect every topic from your old phpbb forum to the new bbpress topics.

    to do this you just have to:

    Open/edit:
    /styles/prosilver/template/overall_header.html
    (or the template you are using)

    search for:

    // Send vars to template
    $template->assign_vars(array(
    ‘FORUM_ID’ => $forum_id,

    and just above this lines add this piece of code:

    ##################################
    $titleac = trim($topic_data[‘topic_title’]);
    $relativeurl = str_replace(‘ ‘,’-‘,$titulo);
    $relativeurl = strtolower($relativeurl);
    header(“HTTP/1.1 301 Moved Permanently”);
    header(“Location: http://www.YOURDOMAIN.com/forums/topic/”.$relativeurl.”/”);
    #####################################

    I have little more detail of the bbpress permalink, etc configurations in this article: http://abiliocaetano.com/seo-migrate-phpbb-to-bbpress/

    regards,

    #172306
    egroleau
    Participant

    I’m trying to modify the author ID of bbPress topics/replies automatically on submit.

    I’ve tried a few different things but haven’t been able to get it working yet. Any suggestions?

    if(!function_exists(‘user_to_anonymous’)){
    function user_to_anonymous($comment_data){
    $comment_data[‘post_author_id’] = 8;
    $comment_data[‘post_author’] = ‘Robert’;
    return $comment_data; }
    add_filter(‘preprocess_comment’,’user_to_anonymous’); }

    More background info:

    End goal will be to attribute posts to an ‘Anonymous’ user ID so users can to post sensitive content to a group without being identified. Similar to a private post but making their name private, not the post.

    (I’m running WP 4.4.2, bbPress 2.5.8, BuddyPress 2.4.3)

    Thanks for your help!

    #172286

    In reply to: bbp_new_forum hook

    Antipole
    Participant

    Robin.. thanks for pointing to topic-subscribe.

    It works for me mostly. In testing, I found that when a new topic is held for moderation (I have things set for user’s first topic to be moderated), then once the topic is approved all other users get subscribed to the topic except the submitter, who is left unsubscribed. I guess the approval process is unsubscribing.

    However, I modified your plugin to hook it on last in the actions:

    add_action (‘bbp_new_topic_post_extras’, ‘rw_topic_subscribe’, 1, 99) ;

    and now it seems to work even for moderated topics.

    I also have bbPress auto subscribe for new topics and replies installed and moderated topics are not getting subscribed despite this plugin ticking the box. {I tested your plugin with this other plugin deactivated. This is probably the same issue although the solution may not be so simple – I have raised it on its support forum.

    This may be a bit off-topic as it is not about new forums but I see no better place.

    Tony

    #172284
    Stephen Edgar
    Keymaster

    If you want to customise your site to match any of these formats then creating a child theme with the template changes that you’ve already made is the way to go.

    And just some FYI on on this stuff from a bbPress context, historically bbPress has supported Microformats as this is also what WordPress uses and most of the search engines also support, Google included.

    There is a long standing ticket in bbPress to get its breadcrumbs to work better with search engines though the fact as noted in that ticket is that none of the proposed specifications have been finalised, as none of the HTML5 microdata, Google Microdata Breadcrumbs or Bing Microdata Breadcrumbs specs are complete so we’ll probably go with the accessibility proposal instead.

    #172280
    gezginrocker
    Participant

    When I check my site with Google Structured Data Testing Tool, it’s giving errors for BBpress topic pages. How can I add structered data like author and date to topic pages?

    Thanks

    #172276
    Robkk
    Moderator

    Your theme looks to be using post meta to display the sidebars, so there might be custom fields to configure which sidebar to display which will most likely be on the default WordPress post types (page and post) when you create/edit them. These options may not be on the bbPress post type creation/editing screens in the WordPress backend.

    I see there is a ton of code that might not even be usable because bbPress post types may not have these custom field options to configure things like the slider, background color, and other options I can see in the code.

    I do see from the classes that this uses a responsive grid layout so maybe focus and keep this class as it is a two column layout, one for the content and one for the sidebar.

    two_columns_66_33 grid2 clearfix

    You may need to contact your theme author for further help on this.

    #172265
    Robkk
    Moderator

    You can install a plugin like WP Ulike and use that for rating posts.

    Then you can create a custom bbPress view using this function. Add this php code snippet into your child themes functions.php file or in a plugin that can hold custom code snippets like the functionality plugin.

    function rkk_register_custom_view() {
     	bbp_register_view( 'top-rated-topics', __( 'Top Rated Topics' ),  array( 'meta_key' => '_topicliked', 'orderby' => 'meta_value_num' , 'post_status' => 'publish' ), false );
     }
     add_action( 'bbp_register_views', 'rkk_register_custom_view' );

    Then paste this shortcode in a page called Top Rated Topics.

    [bbp-single-view id='top-rated-topics']

    Robkk
    Moderator

    This is the URL /forums/search/french+fries/ that is returning in the browser instead of the normal /?s=french+fries peram.

    The first url is normal for the bbPress forums search, in the second is normal for default WordPress search.

    https://bbpress.org/forums/search/French+Fries/

    In a plain permalink setup the forum search does look like this

    yoursite.com/forums/search/?action=bbp-search-request&bbp_search=french+fries

    What other themes have you tried and what are the currently active plugins you have right now??

    #172256
    dgalfano
    Participant

    Yes, I’ve searched and came across numerous similar problems about the sidebar not displaying on the forum pages. Yes, I read through the canned responses to review this page: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/.

    We’re using the Bridge theme and I’ve made sure the forums page is using the page.php template, AND the <?php get_sidebar();?> IS in the code. So why is the forum index showing full-width and not showing my bbPress sidebar?

    Looking at source code of the rendered page does not show the sidebar though.

    http://tinyurl.com/hwak4zg

    thinkDrew
    Participant

    Thanks for the reply!

    This is actually something I did before posting here (should have mentioned it) and while running the default 2015 theme, I am running into the same issue. This is the URL /forums/search/french+fries/ that is returning in the browser instead of the normal /?s=french+fries peram.

    It’s strange as I have several other corporate wordpress sites running (not w/ bbpress) but have never had a problem with “out of the box” search widgets :)…

    I will continue to test (only running 4 plugins) and see what comes from that.

    thinkDrew
    Participant

    Afternoon,

    I am using the (bbpress) Forum Search Form within the sidebar widget section and noticed a little bug. When you search one word like “Fries” you will get the search results page BUT when you try and add a second word “French Fries” the search returns a 404 page instead of the results page with the “Oh bother! No search results were found here!” message.

    I have not added or changed anything to the bbpress core files – has someone else run into this issue that can provide a fix?

    Cheers!

    #172249
    Robkk
    Moderator

    I mean bbPress is free to use and your theme authors could just set it up and see what is causing the issue. For us we would have to pay or at least in the past paid for the theme first to even test it to see what is causing the issue.

    You could hire a developer to fix this issue for you. After just googling if others had a similar issue I also found freelance sites/services that would do the job. Suggest you head to a freelance website for a dev to fix this up for you.

    #172248
    Robkk
    Moderator

    This is the CSS causing the issue. This is found in a custom css plugin or a custom stylesheet from your theme.

    #bbpress-forums fieldset.bbp-form p, 
    #bbpress-forums fieldset.bbp-form textarea, 
    #bbpress-forums fieldset.bbp-form select, 
    #bbpress-forums fieldset.bbp-form input, 
    #bbpress-forums fieldset.bbp-form .buddyboss-select {
        display: none;
    }
    #172247
    allisonnance
    Participant

    bbpress 2.5.8
    wordpress (not sure how to find this since I have limited access to the cms. our company always updates to the newest version)

    In the forums the create new post editor doesn’t display correctly. There is no text editor, area of a title or tag/topic. I get two empty boxes with background fill and a submit button. This is the same on a reply to a post. It was working at one point since we tested the forum. I have completely uninstalled the plugin from the FTP and uploaded a fresh download.

    Login:
    [removed login info]
    https://www.equipmentworldpeergroup.com/groups/test-group-a/forum/

    #172246
    stressebookllc
    Participant

    Wow, looks like I am screwed… neither my theme nor BBPress has an answer at this point, what do people do to have a good forum on their site then? Would there be a paid forum I could try? I asked OP for their recommendation for a forum and they had none.

    #172244

    In reply to: bbp_new_forum hook

    fterra
    Participant

    Hi, antipole,
    I’m trying to do the same, subscribe all users to new forums and to new topics also.
    I’ve been working on it for a while, mainly figuring out how bbPress itself works.
    In the case you want to run something when someone creates a new forum from the admin page, my bet is you will want to hook to bbp_forum_attributes_metabox_save action, whose argument is $forum_id.
    Hope it helps.

    #172243
    Robkk
    Moderator

    Right now I can see that your site seems to have a plain permalink setup, which the url to access your forum would be this.

    knightsresurrection.com/?forum=guild-info

    Are you sure it is set to post name in Settings > Permalinks??

    You might have to change it back to post name if it is not set that way and click the submit at the bottom of the page for the settings to update.

    You might have to check your htaccess file in the root of your WordPress directory and see if it is even updating.

    Also since it seems that your site is a fresh install (like a day 1 install), you can try a reinstall to see if that fixes anything, you would need to reinstall bbPress and BuddyPress again though and configure your settings again. Contact your host provider if you come across the same issue again.

    Robkk
    Moderator

    @siparker

    I did contact a dev for you, they did say they would look into it.

    We are also thinking of ways to get new devs interested in contributing to the bbPress project more, because it is a need as some devs move onto other projects.

    #172240
    Robkk
    Moderator

    See if this plugin fixes the issue you might be experiencing.

    https://github.com/OptimizePress/op-bbpress-fix

    The plugin seems to only contain a really small code snippet in it, so if you want to instead paste this code snippet instead you can also try that.

    Add this function to your child themes (if you have a child theme) functions.php file, or add the php code snippet into a plugin that can hold custom php code snippets like the functionality plugin.

    function op_allow_bbforum() {
        $forumPage = get_post(url_to_postid( "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] ));
        if ($forumPage->post_type == 'forum'){
            op_update_option('blog_enabled','Y');
            op_update_option('installed','Y');
        }
    }
    add_action('init', 'op_allow_bbforum');

    Make sure to test and see if this plugin/code snippet works for all of bbPress’ post types.

Viewing 25 results - 12,126 through 12,150 (of 64,454 total)
Skip to toolbar