Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,926 through 3,950 (of 32,678 total)
  • Author
    Search Results
  • hanza3
    Participant

    I’ve setup my bp-custom.php file in the plugins folder, and inserted the code defined on this page of the codex to change the default avatar but nothing changed.

    Here’s the specific code to change the default avatar:

    define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' );
    define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' );

    It seems I’m not the only one who has experienced an issue with this, any thoughts why it won’t work? Is gravatar somehow to blame?

    Tested with wordpress “twenty” theme, no change.

    Buddypress version: 2.9.3
    Wordpress version: 4.9.4

    realpellek
    Participant

    When the users who sign up to my website register for my social network made with buddypress and follow the activation link they are sent to the wordpress dashboard, not to the frontpage of the website which I want them to. I dont really want them to have access to anything wordpress at all, but my theme (ruby) makes it impossible to delete the top navigation bar from wordpress so I’ve used a plugin to remove all the stuff from it other than the top right stuff which allows u to make groups etc. Anyway: How can I change it so that my new users get sent directly to the page, not the wordpress dashboard?

    #271512
    bumblebeegames
    Participant

    Hiya guys.
    Unfortunately, I am having serious problems with a topic seen here every once in a while. I did go through all the posts I could find and tried half a dozen approaches, but none seems to be working.
    I am adding notifications to a user when someone is requesting access to a post of that user and so far, everything is fine. The notification shows up in the DB with ID, user id, item_id and secondary_id as well as component_name and component_action.
    Now, whenever I receive such a notification, it shows up completely blank.
    This is my code:

    function request_filter_notifications_get_registered_components( $component_names = array() ) {
     
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
    
        // Add 'custom' component to registered components array
        array_push( $component_names, 'project-pitches' );
     
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'request_filter_notifications_get_registered_components' );
    
    // Formatting custom with respect to action
    function bp_request_format_buddypress_notifications( $component_action_name, $item_id, $secondary_item_id, $item_count, $format = 'string' ) {
     		
    		if ($component_action_name  !== 'request') {
    			return $component_action_name ;
    		}
    		
    		$link = get_site_url();
    		$returnlink = $link . "/my-projects/";
        	$request_title = "Test"; /*get_the_title($item_id);*/
        	$request_link  = $returnlink;
        	$request_text  = "abc";
    
        // New custom notifications
        if ( 'request' === $component_action_name ) {
            
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'request_filter','Your custom notification for <a href="'.$request_link.'">'.$request_title.'</a> ', $request_text, $request_link );
                $return = "Test";
     
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'request_filter', array(
                    'text' => $request_text,
                    'link' => $request_link
                ), $request_link, (int) $total_items, $request_text, $request_title );
            }
            
            return $return;
            
        }
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_request_format_buddypress_notifications', 10, 5 );

    Any idea what I might be doing wrong here? Thanks a ton, this is driving me nuts!

    #271504
    Venutius
    Moderator

    I still think it’s the database that is dishing out the unique keys so it is what’s controlling the user id’s not WordPress itself. BuddyPress just uses the WordPress User Id.

    #271490

    Topic: profile picture

    in group forum Installing BuddyPress
    emmanuel1234
    Participant

    hi whenever users upload a profile picture and crop it the image would look blurred and and come out blurry could anyone say why is that

    WordPress Version 4.9.4,BuddyPress version 2.9.3

    #271485
    Venutius
    Moderator

    during initial registration, WordPress has yet to create a user_id for the member, so can not save the avatar, only after the user has confirmed their email address will WordPress be able to save the avatar and reference it to that user.

    #271478
    Venutius
    Moderator

    I mean the debug log in WordPress.

    https://codex.wordpress.org/Debugging_in_WordPress

    jonleesky
    Participant

    Thanks for your help. but it didn’t work, the screen prompt: ERR_TOO_MANY_REDIRECTS

    I’m using the wordpress 4.9.4 and buddypress 2.9.3, don’t know what to do…o(╥﹏╥)o

    @mcpeanut

    #271474
    Steve
    Participant

    Thanks, I did do a quick search at WordPress.org. But thought BuddyPress would have some already built within their own system.

    Nothing inherent within BuddyPress?

    #271470
    techleadz
    Participant

    Hi,

    I have installed the buddypress in my main network site and enable it in my secondary site.
    I have followed this topic instructions. and put my secondary blog id in wp-config file.

    Installation in WordPress Multisite

    D. Activate BuddyPress in only one of the Secondary Sites of the Network

    It’s working perfect but however when I add user in my group it didn’t search it.
    See this short video: https://www.screencast.com/t/ct4IpJbz
    test user is added in my user list.

    Thanks!

    #271469
    Venutius
    Moderator

    There’s a few plugins that provide shortcodes, take a look at the BP Activity Shortcode and also Shortcodes for BuddyPress in wordpress.org.

    mcpeanut
    Participant

    @jonleesky I posted the solution to this nearly two years ago, I have not tested this code recently but you can try it out.

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-signup.php'; 
        }

    What you will need to do is first create a bp-custom.php file (make sure you add the opening and closing tags at the top and bottom ) and put it in your plugins folder, then paste the code between the PHP opening and closing tags and save.

    This should disable BuddyPress registration and let you use WordPress registration as default, hope this helps.

    njones7
    Participant

    Im going to go ahead and assume it was because of the update(?) because I haven’t had this issue before but when trying to view my media library on the WordPress dashboard no images are showing (not even thumbnails), its just blank, even though they are viewable via FTP.

    I went through and deactivated every plugin and then reactivated one by one and found that Buddypress was causing the issue. Could this be a bug or is it something I can fix?

    #271441

    In reply to: Creating Tutor website

    owen2
    Participant

    A good example of a WordPress based “Tutor website” is the mgrmusic.com Music Teacher Database.

    Using the Geo My WordPress plugin users can search the database for music teachers local to them. The can also filter the teachers dependant on instrument or level, so this achieves two of the aims you mentioned in terms of the “search page”.

    As for sign-ups; tutors submit information via a Contact Form 7 plugin form on a Sign-Up page and receive enquiries in a “Community” area of the website where enquiries are send to teachers, enabling them to respond to the students. I am not sure about how this website facilitates payment from either the teachers or students, however, I am sure you could add some type of Paypal payment facilitation that creates the release of a download file upon payment, in the file a student could find a teacher’s contact details. The whole website is ran on WordPress so it is certainly achievable to create a tutor website based only on WordPress achieving the aims that you set up above.

    Hope this helps, I would research the plugins and theme options out there.

    jonleesky
    Participant

    I just want the original wordpress registration page. After I installed buddypress, It becomes a new registration page. is there any way to stop it? ((o(^_^)o))

    jonleesky
    Participant

    hello, guys. How to disable the registration function of buddypress? I just want the registration function of wordpress. thanks for your time!(^_^)∠※

    #271431

    In reply to: Embed Groups

    Venutius
    Moderator

    Hold the presses! I’ve found a plugin that promises to deliver what you need!

    Shortcodes for BuddyPress

    If you install this one, it seems to have a group list shortcode where you can specify the id of the user that each group will belong to.

    For example [groups-listing user_id=1]

    I think this should in the least show all the groups you are a member of, WBCOM, the plugin author are also quite active and may add a feature for an admin= option.

    #271423

    In reply to: Link is not embedding

    Jonas
    Participant

    You could give Iframely a shot, it should convert any useful link into a rich snippet embedded post.

    #271410

    In reply to: Link is not embedding

    Venutius
    Moderator

    Is the link one that is supported by embed? my understanding is that only links with supported URL’s will embed, one such link would be https://wordpress.org/plugins/buddypress/

    #271403
    Venutius
    Moderator

    That’s great, thinking about it this should go in your bp-custom.php, then you won’t need to remember to transfer it if you ever change your theme. Or as a rather nifty way of managing code snippets you could use:

    Code Snippets

    #271397
    Venutius
    Moderator

    There’s a plugin for that – BP Auto Group Join:

    BP Auto Group Join

    #271394

    Topic: cropping feature

    in group forum Installing BuddyPress
    emmanuel1234
    Participant

    WordPress Version 4.9.4,BuddyPress version 2.9.3

    hi does anyone know how to remove the cropping feature that allows users to upload a crop profile picture is there a code/snippet that can stop the cropping feature

    Dggerhart
    Participant

    BuddyPress Version 2.9.3 on WordPress 4.9.4 running Idyllic theme with Idyllic Plus Plugin. Hosted at WordPress.com.

    Just out of chute with this implementation. And I haven’t found the means of assigning the default groups that new Registrants are assigned.

    This a probably a Duh? But, I don’t see were to define that list.

    So upon registration I’d like the system to assign new users to some basic groups.

    pedger
    Participant

    @dro-i-de aparently this is a feature not a bug. If the user editing the fields has a bp_moderate capability, it is allowed to save empty fields. Your regular users will not.

    Found it here: https://buddypress.trac.wordpress.org/ticket/7483#comment:6

    I tested and it works as expecteded.

    Cheers

    #271374
    emmanuel1234
    Participant

    WordPress Version 4.9.4,BuddyPress version 2.9.3

    hi does anyone know how to remove the cropping function that allows users to upload a crop profile picture, because i find that after a users upload a profile picture and crop it would change the quality of the picture thus making blurry

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