Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,276 through 9,300 (of 69,127 total)
  • Author
    Search Results
  • bikerwp000
    Participant

    Hi danbp,

    Thanks for the link. The link is more for adding filter options for Memebers, but you included a link in that thread to a tutorial that’s more for adding filter options for Activity,

    Add custom filters to loops and enjoy them within your plugin

    ,which is what I need.

    Due to my feeble coding comprehension level, I read through that entire tutorial, the whole afternoon trying to understand and implement it to no avail. I did download, install and activate the plugin referred by the tutorial for this purpose from

    https://github.com/imath/bp-loop-filters

    and I can now see the “BP Plugin Action” in my Activity filter dropdown, both site-wide and member profile.

    What I don’t know is how to transform the “BP Plugin Action” into the categories I created for my blog posts.

    I don’t really need to change anything for Members and Groups so I can skip those. As for the “Most Favorited” filter option, if that’s readily available in the php then of course I can use it. If it takes more work, then it’s not really necessary for my site, either.

    The entire php file from this plugin for adding custom filters is below. I’m guessing in order to transform the “BP Plugin Action” into the categories I created for my blog posts, I probably need to physically write something on Line 59 – 60, where it reads,

    
    			add_action( 'bp_activity_filter_options',        array( $this, 'display_activity_actions' ) );
    			add_action( 'bp_member_activity_filter_options', array( $this, 'display_activity_actions' ) );

    and Line 132 – 150,

    
    	/**
    	 * Displays new actions into the Activity select boxes
    	 * to filter activities
    	 * - Activity Directory
    	 * - Single Group and Member activity screens
    	 *
    	 * @return string html output
    	 */
    	public function display_activity_actions() {
    		$bp_plugin_actions = $this->list_actions();
    
    		if ( empty( $bp_plugin_actions ) ) {
    			return;
    		}
    
    		foreach ( $bp_plugin_actions as $type ):?>
    			<option value="<?php echo esc_attr( $type['key'] );?>"><?php echo esc_attr( $type['value'] ); ?></option>
    		<?php endforeach;
    	}

    , is that correct? If correct, where should I go to find the exact data I need and where exactly in those lines I need to paste those data over?

    And besides those lines, are there any other spots I need to do anything about in order to complete this effort?

    I assume I need to do this from the php file because, after activating the plugin, I did not find anywhere at backend that will allow me to easily change the “BP Plugin Action” to other filter options of my choice.

    Thank you.

    I tried to post the php file here but for some reason it’s not going through. I’ll try to post it in a separate post below.

    #259043
    danbp
    Participant

    Hi,

    To get the link to a user profile:
    $link = bp_get_loggedin_user_link();

    Many use examples can be found on the forum. Ie:

    [Resolved] BuddyPress Links URLs

    Is it possible to make Activity and Forum profile tabs private?

    #259028
    danbp
    Participant

    Hi,

    did you tried to use the Email API ?
    Dashboard > Emails. From there you can modify the email title.

    Other possibility
    https://buddypress.org/support/topic/customizing-emails-template/

    #259027
    danbp
    Participant

    For 2) the idea is to sort users alphabetically by birthdate.

    Members Loop

    The snippets i indicated use a field called contributor. You could try to replace by birthdate, or whatever you named that profile field.

    danbp
    Participant

    Hi @bikerwp000,

    read here and see if you can do something with the snippets

    https://buddypress.org/support/topic/adding-new-order-by-on-members-loop/

    #259017
    danbp
    Participant
    #259016
    danbp
    Participant

    Please don’t double post !

    Closing this topic as duplicate in favor of

    On updation blank screen appears

    #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

Viewing 25 results - 9,276 through 9,300 (of 69,127 total)
Skip to toolbar