Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 1,151 through 1,175 (of 1,252 total)
  • Author
    Search Results
  • #69964
    nado
    Member

    Can you please explain how to do this?

    I’d like to have a custom landing homepage (preferably just a wordpress “page”) with general information for non-logged-in users… then if the user is logged-in the homepage defaults to the activity stream (and becomes the “Home” menu link). i.e. when logged-in the custom landing page is unaccessible.

    #69624
    3sixty
    Participant

    Thank you! This is very powerful.

    I customized it to exclude blog comments and forum comments:

    if ( $activity->type == ‘new_blog_comment’ || $activity->type == ‘new_forum_post’) {

    #69562
    Bowe
    Participant

    First note: AWESOMEMILICIOUS!

    2nd note: Posting new blogposts works great! I can add new posts/photos and videos on the blog page and you get a nice growl like notification when you post something.. This is some serious next level stuff!

    The magazine theme layout looks cool, but I feel it’s bit overwhelming for certain users. especially on lower resolutions I feels a bit crammed, with the 3 column recent posts, etc. But I think that’s something personal, and you already said that you’re working on different layouts. I’ve tried to view a different layout in my blog, but could not find the settings. But my suggestion for a third theme would be:

    http://emberapp.com/bowromir/images/untitled-8/sizes/o

    This is quite simple but powerful enough.. I don’t know if you can add custom text boxes/widgets, but I think that would allow user to be creative with their blog. I forgot to offer a search/archive widget, but that would be handy as well.

    3rd note: To avoid confusion I would probably rename Status Update in the groupblog to something like News Update or Blog Update, so that it does not get mixed up with a status/activity update in BuddyPress. To be honest I think that the P2 status update does not add much to it, because a group admin can easily post a status update in the group itself. I understand it’s a added feature in the P2 theme, but I think BP handles it very well.. This is also something personal though :)

    4th: Maybe allow the user to switch to a full markup mode or tiny editor to have more control over longer posts. You already mentioned bringing everything to the front end, but maybe you can solve this by opening a lightbox with the full featured posting of the WP backed (and then remove the navigation in the admin, so the users only sees the posting area). This might be complicated and/ore messy, but it would make for a better user experience.

    I’m really really impressed with the current plugin so far and I can’t wait to try it on my site. Thanks so much for sharing this Marius and the rest of YWAM!

    #69457
    3sixty
    Participant

    While this is an elegant hack, it just occurred to me that this is not optimal if you want to preserve an individual user’s ability to check blog comments in an activity stream. If I read the code correctly, it prevents blog comments from triggering an activity update in the database, so blog comments never get recorded as an activity.

    If that’s true, then it would be preferable to still RECORD the activity, but simply not DISPLAY it in the activity loop. Unfortunately, from this codex tutorial, it seems like the “filter” options only allow you to SHOW one type of activity (rather than filtering OUT one type of activity):

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    Mariusooms
    Participant

    This is the code for pagination:

    <div class="pagination">
    <div class="pag-count"><?php bp_activity_pagination_count() ?></div>
    <div class="pagination-links"><?php bp_activity_pagination_links() ?></div>
    </div>

    It is already on that page, but it wrapped in <noscript> tags. Just remove those tags and should be good for the top of the page. Just repeat that code somewhere at the bottom, preferably just before the <?php else : ?> statement.

    To remove to “load More” tab remove or uncomment the following code on that same template:

    <?php if ( bp_get_activity_count() == bp_get_activity_per_page() ) : ?>
    <li class="load-more">
    <a href="#more"><?php _e( 'Load More', 'buddypress' ) ?></a>   <span class="ajax-loader"></span>
    </li>
    <?php endif; ?>

    Also look at this codex page, it could be helpful to show you a number of things:

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    Anointed
    Participant

    I managed to combine a few different plugins together in order to create a custom post_type complete with taxonomies and custom fields specific to the post_type.

    That part works perfectly for what it is so far, and I can view the archive/single pages for the post_type.

    Where I am really getting stuck is figuring out how to include those post’s in the activity stream.

    I would have guessed that by using a post_type that bp would automatically pick them up and add them to the stream, as they are technically posts, but it’s not happening. I am totally out of ideas on this one.

    The idea being that when pastor adds a sermon ‘post_type’ that it should show up and notify everyone just like regular posts do.

    anyhow have any ideas how to do this?

    #9852
    ousep
    Participant

    We need a plugin/mod that will:

    a) count the number of favourites on an activity and assign an activity meta value “featured” on it, based on a threshold specified

    b) allow the admin to specify the threshold value for an update to be featured

    c) allow the admin to set certain updates as featured.

    d) promote the featured updates to another tab on the same page, at regular intervals (set by admin)

    e) add the featured updates to the site’s main RSS feed

    Using WP 2.9.2 and BP 1.2.2.1 (or latest, as the case may be).

    Also, using a child of the default BP theme, with only CSS customizations so far.

    Please note: the featured tab should be an AJAXified one, with all the goodness that comes with it.

    Please mail me on joseph @ s e c r e t z e n .com with your quote… any questions you have can be answered wither here or via mail.

    Thanks

    Gianfranco
    Participant

    This list should help everybody to quickly and easly track the templates files one need to customize, in order to integrate properly and smoothly BuddyPress pages with your existing WP theme.

    Note that those are the files that generates complete web pages, the one that have header, content, footer.

    The rest of the files in the bp-template-pack are just includes, if I am not wrong.

    1) activity/index.php

    2) members/index.php

    3) members/single/home.php

    4) members/single/activity/permalink.php

    5) members/single/plugins.php

    6) groups/index.php

    7) groups/single/home.php

    8) groups/create.php

    9) forums/index.php

    10) registration/index.php

    #9730
    tamilhood
    Member

    I currently got these issues on my WP 2.9.2, BP v1.2.2.1

    1. Trying to create profile fields for sign ups (There was an error saving the group. Please try again)

    2. Posting an activity (There was a problem posting your update, please try again.). The activity shows after refreshing the page but when clicking the “view” link it redirects me to the home page.

    3. Send messages using buddypress (There was an error sending that message, please try again)

    4. View the edit profile page (redirects me to home page)

    5. Create a group (There was an error saving group details, please try again.)

    I`m using custom structure of permalinks /%category%/%postname%/

    #9671
    dlittle800
    Participant

    I would like to add an icon just before the title on each functional page.

    For example:

    – (icon) Activity

    – (icon) Members

    – (icon) Groups

    – (icon) Forums

    – (icon) Blogs

    Here’s an example of an icon I’m thinking of adding:

    http://networkingpeople.biz/files/2010/03/partner_icon.jpg

    My best guess on where to add the link would be the following:

    wp-content/plugins/buddypress/bp-themes/bp-default/activity/index.php

    Can anyone offer any suggestions?

    Thx

    Matt Wiebe
    Participant

    Hi BP folks.

    The problem, succinctly: BP component pages go 404 when I do a subdirectory install of WPMU. Groups, Blogs, Forums, and Activity components all produce a 404 when trying to visit them (but the Members component works)

    The bad part here is that it’s inconsistent across hosting setups. It works on 3, but fails on 1 & 2:

    1. Local dev (Mac) Apache/2.2.13, PHP 5.3.0, MySQL 5.0.5
    2. Client’s host (their own hardware) Apache 1.3.41, PHP 5.2.12, MySQL 5.0.89
    3. MediaTemple-based Dev SiteApache/2.0.54, PHP 5.2.6, MySQL

    I’m trying to debug this, but both WP and BP URL handling are some serious voodoo to me. Any help here would be appreciated.

    First, here’s the 411 on my setup:

    1. Which version of WP/MU are you running? WPMU 2.9.2

    2. Did you install WP/MU as a directory or subdomain install? subdomain

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgraded from a previous version of WP/MU? If so, from which version? fresh install

    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 1.2.1

    7. Did you upgraded from a previous version of BP? If so, from which version? no

    8. Do you have any plugins other than BuddyPress installed and activated? No.

    9. Are you using the standard BuddyPress themes or customized themes? Using a child theme of the 1.2 default

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Installed through build-in installer.

    13. Please provide a list of any errors in your server’s log files. None applicable

    14. Which company provides your hosting? See above.

    #67558
    kingfelix23
    Member

    ah, I have discovered another thing I need to look into with that specific theme.

    With infocus you can specify any page to use a specific sidebar which you can create and populate with specific widgets. I created a “buddypress” sidebar which I filled with some community related stuff as well as a login and some of the buttons from the menubar. However the pages I have made linked to buddypress. For instance the page that links to http://templeofthewayoflight.org/wp/activity/ ignores this setting and uses the default infocus sidebar.

    I am using a “page links to” plugin for that page but I still think it should honor the settings and use the sidebar I have chosen in the backend for that page, I do think that that has worked with other custompage I have made.

    #67367
    kingfelix23
    Member

    Yesterday I discovered that if I use the links from the last page of bp template thingie:

    Navigation Links

    You may want to add new navigation tabs or links to your theme to link to BuddyPress directory pages. The default set of links are:

    * Activity: http://templeofthewayoflight.org/wp/activity/

    * Members: http://templeofthewayoflight.org/wp/members/

    * Groups: http://templeofthewayoflight.org/wp/groups/

    * Forums: http://templeofthewayoflight.org/wp/forums/

    * Register: http://templeofthewayoflight.org/wp/register/ (registration must be enabled)

    These do work and use my customized index.php from the folders in my theme file. I have no idea where the bar gets the urls and why it ignores my cutomisation.

    I might not want to use the bar anyway, but even if I create a menu of my own I would like to be able to use the more specified links in the bar aside from the standard ones, ie all the subthings, and just copying and paste those obviously wont work.

    Is there any widget one can use that has the same things that are in the buddypress bar?

    #67264
    hypergripe
    Participant

    Hey @modemlooper;

    I’d like to know how you do that… I’m trying to alter the layout of the updates on our (child theme) activity stream page at http://www.hypergripe.com/activity/ so that when a blog update is mentioned, the permalink to the blog post is on the next line and bolded, or in an h3 tag or something to look like a blog title – (the way the code is now the second link does not have a css identifier, and adding css to that specific link is impossible – i think).

    I tried to alter the core bp-blogs.php file on line 433 and line 468, where it SEEMS the code for the activity stream is getting generated, but when I change this line:

    $activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '' . $post->post_title . '' );

    to this:

    $activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '
    ' . $post->post_title . '' );

    then upload it, there is no change on the activity stream page….

    I’m baffled. Ya, I know I’m changing core files – I’ve customized a few core files but have made a schedule of changes for future updates – or until there are gentler fixes. :)

    Thanks in advance – your participation in other threads has been very helpful!

    #67061
    bennettberlin
    Participant

    Say I have a site with 2 buttons in the header, “Books” and “Blog”. Blog is my normal WPMU blog which displays all post categories, including “Books”. Books should only display blog posts with the category “Books”. The BP activity stream should display all posts.

    The Blog-in-Blog plugin did the trick, but seems incredibly hard to style. I tested a few other similar plugins (some did not seem to work with WPMU) before settling on the “post-page-association-plugin” which works fine. I have it set just to show the first post from the Books category on a custom page.

    However, I would like to learn how to code this myself so that I can add some buttons to the the Books page so that the user can display other single books posts by clicking these buttons. Clicking would replace the current books post with the selected books post.

    Hope this is less confusing!

    #66781
    joshsadler
    Member

    I’m looking for this too. I don’t want any blogs to display in the activity feed on a custom page.

    I’m using this to limit the number of posts shown at a time to 5 and I don’t want it to be filled up with my blog posts.

    <?php if ( bp_has_activities(‘per_page=5’) ) : ?>

    I’d settle for someone telling me how to only display 5 status updates.

    #66217
    Tim Nicholson
    Participant

    Ok, here’s where I’m at so far. I found out what BP uses to determine if a WP user is a BP user. There is NOT a separate table for BP users. A WP user is considered a BP user if that user has performed ANY “activity”. The BP Members page displays ONLY users that have done something in BP.

    For example, when a new user registers, an activity is created saying that user registered. The standard WP user meta table (wp_usermeta) gets a record added for that User ID called “last_activity” and the meta value is the current date and time. Once a user has a last_activity record, then they are displayed in the BP Member directory. You’ll notice that in the Member directory it shows the total users, which should be your total number of WP users, but it also says “Viewing member 1 to x (of x active members”.

    I have verified this by manually adding a record to the user meta table for one of my users that registered before I was running BP. That person now shows in the BP member directory.

    Now I also see code in BP that attempts to update (or create if not found) the user’s last_activity meta record every 5 minutes while they are logged in. This is so that BP can show how long ago a particular user was “active” for various pages and widgets. I tested this by logging in as another WP user (non-BP user) and it added the record and now displays that person in the list. It also seems to have added that user’s full name in the BP custom profile field table (wp_bp_xprofile_data).

    So without doing ANYTHING, our BP member directory will grow as users log in to our site. This probably isn’t a bad thing because if there are users that registered a long time ago for some reason and don’t plan on ever coming back, why list them in the directory?

    However, I may still go ahead and try to figure out the best way to programatically add records for all the WP users. My site is new and since I only have 221 users, I’d like to have them added to BP, if for no other reason than for better testing of the plugin before I roll it out. I currently have BP activated, but have hidden all the menus so user’s don’t really know how to get to any of it. My site is at http://xtremelysocial.com if you want to check it out. Just go directly to a BP URL, such as http://xtremelysocial.com/activity/. I’m jacking around with adding BP support to my highly customized WP theme right now so if the formatting looks whacky, that’s why.

    I’ll post an update if I work something out programatically to add all the WP users to the BP member directory.

    #66170
    Carl Chapman
    Member

    Ray – thanks for the input. I managed to get that far myself (after trying every other combination) and seein another of your posts. Very helpful.

    My remaining problem is this, everything is redirected to the ‘home’ page of the blog.

    1. Which version of WP/MU are you running?

    WP 2.9.2

    2. Did you install WP/MU as a directory or subdomain install?

    directory

    3. If a directory install, is it in root or in a subdirectory?

    sub-directory

    4. Did you upgraded from a previous version of WP/MU? If so, from which version?

    no, not on MU

    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    yes

    6. Which version of BP are you running?

    plugin – Version 1.2.1

    7. Did you upgraded from a previous version of BP? If so, from which version?

    no – fresh install

    8. Do you have any plugins other than BuddyPress installed and activated?

    yes, but it doesn’t matter, I deactivated every plugin except Buddy Press, same behavior

    9. Are you using the standard BuddyPress themes or customized themes?

    I have tried using custom themes as well as the default BuddyPress themes

    10. Have you modified the core files in any way?

    no

    11. Do you have any custom functions in bp-custom.php?

    no

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    it came with it built in, but I haven’t turned it one yet…

    13. Please provide a list of any errors in your server’s log files.

    no errors

    14. Which company provides your hosting?

    HostGator

    I have installed BuddyPress in a development environment so that I can test its functionality. It is located at this address http://www.irreia.org/dev (which is a copy of my live blog.

    I can successfully navigate to the several pages that are created by BuddyPress:

    http://internationalresidentialrealestateinvestorsassociation.org/dev/activity/

    http://internationalresidentialrealestateinvestorsassociation.org/dev/groups/

    http://internationalresidentialrealestateinvestorsassociation.org/dev/members/

    But if I try to use the admin bar, I can’t get to any page – all pages are redirected to the ‘home’ page of the blog.

    I have two members Admin and Carl Chapman, who show up as listed on the main member page, but the hyperlinks to their individual pages are redirected to the ‘home’ page of the blog.

    It is the same for any other ‘sub-page’… all are redirected to the ‘home’ page of the blog.

    I’m completely stumped. What am I doing wrong? What’s happening and how do I fix it?

    Carl Chapman
    Member

    I think I am having the same problem or at lease very similar.

    1. Which version of WP/MU are you running?

    WP 2.9.2

    2. Did you install WP/MU as a directory or subdomain install?

    directory

    3. If a directory install, is it in root or in a subdirectory?

    sub-directory

    4. Did you upgraded from a previous version of WP/MU? If so, from which version?

    no, not on MU

    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    yes

    6. Which version of BP are you running?

    plugin – Version 1.2.1

    7. Did you upgraded from a previous version of BP? If so, from which version?

    no – fresh install

    8. Do you have any plugins other than BuddyPress installed and activated?

    yes, but it doesn’t matter, I deactivated every plugin except Buddy Press, same behavior

    9. Are you using the standard BuddyPress themes or customized themes?

    I have tried using custom themes as well as the default BuddyPress themes

    10. Have you modified the core files in any way?

    no

    11. Do you have any custom functions in bp-custom.php?

    no

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    it came with it built in, but I haven’t turned it one yet…

    13. Please provide a list of any errors in your server’s log files.

    no errors

    14. Which company provides your hosting?

    HostGator

    I have installed BuddyPress in a development environment so that I can test its functionality. It is located at this address http://www.irreia.org/dev (which is a copy of my live blog.

    I can successfully navigate to the several pages that are created by BuddyPress:

    http://internationalresidentialrealestateinvestorsassociation.org/dev/activity/

    http://internationalresidentialrealestateinvestorsassociation.org/dev/groups/

    http://internationalresidentialrealestateinvestorsassociation.org/dev/members/

    But if I try to use the admin bar, I can’t get to any page – all pages are redirected to the ‘home’ page of the blog.

    I have two members Admin and Carl Chapman, who show up as listed on the main member page, but the hyperlinks to their individual pages are redirected to the ‘home’ page of the blog.

    It is the same for any other ‘sub-page’… all are redirected to the ‘home’ page of the blog.

    I’m completely stumped.What am I doing wrong? What’s happening and how do I fix it?

    rohit4all
    Participant

    My WPMU & BP is working fine. Even I am able to browse everything like forums, groups, activity with ease. I can create individual blogs as well & further I can post new topic. I am able to access those posts & blogs. But when I click on “Blog” icon on header I will get message like this

    “Page Not Found

    The page you were looking for was not found.”

    I changed nothing except in control panel for dns entry for a “/” for subdomain.

    1. Which version of WPMU are you running? WordPress MU 2.9.1.1

    2. Did you install WPMU as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? subdirectory

    4. Did you upgrade from a previous version of WPMU? If so, from which version? fresh install

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? Yes, sure it was i even created a blog and was reading the posts normally.

    6. Which version of BuddyPress (BP) are you running? BP1.2.1

    7. Did you upgrad from a previous version of BP? If so, from which version? No

    8. Do you have any plugins other than BuddyPress installed and activated? no

    9. Are you using the standard BuddyPress themes or customized themes? standard

    10. Have you modified the core files in any way? no

    11. Do you have any custom functions in bp-custom.php? no

    12. If running bbPress, which version? NO

    13. Please provide a list of any errors in your server’s log files.

    Please help me solve this, I have struggled a lot with it. Thank you!

    #66118
    pollycoke :)
    Participant

    Here’s how: in your /plugins/ directory, create a file called bp-custom.php with this content:

    <?php

    function bp_remove_comment_ac() { remove_action( ‘comment_post’, ‘bp_blogs_record_comment’, 10, 2 ); } add_action( ‘bp_init’, ‘bp_remove_comment_ac’ );

    ?>

    It works on blog comments posted after you do this.

    Many thanks to apeatling for the solution!

    Tosh
    Participant

    When I’m on the activity page (http://mysite.net/activity) or any page that has “activity”.
    The filters like the following just change all the activity to be blank, instead of “filtering” it.

    * All Members (391)
    * My Friends (1)
    * My Groups (2)
    * @testuser Mentions

    The dropdown filter box does not work either. Just changes all the activity to blank. Everything else in the buddypress works fine.

    I switched the theme to “BuddyPress Default 1.2.1 by BuddyPress.org” it worked again, so something in the BuddyPress Template Pack is not bringing over the JS / AJAX from the default theme. Any ideas?

    1. Which version of WP/MU are you running? 2.9.1 Single WP
    2. Did you install WP/MU as a directory or subdomain install? http://www.mysite.com
    3. If a directory install, is it in root or in a subdirectory? root
    4. Did you upgraded from a previous version of WP/MU? If so, from which version? No
    5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
    6. Which version of BP are you running? Version 1.2.1
    7. Did you upgraded from a previous version of BP? If so, from which version? No
    8. Do you have any plugins other than BuddyPress installed and activated? Yes
    9. Are you using the standard BuddyPress themes or customized themes? Using BuddyPress Template Pack
    10. Have you modified the core files in any way? Yes, to fix the avatar upload issue:
    bp-core-avatars.php line 389

    Replace:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;

    With:
    if ( !$path = get_option( ‘upload_path’ ) )
    $path = WP_CONTENT_DIR . ‘/uploads’;
    else
    $path = ABSPATH . $path;

    …and report back?

    http://trac.buddypress.org/ticket/1970

    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not using bbPress.
    13. Please provide a list of any errors in your server’s log files. – Nope, shared server.
    14. Which company provides your hosting? Hostgator

    pollycoke :)
    Participant

    I’m not able to apply a filter to the activity loop, as described here: http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ What I’d like to do is:

    1) Exclude blog post comments from the activity stream

    OR

    2) Show only status updates in the activity stream

    3) Have that reflected in the RSS feed for the activity stream page

    I’m using regular WP 2.9.2 with BP 1.2.2 and a simple custom child of the default theme. I tried with this:

    <?php if ( bp_has_activities( ‘object=status’ ) ) : ?>

    But once I do this, the activity stream doesn’t show anything at all.

    Any hints very appreciated.

    Thank you!

    #65979
    oracleappscommunity
    Participant

    Thanks david. I don’t want blog posts on home page as I use custom home page. In top navigation (home, activity, groups, forums etc), how to I add ‘Blog’ and clicking on the link would display blogposts. This is how it used to work in prior to 1.2 upgrade

    #65953
    David Lewis
    Participant

    You have to create a new WordPress Page called “Blog” and then go into “Settings > Reading” and switch the front page mode to static with the “Blog” page selected as your “Posts page”. I think it will use the index.php template. Do you have a custom homepage?

Viewing 25 results - 1,151 through 1,175 (of 1,252 total)
Skip to toolbar