Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,176 through 5,200 (of 22,687 total)
  • Author
    Search Results
  • #247485
    Henry Wright
    Moderator

    BuddyPress now includes PHP 7 in its tests so sites running PHP 7 should be covered:

    Ref: https://twitter.com/JJJ/status/673520650624061441

    Regarding taking advantage of PHP 7 features, the plugin won’t do that. Any feature introduced after PHP 5.2 won’t be in BuddyPress yet because 5.2 is the minimum requirement to run WordPress.

    #247483

    In reply to: hide bp toolbar

    Stacy (non coder)
    Participant

    Preferred not to hack each site’s theme or the bp plugin.

    https://wordpress.org/plugins/admin-bar-disabler/

    Removes the bp section as well. Can set by role or capability

    #247463
    Joshua Blevins
    Participant

    Creating a child theme is not necessary. I figured out that if you create template files using the //Template Name you can go to the pages that BuddyPress makes and assign template pages to those pages. So you can create a file named activity.php and make it a template file and add the activity loop inside of that file. Once you have assigned that template to the Activity page in the WordPress dashboard you can then go to the BuddyPress settings and make sure that your Activity page is set up under the Activity drop down and save changes and it will work. I didn’t want to add unnecesary steps to making a single theme that did everything I needed. I will work on compiling a tutorial series on how to work with BuddyPress and then contribute it to the codex. Thank you for the response. Also if you look at the code in the BuddyPress plugin on the codebase you will see that bp-legacy is completely deprecated. There is compatibility code to not break old themes, but it is not the best way to do things.

    #247457

    In reply to: Buddypress and IPV6

    Paul Wong-Gibbs
    Keymaster

    wp_bb_posts is bbPress 1, *not* BuddyPress. 🙂

    I don’t know if there’s anyone interesting in working on that old versions of bbPress any more. If you haven’t already, I’d suggest posting on https://bbpress.trac.wordpress.org/ so that at least the issue is logged.

    #247441
    @mercime
    Participant

    I have published blank Register and Activate page on my site but I keep getting the error message?


    @beginner3
    If you have enabled registration again, then go wp-admin menu Settings > BuddyPress and click on the “Pages” tab, and in the Registration and Activate section, choose the blank pages you created and associate each with respective functions per
    settings for buddypress pages

    #247436
    Joshua Blevins
    Participant

    I just figured that out. I have the activity folder added to the twentyfifteen theme. I am trying to modify the file, but it really doesn’t look like it should. I am logged in and I dont see any activity nor do i see the message Sorry, there was no activity found, Please try a different folder.

    I am so confused and frustrated. I am pretty competent with wordpress as well as php, and i don’t feel like this should be so difficult.

    #247424
    shanebp
    Moderator

    There is no such filter hook as messages_notification_new_message.

    There is an email_subject filter hook:
    $email_subject = apply_filters( 'messages_notification_new_message_subject', $email_subject, $sender_name, $ud );
    But as you can see, the variables passed do not include the message subject.

    So, I don’t see a way to do what you want.

    There is an enhancement ticket in the works
    https://buddypress.trac.wordpress.org/ticket/6460
    It might expose the fields you need.

    You aren’t alone in asking for a different filtering system:
    https://buddypress.trac.wordpress.org/ticket/6460

    #247419

    In reply to: I Cannot Create Groups

    JonathanKnight
    Participant

    Thanks for the responses Shane. I have the same issue as the user.

    I am unable to delete the index.php portion of the link

    I want to create the following permalink: http://localhost/wordpress/groups/

    However, only the bold area can be changed http://localhost/wordpress/index.php/groups/

    #247399
    alid88
    Participant

    Hey,

    Thanks for the response, i am so silly i cant believe i didnt realise they were always there but because i am logged in i cant access them i can only see them using incognito window or when logged out.

    Do you know how i can “log out” without logging out of my wordpress site?

    #247392
    shanebp
    Moderator

    How do i Publish those pages?

    Let me google that for you:
    http://easywpguide.com/wordpress-manual/saving-and-publishing-content/

    #247378
    @mercime
    Participant

    >> The”membership” option in the image on the link you posted.

    @functionmunchkin
    The option to “allow users to register” in Network Admin > Settings is the same as the one in a single WP site’s option in Settings > General in that link.

    >> Register goes the the login page and clocking the register link on there goes to page not found.
    You mentioned that “I’ve setup the bp register and activate pg”
    – did you set up BP network-wide or in one subsite? Reference: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/
    – have you double-checked that you created the Register and Activate pages in the main site (if network-wide) or in the subsite, then associated the pages in Settings > BuddyPress > Pages?

    #247374
    Ynasr
    Participant

    Many thanks Henry!

    Yes that is what would be needed, but how can i assign “.some-wrapper-class” to the element i am trying to resize ? I am still a newbie with wordpress and buddypress … i have looked all over the net and couldnt find anything helpful.

    Best,
    Yvan

    #247373

    In reply to: Private Site????

    danbp
    Participant

    Hi,

    have you found https://wordpress.org/plugins/restricted-site-access/ ?
    In addition to this plugin, @imath coded an add-on which can be found here:
    https://github.com/imath/bp-restricted-community/

    #247347
    balmainboy
    Participant

    Hi Henry,

    Yes i have done that, but there’s still no option for users to join groups, nor anything other than very basic styling.

    Whereas the documentaiton shows a ‘group directory’ which looks like this

    I have no group avatars, join now buttons or anything like that. Do we actually have to create all those basic features manually every time? I would have thought it should be automatic…?

    Thanks

    #247343
    shanebp
    Moderator

    Please use the code when sharing code.

    current_user_xxx refers to the logged in user – not the displayed user.

    Use is_super_admin() to determine if the current user is a site admin.
    https://codex.wordpress.org/Function_Reference/is_super_admin

    $displayed_user_level = some_s2_function( bp_displayed_user_id() );
    if( is_super_admin() && $displayed_user_level == 'some level' ) )

    some_s2_function is whatever s2 function returns the member level based on a user_id.

    #247341
    Bas van der Togt
    Participant

    This is everything what is written to the log after i tried to upload an image:

    [02-Dec-2015 17:45:42 UTC] PHP Notice:  bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 3622
    [02-Dec-2015 17:45:43 UTC] PHP Fatal error:  Cannot use object of type WP_Error as array in /home/***/domains/***/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 874
    #247314
    @mercime
    Participant

    >> I know that Base group are shown in the Registration Form

    @shmk
    thanks for confirming, just had to make sure you did. There’s a trac ticket which needs some more work done to get the feature you want at https://buddypress.trac.wordpress.org/ticket/6347

    #247310
    djsteveb
    Participant

    @darkdog
    This post may help you with this: https://buddypress.org/support/topic/swap-out-the-buddypress-page-title-with-the-wordpress-page-tile/

    I have no idea if BP is going to make this easier in the future to change these things dashboard backend or not – I have made some posts about this a time or two around here – but bp pages, their displayed on screen titled, and the meta titles have been a mess for a long time. Unless you know php and are willing to dig deep through documentation that is disorganized and possible outdated, there is no easy way of handling these issues.

    #247300
    Henry Wright
    Moderator

    This isn’t currently possible. Your best bet is to try searching for a plugin.

    Ref: https://wordpress.org/plugins/

    #247273
    jimme595
    Participant

    So i’ve had some success trying to change the profile links with this code:

    function _bp_core_get_user_domain($domain) {
    	$url = get_home_url();
    	$user_id = bp_get_member_user_id();
    	if (empty($user_id)) {
    		$user_id = bp_get_activity_user_id();
    	}
    	if (empty($user_id)) {
    		//$user_id = bp_displayed_user_id();
    	}
    	$user_info = get_userdata($user_id);
    	$link = $user_info->display_name;
    	$domain = '' . $url . '/profiles/' . $link . '';
    	return $domain;
        }
    add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4);
    apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);

    This seems to work on every profile link except the one in the activity header section. This link is being changed but just to /profiles/. The display name is not being added to the end… so looking at my code this means i’m not retrieving the user id in the activity. Strangely enough though the user avatar next to the post has the correct link applied to it with the above filter! Any ideas?

    My other option is to use the buddypress member profile location but replace it with my profile templates. I tried to implement this by creaing a members/single/home.php in my wordpress custom theme folder… but the profile loads inside another page, i get a page within a page type effect with the username above the inner page… not sure what is going on there? If anyone can help with either of these solutions i’d really appreciate it!

    James

    #247253
    dwsowash
    Participant

    I have the exact same problem. Too much white space.

    Newest wordpress Newest Buddypress using 2014 theme.

    #247243
    r-a-y
    Keymaster

    When you click inside the textarea box, the textarea should expand and show the submit button.

    Does that work?

    If not, it might be related to the Sahira theme. Since Sahira is a premium theme, we do not have access to it. What happens when you switch to one of the WordPress Twenty themes?

    Do you have the BuddyPress Activity Privacy plugin activated? If so, read this:
    https://buddypress.org/support/topic/buddypress-2-4-0-and-buddypress-activity-privacy/#post-246630

    tstrickland415
    Participant

    Sorry for keeping you guys in the dark but what I’ve discovered is that BP’s implementation of member types is pretty underwhelming since it’s only an xprofile field. In regards to my original use case, I discovered I was better off defining custom user roles (AKA member types) and adding appropriate permissions. This can easily be achieved with a few simple lines of code in your functions.php or your custom plugin. If coding isn’t your thing then there are a bunch of freemium plugins available for you to use. Why the Buddypress team elected not to leverage WordPress’ built in User Roles for this feature is beyond me, but if anybody is still looking for an answer to this then I highly recommend checking out the WordPress Codex on User Roles and Capabilities. Hope this helps!

    #247229
    Pietro117
    Participant

    Hi, we’re having exactly the same problem with not being able to upload avatar photos, and we have the repeated path in the error message, e.g.: Upload Failed! Error was: The uploaded file could not be moved to wp-content/uploads/avatars/9/avatars/9.

    We are on a fresh (< 1 week old) 1-click WordPress installation, with BuddyPress, bbPress and a few other plugins.

    Did you have any joy with resolving this issue please?

    Many thanks
    Peter

    #247228
    shanebp
    Moderator

    You can use multiple filters with commas: &action=activity_update,new_blog_post

    See the comments here for other info:
    Using bp_parse_args() to filter BuddyPress template loops

Viewing 25 results - 5,176 through 5,200 (of 22,687 total)
Skip to toolbar