Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 3,076 through 3,100 (of 64,430 total)
  • Author
    Search Results
  • #220212
    Back to Front
    Participant

    Hi! I’m trying to allow users to assign their topics to custom taxonomies from the front end bbpress topic form. I thought it would be cool to be allow users to sort topics in multiple ways, and not just the anarchy that comes with unhierarchical ‘tags’.

    With a lot of searching on forums, I’ve managed to register the taxonomies, display them, include topics in the archives, and added inputs to the form to allow uses to select the relevant ones.

    But I’m totally stuck with saving the value from the checkboxes. You can tick the box, but nothing is saved. I’m guessing I need to use wp_set_object_terms()? and hook into bbp_new_topic() to save the terms? But I have no idea how to save the value from the checkboxes in there.

    Any ideas, tips, scorn, alternative suggestions are welcome. Do i need to learn more js and use AJAX to accomplish this? Or is this achievable with php and am I even close?

    // Add custom taxonomies to topic form
    
    add_action ( 'bbp_theme_after_topic_form_content', 'bbp_extra_fields');
    
    function bbp_extra_fields() {
    
    $value = get_post_meta( bbp_get_topic_id(), 'issue', true);
    	echo '<div id="custom-meta">';
    	echo'<fieldset>
            <legend>Issues</legend>';
    	$issues = get_terms('issue', array('hide_empty' => 0));
    	foreach ($issues as $issue) {
    	echo '<span><input type="checkbox" class="issue" for="issue" value="'.$issue->slug.'"></input><label>'.$issue->name.'</label></span>';
    	};
    	echo '</fieldset>';
    
    $value = get_post_meta( bbp_get_topic_id(), 'region', true);
    global $region;
    $region = get_terms('region', array('hide_empty' => 0));
    echo'<fieldset>
            <legend>Region</legend>';
    $regions = get_terms('region', array('hide_empty' => 0));
    foreach ($regions as $region) {
    echo '<span><input type="checkbox" class="issue" for="issue"value="'.$region->slug.'"><label>'.$region->name.'</label></span>';
    };
    echo '</fieldset></div>';
    };
    
    // Save the terms from the form
    add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
    add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
    
    function bbp_save_extra_fields($topic_id) {
    
      $post_id = get_the_ID();
      $category_id = $region->id;
      $taxonomy = 'region';
      wp_set_object_terms( $post_id, intval( $category_id ), $taxonomy );
    };
    
    #220209
    Back to Front
    Participant

    I was having a bunch of trouble with this too, 8 years later!

    I tried
    bbp_topic_excerpt('200')
    and
    wp_trim_words( bbp_topic_excerpt(), 200, '...' );
    But they wouldn’t actually change the excerpt length.

    Anyway I found this other function in bbpress files, that does the job.
    bbp_get_topic_excerpt($topic_id = 0, $length=200)

    nomadsland
    Participant

    I use Buddypress and Bbpress togather.

    But when a member tags another member in the forums, it comes in their notifications with the link to view the mention. But, clicking on that takes them to the newsfeed/activity stream, not the forum post that they were tagged in.

    Anyone for a solution ?

    Thanks.

    #220200
    Robin W
    Moderator

    hmmm.. this seems to be wordpress capability and looks difficult to remove.

    The best I could find is

    https://wordpress.stackexchange.com/questions/29000/disallow-user-from-editing-their-own-profile-information

    but it would need some work to make it work for bbpress

    #220198

    In reply to: Display problem

    Robin W
    Moderator

    no idea if this has anything to do with the bbpress plugin. Please advise what widget

    #220183
    eeyyjohn
    Participant

    I have used the plugin to troubleshoot the issue and I can confirm that there were no issues with the theme and the plugins we used. After doing the following it still didn’t fix the issue that the subscribed forum is not showing on the list.

    1.) I switched to Twenty-twenty theme.
    2.) I disabled all the plugins and just enable the “bbPress” and “BuddyPress”.

    #220181
    juventino199
    Participant

    Hi there, does anyone know if there’s any compatible GIF keyboard for bbPress?

    #220177
    ViNOJ
    Participant

    Hey this doesn’t seems to work for me.
    Currently I am using following plugins.
    * bbPress
    * BuddyPress
    * Ultimate Member

    For all bbPress widgets and shortcode I am unable to force BuddyPress user profile pic.
    Can anyone please guide me what am I missing?

    #220175
    Robin W
    Moderator

    At a guess you might want to start by looking at

    Step by step guide to setting up a bbPress forum – Part 1

    and particularly items 3 & 5

    #220174
    Robin W
    Moderator

    bbpress just uses wordpress login, there is no ‘double security’ sorry, no idea what the above is trying to say, or what exactly the problem is.

    Perhaps you could start by stating what you are trying to achieve?

    #220168
    Steve Keller
    Participant

    Here are some facts and ideas my friend brought up, as we were trying to figure a way to make the site and forums security effective, non-redundant and non-annoying…

    Well, you indeed have proved that the root cause of the insecurity = bbPress!
    That is the good news.

    The bad news is by changing that Forum Root Slug setting, the NEW 79ers-Forum page I set up is now exposed publicly.
    Try opening an incognito Chrome browser, do not log in, and go directly to my new page: http://79exies.com/79ers-forum

    No password needed.. bbPress lets you right in. πŸ™

    So we can now be positive that my theory from yesterday is correct: bbPress is bypassing the security system and managing the Forum page itself.

    My suggestions are to contact their support and ask how to get bbPress to “play nicely” with our password protection system (plug-in = WP-Members) or go find a different plug-in to manage the Forum.

    My guess is bbPress DOES have its own security system with a user registration system (which we are not invoking). So alternatively you could use that. The downside is unless you can get them to “sync” somehow to our WP-Members plug-in, then all our users will have to register in TWO places to use the Forum: once for the website and then again for the Forum. Pretty cumbersome. Anyway, I suggest you start with the bbPRess Forum, explain what is happening, and see if they have any ideas.

    ===================

    Hi Steve –
    I looked, and indeed the original URL to 79exies/forums is still alive.
    But I do see it is gone from within the WP site, so you successfully removed it there. Very strange.

    I have to assume bbPress is doing something in the background. I won’t have time to work on this right now, but I suggest going to the bbPress support page (they have their own Forum) and maybe find answers there.
    Or consider a different plug-in to manage the Forums interface if there is one.

    I do notice that my WP interface does NOT show the bbPress “Settings” or “Forums” tabs that their documentation says should be there. Maybe there is a “Forum Administrator” role (you presumably) that makes them visible? But I cannot see them. If those are also missing for you, then there’s some pretty fundamental compatibility issues with this plug-in and WP.

    Thanks,
    Steve

    r083r7
    Participant

    I edited the POT file found in wp-content/plugins/bbpress/bbpress.pot using Poedit app. Saved the two needed files:
    – bbpress-en_US.mo
    – bbpress-en_US.po

    After reading the instruction I was putting them in the wrong directory. Created and moved those two files to this directory:
    /wp-content/languages/bbpress/

    But same results, changes are not loading. Grrrr not sure what I’m doing wrong here.

    r083r7
    Participant

    Feel like I’m making progress.

    I created and uploaded both these files to the wp-content/languages/plugins folder.
    – bbpress-en_US.mo
    – bbpress-en_US.po

    But the changes do not appear on the front end. There must be something else I’m missing πŸ™

    #220160
    Steve Keller
    Participant

    bbPress version 2.6.6.
    Wordpress version 5.7.1
    website…79Exies.com

    Wondering if it is necessary to have login/pw for bbPress forums on a site that already has WP Security login/pw coverage. It seems redundant, and especially so for a site with a maximum of 325 users, though we only have 93 right now.

    I can share some email back and forth I have had with a classmate/colleague, which can better explain the shortcomings and non-syncing we faced.

    Thanks,
    Steve

    r083r7
    Participant

    I would like to edit the wording of some of the bbPress prompts and messages. As I understand this can be done using a language file as described here.
    https://codex.bbpress.org/getting-started/bbpress-in-your-language/

    I’m a little confused though since I am not actually changing from English to another language. Since I’m not changing languages what does the process look like? I went here to download the English version but there’s English (Canadian, UK, Australian, or South African versions) Which further ads to the confusion as to which language file I should download and edit πŸ™

    Any idea on how to go about editing the bbPress prompts and messages in the same language I am using?

    https://translate.wordpress.org/projects/wp-plugins/bbpress/

    #220137

    In reply to: Username box different

    Robin W
    Moderator

    try adding this to the custom css part of your theme

    #bbpress-forums fieldset.bbp-form input[type="text"] {
    	height: inherit;
    }
    #220130
    ASR Martins
    Participant

    Hi, the Username field on the bbPress login page is different from the Password field (the same width but not the same height). This causes the Username to be halfway “cut off” (visible) on smartphones.
    I am using WordPress 5.7.1 and bbPress 2.6.6
    Thanks
    Basie martins

    #220127
    Robin W
    Moderator

    you either want

    dashboard>settings>forums>anonymous if you want anyone to be able to post

    or add registration – bbpress uses wordpress registration, so anyone of then methods here will work.

    https://www.wpbeginner.com/beginners-guide/how-to-allow-user-registration-on-your-wordpress-site/

    there is also a bbpress registration login which includes registration and bbpress shortcodes

    [bbp-login] – Display the login screen.
    [bbp-register] – Display the register screen.
    [bbp-lost-pass] – Display the lost password screen.

    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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

    raghavan2004
    Participant

    I installed the forum and the Divi theme with the version : Version: 4.9.4. and the bb press Version 2.6.6.

    The link is below : https://hlpwld.olvdigitalsolutions.com/,

    when i clicked on the forum, i am redirecting to the wp default login page. Please guide me.
    I also installed few plugins listed below
    1. bbPress Members only Pro Multi-Site License
    2. bbPress WooCommerce Payment Gateway

    #220098
    jeppot
    Participant

    Hello!
    I need to remove the tag private that is shown before every forum i have created.

    I can see after some googling that there is a fix in creating a functions.php and upload that somehow but I do not understand how I do that? Where in wordpress do I uppload that php file? And what do I put in the .php file? Or is there a plug in that can helt me?

    I also need to change the order of the forums instead of alphabetic order.

    PLease help! Thank you!

    ss

    #220091

    In reply to: BB Press and WP theme

    Robin W
    Moderator

    yes, just affects bbpress

    #220081

    In reply to: Update Topic On Reply

    ljmac
    Participant

    I do not want the standard behaviour to be modified in any way, except that the topic itself be updated when a reply is posted to it. Nothing will look any different to standard bbpress behaviour as far as the user is concerned – I just want to simulate hitting the submit button on the topic when a reply is posted, nothing more.

    #220073
    ljmac
    Participant

    Hello,

    Can somebody give me a simple function to update bbpress topics when a reply to it is posted? i.e. The equivalent of hitting the update button on the topic when a reply is posted to it.

    #220065
    franklinss
    Participant

    Thanks for your answers!

    I do not have a lot of experience. I see the following notice for BBpress messages: This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    Do you know if its safe to use?

Viewing 25 results - 3,076 through 3,100 (of 64,430 total)
Skip to toolbar