Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 12,151 through 12,175 (of 64,487 total)
  • Author
    Search Results
  • #172347
    svetoslavd79
    Participant

    Hi guys,

    I was faced with the same issue and was able to resolve it by following this guide:

    [FIXED] bbPress Threaded (nested) Replies with Paging

    Hope it helps someone else.

    #172342
    svetoslavd79
    Participant

    Hi guys,

    If anyone is reading this. I found a solution here: https://wpup.co/bbpress-threaded-nested-replies-with-paging/

    #172338

    In reply to: Spectate capability

    Pascal Casier
    Moderator

    Hi,
    You could create a new role based on the spectate. Follow our codex on https://codex.bbpress.org/custom-capabilities/

    If you want to limit topic creation for a specific forum, you can also have a look if my ‘bbP Toolkit’ plugin can help. It has a ‘protected forum’ possibility to allow only specific roles to create topics on some forums.

    Pascal.

    #172337

    Topic: Spectate capability

    in forum Plugins
    solsqerr
    Participant

    hi guys, im using bbpress and bbpress capability and i want spectates cant open topic and forum just spectates can reply on topics sorry for my english but i need help :/

    siparker
    Participant

    Ok, so if i can find someone to do the work and get the urls fixed then submit the code into trac it might get integrated into the core by someone in the future?

    I understand about the money thing also. I am just trying to think of a way to kickstart the development on the platform again as its on its way to being a really good forum software. it has almost all of the basics covered and some great plugins too. its just those few bits that mean it cant be used by some people. I would love to see bbpress be the defacto choice over phpbb or vbulletin and thought if i could sponsor the development then perhaps it might encourage a valuable dev to get more involved?

    #172331
    Pascal Casier
    Moderator

    Hi, the best way is to use bbPress functions. Check out http://hookr.io/plugins/bbpress/2.5.8/functions/bbp_insert_topic/
    Pascal.

    #172330
    michaaaaaa
    Participant

    Hey, I am new, and I cant find the file:

    for:

    “2. Placing a noindex meta tag in my bbpress user templates (so the already indexed profile links will disappear from Google):”

    where I can add this? I want to set all profiles with noindex

    thx for help

    #172320
    tech55541
    Participant

    Yes it would, BBPress could be so much better, if a few more basic features were added to it.

    #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!

Viewing 25 results - 12,151 through 12,175 (of 64,487 total)
Skip to toolbar