Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 5,776 through 5,800 (of 11,582 total)
  • Author
    Search Results
  • #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.

    #126226

    In reply to: BBpress Post Editor

    Stephen Edgar
    Keymaster

    This site is testing the upcoming bbPress 2.3 that will be released in the near future.

    #126222
    Darren1981
    Participant

    Hey all,

    How would one go about extending the default BBpress post editor ? I would like my users to be able to add images and links.. the current editor seems very basic (I am using the latest version of BBpress)..

    Even the editor used here on bbpress.org is much better than the default one.

    Thanks in advanced for any assistance on this matter.

    Regards, Darren

    #126219
    raminkhan
    Participant

    okay guys my website is called: schoolruled.com it’s a fairly new website and I would like to set it up like the support section here before it’ too late. I want to have a colum like with forums list and topics count in each forum and the a main column with latest topics but smaller width so what shortcodes should I use for this?

    #126212
    whatisajess
    Participant

    I tried displaying the reply form in my WordPress theme’s single.php file by putting [bbp-reply-form] but it just outputs [bbp-reply-form] as text on the site.
    I am using the “bbPress Topics for Posts” plugin to automatically create a new topic with every new post and I want to display the latest replies as well as the reply form under the article but it only displays the replies, not the form. So I thought by adding the shortcode, I would get the form but that didn’t work.
    What am I doing wrong?
    Thanks so much in advance!

    #126138
    m1000
    Participant

    Hi,

    I want to display recent 5 topics on the sidebar so I used bbp_has_topics() loop but I don’t know how to display only 5 posts. On the forums I have 20 topics per page.

    Mitesh Patel
    Participant

    Same problem here as well.

    What’s more, this is a problem on testbp.org as well! Although on testbp.org the ‘discussion’ page correctly gets the current_page_parent class, it fails when you go to any forum or topic page. The ‘support’ menu item on both buddypress.org and bbpress.org remains highlighted no matter where you are in forums area.

    So my question would be, how did they set-up forums on bbpress.org and buddypress.org? I searched high and low – everywhere, but failed to find a solution. What are we doing wrong? IS it a wp_nav_menu specific problem or with bbpress?

    https://bbpress.trac.wordpress.org/ticket/2204

    Stephen Edgar
    Keymaster

    Looks like the conversion hangs around 13,000 replies …. I have about 20,000 more to go. It definitely slows down near the end.

    If it hangs and appears that nothing is progressing, click ‘stop’, wait a minute to give your webhost a moment to finish anything it might be doing, click ‘start’ and it should resume from where it left off. Take note of the step and count of where it was up to so after importing you can check that for example all replies between 13,400 & 13,499 have indeed been imported.

    However, the posts that do end up getting converted look beautiful.

    Cool, took a while to get to this point but quite satisfied with the results.

    My only guess is the scrubbing process is taking a lot more resources than before this beta version? Any insights would be much appreciated

    There have been no changes to the actual converter, only the importer. Granted that the import now imports more phpBB fields than it did previously but this should make only a small increase to the SQL query performance.

    As each topic or reply is imported it is parsed with ~30 regex strings to convert the BBCodes, I haven’t done any benchmarks but presumably this has some impact.

    My base phpBB database import I have used for the past 6 months to test with is around ~6000 topics and 30,000 replies and I haven’t really noticed much of an impact during what I would say has been ~100 imports.

    Also, I’ve noticed that there seems to be only two levels of hiearchy that gets converted … Categories and 1 level of forums below that. Nested forums within forums in phpbb don’t get pulled in? It’s okay for me either way because i’ll modify my forum structure before importing them.

    That should work fine, I tested things to a depth of 4 with a forums hierarchy based on the ‘‘nested set model’.

    #126097
    mance
    Participant

    Whenever I create a post in a forum and add a web link, the link disappears (as does the text enclosed in the tags) from the post.

    See here for example http://c3wales.org/forums/topic/test/

    The site is WP 3.5.1, BBpress is 2.2.4
    Theme is convention by WPZoom

    Thanks

    Stephen Edgar
    Keymaster

    @Lynq,

    I just sent you a pull request over at GitHub and updated all the things.

    • Update to latest bbPress r4754 code changes
    • Added README.md
    • Updated bbpress-functions.php
    • Updated bbpress.css
    • Added custom CSS changes to bbpress-rtl.css
    • Removed unused templates

    bbPress r4754 is at this stage bbPress 2.3 Beta 2 and I am pretty sure any other changes we make before releasing 2.3 won’t affect any of what I just updated.

    There are no changes to your code, just the bbPress updates to the latest version available.

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