Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 32,051 through 32,075 (of 64,744 total)
  • Author
    Search Results
  • spidersilk
    Member

    I’m in the process of converting a standlone BBpress 1.1 installation into the 2.02 plugin version (well, really, recreating it from scratch in the plugin version, because the importer apparently doesn’t work if your blog actually has any users or content).

    And I’ve run into a problem – the default permalink structure for the BBpress plugin is really bizarre. It adds a “forums” slug for the forums area, which is fine and to be expected, but then it also insists on adding an additional “forum” slug before the name of each forum, so that instead of a normal URL like example.com/forums/announcements, you get example.com/forums/forum/announcements, which looks weird and awkward. I tried just removing the forum slug, but that left a double slash in the URL, which my web browser then reduced to a single slash, resulting in a 404 error.

    And for posts within forums, instead of the sort of URL you would normally expect – i.e. for a post in the announcements forum, something like example.com/forums/announcements/welcome, or example.com/forums/announcements/12345 or whatever, you have example.com/forums/topic/welcome – there doesn’t appear to be any way to associate the posts with the actual forum they’re in.

    Is there any way to fix this? Obviously the “forums/forum” thing is the most important – having the completely useless “topic” slug in the post URLs is annoying and pointless, but the “forums/forum” thing makes it look like I was drunk when I set the forums up or something – I really can’t let it go live with a glitch like that in the URLs. But I’d like to fix the topic issue too if possible. Any ideas?

    #113511

    In reply to: bbpress.2.0.2 Arabic

    Faisaal
    Member

    !!!

    no one knows how to help?

    #44662
    neodoxa
    Participant

    Is there a way to add total post count and roles (moderator, etc.) under the avatars/usernames of users in the forum?

    I’m using the BBPress plugin with a Buddypress / WordPress site.

    Thanks.

    #113510
    kennymcnett
    Member

    Thanks for looking at this, jaredatch. Buddypress was overkill for what I needed and was also breaking my custom theme. Some jquery conflict I didn’t want to find.

    For any others out there, I integrated bbPress with s2member permissions successfully. I posted my solution on the s2member forums:

    http://www.s2member.com/forums/topic/a-few-questions-before-i-buy-the-pro-version/#post-13113

    Anyone?

    #113509
    kennymcnett
    Member

    I considered Buddypress, but it’s way more robust than what I’m needing, and installing it was breaking my custom theme (jquery conflict somewhere).

    Thanks for looking at this.

    For anyone else out there, here’s my solution for restricting bbPress access using s2member. In short, this checks if the current user has access to the most distant ancestor of the current page. For example:

    Level 1 Forum/Category > Subforum1 > Subcategory > Subforum2 > Current Topic

    No matter which page they arrive at in the tree, they must have access via s2member to the top-most level. Then it’s a simple matter of assigning a ccap to that Forum, or a membership level.

    1. Include the following in your functions.php file

    2. Include a call to the function in EACH of your bbPress template files BEFORE the template calls for the forum content. Match the HTML structure of the error message to suit your theme. You need to include closing tags for any open divs.

    3. Test!

    /******* bbPress Forum Access *******/

    function checkForumAccess() {

    if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') { // check if user is viewing a forum page. If so, continue.

    //check if they have access to the top-most parent forum/category (both are Pages in wordpress). If not, show the error verbiage. If they have access, continue and show the content like normal

    $parent = array_reverse(get_post_ancestors($post->ID)); // get an array of all the parent pages in order from most distant to closest.

    $first_parent = get_page($parent[0]); //get the first page in the array, which is the most distant parent

    $int = apply_filters(‘the_ID’, $first_parent->ID); //filter the $first_parent to get only the wordpress page/post ID, which is an integer like 49 or 565. store it as a variable $int

    if (!is_page_permitted_by_s2member($int)) { // this is an s2member function. Check if the current user can access the $first_parent, via the stored page/post ID in the $int variable

    // here comes your custom error message. Remember to escape any apostrophes

    echo ‘

    <div>

    <h1 class=”entry-title”>Sorry!</h1>

    <div class=”entry-content”>

    <p>It looks like you don’t have access to this forum.</p>

    <p>If this is an error and you should have access, please contact us here: (contact URL)

    </div>

    </div><!–.postWrapper–>

    </div><!– #content –>

    </div><!– #contentWrapper –>

    </div><!– #primary –>

    ‘;

    get_sidebar();

    get_footer();

    exit; // Important. This prevents the rest of the page (the secure forum content) from displaying

    }

    }

    }

    #111246
    kennymcnett
    Member

    thanks phrough!!

    #44639
    cavenewt
    Participant

    I’ve spent a couple of hours looking without much result, so I will ask the question.

    My bbpress standalone 1.0.2 forum was using Human Test quite successfully up until last week, when it mysteriously quit working. It thinks everybody is a nonhuman. The few spam posts that appeared I did not mind deleting manually, then I would manually delete that user also.

    Now I am getting about 50 new registrations every night (normally I get zero to one per day). Not a lot of spam posts, oddly enough.

    So next I tried Akismet. It boasted that it was blocking 25 spams a night. But there is nowhere to check these spams–really? An email to the Akismet folks got me the reply that they don’t have a clue where bbpress stores spams.

    I would much rather block registrants than posts. Does bbpress 2.x have any protective measures built in, or are there any good plugins? Does 2.x play nicer with Akismet?

    #113498

    In reply to: BBpress will continue?

    cavenewt
    Participant

    ‘This questions sound a bit silly, but is it helpful if someone tag a spam topic as “spam”, “spams”, “spamming”, or “spammer”? (I always do this when I see a spam topic)’

    That explains why, when I come here looking for spam-fighting solutions, I turn up so much spam. :(

    #113470
    POS2012
    Participant

    IF you use bbPress 2.0 or newer, you can just install BuddyPress, and during the install you can tell BP that you have an existing forum. I did that, and BP + bbP integrated well.

    #44637
    Nate
    Participant

    Problem: Remove sidebar from bbPress

    Solution: My theme has a Full Width option

    I know that if I input my shortcode into a Page, it will display the forum in the Template of my choosing. Presto, the forum index is within Full Width.

    Yet when the user decides to choose a forum, they’re relegated to the Theme’s default Template, which includes the sidebar.

    Meeeeh.

    Is there a quick and dirty way to tell bbPress to use the Full Width template that’s already available?

    I recently noticed that when I try to start a topic or posting a reply, it’s taking about 30+ second before the topic/reply is show up. If you try to tell me there may be a “bad plugin” and try to disable all of it except bbPress, save it. I have tried the following:

    1. Using different browser.

    I find out that when I try to use Firefox 12.0 to post, it’s loading extremely slow. But this is not happening in Internet Explorer 9 or Google Chrome 18.

    Try to start Firefox in safe mode? Yes I have tried to do that but it doesn’t make a difference.

    2. Using different user/computer.

    It’s still the same.

    3. Try to post a comment in a normal post.

    I was able to comment a post without any problems, so I think it may be a “bad plugin” problem.

    4. Disable all plugin (except bbPress & BuddyPress)

    But the same thing happen. FYI I don’t edit either the bbPress or BuddyPress files.

    5. Using different theme.

    I replace my modified custom community theme with BuddyPress Default theme and see if I putting bad codes in my theme. But this doesn’t solve problem even I tried other themes.

    6. Change permalink structure.

    It doesn’t make any changes, and I don’t think it will help.

    7. Reinstall WordPress, bbPress & BuddyPress

    Still doesn’t make any changes.

    8. Create a new install in another domain.

    I use http://scirefs.com/ as my main and http://www.scirefs.org as a sandbox (with the same configuration as in SCIREFs.com) with only bbPress and BuddyPress activated. But everything works fine in SCIREFs.org with either bbPress 2.02 or 2.1 and I have no issue with Firefox 12.

    9. The Cloudflare……

    Since I have Cloudflare as my CDN for SCIREfs.com but not SCIREFs.org, I tried to remove SCIREFs.com from Cloudflare and add SCIREfs.org to it and see what happens. The result: The issue with Firefox at SCIREFs.com disappear but SCIREfs.org is now facing the old issue.

    Do anyone here have any ideas what’s wrong with it? Or someone here is facing the same problem? This seems to be the first and the only problem I can’t figure it myself.

    You can login to SCIREFs.org using the following information:

    Username: demo

    Password: demo

    URL of the forums: http://www.scirefs.org/test-forums

    And try to start a topic or post a reply using Firefox and see if it’s happening to you.

    pimarts
    Participant

    I don’t know if it’s a “great” example, but http://www.swnk.org/ is running on WordPress + BuddyPress + bbPress.

    ZedsDed
    Member

    Hello! I’d love to see some examples of sites that utilize WordPress for its blog and bbPress for its forum/messageboard. I’m poking around this forum now for examples but would love to see any that you may know of. Thank you :)

    #113497

    In reply to: BBpress will continue?

    neviga
    Member

    That seems to be a workaround but as long as the post keeps in the list and not moved/removed to a different queue, it will stay there till a moderator takes action I think.

    #113496

    In reply to: BBpress will continue?

    This questions sound a bit silly, but is it helpful if someone tag a spam topic as “spam”, “spams”, “spamming”, or “spammer”? (I always do this when I see a spam topic)

    Stephen Edgar
    Keymaster

    The page /forums is a generic page part of bbPress.

    You can create your own page/s and use the bbPress Shortcodes

    https://bbpress.org/forums/topic/bbpress-20-shortcodes

    Go to Appearance > Pages and give it a title (Discussion, The Teams, Leagues etc)

    Then in the content of that page use the bbPress shortcodes with how and what you want on that page.

    This for example would show what you currently have on /forums plus add the ‘new topic form’ below that list.

    [bbp-forum-index]

    [bbp-topic-form]

    You could also create a page called ‘New Topic’ and just have [bbp-topic-form] on that page and then using the same method from Jarad above add those pages as menu items.

    #113512
    Stephen Edgar
    Keymaster

    Head on over to http://bbpress.trac.wordpress.org and have a read of the links there.

    Perform a search to see if there are any similar and/or open bugs already

    https://bbpress.trac.wordpress.org/search

    To submit a bug and bug fix https://bbpress.trac.wordpress.org/newticket

    #109942
    kennymcnett
    Member

    Thanks mattsimo and jaredatch. Worked the charm.

    Here are all of the $args and the defaults, FYI (pulled from bbPress core file: bbp-common-template.php)

    // HTML
    'before' => '<div class="bbp-breadcrumb"><p>',
    'after' => '</p></div>',
    'sep' => is_rtl() ? __( '&lsaquo;', 'bbpress' ) : __( '&rsaquo;', 'bbpress' ),
    'pad_sep' => 1,

    // Home
    'include_home' => $pre_include_home,
    'home_text' => $pre_front_text,

    // Forum root
    'include_root' => $pre_include_root,
    'root_text' => $pre_root_text,

    // Current
    'include_current' => $pre_include_current,
    'current_text' => $pre_current_text

    #44610
    earnshae
    Member

    Hello,

    I installed bbpress and I really like it.

    I found that there is an alignment issue that is caused by the return of the bbp_reply_class function for the default theme bbp-twentyten.

    I noticed that others were having the same problem.

    So I fixed it in my version and would like to submit my bug fix…

    How do I go about doing that for this project. I have never contributed a patch to an open source project before but would like to submit this bug fix.

    Thanks for your help.

    #44606
    Faisaal
    Member

    Dear good friends,

    I installed the latest bbpress.2.0.2 into my arabic site and it fits OK but the english words like:

    Forums ‹ Home

    Forum

    Topics

    Posts

    Freshness

    are in English. My website is Arabic and would like to make it Arabic.

    Here you can see my website after installing bbpress 2.0.2 to it:

    http://jubailcompanies.com/?page_id=74

    is there any way?

    Thanks and good day to all of you.

    #44605
    kennymcnett
    Member

    Hi, I’m integrating bbPress with s2member and need to restrict access to certain categories, forums and their topics.

    For example, here’s a hierarchy:

    Home > Forums > Category1 > Subcategory1 > Forum1 > Subforum1 > Topic1

    If someone tries to look at Topic1 or any of its parents, I need to check to make sure they have access to Category1.

    Access is managed by s2member.

    For typical wordpress posts, I attach this filter, run a wp_query, then detach it:

    attach_s2member_query_filters(); // only fetch content the user can access

    If that query is not empty, then I let the user view the page they’re trying to look at. If it is empty, it means they don’t have access to any posts and so I redirect them.

    But I don’t know how bbPress works well enough to figure it out.

    It seems I need to

    1. Find what the root category is

    2. Check if the user can access the root category

    3. If so, allow access to whatever they’re trying to see. If not, redirect or give an error message.

    Any ideas on how I can do this?

    #113473

    Correct, with bbPress 2.1 the “Theme compat” bbPress theme will work for most people out of the box.

    The problem is that some WordPress themes do weird things – such as modify the loop and/or query (things that are not normal) – and this causes bbPress to break.

    #113165

    I completely agree things could be improved.

    I’m just not sure how much of that is on bbPress and how much of that is on Akismet.

    On bbPress.org one of the major problems we run into is the majority of the spam is from human spammers – so no matter what reCaptcha/human test (etc) is in place they will get around this.

    Some of the plugins (such as https://wordpress.org/extend/plugins/bbpressmoderation/) try to get around this where a user must have a previously approved post before their posts show up.

    #108139
    damjtoh
    Member

    I edit the template.php bbp-forum, although I do not sound right to modify the core.

    I changed bbp_list_forums function () original:

    function bbp_list_forums( $args = '' ) {

    [...]

    // Build this sub forums link

    $output .= $link_before . '' . $title . $counts . '' . $show_sep . $link_after;

    }

    // Output the list

    echo $before . $output . $after;

    }

    }

    by:

    function bbp_list_forums( $args = '' ) {

    [...]

    // Build this sub forums link

    //$output .= $link_before . '' . $title . $counts . '' . $show_sep . $link_after;

    $output[] = array(

    'permalink'=>$permalink,

    'title'=>$title,

    'count'=>$count

    );

    }

    // Output the list

    return $output;

    }

    }

    and I returned:

    Array

    (

    [0] => Array

    (

    [permalink] => http://localhost/wpv1/foros/seccion/dota2/torneos-y-competencias

    [title] => Torneos y competencias

    [count] => Array

    (

    [topic] => 1

    [reply] => 5

    )

    )

    [1] => Array

    (

    [permalink] => http://localhost/wpv1/foros/seccion/dota2/dota-chat

    [title] => Dota chat

    [count] => Array

    (

    [topic] => 0

    [reply] => 0

    )

    )

    )

    The only drawback is that I can not get the last comment of each forum.

Viewing 25 results - 32,051 through 32,075 (of 64,744 total)
Skip to toolbar