Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 2,551 through 2,575 (of 6,813 total)
  • Author
    Search Results
  • #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

    #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

    #158177
    KatieKat
    Participant

    @robin-w ,

    Hi Robin,
    can I just clarify something here as my problem is different to milenushkas in that the fix of r5409 applied before adding 2618.4.diff definitely worked for subscribing to Topics and Replies.

    However there is still an outstanding issue in terms of subscribing to Forums which is exhibiting some weird behaviour. I worked on this late into the night and found your plugins and was hoping the topic- subscribe would solve the issue when subscribed to a forum but unfortunately it didn’t.

    For anyone else following this thread my understanding from @netweb (Stephen Edgar) is that when you are subscribed to a Forum a user will only be notified of New Topics and not to changes within existing ones which you need to subscribe to separately.

    So last night I tried the following:-
    1. As admin created a new topic in the backend. Absolutely no notifications received by other users subscribed to the Forum to show a new topic has been created but admin notified of pending Topic as expected.

    2. As a user created a new topic in the frontend. Absolutely no notifications received by other users subscribed to the Forum to show a new topic has been created but admin notified of pending Topic as expected.

    3. Weird behaviour. As admin created a topic in the frontend and this time a message was received by the user and admin !! However both the user message and admin message contained strange text. For the user at the beginning before the normal message of “You are receiving this email because you subscribed to a forum.” it showed the following – nb the items in bold have been changed for security purposes.

    :
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname – pxxxxxxxxxx.prod.phx3.secureserver.net
    X-AntiAbuse: Original Domain – aol.com
    X-AntiAbuse: Originator/Caller UID/GID – [47 12] / [47 12]
    X-AntiAbuse: Sender Address Domain – mywebsitename
    X-Get-Message-Sender-Via: pxxxxxxxxxx.prod.phx3.secureserver.net: acl_c_authenticated_local_user: myusername
    X-Source:
    X-Source-Args:
    X-Source-Dir:

    On the Admin notification I am getting the information below. However one thing I have noticed that is different to the email notifications for the topics and reply that is working is that the From details are showing as Website Name <mail@websiteurl> in the Forum notifications instead of Website Name <noreply@websiteurl>.

    The To details are showing as <noreply@websiteurl> on both the Forum Notifications and Topic/Replies Notification so somehow there is an issue with the From details picking up my default email address instead of the <noreply@websiteurl>.

    ADMIN NOTIFICATION
    noreply@mywebsitename
    A communication failure occurred during the delivery of your message. Please try resending the message later. For more tips to help resolve this issue, see DSN code 5.4.1 in Exchange Online – Office 365. If the problem continues, contact your email admin.
    The following organization rejected your message: DB3FFO11FD020.mail.protection.outlook.com.
    (NB the proper notification message is also attached within this information)

    Hope there is sufficient for you to troubleshoot this but cannot understand why a user creating a topic in the frontend and an admin creating a topic in the backend doesn’t generate any email but an admin creating a topic in the frontend does generate an email but contains spurious information for both the user and admin.

    Kind regards

    KatieKat

    #158167
    xxretroxx
    Participant

    Hi,

    I am new to BBPress so please be gentle ๐Ÿ™‚

    When I want to make a post sticky in one forum and click on the ‘Stick (To Front)’ option at the bottom of post it defaults to making it super sticky and therefore appears in every forum. Is there anyway to have a button that just makes the post sticky instead of super sticky?

    [IMG]http://i57.tinypic.com/epj6dd.jpg[/IMG]

    #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

    #158151
    KatieKat
    Participant

    Hi Robin,
    thanks for the response it is much appreciated.

    I have now fixed this for topic subscriptions by following the support thread below and email notifications are being received. However forum subscription notifications are still not working. Would you know why it is working for topics but not forums?

    Problem with the default "do not reply" email address


    “I have just added a patch, you need r5409 applied before adding 2618.4.diff”

    Kind regards

    KatieKat

    #158149
    Robin W
    Moderator

    ok, so

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/user-details.php

    bbPress will now use this template instead of the original

    Now edit that file so that you add a new line between line 16 & 17 which currently read

    <div id="bbp-single-user-details">
    <div id="bbp-user-avatar">
    
    

    so add

    <h1>  <?php bbp_displayed_user_field( 'display_name' ); ?> </h1>
    
    

    after this line so that you end up with

    <div id="bbp-single-user-details">
    	<h1>  <?php bbp_displayed_user_field( 'display_name' ); ?> </h1>
    	<div id="bbp-user-avatar">
    

    as the three lines.

    and save

    It should now display

    #158117
    BrendenW
    Participant

    Yes. So my site has 3 set sidebars, not including bbPress sidebar when bbPress tweak is activated. These are:
    *default sidebar
    *building sidebar
    *health sidebar
    I can create any page and apply any of these sidebars without issue. As soon as I use the permalink \forums and the forum is used, then no matter which sidebar I select for use on the page, nor whether I use bbPress tweak, only the default sidebar is used.

    I appreciate the help and I will undertake or answer any further questions you have, but not for some time. I’m guessing you guys are based on the US but it’s pretty late here so I best be off. Look forward to nutting this out further in the morning.

    Thanks,
    Brenden.

    #158109
    jakerobbins
    Participant

    Locate the form-anonymous.php file within templates/default/bbpress and remove the following paragraph.

    <p>
    <label for=”bbp_anonymous_website”><?php _e( ‘Website:’, ‘bbpress’ ); ?></label><br />
    <input type=”text” id=”bbp_anonymous_website” value=”<?php bbp_author_url(); ?>” tabindex=”<?php bbp_tab_index(); ?>” size=”40″ name=”bbp_anonymous_website” />
    </p>

    The website field should now disappear ๐Ÿ™‚

    #158096
    BrendenW
    Participant

    Hi Guys,

    Sorry in advance as I am going to be a pain in the ass here I bet, as I have very, very limited experience with wordpress or any website building for that matter; however, that’s marginally more than anyone else in my company so I’ve been saddled with the duty of getting it all set up and running.

    Prologue
    I have decided to create a forum and have downloaded bbPress for this. I needed to make certain things private and downloaded bbPress private to help with that. I wanted to make custom sidebars and downloaded bbPress tweak for that feature.

    We had the website made by an external company, they created it on wordpress and created a custom theme with a lot of templates within the themes. Call be cynical, but I think it was to try and squeeze us for every cent by making us come to them for any minor variation.

    Situation
    Despite all my attempts through every simple way I could think of I can not get my forum to show a custom side bar. The forum itself though is set up as I want it and more than workable, it’s just the aesthetics of having the right sidebar.

    Troubleshooting Undertaken
    * I started with all three plugins activated and created my forum and created a page could forums. So the permalink was set up. The sidebar was not what was expected. I have tried using every default template and every sidebar that my site has to no avail. Sidebar stayed exactly the same as it was.
    * I went in to the setting of bbPress Tweak and selected the different .php files, only the bottom 3 were in bold and when I selected the 2nd or 3rd from the bottom nothing happened. When I selected the bottom one, the side bar moved from the side to underneath and the forum went to full screen width.
    * I deactivated bbPress Tweak and tried again, nothing new happened, same old sidebar.
    * I decided to change the permalink away from the slug to see if when it was just a standard page if I could change the sidebar (to try and see if it was a bbPress forum problem or a theme template problem). The sidebar changed to what ever I wished it to be and I could change from sidebar to fullwidth as I pleased.

    Conclusion
    I am left to believe that it must be a problem (problem isn’t the right word) with bbPress loading a specific template/sidebar. I don’t understand why bbPress tweak is not able to overwrite this though?

    Any help would be of great assistance, though as mentioned to begin with, I am very new to all this so you may need to dumb down the help if you can.

    #158090
    elancetopone
    Participant

    I would like to change default order of attachment which are displayed in order of they are uploaded. Can I change it somehow?

    #158088

    In reply to: Oh Brother…

    markf1
    Participant

    so just to be clear and re-cap.

    When I left everything the same, with bbPress.php in my child theme, and the default/unchanged twenty twelve parent theme, then activated the twenty twelve theme – the forum links worked and the problem went away.

    Switch back to child theme and problem resumes.

    Add bbPress.php to Twenty Twelve theme and then activate Twenty Twelve – problem remains.

    thanks for your ongoing help!

    #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.

    #157991
    Robin W
    Moderator

    It could be a theme or plugin 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

    #157972
    Robin W
    Moderator

    If you have FTP access then :

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-reply.php
    bbPress will now use this template instead of the original

    then you need to chnage the line

    <?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>
    

    to do a check for keymaster and author

    something like

    <?php if ( bbp_is_user_keymaster())  || bbp_get_reply_author_id() == bbp_get_current_user_id() : ?>
    

    bbp_get_reply_author_id() might need to be bbp_get_topic_author_id() – you’ll need to try it to see

    Give this a go, I’m very short of time at the moment, so haven’t tested !

    #157967
    Robin W
    Moderator

    ok, I’ve had a look.

    It could be a theme or plugin 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

    #157966

    In reply to: ERROR Author Link

    Robin W
    Moderator

    The link to padelstar works

    the link to EVELYN PADEL just seems to go to another page

    It could be a theme or plugin 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

    #157952
    deandail
    Participant

    I am having the same problem. I’ll try to be less ranty about it, but it’s definitely frustrating.

    I am importing a forum from a wordpress 4.1/bbPress 2.5.4 install on an old site to a wordpress 4.1/bbPress 2.5.4 on a new site. There’s no way to do this from the Import Forum screen, so I also have done this via the standard WordPress Export/Import tool as suggested.

    In my case, content shows up on the back end, but not on the front end. Also, accessing the Replies page on the back end results in a segmentation fault on the server. Taking these steps with no plugins and default theme has the same results.

    Like the original poster here, I would love to find what is the correct import procedure to just move a bbPress install from one site to another.

    #157909
    Robin W
    Moderator

    ok,

    It could be a theme or plugin 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

    #157894
    Robin W
    Moderator

    if it’s not a plugin issue viz

    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.

    the it is likely to be a a theme issue

    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

    #157874
    Robin W
    Moderator

    ok, but with default theme twenty fifteen, the user set to participant, and just bbpress the edit will show, so something is affecting this.

    #157869
    krw1243
    Participant

    I’m trying to add BBPress to my WordPress site, but after installation, my forum looks completely unformatted:

    http://fortcollinsmodernquiltguild-fcmqg.rhcloud.com/forums/forum/fort-collins-modern-quilt-guild-forums/

    I’ve tried removing all other plugins that didn’t come with the site, removing and re-adding themes, using the default themes, but it always looks like this. Is it supposed to look like this until I do something? Or is something else messing with what should be some sort of sane default formatting?

    #157805
    Robin W
    Moderator

    ok,

    create a directory on your theme called โ€˜bbpressโ€™
    ie wp-content/themes/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php
    bbPress will now use this template instead of the original

    then change lines
    <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>

    <?php bbp_get_template_part( ‘pagination’, ‘topics’ ); ?>

    <?php bbp_get_template_part( ‘loop’, ‘topics’ ); ?>

    <?php bbp_get_template_part( ‘pagination’, ‘topics’ ); ?>

    <?php bbp_get_template_part( ‘form’, ‘topic’ ); ?>

    <?php elseif ( !bbp_is_forum_category() ) : ?>

    <?php bbp_get_template_part( ‘feedback’, ‘no-topics’ ); ?>

    <?php bbp_get_template_part( ‘form’, ‘topic’ ); ?>

    <?php endif; ?>

    to
    <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>

    <?php bbp_get_template_part( ‘pagination’, ‘topics’ ); ?>

    <?php bbp_get_template_part( ‘loop’, ‘topics’ ); ?>

    <?php bbp_get_template_part( ‘pagination’, ‘topics’ ); ?>

    <?php elseif ( !bbp_is_forum_category() ) : ?>

    <?php bbp_get_template_part( ‘feedback’, ‘no-topics’ ); ?>

    <?php endif; ?>

    and save

    that should do it

Viewing 25 results - 2,551 through 2,575 (of 6,813 total)
Skip to toolbar