Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 2,376 through 2,400 (of 20,277 total)
  • Author
    Search Results
  • #237707
    Henry Wright
    Moderator

    Hi @daethian

    Have you tried asking on the theme’s support forum?

    #237694
    danbp
    Participant

    Reading at least today’s topics before asking on forum is an elementary rule. 😉

    See: https://buddypress.org/support/topic/fatal-error-after-update/

    #237659

    In reply to: Title

    Hugo Ashmore
    Participant

    Technically you’re on the wrong forum, you have no instance of BuddyPress running only bbPress and they are two different plugins.

    You might try any of the Title tag plugins out there such as Yoast WP SEO also look at how your theme is handling the title tag in the header and search the WP codex for any guides on filtering the WP title tag to modify the title strings.

    #237656

    In reply to: Title

    Atilla
    Participant

    Thanks for your answer.
    http://www.ekademik.com/forum/

    There is no any plugin or 3. part app. but title is not good for us.
    wp: 4.1.1
    bbpress: 2.5.6

    #237607
    ch1n3s3b0y
    Participant

    Ok, I have this working! For anyone else struggling with this, these are the steps I took:

    1. I created a custom registration form ( I needed more than one form for my setup) using the tutorial from Brajesh Singh http://buddydev.com/buddypress/show-buddypress-user-registration-form-everywhere-buddypress-site/

    2. I added a hidden input field to my form:

    <input type="hidden" name="user_type" id="user_type" value="your_role" />

    3. I added a user_meta during the registration to store the role for later use during the activation process:

    function store_user_role($user_id) {
        $user_type = $_POST['user_type'];
        $user_role = $user_type;
        switch($user_role) {
            case "your_role":
                add_user_meta( $user_id, '_member_role', 'yourrole');
                break;
            case "my_role":
                add_user_meta( $user_id, '_member_role', 'myrole');
                break;
    	default:
                add_user_meta( $user_id, '_member_role', 'defaultrole');
        }
    }
    add_action( 'bp_core_signup_user', 'store_user_role', 20, 1);

    4. Then during the activation process you check to see which user role is stored in the user_meta, and assign that as the actual WP user role:

    add_action('bp_core_activated_user', 'bp_custom_registration_role',10 , 3);
    function bp_custom_registration_role($user_id, $key, $user) {
       $userdata = array();
       $userdata['ID'] = $user_id;
       $key = '_member_role';
       $single = 'true';
       $userRole = get_user_meta( $user_id, $key, $single );
       
       if ($userRole == 'yourrole') 
          $userdata['role'] = 'yourrole';
       
       if ($userRole == 'myrole') 
          $userdata['role'] = 'myrole';
    
       if (($userdata['role'] == "yourrole") or ($userdata['role'] == "myrole"))
          wp_update_user($userdata);
       
      }

    That’s it. I used a few different examples from these support forums so credit goes out to those who got this stuff working in the first place. Hope this helps someone else.

    #237598
    danbp
    Participant

    Many topics about this where already answered on the forum.

    https://buddypress.org/support/search/Registration+redirects+to+home+page/

    danbp
    Participant

    Welcome on BuddyPress !
    You’re on the wrong forum.
    bbPress has it own support forum.

    #237580
    danbp
    Participant

    hi @mrgiblets,

    what about a show/hide toggle comment button ?
    https://buddypress.org/support/topic/how-to-show-comments-only-when-i-click-on-comment-button/

    Or disabling comments selectively ?
    https://buddypress.org/support/topic/blog-forum-comments/

    See this filter bp_activity_can_comment in:
    bp-activity-template.php
    bp-blogs-activity.php

    Svend Rugaard
    Participant
    #237552
    Matthias
    Participant

    Hi danbp,
    I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
    The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.

    The only thing is the missing link to the profile behind the @mention in replies…
    forums and buddypress sites are exluded from caching…

    Thanks
    Matthias

    #237537
    Svend Rugaard
    Participant

    Look here ? http://www.playstationforum.dk/topic/opdatering-a-forum/

    My bp-custom.php is looking like this

    <?php
    // hacks and mods will go here
    ?>
    function abc() {
    $user = get_userdata( bbp_get_reply_author_id() );
            if ( !empty( $user->user_nicename ) ) {
                    $user_nicename = $user->user_nicename;
                    echo '@'.$user_nicename;
            }
    }
    add_filter( 'bbp_theme_after_reply_author_details', 'abc' )
    #237530
    danbp
    Participant

    Keine ahnung ! It works on my forum… Do you use a cache or clear your browser history and cookies.

    Aside, did you allowed mention in BP settings ?

    #237528
    danbp
    Participant

    Nothing happen ? Where do you try to use this function ?
    And No you haven’t to use another snippet.

    The snippet is not correct as it ouput the display name. We need nicename.

    Use this instead

    function abc() {
    $user = get_userdata( bbp_get_reply_author_id() );
    	if ( !empty( $user->user_nicename ) ) {
    		$user_nicename = $user->user_nicename;
    		echo '@'.$user_nicename;
    	}
    }
    add_filter( 'bbp_theme_after_reply_author_details', 'abc' );

    This will only show up in a bbpress forum. Like here, that’s what you asked for.

    #237521
    Matthias
    Participant

    Hi @danpb,
    now I’m using your code and the plugin, but my forum still shows no links in @mention
    I just was searching in the bbpress support forum and it seems that it is a built in feature. But I don’t know why it is not working on my install?
    Here is how @mention are shown in my forum. No link to the user profile at all

    Any suggestions to solve the problem?
    Thanks
    Matthias

    #237516
    danbp
    Participant

    Activities prior to your slug modification are not modified recursively. That’s normal behave.

    The only way i know to do that is to change the slug manually in the activity table.
    If you have many forum related activities, use a mysql script.

    #237512
    Matthias
    Participant

    What is used here is a custom function.

    Hi @danbp and @ all other readers,
    do you know more about this custom function used in the buddypress forum?

    Just to get a link to the profile, if a user is mentioned ( @username ) in a topic…
    Thanks
    Matthias

    #237483
    danbp
    Participant

    Wide subject and several answered on this forum.

    Askimet covers comment spam and doesn’t avoid clever spam bots to hit directly the DB.

    Basic recommandation is to use table prefix different of the classic wp_. This calms down most bots.

    A closed door is always a challenge for any spammer. WP is not fort Knox and depending your host, what YOU did and many other security details, this has no end in fact. If your site is Facebook, you’ll probably receive more spam than if it would be mykittycat homepage. Glory has a price ! 😉

    Some htaccess rules against reputated spam server and one or to plugins aside what exist natively in WP should be enough to protect you a little from massive spam.

    For example: buddypress honeypot + ban hammer for BP

    or more simple and rought
    http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/

    … + searching this forum, maybe you can find more tips. 😉

    shaquana_folks
    Participant

    The only reason why I started this topic was because I spoke to a WordPress representative and as I’ve done here, after explaining the issues to the rep, they said for me to get in contact with the creators of the plugin that allows me to do all of these news feed configurations so I assumed it was through here, BuddyPress. And I already was reading through the Codex, videos tutorials, support forums and speaking to numerous amounts of representatives and didn’t get anywhere. But okay, I will try reaching out to the creator of the Vipress theme and hopefully get my questions answered. Thank you.

    #237387
    danbp
    Participant

    The codex is maintained and written by volonteers since BP exist. (2007)
    Codex explains principaly how BP works. It is not the place to get some ready to use tips or code for special cases.

    For such things you have the forum where you can search or ask for.

    If you have ideas or enhancement request, you can open a ticket for this on Trac.

    The standard (members)activity loop action is not random, but current_action (depending if you’re on the SWA, your profile or in a group activity) and chronological to any activity, in order they came up (again in the limit of previous mentionned tabs).

    Yes BP has “6 years old code” in it which is already working ! 😉 What would you say if BP code changed every week !

    Now to your question. You have several option to do that, which needs you to be confirmed.

    Only the activity directory should show Friends activities by default ?
    All activity walls should show friends activities by default ?

    In the first case, only logged in user will then see something, and only if they have friends. Else they’ll see nothing !

    In the second case, you’ll get the same behave on All mentionned places.

    If a friends activity filter is not implemented there, it’s because it’s more logical that users can get this information from within a profile. It’s not very pertinent on the main activity page.

    But you can anyway code it, as explained in your first link.
    Or much simplier, by using this way:

    Using bp_parse_args() to filter BuddyPress template loops

    #237380

    In reply to: Chat plugin?

    cometchat
    Participant

    Hello,

    I am Andrew from the CometChat team. Please email us at help@cometchat.com and we would be happy to assist you with a custom solution.

    Warm Regards,

    Andew
    CometChat Team

    Please note that we do not actively monitor these forums, so for a speedy response, please email us at the above address.

    #237366
    Hugo Ashmore
    Participant

    @ripozzo The best approach is to get as familiar with BP as possible, running local development installs of BP that you can play around with, reading the current codex guides, then helping out on the forum answering any questions you can. Answering forum questions is a great way to get really familiar with BP as it gets you rooting around in BP seeing what the solutions might be.

    When you feel you’re ready to add documentation or see a need and benefit to edit/update existing codex articles drop am @mention to myself @hnla or mercime @mercime and we’ll happily set you up with access on the codex.

    #237343
    Mac
    Participant

    @bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.


    @danbp
    I’ve visited the Codex Standards & Guidelines. However, one issue I’m immediately finding is that I don’t have the ability to create or modify.

    The reason I dropped the request in this forum is because I read the topic This is why we can’t have nice things @johnjamesjacoby. I figured this was the current SOP for volunteering.

    Thanks to all, and I’m looking forward becoming and active member of the community.

    #237329
    dingxiaohan
    Participant

    I’m still floundering here. Is there any way that subscribers to forums and groups can get notification of _all_ contributions to those forums/groups?

    #237299
    5high
    Participant

    Brilliant! It worked a treat, and I used the ‘user_register’ as suggested. So for anyone else looking for this solution, this is the code i used to turn some on and some off by default on new user registration:

    add_action( 'user_register', 'bpdev_set_email_notifications_preference');
    function bpdev_set_email_notifications_preference( $user_id ) {
    //I am putting some notifications to no by default and the common ones to yes to enable it.
    //ref. https://bp-tricks.com/snippets/changing-default-buddypress-notifications-settings and BP forum
    $settings_keys = array(
    'notification_activity_new_mention' => 'yes',
    'notification_activity_new_reply' => 'yes',
    'notification_friends_friendship_request' => 'no',
    'notification_friends_friendship_accepted' => 'no',
    'notification_groups_invite' => 'no',
    'notification_groups_group_updated' => 'no',
    'notification_groups_admin_promotion' => 'no',
    'notification_groups_membership_request' => 'no',
    'notification_messages_new_message' => 'yes',
    );
    foreach( $settings_keys as $setting => $preference ) {
    bp_update_user_meta( $user_id, $setting, $preference );
    }
    }

    and this went in my child theme functions.php file.
    Hooray! Thanks so much again – it will make a big different to our users experience.
    Cheers 🙂

    #237295
    nh123
    Participant

    Hi, why is this the wrong forum ? I am also very interested in what could be the solution.

Viewing 25 results - 2,376 through 2,400 (of 20,277 total)
Skip to toolbar