Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 526 through 550 (of 831 total)
  • Author
    Search Results
  • Wow! Thank you very much! As far as I can tell that worked!

    One question/concern. I did not change the following because, well, I couldn’t find them:

    /groups/single/home.php
    /groups/single/plugins.php
    /members/single/home.php
    /members/single/plugins.php
    /members/single/settings/delete-account.php
    /members/single/settings/general.php
    /members/single/settings/notifications.php

    Here’s what is visible:

    Templates

    activity-loop.php
    comment.php
    entry.php
    Main Index Template
    (activity/index.php)
    post-form.php
    blogs-loop.php
    create.php
    Main Index Template
    (blogs/index.php)
    Comments
    (comments.php)
    core_functions.php
    custom_functions.php
    import_settings.php
    options_chameleon.php
    post_thumbnails_chameleon.php
    Footer
    (footer.php)
    forums-loop.php
    Main Index Template
    (forums/index.php)
    Theme Functions
    (functions.php)
    create.php
    groups-loop.php
    Main Index Template
    (groups/index.php)
    Header
    (header.php)
    home.php
    breadcrumbs.php
    entry.php
    featured.php
    navigation.php
    no-results.php
    postinfo.php
    scripts.php
    top_info.php
    widgets.php
    Main Index Template
    (index.php)
    Main Index Template
    (members/index.php)
    members-loop.php
    Blog Page Page Template
    (page-blog.php)
    Contact Page Page Template
    (page-contact.php)
    Full Width Page Page Template
    (page-full.php)
    Gallery Page Page Template
    (page-gallery.php)
    Login Page Page Template
    (page-login.php)
    Search Page Page Template
    (page-search.php)
    Sitemap Page Page Template
    (page-sitemap.php)
    Portfolio Page Page Template
    (page-template-portfolio.php)
    Page Template
    (page.php)
    activate.php
    register.php
    Search Form
    (searchform.php)
    Sidebar
    (sidebar.php)
    Single Post
    (single.php)

    Styles

    Stylesheet
    (style.css)

    Am I just missing them?

    #135988

    In reply to: Buddypress page blank

    gkdreamz
    Member

    I have installed the latest version of BuddyPress on a WP.

    However, the Activity, Members, Groups, and Blogs tabs all show “Page not found” errors.

    I tried deactivating BuddyPress, resetting the permalinks, and then reactivating BuddyPress, but still am receiving the errors.also i did mod-rewrite to apache server and customize my .htaccess file.But still i am getting same 404error.

    Thanks for any help you can provide.

    @mercime
    Participant

    @ktown28 I would look at the comments.php file and customization of comment form in functions.php. You could also install the Theme Check plugin and the Log Deprecated Notices plugin to check if your theme is up to WordPress standards.

    ktown28
    Member

    hey johngraybeal did you ever figure out what the issue was? I’m having the same issue with my custom theme. Thanks

    @mercime
    Participant

    == Does the same thing in the bp-default theme? ==

    Are you asking me if the issue will still be there using bp-default theme or are you telling me that it’s doing the same thing using the bp-default theme and mistakenly added the question mark?

    The thing is, there’s something wrong with your BP theme – Bodybuilder Yukon ‘child theme – or your customization of the theme. I can’t even open up the site activity page. There are BP pages like my test account > activity > friends which is not rendering at all and the source code shows that it ends at “ Aside from which, each page takes too long to load, So different from what I see for example at http://demos.ithemes.com/buddypress/yukon/members/justin/

    Is this a test site or did you install WP/BP in a physical subdirectory?

    Hugo Ashmore
    Participant

    Been having the same issue – in my case working up a custom set of files and the most likely reason is that I’ve upset the markup structure/class tokens . Despite spending a little time recently going through the default bp global.js file to reduce dependency on markup (this won’t be of benefit until 1.6) you do have to be very careful to respect the markup structure in activity stream and it’s various classes as the necessary JS depends and expects certain elements to exist.

    So check and compare your entry.php template in activity so see if you have left out any classes or changes markup.

    @mercime
    Participant

    @nickharambee Remove the BP Component Pages you want to make private from the custom menu https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/

    Add the following to your theme’s or child theme’s functions.php file

    add_filter( 'wp_nav_menu_items', 'mme_loggedin_only_links' );
    function mme_loggedin_only_links($items) {
    if (!is_user_logged_in())
    return $items;
    else
    $ouractivity = '<li><a href="' . home_url('/') . 'activity' . '">' . __('Activity', 'buddypress' ) . '</a></li>';
    $ourmembers = '<li><a href="' . home_url('/') . 'members' . '">' . __('Members', 'buddypress' ) . '</a></li>';
    $ourgroups = '<li><a href="' . home_url('/') . 'groups' . '">' . __('Groups', 'buddypress' ) . '</a></li>';
    $ourgroupforums = '<li><a href="' . home_url('/') . 'forums' . '">' . __('Forums', 'buddypress' ) . '</a></li>';
    $items = $items . $ouractivity;
    $items = $items . $ourmembers;
    $items = $items  . $ourgroups;
    $items = $items . $ourgroupforums;
    return $items;
    }
    #134985
    mandrill
    Member

    Can someone clear this up for me?

    Do I need to muck about with the function that enqueues the CSS if all I want to do is tweak the CSS and leave the default.css to handle the things I’m not touching? The tutorial says no, but reading the comments here I’m no longer certain.

    One thing I do know though is that my custom styles (in wp-content/themes/themename/styles.css along with the required information) are not overriding the defaults. They do on the home page but not on the activity stream.

    You can see the results here: http://platoon13.org/news

    #134676
    Tammie Lister
    Moderator

    You can do this one of two ways:

    1. Place a loop on your front page https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ is a great resource for this.
    2. Make entire activity page your front page. To do this you simply go under settings > reading and select a static page and your activity page.

    #134446
    @mercime
    Participant

    Based on the HTML structure of your theme, you need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your canvas child theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with
    `

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    // Titles Of Respective BP Page Templates //

    `, just watch out when you do this in the /activity/index.php page.

    Save files.

    @mercime
    Participant

    You have a custom theme that’s supposed to be BuddyPress-ready. I would contact theme author regarding this issue. To confirm if it is a theme issue, change to bp-default theme, clear cache and see if issue is corrected.

    James
    Participant

    hi again @juanmaguerrero, I do not have any customizations, just child theme of bp-default (local at the moment) and your 2 steps. When I switch to “updates” in drop-down of site wide activity directory, I see my 3 activity updates. Now I press page refresh, 3 activities are still there, but every move of scroll bar returns “Sorry, there was no activity found. Please try a different filter.”

    If you won’t be able to recreate it again, will send you some video from my test site in approx. 10 hours, it’s already night here. Drop me some email. thanks!

    juanmaguerrero
    Participant

    hi, @janismo I cannot reproduce the bug you mention. It currently does not support the dropdown list change, but no “error” is visibly shown. Maybe you are using some tweaked code that I don’t know… could you provide more details about the bp_has_members loop customization you made? thanks!

    James
    Participant

    hi @juanmaguerrero, great tutorial!
    unfortunately, bug that @shawn38 has mentioned partly is still there. Go to site wide activities, switch to “updates” as drop down filter – everything still will work fine, but now refresh page and bug is back again. If you have custom bp_has_members loop on separate page, bug is always there. Have to say that for those, who really needs this functionality, it is not so terrible. thanks again!

    Hugo Ashmore
    Participant

    But did you deactivate the custom theme and activate bp-default, disable all plugins except BP and for good measure visit permalinks page to clear cache.

    And are you really having exactly the same issue? It is proper to create a new thread and describe your issue in as much detail there rather than tag (hijack) on to an old thread.

    #133837
    peeld
    Participant

    The code here works:
    `/* Redirect BP group to forum tab rather than activity tab */
    function redirect_group_home() {
    global $bp;
    $path = clean_url( $_SERVER );
    $path = apply_filters( ‘bp_uri’, $path );
    if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug] ) === false ) {
    if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
    bp_core_redirect( $path . ‘forum/’ );
    }
    }
    }
    function move_group_activity_tab() {
    global $bp;
    if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) {
    unset($bp->bp_options_nav[$bp->groups->current_group->slug]);
    }
    }
    //The following line redirects to a group forum page rather than a group activity page
    add_action(‘bp_init’, ‘redirect_group_home’ );
    //The following line removes the group activity tab entirely
    //add_action(‘bp_init’, ‘move_group_activity_tab’);`

    However, it renders the activity update button useless (i.e. can’t post activity updates in a group!). Removing the code from bp-custom makes group activity updates work, putting it back in breaks activity updates :( Any hints?

    @mercime
    Participant

    @kristopherlouie You’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your custom theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with
    `

    <article id="post-” >

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    // Titles Of Respective BP Page Templates //

    ` and move it above `

    `, just watch out when you do this in the /activity/index.php page.

    Save files.

    @mercime
    Participant

    As agreed to above, we will create two new files, header-buddypress.php and sidebar-buddypress.php to make your WP theme compatible with BP

    IF you’ve revised any of the BP template files transferred to your fullscreen theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your evolution theme folder in server – activity, blogs, forums, members, groups, register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. Copy header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the bottom of the file, below other code contained within, add this:
    `

    <div class="box-center pgsize2 “>

    <?php
    /* Title page */
    $queried_object = $wp_query->get_queried_object();
    if ( $queried_object->ID == get_option( ‘page_for_posts’ ) ) {
    $current_id = get_option( ‘page_for_posts’ );
    } else {
    $current_id = $wp_query->post->ID;
    }
    $page_hide_box = get_post_meta( $current_id, ‘page_hide_box’ );
    $page_hide_box = trim($page_hide_box);
    if($page_hide_box != ‘yes’){
    print ‘

    ‘;
    }
    ?>

    <?php
    $page_hide_title = get_post_meta( $current_id, ‘page_hide_title’ );
    $page_hide_title = trim($page_hide_title);
    $page_alternative_title = get_post_meta( $current_id, ‘page_alternative_title’ );
    $page_alternative_title = trim($page_alternative_title);
    if($page_hide_title != ‘yes’){
    echo ‘

    ‘; the_title(); echo ‘

    ‘;
    } else if($page_alternative_title != ”){
    echo ‘

    ‘.$page_alternative_title.’

    ‘;
    } else {
    echo ‘

    ‘;
    }
    ?>

    `

    Save file.

    #132974

    In reply to: /activity is missing?

    @ChrisClayton
    Participant

    @Ubuntuz – Assuming that the activity page is the only page not working then, BuddyPress (with your permission) does create it during the activation process. To check if it was created properly go to your wp-admin and then click Buddypress’ menu and then click the ‘pages’ tab. Does it have a page selected for activity?

    Also are you using a custom theme or bp-default theme? if it’s a custom theme then the page will show a white-screen if you do not have an activity/index.php template in your theme.

    #132449
    modemlooper
    Moderator

    Trust me when is say that 90% of topics posted here have been posted before many times over. Try google searches instead of looking here.

    If your topic is not on the first few pages when a core dev or volunteer support user is logged in then you can pretty much forget about getting your topic answered. People are just not going through the back log of support requests. Core devs have time filled with making the software work as advertised. Customization is on you.

    This is just the nature of using free software.

    When posting topics: post your request, search here to see if you can find an answer, google keywords pertaining to your request. If 24 hours has past with no response bump the topic. What another 24 hours. If you get no response seek out a developer for hire.

    #132181

    In reply to: Unified Profile Page?

    @ChrisClayton
    Participant

    @BossX – As in, similar to the wordpress profiles (https://profiles.wordpress.org/matt)?
    Yes, it’s possible through a custom theme.

    The top part with the profile information is simply the members/single/member-header.php file with code to insert their bio and other info – See: http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/

    The bottom part is the members/single/profile.php template (their activity is an external custom built activity stream, but the theory is the same… just add the activity loop) – See: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    And then they changed the default profile view from the activity view to profile with – define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    #131987
    coreymj78
    Member

    I think I found a solution! But I don’t quite know how to edit the code. According to this page:
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/

    you can use THIS parameter on the bp_has_members() function:

    user_id optional
    Limit the members returned to only friend connections of the logged in user.
    Default value: false

    ….that when people clicked All Members (if I understand this right), it would only show them users which they have FRIENDED and because they can only FRIEND users who they can see activity for, which are members who sign up and join groups on THEIR site, the resulting effect would be a filter for users on other sites, users they can’t see activity for, correct?

    Now, how on earth do I use this paramater on this function and what would the resulting code look like? I’m sure that’s an easy one for you guys right?

    #131716
    @mercime
    Participant

    1. Create a bp-custom.php file https://codex.buddypress.org/extending-buddypress/bp-custom-php/

    2. Change the default tab opened when looking at a user’s profile (default is activity), insert the following :
    `define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ ); `
    Ref: https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/

    #131165

    @cliffordpoe

    First, if you have a different problem start a new thread.
    You need to make sure you have turned on “Anyone can register” under settings > general
    then you need to make sure your registration and activation pages are set up in the buddypress settings.

    Second, you can’t currently search these forums. Extremely annoying and frustrating. Not to mention notifications and activity don’t seem to be working either so you have to search through the forum every time you want to check on your threads.

    shanebp
    Moderator

    We use Aurigma Up on a custom mobile page for iPhone/iPad. Works great. Uploads to your server.
    Then use bp_activity_add() – you should be able to adapt this example.
    http://bp-tricks.com/snippets/adding-a-new-activity-stream-entry-when-a-user-changes-his-avatar/

    For Apple – you need to check orientation using exif_read_data

    For Android – you don’t need it for uploads – but the Avatar crop tool doesn’t work, so we did a custom page for that which includes basic auto-crop.

    For both Android and Apple, we use this lib for rotation, thumbnails, resizing and cropping.
    https://github.com/masterexploder/PHPThumb/wiki/Basic-Usage
    Why not use WP methods? This lib gives us more control and better results.

    Note: we don’t use BP Mobile, so there is probably a better way if you do use it.

Viewing 25 results - 526 through 550 (of 831 total)
Skip to toolbar