Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,704 total)
  • Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Here’s a full list of plugins in the WordPress repository tagged “buddypress”

    https://wordpress.org/plugins/tags/buddypress/

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @doublef

    Take a look at ticket #6527, specifically comment #4. Does this help explain what’s happening?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    In WordPress there’s user_login, user_nicename and display_name.

    In general, display_name is used on the front end to display the user’s name. This might be the same as user_login but more often it’s the user’s first name and last name.

    user_login is the string used to authenticate the user when logging in. user_nicename is usually the same as user_login but it is a sanitised version used in URLs so it may be different if user_login contains special characters.

    Using your description field in place of user_nicename should be possible but it’s likely you’ll need to use custom code. I’m not aware of a plugin that will get this done for you.

    Hope this helps.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    You’ll want to sanitise your descriptions before using them in the URL. sanitize_title_with_dashes() will be helpful. You’ll also need to make sure they’re unique (user’s can’t have the same URL).

    https://codex.wordpress.org/Function_Reference/sanitize_title_with_dashes

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @functionmunchkin

    I’m not aware of a plugin that can do this. You might need to use a custom solution.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @fifthhouse it’s certainly possible using BuddyPress. We actually have a Jobs Board here if you wanted to post your requirements?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @fifthhouse when I suggested data be added against the event’s meta I didn’t mean the host or facilitator do it manually. WordPress and BuddyPress have a pretty extensive action system which you can hook to. The code will run automatically when the action happens.

    Here’s the Plugin API documentation in case you need it:

    https://codex.wordpress.org/Plugin_API

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    I run Trusty at home and the best version that distro offers is 5.x. I had to add a PPA to get 7.x package(s).

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Cool site!

    **There are a lot of plugins I’d also like to try out and use… but the problem is im on php 5.3.5 (which i know i need to upgrade)

    You should try to upgrade as soon as possible to PHP 7+, the performance improvement alone is worth the effort.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    I’ve tried pasting … at the top of my current code and it is still the same showing an fatal error message and allowing me to view the admins profile.

    You will need to have a basic understanding of the code to get this done. The code you copied and pasted just limits the activity stream to 5 entries per page. It doesn’t filter admin entries or hide the admin’s profile.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    I recommend using the bp_after_has_activities_parse_args filter to modify the activity stream (remove admin items). Check out this helpful article:

    Using bp_parse_args() to filter BuddyPress template loops

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Can Buddypress accomplish this? If so, would it be a complicated and labour intensive process to implement?

    WordPress and BuddyPress should be able to handle this. The 2 levels of members you speak of could be either BuddyPress member types, or WordPress roles.

    However, there is one tricky part. People need to be able to search for each event type, and also whether the event is hosted by either a “Facilitator,” or a “Host.”

    This part is easy to solve. You would save either “facilitator” or “host” against the event’s meta when the event is created or updated. Then when you build your custom search, you can use the pre_get_posts hook to output matched posts, using both the search and meta query parameters in WP_Query.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    It’s likely the comment area is plain text, which is why you will see HTML instead of links, images and so on. You will need to use something like TinyMCE to provide your site users with rich text editing.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    And here’s the BP database diagram

    BuddyPress Database Diagram

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    How many profiles am I able to make with buddypress on my website, enough for a school community ?

    This should be fine. BuddyPress can handle a huge number of profiles quite easily. Note though, your server hardware will need to be good if there’s lots of site activity.

    Is it possible to create PREMADE accounts for all these people (students) ?

    Yes but you will need to custom code this.

    When people post on the main stream, is it possible for them to post anonymously BUT still logged into their accounts ? Just like ask.fm if anyone remembers that.

    Not by default. Each activity item is associated with a member. That said, what is displayed on the front end is entirely up to you (or more specifically, entirely up to your theme author).

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    I wouldn’t recommend changing core files because when you update BuddyPress, you’ll lose all of your modifications.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    A member doesn’t become “active” until they sign in for the first time. Have all members logged in after they registered?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @thejameshardy

    Can you paste your code?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    I should have been clearer. You should post on the plugin’s support forum because there’s a chance Brajesh won’t see this here. Hope you’re able to get the issue resolved.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @olegator1

    Which map are you referring to?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @coolhunt

    Have you notified the plugin author of the problem?

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    @artempr yes you can but it’s recommended you use the messages_message_before_save action instead of the individual filters:

    messages_message_sender_id_before_save
    messages_message_thread_id_before_save
    messages_message_subject_before_save
    messages_message_content_before_save
    messages_message_date_sent_before_save

    You can use it like this:

    add_action( 'messages_message_before_save', function( $message ) {
        // $message->sender_id
        // $message->thread_id
        // $message->subject
        // $message->message
        // $message->date_sent
    } );

    I believe the $message object is passed by reference so you can modify the properties inside your function.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    messages_message_subject_before_save isn’t a function which is probably why you had trouble finding it. It’s a filter inside class-bp-messages-message.php. The full path to the file is bp-messages/classes/class-bp-messages-message.php.

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    You don’t need this:

    if ( !function_exists( 'xprofile_get_field_data' ) ) { 
        require_once '/bp-xprofile/bp-xprofile-functions.php'; 
    } 

    If BuddyPress is active then xprofile_get_field_data() should be available.

Viewing 25 replies - 1 through 25 (of 2,704 total)
Skip to toolbar