Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 10,601 through 10,625 (of 64,474 total)
  • Author
    Search Results
  • #177454
    larry11557713
    Participant

    Hello together

    I have the bbpress version 2.5.10 installed on my wordpress site:

    http://www.physioarena.ch/hsg/forum/

    and i want it translated i german, but it doesnt work!!

    I have downloaded the files: bbpress-pt_DE.mo and bbpress-pt_DE.po and put These files in the Folder wp-content/languages/bbpress

    can you help me?? thxxxxxx!!! sorry for my english!

    #177453
    epretorious
    Participant

    This may be easier than I’d thought:

    [root@cp bbpress]# grep -r 'You must be logged in' *
    languages/bbpress.pot:msgid "You must be logged in to create new forums."
    languages/bbpress.pot:msgid "You must be logged in to reply to this topic."
    languages/bbpress.pot:msgid "You must be logged in to create new topics."
    templates/default/bbpress/form-forum.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new forums.', 'bbpress' ) : _e( 'You must be logged in to create new forums.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-topic.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-reply.php:			<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>

    What’s the “best practice” for modifying the languages file? Is that something that I can achieve with a child theme?

    TIA,
    Eric Pretorious
    Portland, OR

    #177452
    epretorious
    Participant

    > Thanks, Pascal: That worked perfectly!

    One, very important correction: If visitors to the site aren’t logged in, they see nothingnot even the warning that “You must be logged in to…” πŸ™

    There must be an easy way to do away with that “Oh bother!…” bit of text without leaving visitors in the dark. πŸ™

    Maybe I should just manually change the source:

    [root@cp bbpress]# grep -r bother *
    languages/bbpress.pot:msgid "Oh bother! No forums were found here!"
    languages/bbpress.pot:msgid "Oh bother! No replies were found here!"
    languages/bbpress.pot:msgid "Oh bother! No search results were found here!"
    languages/bbpress.pot:msgid "Oh bother! No topics were found here!"
    templates/default/bbpress/feedback-no-topics.php:	<p><?php _e( 'Oh bother! No topics were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-replies.php:	<p><?php _e( 'Oh bother! No replies were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-search.php:	<p><?php _e( 'Oh bother! No search results were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-forums.php:	<p><?php _e( 'Oh bother! No forums were found here!', 'bbpress' ); ?></p>

    Eric Pretorious
    Portland, OR

    #177451
    epretorious
    Participant

    I’m really surprised to see that bbPress warns visitors to the forums that “You must be logged in to create new topics.” but does not provide a link to the login page. e.g.,

    <a href='/login.php'>Login</a> to create new topics and/or to reply to topics.

    Is there some way to correct that?

    TIA,
    Eric Pretorious
    Portland, OR

    #177449
    aviazz
    Participant

    Hello!
    We are struggling with finding a way for Support Team to easily track all topics with no replies. It would be great to have a page with all these topics or something similar.
    Does anyone know how to do that?

    WP – 4.5.3
    bbPress – 2.5.9
    Website: https://www.akruto.com/forum/

    #177444
    kgroneman
    Participant

    How do you get detailed bbPress user statistics? Is there a plugin? For a specific member, I’d like to be able to see, for a given period of time, how many posts they make and where they make them. Ideally, also how many replies to other people’s topics (as opposed to posts on their own threads). Bottom line: What is the best way to get user statistics?

    Robin W
    Moderator

    suspect it is a theme or plugin issue#

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

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

    #177422

    In reply to: Dynamic Profile Link

    s1r0n
    Participant

    So, another question, does somebody know how to generate the nice layout of the above menu?

    How bout positioning? The default position is at the very top. How does bbpress get it to render underneath the header?

    #177419
    Robkk
    Moderator

    If you want a specific view to have images, you would need to create a custom view template called either single-view-recent-with-topic-image.php or view-recent-with-topic-image.php and most of the code would be based on the single-view.php template in the extras folder in the bbPress plugin, you would have to make it custom enough to include the featured image code, and I guess however your users will be able to select a featured image during topic creation.

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

    #177416
    Robkk
    Moderator

    I think other moderators thought this was spam.

    I can see that it is hard to tell unless you go digging in your sites source code to tell if you are using bbPress.

    I knew one day with all these users basically using bbPress as a blog, that a designer one day would customize and create custom templates for bbPress enough to just make it look like a blog.

    Interesting and very unique stuff!!

    You don’t even have to worry about waiting for bbPress replies for blog posts, because your whole site is mainly using bbPress.

    Interesting as hell to see bbPress turn into a news site.

    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!

    #177396
    Robin W
    Moderator

    have you followed

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

    and what have you got for step 3?

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

    #177389
    Stephen Edgar
    Keymaster

    Can you remove a page of topics at a time?

    Go to the bbPress topics dashboard: http://example.com/wp-admin/edit.php?post_type=topic

    From the dropdown select the forum you want to delete the topics from and click filter, now select the 20 topics from that forum and in the “Bulk Actions” dropdown select “Move to trash” and click apply.

    Going back to the repair tools and running those has the forums topic and reply count now been reduced by the number of topics you just deleted?

    #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 πŸ™‚

    #177383

    In reply to: phpbb to bbpress

    Stephen Edgar
    Keymaster

    @aeneas1 I’ve split this into it’s own topic, things can be hard to track otherwise.

    Did you do the import with bbPress 2.5.x or 2.6 alpha?

    The 2.6 alpha now supports importing from phpBB 3.1.x which fixes quite a few issues with phpBB users, you can get it from https://bbpress.org/download

    #177378
    Robkk
    Moderator

    @lnangel well for IPs specifically, if you put her IP into the comment blacklist she will be blocked from posting in your forums.

    There are also cases where people don’t know that plugins can hook into the comment blacklist with their own custom list, like I have seen issues where a Mojo Marketplace plugin would cause this same error. So if she would use profanity that might be in a custom blacklist for the comment blacklist, she would be blocked.

    You can know if it was this, if she sees the error notice listed in the guide.

    She could go over the link limit settings in Settings > Disscussion too

    From there her actual posts would be set as pending I think.

    https://codex.bbpress.org/moderation-and-blacklisting/

    Other things could be spam plugins like Akismet that work with bbPress possibly being too aggressive.

    #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')) {

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