Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,851 through 3,875 (of 11,584 total)
  • Author
    Search Results
  • #158349
    Robin W
    Moderator

    sorry I’m not ignoring you or abandoning you, I’d like to get this working as well, but one of my plugins is causing users issues, so have diverted my attention to that.

    Just try pasting this into the line

    <label for="rpi_label1"><?php _e('First Name as people call you eg Dave','mydomain') ?><br />
    

    If I’m right it will fall over on the next line, and I can tell you the issue.

    If not, I’ll load you code into my test site and kick it when I get out from my plugin issue

    #158346
    Robin W
    Moderator

    ok, so what are

    2. wordpress role
    and
    3. forum role

    set to for your test user?

    #158329
    Robin W
    Moderator

    thanks I’ll load that lot into my test site.

    If you need this fixed urgently, come back and I’ll cut just the key part you need into a mini plugin.

    Otherwise I’ll look at early next week

    #158303
    Robin W
    Moderator

    will be at least tomorrow evening before I look at again, but the code does seem to work on my test stite with twenty ten, although I don’t know why it didn’t immediately !

    #158300
    kc9wwh
    Participant

    Thanks Robin,

    I’ve been using Safari to login with my test user and Firefox for admin, but even with clearing cookies and cache I’m seeing no improvements. I went through and disabled plugins one by one and didn’t see any change either…

    Could it be something with the theme? I’m using a Twenty Thirteen Child Theme.

    Thanks again!

    #158295
    Robin W
    Moderator

    ok, not sure why, but my code is now working without me changing, but I did shutdown all browsers and reload from scratch and that seemed to fix.

    I can now change role capabilities at will, but initially like you the changes did not take effect.

    by the by if you have several sessions in one browser they will take capabiliites of another session, so have you admin in say IE and your user you are testing in say Chrome !

    #158272
    kc9wwh
    Participant

    Hello Everyone,

    So I’ve been working to get some custom permissions setup for our site and are running into some issues…I’ve followed the document located here and in turn have added the following code to my functions.php file in my child theme:

    //code to add members and board roles
     
    function add_new_roles( $bbp_roles )
    {
        /* Add a role called member */
        $bbp_roles['bbp_member'] = array(
            'name' => 'Member',
            'capabilities' => custom_capabilities( 'bbp_member' )
            );
     
        /* Add a role called board */
        $bbp_roles['bbp_board'] = array(
            'name' => 'Board Member',
            'capabilities' => custom_capabilities( 'bbp_board' )
            );
     
        return $bbp_roles;
    }
     
    add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
     
    function add_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_member' )
            $caps = custom_capabilities( $role );
     
        if( $role == 'bbp_board' )
            $caps = custom_capabilities( $role );
     
        return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    function custom_capabilities( $role )
    {
        switch ( $role )
        {
     
            /* Capabilities for 'Member' role */
            case 'bbp_member':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => false,
                    'throttle'              => false,
                    'view_trash'            => false,
     
                    // Forum caps
                    'publish_forums'        => false,
                    'edit_forums'           => false,
                    'edit_others_forums'    => false,
                    'delete_forums'         => false,
                    'delete_others_forums'  => false,
                    'read_private_forums'   => true,
                    'read_hidden_forums'    => false,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => false,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => true,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => true,
     
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );
     
                /* Capabilities for 'Board Member' role */
            case 'bbp_board':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => true,
                    'throttle'              => true,
                    'view_trash'            => false,
     
                    // 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,
                );
     
                break;
     
            default :
                return $role;
        }
    }

    The problem I am running into is that the bbp_member role can’t seem to read and private topics, even though I have that capability set to true…? The bbp_board role works just as expected and in playing with the bbp_member role it seems to come down to the “moderate” capability…which I really don’t want on for our regular members.

    Any help on this would be greatly appreciated.

    I have the latest versions of WP, bbPress and BuddyPress installed.

    Thank you

    #158251

    In reply to: Log In Problems

    don5999
    Participant

    Thanks Robin, I’m grateful for all your help.

    Check Email
    The test email has been sent by WordPress. Please note this does NOT mean it has been delivered. See wp_mail in the Codex for more information. The headers sent were:
    MIME-Version: 1.0\r\n
    From: ******@*************.***\r\n
    Content-Type: text/plain; charset=”UTF-8″\r\n

    However, nothing is received at the email address in eith er inbox or junk :0(

    #158224

    In reply to: Log In Problems

    don5999
    Participant

    Seems to be finally working.

    My problem now is the lost password function.
    I dont need users to register for an account as I will be doing it manually so I have set up a lost password page, have the widgit in the sidebar pointing to that pages url which displays just fine but upon testing, the page just refreshes when you hit send and no email arrives???

    #158199
    format19
    Participant

    Success I believe.

    Did 6 test users all with the same results.

    See pics
    Registered with
    Username : testing6
    Name: Testing Six

    As you can see from the User details pic the Nickname field stored is still the full name but see member details pic and every time it displayed the username in the address bar.

    https://www.dropbox.com/s/6jilo126qldruoe/Test6%20-%20User%20details.jpg?dl=0
    https://www.dropbox.com/s/5b6ewgv59c9uxip/Test6%20-%20Member%20details.jpg?dl=0

    This is absolutely fine by me πŸ™‚

    Thank you thank you thank you !

    Mark

    #158179
    Robin W
    Moderator

    ok, that is buddypress adding the profile fields, so you may need to take it up with them if the next bit doesn’t work !

    However whilst doing something for someone else today, I found a function on the net, which I have amended (but not tested) below

    function change_display_name( $user_id ) {
        $info = get_userdata( $user_id );
    	$args = array(
    		'ID' => $user_id,
    		'display_name' => $info->user_login 	);
        wp_update_user( $args );
    }
    add_action('user_register','change_display_name');
    
    

    then on registration it should set the display_name to the username

    put this in your functions file

    Functions files and child themes – explained !

    #158178
    format19
    Participant

    Hi Robin,

    I do understand I too have had other things to do.

    I dont know what you mean by “the standard wordpress registration” do you mean the standard bbpress registration ?

    I installed WordPress, I installed bbpress, I installed Buddy Press
    The default registration page is now NOT the default wordpress it is the bbpress registration?
    And by default the bbpress plugin ads “Profile Fields” of which there is a default set of “NAME” which you cant delete and IS required. I believe it is this field that is transferring to the “Nickname” field and causing the problem.

    https://www.dropbox.com/s/3mzrx6ry5stb7mh/deault%20Profle%20Field.jpg?dl=0

    See the pic above

    I have just run a test, i registered
    Username : testing2
    Name : Testing Two

    Here is a screen shot of what registered
    https://www.dropbox.com/s/lxu0vysxd3edams/deault%20Profle%20Field2.jpg?dl=0

    So the first and last name are definitely being filled out from that default Name field (dont really care about the first and last name, its the nickname thats the problem)

    Any ideas? I cant go live with this site promising anonymity and then have the users name displayed in the address bar πŸ˜•

    Thanks
    Mark

    #158173
    elucidateTX
    Participant

    Thought you said you hated code?!! πŸ™‚

    Have you a specific registration template in mind, does your theme come with something?

    Ha no I don’t hate code! I’m just not any good at it yet. I’m using the Genesis Enterprise Pro theme.

    Here’s what I tried:
    1. Created a page and dropped the [bbp-register] shortcode into it.
    2. Copied the form-user-register.php file into the bbpress directory in my theme folder
    3. I added this form of code for each of the four rpi_label classes:

    `<div class=”rpi_label1″>
    <label for=”rpi_label1″><?php _e( ‘Class’, ‘bbpress’ ); ?>: </label>
    <input type=”text” name=”rpi_label1″ value=”<?php bbp_sanitize_val( ‘rpi_label1’ ); ?>” size=”20″ id=”rpi_label1″ tabindex=”<?php bbp_tab_index(); ?>” />
    </div>
    …for this one it’s an input field for the Class of my user

    Am I on the right track? The data entered doesn’t seem to be making it into the user database. After filling out the registration form for a test user…then going to edit the user…the data isn’t listed.

    Thanks!

    #158166
    milenushka
    Participant

    @robin-w ,

    thank you so much.

    but for some reason the plugins don’t help..

    I tested with a few accounts, and no emails for subscribed forums or topics are being received.

    #158162
    milenushka
    Participant

    Hi @robin-w

    My email in settings is set to my site’s email , and I tested it with the plugin you suggested too, it says its all good:

    This test email proves that your WordPress installation at “Mysite” can send emails. Sent: Wed, 11 Feb 2015 08:27:40 +0000

    Subscribers also receive email notifications from buddypress- if somebody replies to their comment, or tags them in a post – or a bbpress thread.

    Just no email at all if one is subscribed to the forum, topic or replies.

    I am not using the mandrill service (wpMandrill), so this solution I think- does not apply to me https://bbpress.org/forums/topic/problem-with-the-default-do-not-reply-email-address/
    and my server is bluehost.

    The forum is a big part of my site’s community life , so the fact that there are no email notifications is pretty upsetting.

    I searched this forum and for days, really hope there is a simple solution.

    P.s I also tested it without any plugins but bbpress, default theme and reinstalled bbpress. Still no email are being received.

    Thank you

    @netweb
    I would really appreciate if you could take a look at this thread too.

    there is another one that seems unresolved here

    Email notifications not working; looking for help

    #158143

    In reply to: Log In Problems

    Robin W
    Moderator

    In order to test, I have created a new user (in users) but when I log out, and try to log in the new details it comes up with the wordpress admin panel saying wrong details.

    Can you give the exact error please

    #158133
    don5999
    Participant

    I am using wordpress theme Customizr and have downloaded bbpress.

    When I go to my site I can view the created forum (it is private for members only) as I am logged in.

    In order to test, I have created a new user (in users) but when I log out, and try to log in the new details it comes up with the wordpress admin panel saying wrong details. If I try to go back into the wordpress dashboard, it has logged me out from there too.

    I would really appreciate all your help.

    http://www.rosemaryheart.com

    #158108
    TTYP
    Participant

    Hi folks,

    I could really use some help! I’ve installed bbpress and it’s beginning to look good, but I’m having some problems with the table alignment.

    My theme is responsive but for some reason, the individual forum columns (ie freshness, topic, etc) aren’t holding their shape at all and keep running over onto the next line, making the forum look very messy on mobile.

    I have access to the CSS file but can’t figure out the code I need to make sure that the columns remain ‘fixed’, regardless of the screen size/orientation. Here’s a link – I would be very grateful if you could give me a hint as to what I need to change. I’m running wordpress 4.1 and the latest version of bbpress.

    Sweden & Denmark travel forum

    Thank you!

    #158099

    In reply to: Oh Brother…

    Robin W
    Moderator

    ok, so

    twenty twelve theme without bbpress.php works
    twenty twelve theme with bbpress.php doesn’t work
    twenty tweleve child with bbpress.php and twenty twelve parent without bbpress.php doesn’t work
    twenty tweleve child without bbpress.php and twentytwelve parent without bbpress.php doesn’t work

    Is that correct? or if not can you test each of the above

    #158089
    KatieKat
    Participant

    Hi there,
    have seen some other posts but still having serious problems. Have the latest versions of WordPress and bbPress but users are not receiving notifications when subscribing to topics or forums. Have tried the patch in 2618 but still not working.

    Kind Regards

    KatieKat

    #158064
    milenushka
    Participant

    As I just said in another thread about this issue-

    Just tested and no emails here either. This is strange cause I subscribed to one of the buddypress forums and I am getting emails when new topics are being posted.
    Are they using another version of bbpress?

    #158057

    In reply to: Oh Brother…

    Robin W
    Moderator

    ok, lets eliminate plugins and themes as the 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 twentytwelve, and see if this fixes.

    Then come back

    #158047
    Robin W
    Moderator

    did you try the theme as suggested above

    Themes

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

    #158046
    milenushka
    Participant

    Just tested and no emails here either. This is strange cause I subscribed to one of the buddypress forums and I am getting emails when new topics are being posted.
    Are they using another version of bbpress?

    Web Maker
    Participant

    Thanks! Will test πŸ™‚

Viewing 25 results - 3,851 through 3,875 (of 11,584 total)
Skip to toolbar