Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 2,926 through 2,950 (of 32,678 total)
  • Author
    Search Results
  • #282141
    filipfek
    Participant

    Hi 🙂
    I do not know if my problem is more concerned with buddypress support or bbpress support, but I wrote here.

    My WordPress
    bbPress 2.5.14
    BuddyPress 3.2.0
    I use theme Eduma.

    I’m using BuddyPress and created a group with a private forum. The problem is that the group forum has no template. If I check the page, it has all classes. It looks like it can’t read the css bbpress file (it look like that Annex1). I created the forum using bbPress. My forum looks like that Annex 2 and the group forum should look exactly the same. How can I do this? I will be grateful for your help.

    #282137
    lookingahead
    Participant

    Ohhh, GOT IT!!

    looks like this code is exactly what is needed….i pasted it into a custom plugin and wa-la…credit goes to the fabulous @prashantvatsh! he replied in the support forum on his plugin (the ‘BP Custom Functionalities’ plugin)…like super quick, with the correct solution to me needing to restrict access to a user’s OWN profile. brilliant!

    here’s that support thread:

    https://wordpress.org/support/topic/restrict-access-to-users-own-profile/

    and here’s the code from prashant that i wound up putting into a custom plugin file and uploading to my site:

    add_action( 'wp', 'bp_own_profile_member_redirect' );
    function bp_own_profile_member_redirect(){
    	if(bp_is_user()){
    	    global $bp;
    	    $current_user_id = (int) trim($bp->loggedin_user->id);
    	    $member_id  = (int) trim($bp->displayed_user->id);
    	    if (!current_user_can('manage_options') && $current_user_id == $member_id)
    	    {
                    //Only admins can view their own profile
    	        wp_redirect(site_url()); //you can set any URL here
    	        exit;
    	    }
    	}
    }

    thanks again for all your help, @venutius — your help was fundamental to me figuring out the next steps (how the BuddyPress avatars exist and how to get those avatars to show what i wanted without messing with bbPress code)…i am truly grateful for all your assistance!

    #282133
    lookingahead
    Participant

    @venutius oh thanks for the suggestions, appreciate the plugin links…but they don’t accomplish what i need to do

    i need specific avatars for classes of users, ones that correspond to the styling and hierarchy of my site

    so identicons being ‘fun’…? sadly i don’t need fun, lol….i need a streamlined business look and fun with random identicons won’t work

    and creating local gravatar avatars for users that ‘don’t have one’ is also random — not corresponding with my site; if i wanted to have default gravatar avatars populate i’d just choose the options that come with WordPress by default — that already is an option

    and gravatar is incredibly cumbersome with its pinging to the servers where the gravatars are stored….it may seem minor to many, but it does burden a site

    plus, gravatars have weak coding that allow the email address of the user to be ‘scraped’ by bots

    so to protect my users from future spam and to keep my site as speedy as possible AND to have my site avatars correspond to the styling of my site i need gravatars to never ever ever be used, and nothing random either

    #282132
    Venutius
    Moderator

    I’ve found a couple of plugins for you to look at:

    BP Local Avatars

    And there is henry’s plugin:

    BuddyPress Identicons

    #282118
    Venutius
    Moderator

    What about – https://wordpress.org/plugins/disable-user-gravatar/ to disable the gravatar?

    lookingahead
    Participant

    Hi.

    Instructions in the BuddyPress Codex need to be updated. Specifically, regarding options detailed in a screenshot. It was updated 5 months ago, but apparently someone didn’t notice that at the end of the codex (help) page, its instructions and screenshot are no longer applicable. They don’t correspond to the structure of BuddyPress anymore.

    I was looking at this page because my ULTIMATE issue is that I need gravatar images to not be used…at all….and to instead just have local avatar images used in BuddyPress. I’ve gone through basically every avatar plugin in the WordPress plugin repository, and they ‘half-work’ — they fix the issue in bbPress, but not BuddyPress. And I’m using both bbPress and BuddyPress. So you get to my groups and see the “Administrators” display for the groups below the cover photo for the group. Great. BUT, lol…the Gravatar still shows for Administrators there…regardless of if bbPress behaves with plugins that shut off Gravatars and use only local avatars. Turns out that bbPress is quite amenable to using local avatars when told, but BuddyPress sticks up a middle finger to any command to behave as nicely as bbPress does with commands to use local avatars when Gravatars are shut off.

    So I need a solution for BuddyPress that shuts off Gravatars and uses local avatars.

    My users will not be allowed to upload their own avatars. Only Admins will. Ideally, I’d like a default avatar used for every ‘class’ of user…as in, a default Subscriber avatar, a default Author avatar, a default Admin avatar, a default Keymaster avatar….if that is not possible, then I need the option to have a default avatar sitewide, and then I will change the avatar myself (SOMEHOW)…..for each individual user. But regardless of how this is done, I need to be able to SHUT OFF GRAVATARS in BuddyPress. 😀

    Thanks in advance for any and all help.

    In the meantime, the BuddyPress Codex really needs an update on that “Customizing BuddyPress Avatars” page.

    Here’s what I’m talking about:

    #282102

    In reply to: Avatar blurred

    Venutius
    Moderator

    Might be an idea to raise this as a feature request on Trac – https://buddypress.trac.wordpress.org/ Maybe they can set the cropping window to max size as a solution?

    #282095

    After upgrade wordpress 5.0 beta 5-43933 everything ok with Buddypress 3.2.0 but after cliking on user message tab. The meassage inbox cant display.
    If anybody say any solve for this!!
    My theme: flatsome 3.7.1
    Website: https://microdoshomoeopathi.com

    #282093
    alriknijdam
    Participant

    This was already including my childtheme & custom functions.php.
    Literally everything slightly related to wordpress was checked.

    Best regards,

    #282068
    Venutius
    Moderator

    Hi there,

    If you are using BP Nouveau the sitewide notice widget is not supported:

    https://buddypress.trac.wordpress.org/ticket/7893

    #282066
    bumblebeegames
    Participant

    Hello, Buddies.
    I’ve got a weird issue here: I’m running a WP4.9.8 site running with BuddyPress 3.2.0. I’ve also setup a custom registration panel using “Membership Pro Ultimate WP”. This is correctly transferring the First and Last name from the registration screen into the WordPress default First Name and Last Name field.
    As I am primarilly using custom extended profile fields, I have written this script to fill in the extended fields as well:

    function update_extended_fields( $user_id ) {

    $user_info = get_userdata($user_id);
    $first_name = $user_info->first_name;
    $last_name = $user_info->last_name;
    $current_first = bp_get_profile_field_data( array( ‘field’ => ‘First Name’, ‘user_id’ => $user_id ) );
    $current_last = bp_get_profile_field_data( array( ‘field’ => ‘Last Name’, ‘user_id’ => $user_id ) );
    if ($current_first==””) {
    xprofile_set_field_data( “First Name”, $user_id, $first_name, $is_required = true );
    }
    if ($current_last==””) {
    xprofile_set_field_data( “Last Name”, $user_id, $last_name, $is_required = true );
    }
    wp_update_user( array( ‘ID’ => $user_id, ‘last_name’ => $last_name ) );
    //xprofile_set_field_data( “field_42”, $user_id, $company, $is_required = false );
    }
    add_action( ‘user_register’, ‘update_extended_fields’, 10, 1 );

    This is all working perfectly fine … until I edit the profile using buddypress on the frontend. After editing and saving it, the user’s WordPress Last Name gets lost. The extended field is still being displayed correctly.
    Any idea why this is happening?
    Thanks a lot!

    #282065
    jaybury7
    Participant

    Hi there the site wide notice widget is not appearing in my widget lists. The other widgets appear.

    The problem persists when I switch to the Twenty Fifteen theme.

    Wordpress version 4.9.8
    Buddypress version 3.2.0
    my site https://www.ac.glitterandpaperclips.com

    thanks for your help

    #282062
    #282050

    In reply to: Hackers Getting In….

    Venutius
    Moderator

    Ah great! Glad that one is solved. It’s only half of the solution though. These bots will still plague your site with registration requests. To get rid of those try https://wordpress.org/plugins/simple-google-recaptcha/ thi sworked like a treat on my sites, totally eliminating spam bot registrations (for now…).

    #282035
    Monique23
    Participant

    Hi there,

    My client wants to have a community website based on WordPress and BuddyPress. On this site, they want members to be able to share knowledge (courses, lessons et cetera) through sort of demand and supply. So members should be be able to publish their own request or offer. Someone places an offer for a training X and someone else places a request looking for a training X. In this way they can (find a) match.

    For the time being this will be done with no exchange of funds. They consider at a later stage to start working with paid memberships.

    Is this possible with BuddyPress? Or would we need a specific addon/plugin for that? Can you give some advise please?

    Thanks & regards,
    Monique

    #282009
    alriknijdam
    Participant

    Hi there

    I came across a fatal PHP error in my debug.log. Hope you can fix this or help me fix it.
    PHP Fatal error: Cannot redeclare bp_members_screen_display_profile() (previously declared in /.../buddypress/bp-members/screens/profile.php:22) in /.../buddypress/bp-members/screens/profile.php on line 32

    WordPress version: 4.9.8
    BuddyPress version: 3.2.0
    Site: https://vespa-ciao.nl

    Best regards,
    Alrik

    #282008
    Venutius
    Moderator

    This plugin looks like it could be very handy for your quest:

    BP xProfile Location

    #281940
    shanebp
    Moderator

    I cannot duplicate this using PHP Version 7.0.26

    As you probably know, it’s just a warning and can safely be ignored.
    And won’t be visible when you turn debug off.

    afaik, part of the next release is cleaning up some calls re PHP 7+

    If you’d like to open a ticket, you can do so here.
    Be sure to include the steps necessary to reproduce, including which template pack you have selected in Settings > BP > Options.

    #281913
    grimbot
    Participant

    Buddypress Version: 3.2.0
    WordPress Version: 4.9.8
    Theme: Child Theme of 2014
    PHP Version: 7.2.11

    Error description:

    User profile has no friends.. that’s not a problem.. lol..

    Problem is where it shows the friends I get this error:

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 154

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 155

    Sorry, no members were found.

    #281912
    dennymar
    Participant

    Hello,

    Is it possible to edit the permalink/url when a member visits their profile page?

    It currently displays as
    gnz.me/connect/membername (connect is the name of the member page)

    I’d like to update this to go directly to the profile page
    gnz.me/membername

    Wordpress Version 4.9.8
    BP Version 3.2.0
    Website: gnz.me

    #281894
    david22c
    Participant

    Hi,
    Would someone be kind enough to help me with changing a buddypress error message? (wordpress 4.9.8, buddypress 3.1.0)

    I am restricting private messaging to user’s friends/connections. Currently, the error message returned when sending a private message to someone not in your network is “Message not sent. Please try again.” which doesn’t make sense. I would like it to say something like, “Sorry, you can only send a private message to connections in your network.” How might I change this error message?

    I have been using the following code in child functions to restrict private messaging:

    // if not site admin, restrict PMs to friends
    function pp_check_message_recipients( $message_info ) {
    
    //  site admins are not restricted
    if ( is_super_admin() )
    return $message_info;
    
    $recipients = $message_info->recipients;
    
    $friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() ); 
    
    $nf = 0; 
    
    foreach ( $recipients as $key => $recipient ) {
    
    if ( ! in_array( $recipient->user_id, $friend_ids ) ) 
    $nf++;
    
    }
    
    // if any recipients are not friends, remove everyone from the recipient's list
    if (  $nf > 0 ) 
    unset( $message_info->recipients );
    
    return $message_info;
    }
    add_action( 'messages_message_before_save', 'pp_check_message_recipients' );
    Gysbertus11
    Participant

    Hi, Latest version of WordPress and BuddyPress, Customizr Theme. In the case of changing the BuddyPress CSS I use buddypress.css located in mychildtheme/BuddyPress/CSS and can thus still all BuddyPress items but how do I style the main wrapper CSS only when BuddyPress is active?

    I have used .page.id before but I would prefer a action or …. that link it to BuddyPress and not to the page.

    Many thanks

    Marius

    andyol
    Participant

    I am using the plugin Login with Ajax. I want, when the user has confirmed his/her registration, to be taken to the Ajax login screen when clicking the call-to-action button on the “you have been confirmed” page, instead of being taken to the default WordPress login.

    I am using the latest version of both BuddyPress and WordPress.

    I’m sure the solution is easier than I think, but I frankly do not have time to troubleshoot right now; your help is appreciated!

    In advance, thank you!

    Gysbertus11
    Participant

    Hi Team, Great plugin, and awesome goodies to add through other plugins. I am a novice and spend 4 days no reading about all the wonderful things one can do. So based on this article:
    http://buddyuser.com/buddypress-customisation-tips which consolidate many peoples excellent work I started the process to make some changes to my Buddypress installation. The changes of CSS work great and I can style any item using Chrome Inspect followed by adding the changes into mychildtheme/CSS/buddypress 2.css. Great thanks to all the various articles and snippets!!!

    Where the problem comes in is when I want to change any of the xxx-loop.php. I know through Inspect that the files in mychildtheme/buddypress/members/members-loop.php are not used.
    I am using the Legacy Templates latest versions of WordPress and BuddyPress.

    Please give guidance on: How to get WordPress and/or BuddyPress to use these files

    Marius

    #281882
    Caster Nguyen
    Participant

    Hi, I enabled Friend Connections but when I try request add friend with other member it not working. I get a notification “You have a friendship request from xxx”. When I click, i redirect to Friends Tab => Request but it not show Friendship request. It only show You have no pending friendship requests.. Please tell me how to fix it. I’m using default theme of WordPress

Viewing 25 results - 2,926 through 2,950 (of 32,678 total)
Skip to toolbar