Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 601 through 625 (of 745 total)
  • Author
    Search Results
  • #90740
    govpatel
    Participant

    I am using latest wordpress 3.0.1 and default twentyten child theme and all i did was transfer folders using buddypress theme pack and go in menu and create a custom menu and use it as primary menu add all the pages in menu and than create custom links for buddypress like for /activity /members/ /forums and so on and they work fine.

    #90689
    Roger Coathup
    Participant

    @javipas – you need to be a little clearer on your setup. In the default setup / theme, the activity stream is a separate page, and not something that shows up on individual blogs / blog pages.

    Are you using a custom theme with a custom activity stream, or an activity stream widget in your blogs?

    The standard activity stream loop shows activity across your entire BuddyPress installation. If you want to filter the activity steam to just show comments relating to a specific blog, you can write your own custom activity loop:

    Take a look at this documentation, in particular filtering on the primary_id to just show posts for a specific blog id: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #90472
    Hugo Ashmore
    Participant

    You’ll probably want to create a custom loop then in whatever page, have a look at this page of the codex:
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #90364
    John
    Participant

    Hello,

    Thanks you very much for helping me.

    I’ve followed your link but I’ve got a problem.

    (3) Keep your old BuddyPress user / group avatars
    I don’t find my file bp-custom.php (at the following location : wp-content/plugins/buddypress/), should I create one or is it at an another location ? I’ve looked but I didn’t find anything.

    (4) Redirect previous BuddyPress permalinks
    I’ve edited my .htaccess but when I click on my name from a comment I’ve made on a post on the blog’s network or if I try to view an activity I end up on the same page : the Members Directory. I’m using the default buddypress theme on the blog.

    Did I make a mistake on my .htaccess ?

    Here’s the path of my installation, using Wamp :
    http://127.0.0.1/themainblog/ – the main blog
    http://127.0.0.1/themainblog/network/ – where buddypress is enabled.
    http://127.0.0.1/themainblog/blogname/ – a blog from the network

    Here’s how I edited my htaccess :

    RewriteEngine On
    RewriteBase /themainblog/
    RewriteRule ^index.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    RedirectMatch 301 ^/members/(.*)$ http://127.0.0.1/themainblog/network/members/$1
    RedirectMatch 301 ^/groups/(.*)$ http://127.0.0.1/themainblog/network/groups/$1
    RedirectMatch 301 ^/blogs/(.*)$ http://127.0.0.1/themainblog/network/blogs/$1
    RedirectMatch 301 ^/forums/(.*)$ http://127.0.0.1/themainblog/network/forums/$1

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]

    Best regards,

    #89058
    Hugo Ashmore
    Participant

    That sounds like you actually need a custom front page, but what do mean by ‘click it’ that’s a rather loose term click what?

    Why does that page not simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile page by the plugin mentioned earlier. What you do with the main site home link is another question, suppose it’s possible to have that custom frontpage display your intro page to all logged out users and once logged in if a member navigates back to that page it will display ? activity loop / main site blog posts

    #88915
    Nahum
    Participant

    @modemlooper contextual sidebars a definite must when working towards the perfect bp theme, as mentioned by nit3watch. I hate having to create them and loading up the sidebar.php with if statements to know what page you are on. Also a blog network focused theme combining the groups/blog components to work together. as mentioned here. https://buddypress.org/community/groups/requests-feedback/forum/topic/why-couldnt-the-groups-component-structure-work-for-blogs/
    Custom field and post tags,cats, recognition by the activity stream with index file that can be manipulated to function like a site wide tags replacement.
    Tagging and categorization for blogs. widgets and page templates for each.
    Bring more individual blog info out front(posts, comment_counts, ) so that member blogs content can be categorized, highlighted and maneuvered more easily.
    Pull in user blog info into their profiles, posts count, draft counts, quick links to their blog admin, widgets. Blog management options or panel.
    Include follow blog streams feature, similar to follow people, but instead it pulls in new_blog_post activity into Blogs I follow activity tab.
    The perfect blog network bptheme, basically.

    justbishop
    Member

    @mattmct: Or you could use conditional statements in a custom template. It would go something like this:

    http://pastebin.com/EbBhUtaC

    Roger Coathup
    Participant

    @hnla, @nuprn1

    The constant is supposed to set the default tab that is active when you visit a profile.

    In my case, although I’ve made activity the 3rd tab, it is still the default active one when I visit the profile.

    Defining BP_DEFAULT_COMPONENT in wp_config.php is now working for me – provided I use my new slug (‘account’) instead of ‘profile’. Also, as @nuprn1 points out – it won’t work if you cut and paste the code from this thread (because the quotes are mangled).

    Thanks for the help on this guys. Much appreciated.

    Roger Coathup
    Participant

    Ok… I cut and pasted the code, and that had introduced some control characters that messed everything up.

    However, the routine to change the tab order is not working for me… I went for the following:

    function ka_change_profile_tab_order() {
    global $bp;

    $bp->bp_nav = 10;
    $bp->bp_nav = 20;
    $bp->bp_nav = 30;
    $bp->bp_nav = 50;
    $bp->bp_nav = 60;
    $bp->bp_nav = 70;
    }

    add_action( ‘bp_setup_nav’, ‘ka_change_profile_tab_order’, 999 );

    But, that results in some strange markup being created:

    A new tab is displayed at the start with no content –
    [li id=”-personal-li”]
    [a id=”user-” href][/a]
    [/li]

    and the profile and messages tabs are not in the right order. I get the following rendered:

    nonsense (see above) – messages – profile – activity – groups – following – settings

    #86499
    r-a-y
    Keymaster

    I’d just create a custom page template and create a RSS feed from a filtered, BuddyPress activity loop that only outputs blog posts.

    Here’s a guide that will help you create the custom RSS page template:
    http://yoast.com/custom-rss-feeds-wordpress/

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

    *Set the action to “new_blog_post”

    #86455
    Korhan Ekinci
    Participant

    Hello,

    Thnx Roger. I did make some research and found this post:
    https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/

    Since I also have this code in my activity-loop.php:
    php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) ) :

    Thanks to @Boone :
    https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/#post-45733

    I did this in my child theme’s function.php file:

    function my_custom_query_filter( $query_string ) {
    $query_string .= ‘&action=activity_update’;

    return $query_string;
    }
    add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );

    It seems to work! I now just need to get rid of the dropdown filter boxes!

    #86453
    Roger Coathup
    Participant

    Hi,

    I advise doing this in your own child theme:

    You’ll have to modify the /activity/index.php file. In there you can change your activity stream loop to just return status updates, and you can also remove the dropdown filter.

    This page gives some guidance on modifying the activity stream loop, including the filter you’ll need just for status updates:
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    Cheers,
    Roger

    xrun
    Member

    @boonebgorges the load more link has shown up at the bottom in the activity feed, the list currently has 13 entries. I’d like to cap it at somewhere between 5 and 10, and then extend the list to another 10 each time the load more-link is hit.
    I have removed the custom php-file temporarily, but while testing this I found that when I clicked the link it wouldn’t do anything, was just sitting there and accepting clicks without loading more.

    #85556
    Roger Coathup
    Participant

    And this page details how to change the default tab:

    https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/

    Good luck… let me know if it works!

    #85251
    Hugo Ashmore
    Participant

    The reference in the two posts above yours is saying that the simplest approach is to edit the file entry.php in the /activity folder of the theme; this would be preferably done as a child theme i.e a copy of the files in a new theme directory you would then be looking for lines such as:

    <a href=”<?php bp_activity_comment_link() ?>” class=”acomment-reply” id=”acomment-comment-<?php bp_activity_id() ?>”><?php _e( ‘Reply’, ‘buddypress’ ) ?> (<span><?php bp_activity_comment_count() ?></span>)</a>

    and removing them or placing some form of conditional statement around them – I removed all links for a copy of entry.php which I pulled onto a custom frontpage but allowed the links for the activity stream as a directory view.
    It’s a little long winded but straightforward

    #83959
    r-a-y
    Keymaster

    I just tried to duplicate your problem on my local install, but couldn’t.
    Perhaps something else is interfering and causing the redirect?

    Are you using any BP plugins that handle redirection?
    Anything in your .htaccess file? Any custom code in your theme’s functions.php?

    If that fails, you can always set another WP page as the default front page. Then see if the redirect still occurs.

    #83813
    rich! @ etiviti
    Participant

    i believe that is just adding in the @simon.goodchild automatically to the message – (though not a plugin and unique to this site – but could be done via some custom coding as the current method is just ‘mention this user’)

    #83447
    lincme.co.uk
    Member

    Ice-cream sundaes! Oh yes! :) Actually, that’s one direction Drupal has been going (not the ice-cream, sadly), which is the eventual simplification of data storage. The biggest problem now, I think, is that developers map their views to data, and vice-versa. Drupal stores everything and anything as a ‘node’. So a node can contain one word, a site link, a story, a page, images, files, or any combination of all by having nodes within nodes. Its Views module then allows you to say how nodes are displayed; as blocks (widgets), pages, in tables, rows, any kind of custom layout.

    What I’m visualising at present is a way of doing things like BP’s activity stream, where data is any kind of node you like, and you decide whether nodes can overflow or are cut (eg., large images), displayed all at once or shown as a bite (eg., stories/pages and small excerpts with ‘read more…’) etc. You then just decide whether each site page appears as a single page, a list of related nodes kinda bloggish, a list of related nodes a-la activity stream, etc. A couple of clicks could create a stream, a shopping page, or whatever you wish. Users then have BP style filtering links, so they can view everything the view shows, just friend’s contributions, just their groups, etc. Off-site information can be pulled in via links as well, and displayed as the same kind of node (similar data, just a different source). Wrap all that around an individual member with a profile and roles/permissions, and you have the most powerful and adaptable social network there is.

    As I say, you can do that with Drupal, but gawd is it time consuming for a large project. I like the way WordPress is going, and if BuddyPress follows suit in the simple and easy to use stakes, the two combined will be amazing.

    harounkola
    Participant

    Hi peeps. I’m having a similar problem, but not sure if its exactly the same thing, my activity page is not the first page, nor do I want it. I’m using a custom theme designed in Artisteer, and the activity is not showing up. If I use the default buddypress theme, then the activity shows up.

    Any ideas?
    http://spaceoflove.co.za

    Thanks

    #82083

    In reply to: embed wordpress group

    r-a-y
    Keymaster

    You can either create a shortcode plugin that uses the BP activities loop, or create a PHP page template with the activities loop with the group parameters passed into it:
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #82053

    In reply to: users complaining

    modemlooper
    Moderator

    I agree with @thelandman OOB Buddypress is the whole kitchen sink but you can cut a ton out via custom themes.

    BP groups are basically a facebbook fan page. It has the exact same features. So if people are on FB then they clearly can understand the UI of BP. Maybe changing forums to discussions? It’s the site wide activity feed that in my opinion creates the most confusion.

    Hugo Ashmore
    Participant

    :) Ah erm so it does; did say it wasn’t hugely tested. Ok then those that are running on bp-default theme will need to add your function to main functions file, please ignore my well intentioned but erroneous post above. (Last para stands thinking about though, the flood gates will open soon)

    Thinking further it makes sense to add fix to main functions or bp-custom[bp-custom.php isn’t a standard included file] so that it does get erased from existence on upgrade – one less thing to remember to adjust for people

    r-a-y
    Keymaster

    @hnla – While your method is well-intentioned, it breaks actual 404 pages. Try typing in example.com/hfklsadjfkasdhf and you’ll see the activity page, instead of the 404 page!

    You could just copy my code directly into the bp-default theme’s functions.php so it will be overwritten when the next version of BP comes out.

    FYI, the code can also go in wp-content/plugins/bp-custom.php as well and not necessarily in a child theme’s functions.php file.

    #81700
    kengary
    Participant

    When you integrated this with Thesis what version of BuddyPress were you using? Were you using WordPress MU or regular WordPress?

    I’ve been playing around with this today. I am running regular WordPress 2.9.2 with Thesis 1.6 (need to try 1.7 but he really changed things there).

    I installed the BuddyPress Template Pack plugin and went to work.

    I don’t think you do the thing with the bp-custom.php file anymore, right?

    I followed the instructions and copied all of the templates to my /wp-content/themes/thesis_16/ folder.

    Then I started digging into how Thesis outputs its content and started updating all of those templates with different HTML markup and calls to Thesis functions to get headers, footers, and sidebars, etc.

    So I got the pages like Members, Groups, Activity, etc. looking OK, but not pretty. There is going to be a TON of CSS development needed to make this look as pretty as it all does here.

    The thing I’m not yet clear on is how to get it all to flow under one tab like it does here with the Community tab?

    And I have LOTS of other questions….and work to do to make it fully functional and tightly integrated into the navigation and flow of the site.

    Is it even worth it I’m wondering? ;-D

    Just thought I’d share. I’d love to find out someone has already done ALL of this and can provide instructions, or files…would be worth something I think!

    #81489
    iainnorman
    Member

    my problem is that when you’re logged in you can’t see your own activity feed (it just hangs up and gets stuck whilst loading the page)
    this seems to happen occasionally and so far my only fix is to ditch the whole database and start again (not something I want to do again)

    you can still see other peoples activity and if you’re logged in as another user, see your own, just not when you’re logged in.

    Using the default theme (customised, but not too much) with WPMU.

    any thoughts?

Viewing 25 results - 601 through 625 (of 745 total)
Skip to toolbar