Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 10,601 through 10,625 (of 64,454 total)
  • Author
    Search Results
  • #177377
    Robkk
    Moderator

    So you are trying to configure BuddyPress with its own inbuilt bbPress v1 forums? I think the bbPress v1 in BuddyPress (BP Forums) has issues in the last few major version of BuddyPress.

    Why not look into just using the latest version of bbPress v2 and BuddyPress and use BuddyPress’ groups feature with bbPress.

    https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    #177374
    thegarnet
    Participant

    I found the excellent article by Tanner Moushey on how to create groups programmaticaly: https://tannermoushey.com/2014/08/create-groups-buddypress/

    However I also need to create a forum for each group, and I can’t get his suggestion of using groups_new_group_forum to work. I read other posts of getting function doesnt exist error for bp_forums_new_forum (which groups_new_group_forum calls), but I believe I found the right requires to get that function, and everything it depends on, but now I am getting an error about null several layers down within bb code.

    Here is my code so far:

    <?php
    /* Show the errors in browser */

    error_reporting(E_ALL);
    ini_set('display_errors', 1);

    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . '/../admin.php' );

    /** Load WordPress dashboard API */
    require_once(ABSPATH . 'wp-admin/includes/dashboard.php');

    wp_dashboard_setup();

    do_action('bbpress_init');

    ?>

    <H1>Add Groups</H1>

    <?php

    $args = array(
    'group_id' => 0,
    'creator_id' => 0,
    'name' => 'California',
    'description' => 'For people located in California',
    'slug' => 'california',
    'status' => 'public',
    'enable_forum' => 1,
    'date_created' => bp_core_current_time()
    );

    ?>

    <p>Creating group '<?php echo $args[name] ?>'</p>

    <?php

    $newgroupid = groups_create_group($args);

    ?>

    <?php

    ////////////////////////////
    // Now creating a new forum

    // Not needed for get groups_create_group - this already got included
    // require_once(ABSPATH . 'wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php');

    // For bp_forums_new_forum
    require_once(ABSPATH . 'wp-content/plugins/buddypress/bp-forums/bp-forums-functions.php');

    // For bb_new_forum
    require_once(ABSPATH . 'wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-walker.php');
    require_once(ABSPATH . 'wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php');

    // For bb_current_user_can
    require_once(ABSPATH . 'wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-capabilities.php');

    // Example from: http://buddypress.wp-a2z.org/oik_api/groups_new_group_forum/
    $newforumid = groups_new_group_forum($newgroupid,'California','For people located in California');

    ?>

    <table>
    <tr><td>Newly created group id:</td><td><?php echo $newgroupid ?></td><td>Groups</td>
    </tr>
    <tr><td>Newly created forum id:</td><td><?php echo $newforumid ?></td><td>Forums</td>
    </tr>

    </table>

    It throws this error:

    Fatal error: Uncaught Error: Call to a member function get_var() on null in /Users/eyespider/projects/justiceserved/local/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php:992 Stack trace:
    #0 /Users/eyespider/projects/justiceserved/local/wp-content/plugins/buddypress/bp-forums/bp-forums-functions.php(123): bb_new_forum(Array)
    #1 /Users/eyespider/projects/justiceserved/local/wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php(47): bp_forums_new_forum(Array)
    #2 /Users/eyespider/projects/justiceserved/local/wp-admin/custom/add-groups2.php(67): groups_new_group_forum(38, 'California', 'For people loca...')
    #3 {main} thrown in /Users/eyespider/projects/justiceserved/local/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php on line 992

    #177373
    Robkk
    Moderator

    Do you only have bbPress activated, or do you have some bbPress image upload plugins activated as well?
    You can try some plugin troubleshooting if you haven’t yet.

    https://codex.bbpress.org/getting-started/troubleshooting/#plugins

    You can also reinstall bbPress and see if that fixes anything too.

    #177371
    Robkk
    Moderator

    Instead of going through each template and possibly changing this, you can also use a php code function listed int this topic.

    https://bbpress.org/forums/topic/resizing-avatars/#post-148625

    The original source of their code seems to be from this guide.

    https://schaltgetriebe.wordpress.com/2014/04/06/increase-avatar-size-in-bbpress/

    #177366
    Robkk
    Moderator

    Is this a site you created? It looks pretty darn good and it seems to try to not stay with bbPress’ default design, and everything is unique, which I very much like to see designers do.

    As for what you asked in this topic, you can do this with the help of some jquery, and a conditional whether the user is logged in or not.

    This will have links to basic code for a show/hide toggle for a simple div. Just remember to use the topic forms container ID in any code you are going to use.

    http://www.w3schools.com/jquery/jquery_hide_show.asp

    This is a possible recommendation of a conditional you should use in a function you would create with whatever modal login plugin you are using.

    if (!jQuery(this).hasClass('active') && !jQuery('body').hasClass('logged-in')) {

    #177338
    Willson R
    Participant

    Hi i installed wordpress multisite, How to use video tags in bbpress replies?

    #177331
    Robin W
    Moderator

    In which case this is the easiest way.

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-topic.php

    bbPress will now use this template instead of the original
    and you can amend this

    so go to line 60 which says

    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>

    and change the ‘size’ => ’14’ to a larger number for instance ‘size’ => ’20’

    #177320
    Stephen Edgar
    Keymaster

    bbPress 2.6 has dropped support for importing from phpBB 3.0.x, you need to upgrade your phpBB database to 3.1.x before importing into bbPress 2.6

    Stephen Edgar
    Keymaster
    #177316

    In reply to: Newbie Stuff

    Stephen Edgar
    Keymaster

    I’d suggest switching your “password protect child pages” plugin to a “membership” type plugin:

    https://wordpress.org/plugins/search.php?q=members

    I’m sure one of them will support what you are looking for and allow you to continue using a single password where bbPress is also behind that.

    #177314

    In reply to: vb 3.6+ to BBpress

    Stephen Edgar
    Keymaster

    Try importing using the beta of bbPress 2.6, it includes heaps of import enhancements, let me know how you go 🙂

    You can get it from https://bbpress.org/download

    #177313
    Stephen Edgar
    Keymaster

    This is an aMember issue around supporting bbPress’ roles

    A quick search of their forum shows many bbPress users asking the same question, but never getting a reply http://www.amember.com/forum/search/330361/?q=bbpress&o=date

    The current suggestions seem to be if you have a license is to create a support ticket for help from aMember.

    #177312
    Stephen Edgar
    Keymaster

    I’ve not heard or seen such a plugin….

    That said, I swapped out “topic tag” for “term” and searched the plugins repo:

    https://wordpress.org/plugins/search.php?type=term&q=autocomplete+term

    There may be others but this one stood out: https://wordpress.org/plugins/simple-tags/

    Add some tools for taxonomies : Terms suggestion, Mass Edit Terms, Auto link Terms, Ajax Autocompletion, Click Terms, Auto terms, Advanced manage term

    It doesn’t list bbPress as being supported but maybe it could be adapted to support bbPress or support for bbPress added to the plugin.

    #177311

    In reply to: PHP7 compatibility

    Stephen Edgar
    Keymaster

    See https://bbpress.trac.wordpress.org/ticket/2973 for further information and bbPress 2.6 PHP 7.x compatability.

    #177306

    In reply to: PHP7 compatibility

    AngryGerman
    Participant

    Hi there,

    bbPress does not seem to be fully PHP-7-compatible at present after all. Running a PHP 7 checker, I encountered the following errors and warnings in bbPress 2.5.10-6063:

    FILE: /wp-content/plugins/bbpress/includes/core/cache.php
    134 | ERROR | Parameter shadowing super global ($_post) causes fatal error since PHP 5.4

    FILE: /wp-content/plugins/bbpress/includes/admin/functions.php
    130 | ERROR | Parameter shadowing super global ($_post) causes fatal error since PHP 5.4

    FILE: /wp-content/plugins/bbpress/includes/admin/converter.php
    310 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.

    FILE: /wp-content/plugins/bbpress/includes/admin/parser.php
    83 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
    1149 | ERROR | preg_replace() – /e modifier is forbidden in PHP 7.0
    1150 | ERROR | preg_replace() – /e modifier is forbidden in PHP 7.0
    1386 | ERROR | The use of function split is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_split instead

    FILE: /wp-content/plugins/bbpress/includes/extend/akismet.php
    428 | ERROR | Parameter shadowing super global ($_post) causes fatal error since PHP 5.4

    Is there a timeline for getting these addressed?

    #177304
    atmojones
    Participant

    I’m working on a site where users seem to have difficulty using the topic tags. I can’t disable them because the client wants them. I was thinking if there was a drop-down suggestion/auto-complete for the topic tags input it would greatly reduce the incorrectly formatted (making them useless) tags and give people a better idea what belongs in that input.

    Is there functionality for this in bbPress that I can enable, or a third party plugin? I’ve found googling for this very frustrating because using the term “topic tag” in a search brings up help forums that have topic tags of my other search terms.

    #177303

    In reply to: Image on top portion

    Robin W
    Moderator

    This is within your theme, not within bbpress.

    You could put a single image in, but not easily one per forum as far as I can see.

    #177278
    Robin W
    Moderator

    probably better to contact the bbPress Toolbox plugin support !

    #177277
    mmirlach
    Participant

    I tried this but it did not work.
    I’m using the bbPress Toolbox plugin and and I did activate bbc code as the method to use quotes so all that happens is a < blockquote > tag added.

    I’ve added your suggestion to the css file, which I put in my child theme folder (themes/childtheme/bbpress/bbpress.css).

    No difference though, bbpress still uses the CSS from my style.css.

    #177276
    Robin W
    Moderator

    The two ‘test’ items below are easier, as they just use blockquote so you can add this to your css

    #bbpress-forums blockquote {
      color: green;
    }

    I presume that you don’t want to change the class in the other plugin?

    #177275
    mmirlach
    Participant

    Hi, I’m using bbpress on my upcoming videogame website:
    http://20160719.gaming-universe.de/guf/topic/testtest/#post-6864

    As you can see, the template uses information from the WP theme style.css.
    This is overall a good thing but the blockquote function looks off.
    I’m also using a couple of plugins so I feel that I might be able to change that via a CSS function but don’t understand CSS very well.

    When looking at the code, the blockquote seems to use a specific class from one of my plugins:
    blockquote class=”d4pbbc-quote”

    Can anyone point me to where I can change the CSS for the blockquote attribute?

    Thanks, Matthias

    #177271
    project13x
    Participant

    I forgot to wait updating wordpress until bbpress was also 4.6 ready.

    But I have upgraded to wp 4.6 now already and noticed an error.

    When bbpress plugin is activated i cannot upload or find images. The media library keeps on looking for something.

    And when uploading i get an error “An error occurred in the upload. Please try again later”.

    Does this has to do with the wp 4.6 update?

    and is the new bbpress update coming soon?

    #177268

    Topic: Menu Reply Widgets

    in forum Plugins
    fauowlaccess
    Participant

    Love the functionality of bbPress and WordPress. Added the reply widget to my main sidebar, but it only displays what topic is being replied to and who replied. I’d like to be able to show at least a portion of the content from, say, the five most recent posts on the forum. Is there an easy way to do that? Perhaps a plugin/widget I should look at?

    My site is FAUOwlAccess.com

    Thanks.

    #177266
    Robin W
    Moderator

    This is the default display.

    If you are into coding, you can check out

    Layout and functionality – Examples you can use

    or if coding is not your thing use my plugin Style Pack which will let you set up lots of stuff, including fixing the above

    https://wordpress.org/plugins/bbp-style-pack/

    #177264
    LilGames
    Participant

    I have some custom fields in my user account profiles that BBPress Profile view displays just fine, but then all the ones related to Address, display as blank fields. The really weird thing is they are all still editable and will save entered data.

    To summarize the issue:
    My custom fields for Address do not display content when viewed in BBPress Profile.
    If I type in something into one of the blank fields and then click Update, it saves it correctly and then again, still won’t display anything.

    BBpress custom fields not populating

    IS THIS INTENTIONAL? It seems weird that OTHER custom entries like my mailing list checkbox still display.

Viewing 25 results - 10,601 through 10,625 (of 64,454 total)
Skip to toolbar