Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

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

    #126050
    ssmedia
    Participant

    Hi,

    I’m having a very strange problem with bbpress.

    I’m using the lastest version of WordPress and bbpress and I created a super stick topic. These are just rules and guidelines so I closed it to replies. I can see it in the category forum page such as this (http://causepages.com/sw/forum/health-insurance-finance/) when logged in as a user but when I actually click into it, it’s not shown. (I just get my sidebar).

    Can anyone help with this please?

    #126033
    jessecarllane
    Participant

    I did search this forum for an answer with no luck. Some user named “anonymous” posted spam about snoring on my ElectricityClub.org forum. No such user to delete! My admin account sees no way to delete the post either! The forum settings have the anonymous setting unchecked like it should be. I have all the latest updated plugs. How to I get rid of the current user and post and prevent such intrusions in the future?

    #126013
    steilenhang
    Participant

    I will be upgrading as soon as possible, no doubt.

    I am setting up a test site right now, hopefully that works 🙂

    #126010
    Stephen Edgar
    Keymaster

    I would look updating whatever it is holding you back from upgrading to WordPress 3.5.1 for the security fixes 3.4 & 3.5 have introduced at a bare minimum.

    That said give it a try on a test site and if that works use the builtin WordPress Import/Export tool to export all the forums, topics & replies and then import them https://codex.wordpress.org/Importing_Content#WordPress

    #125995
    Phill
    Participant

    Hi Lynq,

    I tried adding that first code from pastbin to my homepage box which is supposed to show the latest 5 topics from our bbpress forums – unfortunately it’s not showing anything. Is there something else that needs to be added?

    #125972
    steilenhang
    Participant

    I am still using 3.3.1. I can upgrade to 3.4, but thats it.

    However, I could set up a Wp 3.5.1 testsite on another domain and try to import the forum there. If it works I can move the tables from that database to the current one. If I knew what tables to move. I know posts and replys are a wp_posts and wp_postsmeta, but I guess there is more information somewhere?

    LaurenceAtFree
    Participant

    For people like me new to php this is how to make a plugin with John’s code :
    paste this code in an editor and save the file as teenybb.php :
    <?php

    /*/
    Plugin Name: Teenywithbb
    Plugin URI: https://bbpress.org/
    Description: Enable Teeny Mce in bbpress
    Version: 1.0.1
    Author: John James Jacoby
    Author URI: https://bbpress.org/
    /*/
    function foo( $args = array() ) {
    $args['teeny'] = false;
    return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'foo' );

    copy this file in your plugin directory where you usually copy other plugins.
    You can see the plugin named Teenywithbb in wordpress you juste have to active it.
    and then you have tinyMCE Advdaced as editor in bbpress 2.2. 🙂

    #125967
    Erlend
    Participant

    I’m not asking for something that’ll work out of the box. Some pointers on what pieces of code to look at to have a go at this ourselves would go a really long way. Same goes for excluding forums and topics from default index.

Viewing 25 results - 5,801 through 5,825 (of 11,598 total)
Skip to toolbar