Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 5,251 through 5,275 (of 26,865 total)
  • Author
    Search Results
  • #177424
    thegarnet
    Participant

    Robkk,

    I am already using
    * WordPress 4.6
    * bbPress 2.5.10
    * BuddyPress 2.6.2

    It seems all these are the latest at this time.

    #177418

    In reply to: Site Role

    Robkk
    Moderator

    Well I don’t entirely understand where you are getting at, but I mean its possible for a user to have 3 different roles.

    For example.

    Site Role – Subscriber – Default WordPress role
    Forum Role – Participant – Default bbPress role
    Membership Role – Premium Member – Some paid membership framework plugins role

    If you want 1 custom site role with different capabilities that other roles might have, consider creating a custom user role. But be aware of what each capability does, so that you will not give your users permissions that you do not exactly want them to have.

    Creating a custom bbPress role guide.

    https://codex.bbpress.org/custom-capabilities/

    bbPress user roles and capabilities

    https://codex.bbpress.org/getting-started/before-installing/bbpress-user-roles-and-capabilities/

    WordPress roles and capabilities

    https://codex.wordpress.org/Roles_and_Capabilities

    And a plugin I would recommend to create a custom user role with custom capabilities would be a plugin called Members by Justin Tadlock.

    #177415

    In reply to: Dynamic Profile Link

    Robkk
    Moderator

    Its the WordPress toolbar, a bit customized, but its definitely the default WordPress toolbar.

    https://codex.wordpress.org/Toolbar

    Joe Greenwood
    Participant

    I have already posted this question, but has not been approved by moderators. Please approve, has been entire day already, thank you.

    I have issue where bbPress HTML code is being written above the <doctype> declaration in my page, but this only happens when not logged in / signed in to WordPress. This is for Forums and Topics pages, and none others. When logged in, then HTML code is written in its proper place. I will attach a screenshot showing both instances, the top being when not signed in (HTML is out of place, before <doctype>), the bottom when signed in (HTML is correctly placed in body, and <doctype> comes first as it should).

    screenshot

    Any ideas on where this HTML might be called differently, depending on whether or not user is logged in? I have tried disabling plugins. Perhaps it is something with my theme. My site can be viewed at http://www.lexiconleep.com/forums/forum/leep-questions-answers/ … I wonder if it has something to do with assigning a forum role to anonymous users..? Perhaps anonymous (not logged in) users need to have a forum role … I will look into this. Thanks!

    #177393
    nallasamyv
    Participant

    Hello all,

    I’ve not been able to find a way to display my forum content to general viewers to my website (without login access). The site link is loveofroad.com/wordpress.

    Because of this issue Google is not able to crawl the site and I’m not able to see any of my content in google results.

    Need some help in fixing this.

    Thanks.

    #177391
    Stephen Edgar
    Keymaster

    The last version of the import has problems and lost the relation between post and owner.

    That’s because the current version only supports phpBB 3.1.x as I stated above.

    As you don’t need to worry about any custom modules as bbPress doesn’t support these anyway I still think you are best of upgrading your phpBB database schema to 3.1.x, but here is a 3.0.x alternative for you to try, though no guarantees and I won’t be making any 3.0.x changes etc.

    This here is the 3.1.x version: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/phpBB.php?rev=5795

    This here is the 3.0.x version:
    https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/phpBB.php?rev=5770

    You’ll still need to use bbPress 2.6 alpha with that 3.0.x version.

    #177388
    Stephen Edgar
    Keymaster

    The dashes β€”β€”β€”β€” usually indicate that the database connection has been lost, sadly this one bug I’ve not been able to nail down with the importer to fix and give a decent warning/error message.

    Basically a workaround is to open another tab in your browser to the dashboard page and refresh it every hour so and by doing so WordPress doesn’t “lose” the database connection

    #177386
    ordresser
    Participant

    I want to do CSS for just the forum thread pages themselves (ie if I change the title color, I don’t want that change to apply to the list of forums or to other parts of my WordPress theme).

    I’m working in the style.css file. How can I target bbpress’s templates and pages.phps?

    #177385
    Stephen Edgar
    Keymaster

    I’ve only ever had a handful of people ask and/or help on importing Xenforo to bbPress, I’ve been lucky that I’ve been given copies of the raw database to work on, thats the only reason the bbPress Xenforo importer exists.

    There are some bbPress forum tweaks that can be made to improve performance, and as pointed out some of those will ship with bbPress 2.6 (hopefully sooner rather than later), there are also further tweaks that won’t ship with bbPress 2.6 but can be added to further improve performance.

    Edit: This site is running on bbPress 2.6, by the end of the week so will wordpress.org/support, over the past couple of weeks bbPress 2.6 has been used to roll out ~25 international (Non English) forums across w.org see: https://make.wordpress.org/meta/2016/07/29/rosetta-forum-upgrades-in-progress/

    bbPress 2.6 is very stable right now πŸ™‚

    #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

    #177372
    Robkk
    Moderator
    #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/

    #177367

    In reply to: Site Role

    Robkk
    Moderator

    In WordPress you can set this in Settings > General in the WordPress backend in the New User Default Role setting.

    #177365
    sfmPascal
    Participant

    Hi, here is what I did for my site:

    1. Installed Allow PHP Execute
    2. Create a page, for example “forum profile”
    3. Add this code:

    
    <?php
    if (!is_user_logged_in()) {
      header('Location: /my-account/');
    } else {
      $current_user = wp_get_current_user();
      $user=$current_user->user_nicename;
      $newURL = '/forums/users/' . $user;
      header('Location: '.$newURL);
    }
    ?>
    

    4. Now when you go to this page, which you now can add to any menu location supported by your theme, if not logged in, will redirect to your login page, otherwise redirect to their form profile link.

    Jarrod

    #177340
    ptrck_r
    Participant

    Hi, I added a new wordpress role and would like it to map new users not to the participant role but rather to spectator.

    So I added this filter in my functions.php.

    add_filter('bbp_get_user_role_map', 'assign_spectator_role');
      function assign_spectator_role($roles) {
        $roles['mynewrole'] = bbp_get_spectator_role(); 
      return (array) $roles;
    }

    Problem is that this filter does not get executed.
    If I add my role directly in the bbp_get_user_role_map function it works but not with the filter.
    The tools function ‘remap_roles’ also works fine.

    Any ideas how I can get it to work?

    Cheers.

    #177338
    Willson R
    Participant

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

    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.

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

    #177300
    jbboro3
    Participant

    Please someone help me to resize topic or reply form.. It’s not editable by css as the file is iframe generated by the js file.. The chrome inspection doesn’t show the location of the file.. I tried everything to find the source file but unsuccessful.. I can go with core edit without hooking with wordpress..

    Please help me.. Thank you

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

    #177228
    jbboro3
    Participant

    Hi,

    I’ve been trying to reduce the height of topic form (Tinymce) which stands at default 236px height.. I want to reduced them upto 100px.. I have searched all over, seems there is no shortcut solutions.. Can you please point me the file where I can edit that value.. For temporary period, I can touch or change the core files, if needed.

    I’m unable to locate the file.. Even not sure if those values comes from wordpress tinymce files under/includes/tinymce or it’s set in within bbpress..

    Thank you so much…

Viewing 25 results - 5,251 through 5,275 (of 26,865 total)
Skip to toolbar