Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,076 through 9,100 (of 68,916 total)
  • Author
    Search Results
  • #259013

    In reply to: Hello!

    Paul Wong-Gibbs
    Keymaster

    (This error message in your screenshot refers to some other plugin, not BuddyPress. But anyway:)

    To remove any plugin in WordPress, go into wp-content/plugins/ with FPT or however, and delete the plugin folder — in this case, BuddyPress.

    If you visit your-site.com/wp-admin/plugins.php directly, WordPress should disable the missing plugin.

    If you happen to not be logged in, and so can’t get into wp-admin because of the error… you could edit something in the database with SQL, but it sounds like you aren’t technically proficient with SQL to do this (it’s easy to break something else), so the last option — and this is a nuke — rename your theme folder to something else, rename the entire plugins folder to something else, then you should be able to log into wp-admin. WordPress will switch to one of the default twenty* themes. You can then rename the plugin folder back and start reactivating them one-by-one, and then switch the theme back.

    #259007

    In reply to: Hello!

    hatndustrialguy112
    Participant

    The script failed catastrophically and buddypress has made it entirely impossible to even access the website. This is what I get

    So I need a way to remove Buddypress, so I can access my clients website. Its ridiculous how this script fails only after a single update. And now my clients are pissed off they cannot add crap to their site. So I need a way to remove this script from the website that will not allow me to login to the website.

    #259006

    In reply to: Hello!

    djsteveb
    Participant

    “need a FTP script” – tried filezilla?
    I use smart ftp more often, but filezilla is free last I checked.

    ftp in, download a backup of all the files.

    Don’t know what you mean by “SQL script to remove buddypress” – I would use phpmyadmin to login to your sql database, click export, custom, check ‘add drop table’ – and save a copy..

    then I would go to (via ftp or file manager in cpanel) – site / wp-content/plugins

    I’d rename the plugins folder to /plugins-hold – then create a new /plugins folder

    at that point you should be able to login to the site if you to sitename/wp-admin/

    I’d immediately check appearance – themes – change to default.. then start adding the needed plugins one by one.. if you find that enabled two plugins at once causes a problem – you probably have found the conflict.

    Of course it could be a theme issue, a corrupt database, a hacked site – who knows.. but that’s what I would do.. I’m not an expert, and double check the documentation at wordpress.org for making backups. ( https://codex.wordpress.org/WordPress_Backups )
    Hope that helps.

    #259005
    djsteveb
    Participant

    @phound1

    have you tried to see if bp emails work when the other plugins are disabled?

    maybe some of things we posted about in the forums long ago may offer some clues as to where the hiccup is. I stiff refer to https://buddypress.org/support/topic/not-receiving-notification-of-new-user-registration/ on occasion.

    #258998
    bikerwp000
    Participant

    Hi Paul,

    I just copy/paste my original inquiry to pastebin.com. I’m not sure how that works, but I assume just by posting it there, people will potentially respond, right?

    Anyway, this whole afternoon I’ve been testing the 3 paragraphs rule you graciously advised me and found it a true statement.

    My conclusion is I need to have
    at least 4 paragraphs separated by [Enter],
    there must be at least one blank line in between paragraphs, and
    each paragraph needs to have at least 1 character, either letter or numeral,

    when I got all those covered, and when I have both feature image and embed video in the post, the feature image will appear in the member’s Activity feed, not the video, which is what I want.

    And there can be more than one embed video.

    What wasted me a lot of time was after successfully achieving the result I want (4 paragraphs and all those other above requirements), I experimentally deleted 1 paragraph at a time to test what makes it fail and what makes it work. After all was done, when I restored it back to the way it originally worked, suddenly either the featured image wouldn’t show up like it did the first time on Activity feed or the embed video only show the URL link but not the video itself in the post.

    I kept tweaking it every possible way hoping to find out what went wrong or if the 3 paragraphs rule was in effect incorrect.

    In the end, I realized it would work again if I simply abandoned the messed-up post and started a new post by following all the above requirements.

    So that’s what you should try if something were to go wrong and you’re at a loss of what’s going on.

    I may also need to point out that all the posts in this upcoming website of mine will be contributed by frontend members via WP User Frontend plugin, which was what I used testing this 3 paragraph rule. But I think the conclusion I came up above should remain the same if you post via backend admin.

    @ Paul, thanks again for your help. Not sure if you’d care to help me out on my the other thread “How to add self-created category to member Activity filter dropdown box?”

    How to add self-created category to member Activity filter dropdown box?

    I’d really appreciate if you, or anybody, could help me out on that one.

    I had another quickie inquiry appended at the end of that thread. That one is not as important, so please don’t worry about if if you’re not interested.

    Thank you.

    #258976
    danbp
    Participant

    Hi,

    for 1) try
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . 'type=alphabetical' ) ) : ?>

    For 2) read here perhaps it helps

    Paul Wong-Gibbs
    Keymaster

    On any decent server config, warnings and errors will not be shown on screen in production environments. Instead, it’ll be written to a log file. So you will still have the problem.

    Try switching back to your real theme (so the warning comes back), and then disable plugins one-at-a-time. See if you can figure out if it’s a combination of one plugin and your theme causing the problem.

    Is this a custom theme you wrote? Or did you buy from somewhere? Are BuddyPress templates defined in the theme (it’d be in your_theme/buddypress/ subfolder)? If it’s isolated to only your theme and not your theme+plugins, you’re going to have to debug through the members templates and figure it out.

    #258971
    Paul Wong-Gibbs
    Keymaster

    BuddyPress doesn’t have a wall feature like how you think it does. You’ll need to check out a Wall plugin for BuddyPress, maybe http://www.buddyboss.com/product/buddyboss-wall/

    #258969

    In reply to: Login conflict

    Henry Wright
    Moderator

    You could use member types to create child and adult types and add a radio button to the BuddyPress registration form?

    Member Types

    #258966
    danbp
    Participant

    Using BP Theme Compat in Plugins.

    BuddyPress has no more theme since 1.9. The old BP-Default theme is only in for backward compatibility.
    If you build a plugin for BP, i don’t think you need to build an extra theme for it. BP use only templates, who have enough flexibility to fit with almost any theme.

    Globally, for a plugin, you have to match with BP’s templates, not with a theme or another.

    Ie. if you need a setting screen on profiles, you can use a simple call to a kind of pre-build template you can use for plugins
    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );

    By using this, you’re on the profile with a new tab related to your plugin and automatically also integrated to the user’s theme. In other words, BP takes in account your plugin and the theme takes account of BP.

    I wouldn’t recommand to build a theme with a plugin, as they are so many different themes on hand. If you don’t fit to the majority of them for any obvious reason, you’ll get in high difficulties if you are to specific. Don’t forget that you will have a plugin support to manage…

    Made it simple and efficient and if possible, easy maintainable and upgradable. For you but also for any user type.

    #258962

    In reply to: BuddyPress Branding

    Henry Wright
    Moderator

    Here’s an example of what’s allowed:

    Activity Stream Plus for BuddyPress

    Note, the following is an example of what isn’t allowed:

    BuddyPress Activity Stream Plus

    You may come across older plugins that use the 2nd naming style. That’s because the guidance above was introduced by the WordPress Plugin Review Team relatively recently.

    #258961

    Awesome, thanks! The template overload and BP theme compat documentation is really insightful.

    My goal with this is to create a plugin that loads a BuddyPress theme which can work along with nearly any WordPress theme I switch to. With that said, in your expert opinion, which of the methods you’ve provided will work best from an overall compatibility perspective?

    #258957
    danbp
    Participant
    #258955
    danbp
    Participant

    Hi @tronix-ex,

    Give this a try. Read more will only appear again if you use more than 500 000 characters…
    Add to bp-custom.php

    function bpfr_excerpt_length( $length ) {	
    
    $length = 500000; // adjust the length to desired number of characters 
    
    // Is the current page a user's activity stream page ?
    	if( bp_is_user_activity() ) {
    	  return $length;
    	}
    }
    add_filter( 'bp_excerpt_length', 'bpfr_excerpt_length', 11, 1 );
    #258954
    kyla123
    Participant

    I have BuddyPress Version 2.6.2

    #258952

    In reply to: BuddyPress Branding

    danbp
    Participant

    Hi,

    you can use BuddyPress in the plugin name, under condition the public can understand clearly that it is an add-on FOR BP and not a part OF BP.

    For the domain name, i presume it’s the same trademark condition as for wordpress: no, you can’t. You can use bp-something[dot]com but not buddypress-something[dot]com

    BuddyPress comes like WordPress under GPLv2 license and has similar terms of use.

    #258947

    In reply to: Lost search function

    danbp
    Participant
    #258941
    danbp
    Participant

    Other related topics:

    restrict by user role

    Status

    restrict by member_type

    Status

    #258940
    danbp
    Participant

    Please, don’t double post ! You have already asked the same question here:

    How to show bp resume view page on home page of buddypress

    Closing this topic as duplicate.

    #258929
    Stormn
    Participant

    I am having the same issue. I need members to be able to sign up themselves with a confirmation email rather than me having to approve them manually. This problem also affects my ability to set up a commerce page. I am using BP 2.6.2 with the WP Spirit 01 Theme. I am not using any other Buddy Press plugins other than just BuddyPress.

    #258916

    In reply to: Group Management Panel

    giaschel
    Participant

    Hi, thank you very much for your reply!

    Both links bring me to an error page that says I’m not authorized (although I’m super-admin). I can’t see any buddypress tab in my Dashboard, apart from Forums, Topics and Replies.

    Hoping you can still help.

    Thanks again.

    #258908

    In reply to: User dashboard url

    MissMad
    Participant

    Hi all!

    Thanks for your answers. Actually, he /members/me/profile/dashboard works (I do have a dashboard that’s not the WordPress one but rather one I can edit with some of the info from Buddypress).

    Great help!

    #258905
    karmatiger
    Participant

    dan that was extremely helpful 🙂 I’m so close now…

    I’m using

    function text_pre_timestamp() {
      $link = '';
      if ( bp_activity_user_can_delete() ) {
    	  $url   = bp_get_activity_delete_url();
    	  $link = '<a href="' . $url . '" class="activity-list delete">' . __( 'Delete', 'buddypress' ) . '</a>';
    	  $test = 'sample text ';
      }
      
      $var = ' %s ago ';// %s = timestamp
      if (!$link == '') $var = $var . '| ' . $test . $link; 
      return $var;
    
    }
    add_filter( 'bp_core_time_since_ago_text', 'text_pre_timestamp' );

    and it works! Well… for some reason it’s putting the Delete link on a separate line, and I can’t figure out why. As you can see I’ve included test text, which it includes on the same line as the timestamp. If I put $link before the timestamp it displays inline; but if I put it after the timestamp it puts the href one line down. Is this a Buddypress thing?

    The CSS used:

    .activity-list .delete {
      display: inline; 
      font-size:10px; 
      padding: 0; 
      margin: 0;
    }

    You can see by the display: inline I’m attempting to get the href to be on the same line as the rest of the text. have you any thoughts as to why it’s inserting a line break?

    danbp
    Participant

    @fearthemoose, @rezbiz,

    Here “the best guarded secret” finally revealed !
    But it’s not a secret, is part of Codex and a multi handled topic subject on this forum.

    What we want to do: remove access possibility.
    Where: on BuddyBar navigation menu (the one below the profile header).
    Specifics: make the activity and forum tabs only visible to the logged in user.

    NOTE: The activity tab is shown by default when you visit a profile.

    As we are going to hide/remove this tab to visitors, we need to define as first another default tab. If we won’t do that, the visitor will get a Page not found error. Which is not exactly the case here, the page exist but the visitor can’t access it.

    Let’s define arbitrary Profile as the new default tab. You can of course define what ever other existing tab on your BuddyBar as default.

    Add this line to bp-custom.php
    define( 'BP_DEFAULT_COMPONENT','profile' );

    Now the mega “open secret” !

    The folowing snippet contains almost any BP menu items you can have on a BuddyBar, and includes also the Forum item, in case you use bbPress.
    You can remove or comment out those you don’t want to use.
    Note also that it is only an example – you have to play with it to fit your need. But at least you have the right syntax to use.
    Note also that some profile menu items are user only, such as message or notice. In other words, these are always private.

    This function goes preferably to bp-custom.php

    function bpfr_hide_tabs() {
    global $bp;
    	 /**
    	 * class_exists() & bp_is_active are recommanded to avoid problems during updates 
    	 * or when Component is deactivated
    	 */
    
    	if( class_exists( 'bbPress' ) || bp_is_active ( 'groups' ) ) :
            
            /** here we fix the conditions. 
            * Are we on a profile page ? | is user site admin ? | is user logged in ?
            */
    	if ( bp_is_user() && !is_super_admin() && !is_user_logged_in() ) {
    
            /* and here we remove our stuff ! */
    		bp_core_remove_nav_item( 'activity' );
    		bp_core_remove_nav_item( 'friends' );
    		bp_core_remove_nav_item( 'groups' );
    		bp_core_remove_nav_item( 'forums' );
    	}
    	endif;
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    Some other hints for privacy
    if you want to allow only the profile owner to view some tabs, replace
    !is_user_logged_in by !bp_is_my_profile() – this scenario doesn’t need a check for logged in users as it is made by bp_is_my_profile.

    If you want only to make a profile private, read here.

    If you want to remove a sub-nav item (ie. View on Profile), you use something like:
    bp_core_remove_subnav_item( 'profile', 'view' );

    Many other possibilities for navigation are also available, including for groups. Several examples are given on Codex, here.

    And if not enough, RTFM and search the forum ! 🙂

    Have fun !

    #258897
    danbp
    Participant

    They are filters for timestamp.
    To get some text before the ago part, try this:

    function text_pre_timestamp() {
    
    $var = 'custom text %s'; // %s = timestamp
       return $var;
    
    }
    add_filter( 'bp_core_time_since_ago_text', 'text_pre_timestamp' );

    Code references

Viewing 25 results - 9,076 through 9,100 (of 68,916 total)
Skip to toolbar