Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,151 through 5,175 (of 22,658 total)
  • Author
    Search Results
  • #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

    #247208
    r-a-y
    Keymaster

    Thanks for the report.

    Can you do three things?

    1) Set WP_DEBUG to true in wp-config.php:
    https://codex.wordpress.org/WP_DEBUG

    2) Open up /bp-core/bp-core-attachments.php and look for the following lines:

    	// Resize the image so that it fit with the cover image dimensions
    	$cover_image  = $cover_image_class->fit( $args['file'], $dimensions );

    Right after that line, add:

    _doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image, true ), '2.4.0' );

    3) Go to the “Change Cover Photo” page and try reuploading a photo.

    Next, go to /wp-content/debug.log, copy the entire bp_attachments_cover_image_generate_file was called incorrectly debug message and paste it here.

    Going to ping @imath as well.

    #247207
    r-a-y
    Keymaster

    Try downloading the following:

    Rename the files to buddypress-de_DE.po and buddypress-de-DE.mo respectively.

    Then, move the files to /wp-content/languages/plugins/.

    Since the translation is not 100% complete, you might see some English strings.

    Let me know if that works for you.

    #247191
    r-a-y
    Keymaster

    I think the German translation is not fully 100% translated, which is preventing WordPress from fetching the latest German translation for BuddyPress.

    If you are able to help translate the remaining strings, please visit:
    https://translate.wordpress.org/locale/de/default/wp-plugins/buddypress

    Also, read the following guide to find out how to contribute towards the translation:

    translate.wordpress.org (GlotPress)

    #247190
    cameck
    Participant

    You’re right! I didn’t realize it at first…. I appreciate all the help you’ve given so far. I can continue this on the S2 Member Forum if you like, you’re just doing such an awesome job though :D.

    Regarding the $s2member_level1 , I was just pulling that out of my butt and it was only thing I put there that didn’t break the pages.

    But if you’re curious, this is what I have now:

    <?php if(is_user_logged_in() && 4 == S2MEMBER_CURRENT_USER_ACCESS_LEVEL){ ?>
    
    <div class="paybox">
    <h3>Make Payment with PayPal&reg;</h3>
    <?php $uemail = getDisplayedUserEmail(); ?>
    <?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?>
    </div><!-- .paybox -->
    
    <?php } ?>

    This is working for the most part, but oddly enough there are a few more employers that are still showing the paypal button. So, I started using this:
    <?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>
    to see the output and most employers are the number 2, but a few are listed as 4 – which creates the problem. Ideally, I could just do it like in the previous code I had put up $type === $s2member_level1 as that’s how they are listed in the backend of WordPress.

Viewing 25 results - 5,151 through 5,175 (of 22,658 total)
Skip to toolbar