Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 14,676 through 14,700 (of 69,016 total)
  • Author
    Search Results
  • #230848
    gnfb
    Participant

    this was the instructions i followed

    Customizing Labels, Messages, and URLs

    #230835
    Ricardo Gonçalves
    Participant

    This is the code I added at line 278 in /wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_binder.php to create the action. The credit for this code is @Juanma in WordPress.org forum. (couldn’t find the original thread). In this case I’m creating an action for images upload.

    function ajax_update_activity_contents () {
      $bpfb_code = $activity = '';
      $aid = 0;
      $codec = new BpfbCodec;
      if (@$_POST['data']['bpfb_photos']) {
        $images = $this->move_images($_POST['data']['bpfb_photos']);
        $bpfb_code = $codec->create_images_tag($images);
        $type = 'bpfb_share_wall_photos';
      }
    
      $bpfb_code = apply_filters('bpfb_code_before_save', $bpfb_code);
    
      // All done creating tags. Now, save the code
      $gid = (int)@$_POST['group_id'];
      if ($bpfb_code) {
        global $bp;
        $content = @$_POST['content'] . "\n" . $bpfb_code;
        $content = apply_filters('bp_activity_post_update_content', $content);
        $user_id = $bp->loggedin_user->id;
        $userlink = bp_core_get_userlink( $user_id );
    
        $author = bp_core_get_userlink( $author_id );
        $activity_url = bp_activity_get_permalink( $item_id );
    
        $aid = $gid ?
          groups_post_update(array('conte nt' => $content, 'group_id' => $gid)) : 
          bp_activity_add(
            array(
              'action' => apply_filters( 'activity_update', sprintf( __( '%s shared a link', 'buddypress' ), $userlink ), $user_id ),
              'content' => $content,
              'component' => 'activity',
              'type' => $type,
              'user_id' => $user_id
            )
          );
          if ($aid) {
    			ob_start();
    			if ( bp_has_activities ( 'include=' . $aid ) ) {
    				while ( bp_activities() ) {
    					bp_the_activity();
    					if (function_exists('bp_locate_template')) bp_locate_template( array( 'activity/entry.php' ), true );
    					else locate_template( array( 'activity/entry.php' ), true );
    				}
    			}
    			$activity = ob_get_clean();
    		}
    		header('Content-type: application/json');
    		echo json_encode(array(
    			'code' => $bpfb_code,
    			'id' => $aid,
    			'activity' => $activity,
    		));
    		exit();
    	}
    }

    And this is the code that works for activity stream. It shows just the activities with this action, but when you click the ‘load more’ button it loads the regular stream.
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=bpfb_share_wall_photos') ) : ?>

    #230833
    mdory89
    Participant

    I should’ve explained more. In the WordPress admin panel, If you click Users-Profile Fields, the profile field created and placed into the member-header.php file doesn’t show at all.

    Here’s a tutorial I followed: http://code.tutsplus.com/articles/developing-buddypress-themes-part-3-buddypress-15-member-pages-the-overall-user-experience–wp-21856

    The code:

    <?php
       
      $favorite_spot = bp_get_profile_field_data( 'field=Favorite Camping Spot' ) ;
    echo '<p class="profile-fields">My Favorite Camping Spot: ' .$favorite_spot. '</p>';
       
      $necessary_item = bp_get_profile_field_data( 'field=One Necessary Item' ) ;
    echo '<p class="profile-fields">My One Necessary Item: ' .$necessary_item. '</p>';
     
      ?>
    #230832
    Ricardo Gonçalves
    Participant

    Hello @ARCangelGIRL, I’m facing the same situation and @shanebp solution worked for displaying the action I wanted in the activity stream. But the Load More button is loading all the actions, not just the one I created. I tried to filter the bp ajax querystring in many different ways but it didn’t work. The last try was this https://buddypress.org/support/topic/simply-trying-to-filter-the-bp_ajax_querystring-via-ajax/ .

    #230829
    shanebp
    Moderator

    Then you could search on those types like so:
    bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=video_category' )
    More info: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/#filtering-examples

    #230828
    shanebp
    Moderator

    I have add 2 new columns in activity mysql table “video_category” and “video_subcategory”.

    Adding new columns is not a good approach.

    Did you try adding your ‘categories’ as a type via
    https://codex.buddypress.org/developer/function-examples/bp_activity_add/ ?

    #230821
    Hugo Ashmore
    Participant

    it would be incredibly helpful to add dividers or typographical rules/hierarchy to the buddypress.org documentation ‘subpages’ panel

    And that is exactly the sort of thing that is being worked on as part of the codex initiative, you can see what is proposed by following posts on bpdevel, the BP development blog. It does take time to get changes, even to this degree, tested and pushed up to the production site, bp.org is actually a more complex site setup than might be realised and it’s codebase handles all the BP and bbP sites and access is very limited to these sites as they run on WP servers and time is quite tight for the lead developers.

    BP Trac has a current ticket and patches addressing a few issues one of which is the Codex page menu to both introduce a sectional page menu and typographical styles to denote parent/child links so things are clearer

    #230819
    bp-help
    Participant

    @timrourke
    I agree that it should be easier to find and should be very obvious. New visitors on buddypress.org probably won’t realize that you have to hover over the “BuddyPress.org” link to the left of the “My Sites” link to find the “Create New Topic”link. Hopefully in the future this will be changed.

    #230809
    annasoul
    Participant

    Hi. I’m having the same problem. Unfortunately I’m not too experienced at this stuff so most of the fixes suggested are over my head. Any simpler explanations??? I’m using buddypress with wplms theme. I’ve set the registration page to register with wplms. Thanks so much!

    #230807
    danbp
    Participant

    Please, don’t mention a user without a link to what you’re speaking about.

    There is no specific donation plugin for BP so far i know. You can of course try some of the existing for WordPress, but i’ve no idea if one of them integrates well.

    Maybe an alternative solution with myCred, who is adapted to BuddyPress and has such a feature.

    Home

    #230802
    julianprice
    Participant

    @jgwolfensberger has @mercime indicated it good to go. Thanks BuddyPress Team for all your hardwork. I would encourage you James to have a local install especially if you attempting to configure BuddyPress. It has an extreme learning curve to configure it for your particular community needs.

    In my opinion, easier to create demo members/groups..,etc to see the settings work and perm ink structures you need to set before going n live site.

    #230801
    shanebp
    Moderator

    How will the ‘tags’ be used?
    As the basis for filtering members?
    Or just as ‘notes’ about each member?

    If the former, see the BP_User_Query codex page.

    If the latter, you could use this premium plugin: BuddyNotes

    Or you could simply create template overloads of these 2 files:

    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php
    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\edit.php

    And check the fields via their id or name and then decide, based on who the logged-in user is, whether the fields should be displayed.

    #230775
    Security
    Participant

    Hi thanks for the confirmation @emineminero here are few suggestions:
    1) As you have multisite the 1st thing i would like to suggest you is to go through the following guide
    2) Make sure your permalink structure is set to sitename.com/sample-post-name even if its set to as suggested try to rebuild it(for doing this just goto dashboard>>settings>>permalinks and simply save the permalink structure one more time)
    3) I think the issue is related to this thread and may be you will find something productive there.
    Note: Make sure you have set the pages for registration and activate in dashboard>>settings>>buddypress>>pages tab the pages are needed to be created,just create two pages and name them “register” and “activate” respectively and then set them from dashboard>>settings>>buddypress>>pages tab
    Clear browser cache and check for the changes.
    Thanks

    #230773
    James Wolfensberger
    Participant

    Thanks Renato! I still have an issue with having so many features to our BuddyPress site that a staged site test is not likely to truly weigh the impact of high user activity navigating our many features. But yes, absolutely, it is the proper first step, I agree!

    #230769

    In reply to: BuddyPress on Subsite

    danbp
    Participant

    Take also in mind that BuddyPress does not work on installations where you give WordPress its own directory.

    #230768
    danbp
    Participant

    FYI, about the first point

    buddypress probably does not support sites in non-root folders.

    It’s not probably, but sure ! 😉

    This is indicated on the requirement codex page

    Anyway, glad you got it and thank you for sharing the solution. 😉

    #230767
    buffos
    Participant

    I solved it as follows

    * first buddypress probably does not support sites in non-root folders.
    That means that if you have a site in localhost/somesite/wp-contents… etc it will not work

    * the problem was not the alternate port :8080 in my case…

    * solution was creating a virtual host (by reading http://foundationphp.com/tutorials/apache_vhosts.php , just adding rules for 8080 in my case instead of just just 80)

    * after that, i went to .htaccess and changed the RewriteBase from /somesite/ to /
    and the last RewriteRule . /index.php [L] from . /somesite/index.php [L]

    Now it works fine as a top-level site (i used somesite.dev as the host name and use somesite.dev:8080 to access it). Registration and activation now work fine

    #230766
    James Wolfensberger
    Participant

    Hello – thanks for the thread @julianprice … and I hope my input here is useful as well. I’m a longtime WP admin but also administering our first BP site. I’m wondering if BuddyPress aficionados with critical sites recommend holding off on WP 4.1 a couple of weeks to observe compatibility conflicts before upgrading WP to 4.1? Would we consider that a best practice?

    I realize a staging site is useful as well, but my challenge is thorough testing on a staged site, which I’m sure other BP admins can relate to.

    Thanks to great WP/BP community for all the hard work and cooperation.

    James

    #230765

    In reply to: BuddyPress on Subsite

    julianprice
    Participant

    Hi @ggalipeau I have limited knowledge to help you in particular but thought I would point you to the codex article https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ which shows it recently updated 3 days ago

    #230758
    danbp
    Participant

    hi,

    in addition you can also look here for more details:

    BuddyPress Database Diagram

    #230741

    In reply to: Spam/Bot users

    shanebp
    Moderator
    #230740
    jstallard
    Participant

    OK fixed!

    Buddypress was no longer network activated. (The Manage Signups page was still there.) After the WordPress 4.0.1 upgrade I experienced problems on my multisite. Deactivating Buddypress helped (although the problem may have originated elsewhere).

    Network activating Buddypress fixes the Manage Signups page. Now I just need to work out the fastest way to deactivate it on 100 blogs!

    #230739

    In reply to: Spam/Bot users

    Security
    Participant

    Hi @mmaccou my site was also suffering from the same issue until few days back but one of the way by which i prevented the fake account registrations on my site is by putting minimum allowed character restrictions on my registration form input fields you can read a small howto and details on it from here
    I hope it helps
    Thanks

    #230734
    buffos
    Participant

    looking at the access.log of xampp (apache) i see

    ::1 – – [17/Dec/2014:23:01:39 +0200] “GET /testbuddy/register/ HTTP/1.1” 200 16168 “http://localhost:8080/testbuddy/&#8221; “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”

    ::1 – – [17/Dec/2014:23:01:55 +0200] “POST /testbuddy/register/ HTTP/1.1” 200 16202 “http://localhost:8080/testbuddy/register/&#8221; “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”

    Anyway, i really cannot understand how buddypress cannot work out of the box in a very simple and standard situation 🙁

    I do not see how to create a new topic and this is as close to being related to the issue I am experiencing….

    This would be an easy solution until BuddyPress has resolved the issue of verifying the new email.

    With Buddypress 2.1, when a person changes their email address, it does send an email. However when the verification link is clicked, it still gives the pending change message… Also, I have noticed that it gives two different emails. The first is the new one set and the second says to check the email of the old email address….

    Like this:

    There is a pending change of your email address to
    ryan@redesignexxxxeb.com
    .
    Check your email (
    ryanxxxxx@gmail.com
    ) for the verification link. Cancel

Viewing 25 results - 14,676 through 14,700 (of 69,016 total)
Skip to toolbar