Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 5,776 through 5,800 (of 11,591 total)
  • Author
    Search Results
  • #126691
    Nathan Pinno
    Participant

    Hi there.

    I’m using the latest plugin version of bbPress, WP 3.5.1, and BuddyPress 1.6.4 and I have a question for you:

    Does the code I found here still work, as that was posted almost one and a half years ago?

    Plus if it does work, how do I modify it to show only certain forums (cause I’m using the Membership plugin from WPMU DEV to control access to a few which are for premium members only)?

    Thanks in advance for the help,
    Nathan P.

    #126690
    Stephen Edgar
    Keymaster

    This sounds like its related to https://bbpress.trac.wordpress.org/ticket/2085

    There is a patch included with the upcoming bbPress 2.3

    If you want to test this and make sure it is working for bbPress 2.3 go download bbPress 2.3 beta 2 and test it out with your setup. https://bbpress.org/blog/2013/02/bbpress-2-3-beta-2/

    (Another discussion thread on the issue is here.)

    #126625
    jeffacubed
    Participant

    Alexander – I’ve been experiencing EXACTLY what you describe on a Buddypress (1.6.4) + bbPress (2.2.4) multisite (WordPress 3.5.1), in that I can create new group topics from the back end (check), from the site-wide forums area (check) but NOT within the actual buddypress group area (front-end). As odd as this might sound, I did try enabling bbPress (over the entire multisite) which then enabled me to post/create new topics & replies from the front-end of the groups/forums area. If I switch bbPress back to being enabled only on site 1 (i.e the root in my multisite environment) then I’m back to the inability to post/create topics & replies via the front-end, though again this all works from the back-end + via the site-wide forums area (i.e new topic to a specific group forum works 100%).

    So, I’ve concluded that somewhere along the line, there’s some sort of corruption, likely in one of the db tables &/or relationships. You’re not the only person I’ve heard of who has had this exact problem over the past few months w bbPress + buddypress + WP multisite. As a test, I created a multisite BuddyPress + bbPress fresh install, and the ability to create/post topics & replies from the front-end (within the group forums area) works 100% (i.e no disappearing). This test also works whether bbPress was enabled sitewide or a a specific site in the multisite network.

    A very confusing problem indeed. The frustrating piece is I’ve actually come across this problem before (~ 3 months) ago, resolved it, though now I can’t 100% recall the steps I took to rectify!

    I think I’ll tackle this one again, as the idea of needed to enable bbPress as a network activation to resolve the issue is not the most ideal situation, at least not for me.

    Good luck!

    -Jeff

    #126611
    Alexander
    Participant

    I’m using the latest version of bbPress, Buddypress, in a subdomain multisite environment.

    I have the site-wide forum enabled. It works.

    I also have “Allow BuddyPress Groups to have their own forums” enabled. This part doesn’t quite work.

    In the groups admin, I can enable the group forum. After I do this, the forum tab appears and shows that there are no new topics in the group’s forum. I can also see the new forum as a subgroup of the parent group-forum.

    When I post new topics to the group’s forum, they don’t show up. They just disappear. I don’t even see them in the backend in the Topics view.

    This briefly worked before – and then it stopped. I might have changed some slugs, and enabled and then disabled the Buddypress forum component.

    I’ve ran the forum error checker in Tools/Forum. There are also no slug conflicts in Settings/Forum.

    What can I do next?

    FlipFlop
    Participant

    Hi guys, I’m using the latest WordPress and BBpress over at http://cdiving.com/forums/

    On the main forum page I would like to change the Freshness column so that it showed the last post in the forum instead.

    Is this possible at all?

    Thank you.

    #126594

    Topic: good work

    josh16
    Participant

    Hello, I haven’t kept up with bbPress lately but out of curiosity I came back to see how it was going. So I ran a test site with the latest 3.5.1 version of WordPress and subsequently added bbPress via the plugins page.

    I must say that you guys have done well. I was sure that this software was going to end but it looks like you finally gave bbPress a permanent niche in the dev world. I loved the older versions of it as well, when the forum software had it’s own site and database. I would often toy with WordPress themes and customize bbPress to match them. But this was, by far, the easiest installation of bbPress I ever ran. It seems more common sense to use it as a plugin with WordPress since it so many people use them together.

    Anyways, I knew from the overhaul of this website that the dev team hadn’t given up. I give you guys props for keeping it alive! Now all that’s left to do is keep up with rivals (ahem, Vanilla).

    Keep up the good work!

    #126589
    oneshortleg
    Participant

    Thanks, I finally got it! One question, though….

    According to what you told me, my forum page should be located at http://example.com/forums

    This did not work (I get a 404 error). Instead, it is http://example.com/?post_type=forum. I used this for the url in the custom menu, and it works.

    Is this going to be a problem down the road?

    I don’t know why it matters, but this is a typical WP install using an ftp client (uploaded WP from my computer to the server and did the quick install). As an experiment today, I used the simple-script feature from Bluehost (my host) to do a test WP install in another location. I installed bbpress on it and the forums page is where you said it would be (http://example.com/forums).

    Any idea why my forums are at this other address?

    Thanks

    RemotePCSupport
    Participant

    Situation:

    Have a WP (3.5.1) installed and multi site enabled to use sub domains only (no top level domain mapping)

    1. Create 1st Sub Site sub1.mysite.com and assign it to a new user (tom)
    2. In another browser (Firefox) i login as tom to wp-admin and am able to got to the dashboard of sub1.mysite.com
    3. Create a 2nd Sub Site sub2.mysite.com and assign it to user Tom
    4. I switch back to firefox and f5 (refresh page) I can see in the top admin bar that Tom now has 2 subsites…and i can navigate to the dashboard of both sites…

    I then proceed to install buddypress and activate it at the primary site (mysite.com – not network activated) as per tutorial @ http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    After which i repeat steps 1 thru 4 above to make sure i can still create and access subsites as the user Tom… and yes I can… We’re goo to here

    Then I install bbpress following the same tutorial on the above video…

    Now that I have a installation that comprises of WP3.5.1 Multisite configuration + Buddy Press + bbPress… I test once more…

    So i proceed to perform the same steps 1 thru 4 above.. but this time with different results..

    If i create the subsites via superadmin and try to login as user Tom.. I’m able to..

    But if i go to front end of site using another browser (Firefox) i am able to login using my user and pass as Tom. But when i add an additional blog under Toms user account.. the blog gets created..

    I then refresh the page and logout as Tom and the log back in as Tom i can see the admin bar has the new site listed under my sites. But when i go to mouse over the newly self created site the only two options i see are dashboard and visit site.

    If i click dashboard i get a blank page with the error message “You do not have sufficient permissions to access this page.”

    If i deactivate bbPress and then try to access the same sub site i still get “You do not have sufficient permissions to access this page.”

    However if i register another sub site as Tom i can access the dashboard for this newly created subsites (Site created after deactivation of bbPress)

    Reading blog’s and forums..

    It appears to be an issue with roles and capabilities of a self generated sub site when bbPress is activated…

    I have now spent 2+ days messing around with this and these is little documentation here at bbPress site..

    In fact the documentation is available here…: http://bbpress.org/about/multisite/ and is useless as its not done…

    There seems to be a million install guides that all show how to activate and configure bbPress..

    Am i the only one with this issue as no one seems to be speaking about this anywhere that i have read…

    “NOW PULLING MY HAIR OUT”

    HELP!!! Anyone.. Someone..

    #126558
    DanBlumenfeld
    Participant

    I’m currently working with/foisting my testing on @Clicknathan (Hi, Nathan!) on a plugin to address the goals of indicating unread topics, indicating topics that have unread replies, and providing a means to jump to the first unread reply for a given topic. (This is my first foray into the wild-n-wacky world of bbPress, PHP, and WordPress plugins…very educational thus far…)

    My first cut is another solution using user metadata; I store a map of topic IDs to last-read-reply IDs. It looks like this `$TOPIC-ID:$LAST-REPLY-ID|$TOPIC-ID:$LAST-REPLY-ID|$TOPIC-ID:$LAST-REPLY-ID`.

    When rendering topics in the loop, I check the topic’s metadata for last-reply ID, and compare it to the last-read-reply ID in the user’s map. If there is no matching topic in the map, I add a CSS class for “unread topic”; if there is a matching topic, and the last-read-reply ID is less than the last-reply ID, I add a CSS class for “unread replies”.

    When handling replies, I update the map (only in memory!) as I loop through each reply, then commit the map back to user metadata after processing all replies. I also check each reply ID; if it is the first one I find greater than the last-read-reply ID from the map for the current topic, I throw in a “first-unread” anchor tag, so it can be easily jumped to on the client side.

    Currently, I don’t limit the number of topic/last-read-reply pairs I store in the user metadata; I’m quite sure there will be a point where performance suffers.

    I’m also unsure how best to handle pagination for the “jump to first unread reply” question; while dropping the anchor tag is easy enough, I’m not sure how to properly form the URL to which to append the anchor tag ref, without some fairly complex logic involving looking up the relative index of the first unread reply in the set of all replies for the topic.

    Anyway, I’d love some feedback at the conceptual level now, and I’d even more appreciate some solid criticism when I get the plugin whipped into shape and submitted.

    #126556

    In reply to: Caching

    Stephen Edgar
    Keymaster

    I don’t see any problems there with the topic & reply I just created
    http://www.big-data-forum.org/?topic=via-netweb-bbpress-org

    A couple of things though… You may want to change your ‘permlink’ structure to use ‘pretty permalinks’ https://codex.wordpress.org/Using_Permalinks

    When you are trying to find a problem with your site try disabling all your plugins except bbPress and see if the problem still occurs, if it is fixed reenable each plugin one by one and check for the problem again to isolate if it is a plugin causing the problem.

    You should also test using the ‘Twenty Ten’ or ‘Twenty Twelve’ themes included with WordPress to make sure it is not an issue with the theme you are using.

    #126552

    Topic: Caching

    in forum Troubleshooting
    bornakke
    Participant

    I’m trying to setup a really basic forum for the first time i WordPress, but I must admit that it has shown more difficult than first expected.

    Well after hours of bug finding I’m down to one problem, which is that BBpress doesn’t refresh when you make a post. The problem seems to be related to caching, cause when I disable caching in Chrome it works. No matter what I do I however just can’t seem to figure our how to make my browsers (firefox + Chrome) not cache the page in the first time.

    The test forum is located here:
    http://www.big-data-forum.org/?forum=big-data-3

    bbPress Version 2.2.4
    Wordpress Version 3.5.1

    To post you have to login with:
    Usr: Test
    Passw.: 123456

    Hope that somebody can help me out 🙂

    Best regards
    Tobias

    #126550
    Mitesh Patel
    Participant

    @sadr, Nevermind.

    Actually, in further testing I realized that it does multi-quote too. Now if that’s the case, there will not be a unique parent comment to latch the quoted comment, in which case, the present logic is the way to go.

    Pedro
    Participant

    Hey everyone,

    I’ve been trying to figure this out for quite some time, but it seems that I still need your help.

    This error appears on creating new topics on every version of bbPress after 2.0.3. As this seems to be a nonce related issue, would you be so kind to tell me if there were any major changes in the nonce handling for versions after 2.0.3? I’m stuck with this version and I’d like to benefit from all the nice features these latest versions came with.

    Please let me know what kind of details you need in order to help me sort this out. Thanks a lot!

    dasped
    Participant

    Hi all,

    New install: WordPress 3.5.1 MU joint Network with x7 Mapped domains

    New install: Buddypress 1.6.4 Running all sites on Dynamix WP/BP theme

    New install: BBPress 2.2.4 With Network & Group forums configured.

    Buddypress has been installed ‘without’ the discussion forums tab enabled.

    <code>define( ‘BP_ENABLE_MULTIBLOG’, true );</code> Is located in wp-config.

    Other plugins installed all network enabled:  WP SEO (Yoast), WPMU Domain Mapping, Ultimate coming soon page & Join my multisite.

    Followed all Buddypress and BBPress latest instructions to the letter!

    I can create new forums, and group forums with no problems. All forums and groups are traceable throughout all MU sites with no problems and I have used bp-custom-php with;

    <code><?php

    /* This fixes the MULTIBLOG avatar problem */

    function nfm_bp_avtar_upload_path_correct($path){

    if ( bp_core_is_multisite() ){

    //   $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, ‘upload_path’ );

    $path = ABSPATH . ‘wp-content/uploads/’;

    }

    return $path;

    }

    add_filter(‘bp_core_avatar_upload_path’, ‘nfm_bp_avtar_upload_path_correct’, 1);

     

    function nfm_bp_avatar_upload_url_correct($url){

    if ( bp_core_is_multisite() ){

    $url = get_blog_option( BP_ROOT_BLOG, ‘siteurl’ ) . “/wp-content/uploads”;

    }

    return $url;

    }

    add_filter(‘bp_core_avatar_url’, ‘nfm_bp_avatar_upload_url_correct’, 1);

    ?></code>

    To carry user and group avatars throughout all networks.

    Problem being, once a forum post is created I’ as keymaster cannot Edit, Close, Stick, Merge Trash or Spam “Any” forum posts. The page just refreshes without any actions taking place.

    I have read two other posts relating to this similar/same issue, one from over a year ago, and one from as little as two weeks ago, both without solution, one without any replies.

    Further to the above, I have noted that BBPress is not sending emails out on replies to forum posts with the Notify me of follow-up replies via email tab checked.

    I sincerely hope someone may be able to help shed some light on this issue as it is really going to render my project useless if I can’t manage to resolve it.

    I’m happy to offer a bbpress admin, administrative access to my site if they feel they may be able to assist in some way.

    Here’s hoping .. !

    Regards,

    Sped

     

    #126503
    Mitesh Patel
    Participant

    @pjtna and @sambora5150 : Lucky, you guys found me, (or viceversa :))

    I was looking to do exactly that. So here it is.

    The code should go in bbpress template file loop-single-reply.php, below the PHP code line that contains. The file is located in plugins > bbpress > templates > default > bbpress folder.

    `do_action( ‘bbp_theme_before_reply_author_admin_details’ )`
    Th actual code should be,
    `
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo “@”.$user_nicename;
    }
    `

    But you should never edit that file, as the changes will be lost when you upgrade bbpress plugin.

    So, copy the file and put it in your theme within a folder ‘bbpress’ (you will have to create that folder).

    You will also need to add the following line to your theme’s function.php

    add_theme_support(‘bbpress’);

    OR untested but simple method, add all of the following to the function.php of your theme.

    `function append_mention(){
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo “@”.$user_nicename;
    }
    }

    add_action(bbp_theme_before_reply_author_admin_details, append_mention);`

    #126474
    Stephen Edgar
    Keymaster

    Its all good, you will be able to update to 2.3 fine.

    Here’s some docs on how to get up and running with modified templates:
    https://codex.bbpress.org/theme-compatibility/

    And of course you could just start using the 2.3 beta now

    bbPress 2.3 Beta 2

    #126457
    Darren1981
    Participant

    Hey all,

    I am looking to launch my project very shortly: REMOVED URL currently i am only working on my localhost but am looking to start working / testing on a live server.

    Currently i am using the latest stable release.. but am considering installing the latest beta version.. I am looking to do several customizations to my bbpress installation so basically i was wondering if i do install the latest beta version and begin working / modifying templates etc.. will i be able to upgrade to bbPress 2.3 easily enough once it is released ?

    Thanks in advance for any assistance on this topic.

    Regards, Darren

    #126367

    In reply to: 404's for non-admins

    Debra
    Participant

    Just chiming in here for the record. My knowledge of code and plugins is novice at best and I’m afraid I will not be of any help.

    I received these 404 errors with a fresh install of bbPress a little over a week ago. My membership plugin, Digital Access Pass, kept tripping it up. The DAP support team did some testing and could not come up with a solution for me. They suggested I use the fix from https://bbpress.org/forums/topic/fix-404-issue-for-bbpress-2-2-x/ until something else could be figured out.

    #126296

    In reply to: Only Visual editor?

    Debra
    Participant

    I’m no expert, so take this for what it’s worth and research further …
    Here’s the code I found that seems to work. Have not fully tested. Would appreciate any feedback from someone with more experience.

    In form-reply.php
    Find bbp_the_content( array( ‘context’ => ‘reply’ … and change line to
    ` ‘reply’, ‘quicktags’ => false ) ); ?>`

    In form-topic.php
    Find bbp_the_content( array( ‘context’ => ‘topic’ … and change line to
    ` ‘topic’, ‘quicktags’ => false ) ); ?>`

    #126295
    jumborex
    Participant

    I’m testing bbPost, so obviously I do not know it! I made a tryal here: http://www.coalize.it/wordpress2/
    In the sidebar on the right, one can see a link to the forum(s): when you click it not being a User you may read the simple test message of the Forum, while if you enter as a User (via facebook, or Google), you can see nothing more! No message, no Forum, nothing.
    Strange enough, the title of the Forum says “Comments Disabled”, and I didn’t willing disable them!
    Where do I’m doing wrong?
    Thank you.

    moonoi
    Participant

    I have a few questions that I was hoping one of the bbPress developers would be able to give me a quick hint about offhand.

    I’m getting results that leave me completely puzzled, as I try to hook into or directly modify the `bbp_get_caps_for_role()` function in `/core/capabilities.php`.

    The `bbp_get_caps_for_role` filter
    My purpose is to try and return an array with true on all caps for any role, because I need to find out why only the keymaster gets to upload images.

    My first attempt is just to use the `’bbp_get_caps_for_role’` filter provided by the function. This is where the mysterious stuff starts…

    I can add the filter, and when I check the `$wp_filters` global afterwards, I can verify that the filter has been added correctly. However it doesn’t fire. When I check the `$wp_filters` array inside the `bbp_get_caps_for_role()` function, just before the hook is applied, my filter has vanished. So somewhere there must be a function removing my filter. But where, and why!?

    Testing by returning the `$caps` array with all caps set to `true`
    So giving up on the filter for now, I simply try to hardcode the all-true `$caps` array directly into the `bbp_get_caps_for_role()` function and returns this, regardless of role. What then happens is even weirder. – Now my user can not even post a reply in the forum.

    How can setting all caps to true end up giving my user less rights in the forum?!

    Thanks in advance guys!

    For reference, here is the bottom part of my hacked `bbp_get_caps_for_role()` function:
    `

    ‘assign_topic_tags’ => true,
    );

    break;
    }

    $caps = array(

    // Keymasters only
    //’keep_gate’ => true,

    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => true,

    // Forum caps
    ‘publish_forums’ => true,
    ‘edit_forums’ => true,
    ‘edit_others_forums’ => true,
    ‘delete_forums’ => true,
    ‘delete_others_forums’ => true,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true
    );

    return $caps;
    //return apply_filters( ‘bbp_get_caps_for_role’, $caps, $role );
    }
    `

    #126262
    intimez
    Participant

    Hoping someone can confirm this bug to avoid this issue being skipped for the 2.3 release since it is considered critical

    ———————–
    john the admin creates group1 – jane creates group2 (private)

    when jane visits group2 to create a forum post, it is posted to group1 and everyone can view the private forum post.

    tested twice with new installs wordpress 3.5.1 + buddypress trunk-6779 + bbpress trunk 4761

    jane is a standard user (participant)

    #126244
    #126237
    sontru
    Participant

    `
    <?php
    /*
    Plugin Name: Test add_user_to_blog with bbPress
    Plugin URI:
    Description: Does what it says! Menu item will appear under Users Menu in admin’s CP
    Author: sontru
    Version: 1.0.0
    Author URI:
    */

    add_action( ‘admin_menu’, ‘ad_the_wp_menu’);

    function ad_the_wp_menu() {
    global $bbtestpage;
    $bbtestpage = add_users_page(‘bbPressBugtest’, ‘bbPress Bug Test’, ‘administrator’, __FILE__, ‘addsutoblogfunc’);
    }

    function addsutoblogfunc()
    {
    if(trim($_POST[‘username’]) === ” || trim($_POST[’email’]) === ”) {
    echo ‘<h3>bbPress Bug Test</h3>’;
    echo ‘<p>Activate the bbPress plugin. Add a user using this page, refresh by displaying to All Users. If there is an issue, all sub sites will appear in this user\’s My Sites drop down list.</p>’;
    echo ‘<form method=”post” name=”create-user-test” action=”‘ . the_permalink() . ‘” />’;
    echo ‘Username: <input type=text value=”” name=”username”> Email: <input type=text value=”” name=”email”><input type=submit value=”Create User”>’;
    }
    else {
    $my_user = trim($_POST[‘username’]);
    $my_email = trim($_POST[’email’]);
    $my_user_id = username_exists($my_user);
    if( !$my_user_id and email_exists($my_email) == false) {
    $random_password = wp_generate_password( $length=12, $include_standard_special_chars=false );
    $my_user_id = wp_create_user( $my_user, $random_password, $my_email );
    echo “<p>Creating new user: $my_user with email: $my_email | Generated userID: $my_user_id</p>”;
    if($my_user_id && !is_error_id($my_user_id))
    add_user_to_blog(get_current_blog_id(),$my_user_id,’administrator’);
    } else echo ‘<p>User: $my_user exists or email: $my_email exists! Nothing done!</p>’;
    }

    }
    ?>

    `

    Use with care!

    #126234
    Hieke
    Participant

    Thanks for your reply.

    I suspect Better WP Security and bbpress and/or BuddyPress are not compatible or I didn’t figure out the right settings yet.

    What is happening: one creates an account, and after receiving an activating e-mail, one fills in name and password, and after that the defeault WP login screen appears (huh) an one has to fill name and password again. I think this is where one can make an new user?

    WP-login is supposed to be hidden by Better WP Security, instead some sort of redirect appears in the URL. See testforum http://www.nietdragenmaarklagen.nl

    The users multiplied by night, there are 5 now. What is remarkable: these users have WP user role: subscriber and Forum role: none.

    The next question is: how to secure this forum? With what plugin or settings?

    Thanks.

Viewing 25 results - 5,776 through 5,800 (of 11,591 total)
Skip to toolbar