Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 39,051 through 39,075 (of 68,916 total)
  • Author
    Search Results
  • #113842

    When an activity update is posted, the function bp_activity_post_form_action in wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php is called. This function sends defines:

    function bp_get_activity_post_form_action() {
    return apply_filters( ‘bp_get_activity_post_form_action’, site_url( BP_ACTIVITY_SLUG . ‘/post’ ) );

    BP_ACTIVITY_SLUG is just the url of the activity (http://example.com/activity). To this url I added /post, and I tried it in the browser. I got the extremely informative error: “Are you sure you want to do this?” Now, I guessed, it would work without the /post-ending … and it did. (I had deactivated a number of plugins, but now they are activated again).

    #113839

    @paulhastings0 Try this filter, it will sync user name on the fly

    just paste this block of code in your template functions.php

    `
    /////////////////////////
    ///// To sync user names on the fly, it will show xprofile fullname of user
    /////////////////////////
    function wpi_sync_member_name($data) {
    global $members_template, $bp;

    #$firstname = xprofile_get_field_data( 1, $members_template->member->id ); // 1 = firstname > wp_bp_xprofile_fields.id
    #$lastname = xprofile_get_field_data( 51, $members_template->member->id ); // 51 = lastname > wp_bp_xprofile_fields.id
    #$fullname = $firstname .’ ‘.$lastname;
    #return $fullname;

    return bp_core_get_user_displayname( $members_template->member->id );

    }
    add_filter( ‘bp_get_member_name’, ‘wpi_sync_member_name’ );
    `

    #113837
    Scotty501
    Member

    @mercime

    Thank you for the reply. I’m a little confused though.

    I have found the file permalink.php – you say copy to your child theme – would that be /wp-content/themes/fishbook-buddypress-buddypack and paste the file in there?

    You mention I should past inside folders/single/activity following directory structure of bp default – I am at complete loss as what is intended here or what is meant – sorry :(

    I am trying to understand the file structures (honest) but it’s taking a while to “go in” my brain!

    #113836
    @mercime
    Participant

    @athimm could be the permalink structure like this ticket https://buddypress.trac.wordpress.org/ticket/1766

    #113835
    @mercime
    Participant

    This is the template which handles the page. Copy over bp-default’s permalink.php to your child theme’s folder, and paste inside folders /members/single/activity/ following directory structure of bp-default

    #113834
    Doug
    Participant

    @athimm – Thanks for the clarification. Have you done a “tail” on your apache error log? Mine is showing this:

    [Sat Jun 04 08:46:13 2011] [error] [client 24.234.182.233] File does not exist: /vol/sites/neoncon.com/dev/groups, referer: http://dev.neoncon.com/groups/
    [Sat Jun 04 08:46:21 2011] [error] [client 24.234.182.233] File does not exist: /vol/sites/neoncon.com/dev/groups, referer: http://dev.neoncon.com/groups/create/step/group-details/

    #113832

    In reply to: Avatar Img Alt Tags

    covandy
    Member

    I don’t think this is the solution I am looking for? All I am looking to do is change the
    `avatar`
    I want to find the file within buddypress or wordpress that defines the default alt value and change it.
    Unless your method does this and I have overlooked it?

    Marcos Nobre
    Participant

    @hnla its only working on the profile page… but not in the other pages… any idea how to get it to work on all pages?

    #113821
    luvs
    Member

    no, thats not what I mean.

    I mean that when I post on the forums on my site, the post takes like 10 minutes to appear on the page. For god knows why.. but I obviously can’t have that…

    same with the buddypress avatar I’m trying to upload

    #113815

    In reply to: Avatar Img Alt Tags

    aces
    Participant
    Virtuali
    Participant

    It’s some problems we have been having at buddypress.org, it’s happened to me as well. I think JJJ is upgrading some things on the site.

    #113807
    Scotty501
    Member

    Working.


    @Virtuali
    – Thanks man – worked great. I did wonder why the default was to make the Avatar so large when replying – you addition worked great.

    @pcwriter – I appreciate you taking the time to respond – Thank you

    #113803
    Virtuali
    Participant

    That’s not the issue he is having. It’s with the avatar and the textarea is colliding.

    Find this line in your `wp-content/themes/fishbook-buddypress-buddypack/style.css`

    `div.ac-reply-avatar img {
    border: 2px solid #FFFFFF !important;`

    Add this to the bottom:

    `width: 33px;
    height: 33px;
    }`

    #113802
    pcwriter
    Participant

    @Scotty501

    The problem doesn’t look like it’s the image; rather, there doesn’t seem to be a large enough margin to the left of the comment div. Look for the following in your theme’s style.css file:
    `div.activity-comments form div.ac-reply-content`
    Add this and adjust to taste:
    `margin-left:50px;`

    #113795
    nicholmikey
    Participant

    To add to the activity stream you call
    `
    bp_activity_add(array(
    ‘action’ => ‘I did something awesome’,
    ‘content’ => ‘more content heret’,
    ‘component’ => ‘your component’,
    ‘type’ => ‘activity_thing’
    ));`

    If you are calling this from a plug-in, the function that contains this call needs to be hooked into bp_init

    Here is a full description of your options from bp-activity.php
    `
    $defaults = array(
    ‘id’ => false, // Pass an existing activity ID to update an existing entry.

    ‘action’ => ”, // The activity action – e.g. “Jon Doe posted an update”
    ‘content’ => ”, // Optional: The content of the activity item e.g. “BuddyPress is awesome guys!”

    ‘component’ => false, // The name/ID of the component e.g. groups, profile, mycomponent
    ‘type’ => false, // The activity type e.g. activity_update, profile_updated
    ‘primary_link’ => ”, // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink)

    ‘user_id’ => $bp->loggedin_user->id, // Optional: The user to record the activity for, can be false if this activity is not for a user.
    ‘item_id’ => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id
    ‘secondary_item_id’ => false, // Optional: A second ID used to further filter e.g. a comment_id
    ‘recorded_time’ => bp_core_current_time(), // The GMT time that this activity was recorded
    ‘hide_sitewide’ => false // Should this be hidden on the sitewide activity stream?
    );`

    #113782
    LPH2005
    Participant

    Matt,

    Yes and No. I have two sites using the Q&A plugin from WPMU Dev. This plugin works great except buddypress integration is not present. If I recall correctly, the dev wrote interest in adding integration (sorry, I cannot find that link). The plugin is quite good.

    Another approach is to use a Q&A theme and the BP template pack. I did this prior to switching to the plugin. In this case the integration was fine because the WP posts went to the activity stream.

    Hope this helps.

    #113779

    In reply to: Need Examples

    justbishop
    Member

    Hi, I run RiotCart :) Just wanted to pop in and say that I’m no longer using the BP groups component for anything but a private group/forum for my vendors. If you’d like to see the working parts of the site (which is in the midst of an overhaul, so be kind), you can do so here: http://www.riotcart.com

    I personally think that WordPress is a great platform for running an online shop, and have set up many standalone ecommerce sites for individual crafters using it in conjunction with my personal favorite shopping cart plugin, eShop. This is actually what led to the idea for RiotCart, which is more of a venue for crafters to set up a shop/site in the RC network, rather than a shop in itself. The only thing that RC sells is the monthly shop hosting terms. We use Buddypress more for the shoppers themselves, as it gave me a starting point from which I’ve implimented a p2p feedback system, a “wishlist” feature, and more. I’ve tried offering members the BP groups several different times, and the concept never seems to take off.

    #113778
    stevieg
    Member

    @Boone I am using the BP templates as installed in my theme by the new Template Pack. I haven’t amended them.

    All I have done is
    1. install BP,
    2. install template pack,
    3. run through BP compatability
    4. Create a group
    5. as another user, go to mydomain/groups

    Where I would expect to see a link to ‘Join Group’ I get nothing.

    This is a fresh install of WP 3.1.3 using twentyten with BP 1.2.8 and template Pack 1.1.1 as the only active plugins. Groups are enabled and the group is Public.

    Philippe Gras
    Participant

    It was only a question, because Google Webmaster Tools tell me I must give the bot only the primary link, and only one, instead of 2. I would be kind with bots, but I don’t want to create a miss in my site. It’s not a trouble in BuddyPress, and a ticket wouldn’t be not justified. Thank’s for your help :-) !

    @mikey3d
    Participant

    @stwc

    `As r-a-y suggests, in my experience at least, that kind of error is almost always malformed PHP files — trailing spaces, unclosed brackets, stuff like that. If you’ve pasted functions into your functions.php or bp-custom.php, look there first, then any other template files you’ve edited.`

    There was no error in my functions.php, bp-custom.php and template files. The warning error, above in my first posted, was possible from the core bp-default /registration/activate.php.

    #113774

    In reply to: Blog posts mixed up

    @mercime
    Participant

    First of all, please keep the bp-default theme where you found it – in buddypress/bp-themes folder, delete the bp-default theme you uploaded to wp-content/themes folder. If you want to use the theme, you should create a child theme instead https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    == I could not update the categories in my own blog, nor access the posts through my dashboard ==

    BuddyPress doesn’t cause this strange behavior, but other plugins could have done so. Deactivate all other plugins except BuddyPress

    @mikey3d
    Participant

    @r-a-y

    “Is that a general recommendation? ;)

    :-) – No! However I have only been using your two codes that works but after awhile when I found the bugs it’s causing of your codes.

    1. Duplicate Content: Slash and No Slash at the End of URL
    2. The page isn’t redirecting properly

    “I did say it was test code. Looks like you have whitespace issues in your /registration/activate.php. Delete any trailing whitespace from the beginning of that file.”

    I did put back the function bp_core_redirect_canonical in functions.php and deleted redirect trailing slash in .htaccess before process your above posted. It is the same problem I had it before except no warning error show up, only missed a key link in the domain link.

    I haven’t touch activate.php in bp-default therefore when I looked for trailing space, it looks like this:

    `

    `

    If that is what you were talking about I deleted the whole line 1 and I tested it again and result I get when click the activation link in email:

    http://www.domain.com/blog/activate/

    `Activate your Account

    Please provide a valid activation key.
    Activation Key:`

    There is no key link in the domain. e.g.

    http://www.domain.com/blog/activate?key=afd7528c3b5664d429f94a2ed59a4c32

    The line 1 in activate.php said “This template is only used on multisite installations.” I have single WordPress. Does it matter? All those error the user still able get in after clicked the activation link in the email. Huh?

    Is there a fix? What is the solution for Single WP after user completed sign-up?

    “Your htaccess rewrite rules look like it will interfere with querystring variables.
    eg. example.com/my-page/?variable=my-test”

    Ha, thanks for noticed.

    Matt
    Member

    Interesting. I’m with Fasthosts and while they’re fine for most everything what you get is what you get, so I can’t change the memory allocation.

    I’m actually thinking of switching to Media Temple – anyone know if Buddypress works on their Grid-Service?

    aces
    Participant

    Yeah, I’ve had problems – see details of memory usage here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/rss-error-in-dashboard#post-88690
    If you are on 1and1, then their newer packages may have more memory available….

    #113768
    @mikey3d
    Participant

    @psivait What @andrea_r is talking about robots.txt and rel=“nofollow” to noindex the link?

    robots.txt
    `User-agent: *
    Disallow: /register/`

    rel=“nofollow”

    In your child theme: sidebar.php
    `<?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>`

Viewing 25 results - 39,051 through 39,075 (of 68,916 total)
Skip to toolbar