Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 501 through 525 (of 745 total)
  • Author
    Search Results
  • #121067
    r-a-y
    Keymaster

    To debug, try disabling any custom code snippets or plugins that interfere with the activity stream.

    #120854
    echoman
    Participant

    LiIttle something i learned as a newb.
    Activate your forum next thing you’ll want to do is then go to your settings you’ll see forums on the bottom

    You’ll see archive slug and Single Slugs rename in the forum base and then in the forum slug below aswell. Because forum actually conflicts with the sitewide forum. let’s say name your sitewide forum bulletin board or support. The group forum natively is the forum on the header menu. Which you can later rename..

    Now you want to make a topic go to topic in the forums. Click you’ll see “all forums” and “new forum”
    I would click new forums, here you name a topic of interest. let’s say general discussion name your topic and below give a basic Description(optional).

    Now you want to save it you’ll then see a link look at the link copy it. but only copy

    http://www.example.com/support

    Next thing you’ll need to do which is the final step. Go to the appearance section. You’ll see menu which is you site navigation menu. You’ll have a few things you have to do here.

    First make sure you make a custom menu or which now the main theme allows you to or you can make a custom menu name.

    look at the section on the top left corner a drop-down you click whichever theme is named or you select as your menu save .
    Now go down to custom links remember that link you copied earlier(http://www.example.com/support) paste it in there and name it click add to menu.

    Now you have a list you can now rearrange move or even create a drop-down menu on. What i did have activity /members /group and with forums i renamed that “group forum directory” moved that slightly to the right which creates a Drop-down, then the site wide forum which i named support or whatever you want to call it. Now save. DONE!!

    Go to your site homepage and everything should be there. Best of luck!! :)

    #120798

    hi! I’m having the same problem using the theme Custom Community, which plugin was making conflict for you? thx for the help!

    #120593
    Flora1234
    Member

    Buddypress 1.5 new patch is a nightmare. I cannot see my activity, members or groups. I feel so low. I think we might need to revert to the previous version. I cannot access even my dashboard. They changed the colour of the header to lighter blue after many people might have customised the rest of the pages to match. What they should have done is put in another section for lighter blue so that you have the choice to change it. It is very stressful after putting in a lot of work and hours. They really need to investigate Buddypress thoroughly before releasing the patch

    #120349
    studio8c
    Participant

    @modemlooper Did you all ready got this working because i need a custom group homepage

    with out a activity stream just plane text or a image banner

    #119799
    @mercime
    Participant

    Are you using a custom theme, child theme or bp-default theme?

    #119309
    jnieuwland
    Member

    @gregfielding – Hi! I’m running into similar problems. I defined a seperate loop (for announcements, more important than other updtaes) to be displayed on the top of the page. But when I add an update in the ‘normal’ loop, the same update is also added to the custom loop on top, even though it doesn’t match the filter set to that loop.

    Did you manage to solve your problem? Is it a case of making sure all IDs and Classes are different, so AJAX call doesn’t reach the custom loop? Any help or pointers would be highly appreciated!

    kizinko
    Participant

    Hey,

    I tried the following code from your post above, but it still isn’t working. :-( The activity from the group I’m trying to hide is still showing up on the home page.


    function bp_my_activity_filter( $a, $activities ) {
    global $bp;

    if ( $bp->current_component != $bp->activity->slug )
    return $activities;

    foreach( $activities->activities as $key => $activity ) {
    if ( $activity->type ==’activity_update’ && $activity->item_id == ‘131’ ) {
    unset( $activities->activities[$key] );
    $activities->total_activity_count = $activities->total_activity_count – 1;
    $activities->activity_count = $activities->activity_count – 1;
    }
    }

    $activities_new = array_values( $activities->activities );
    $activities->activities = $activities_new;
    return $activities;
    }
    add_action( ‘bp_has_activities’, ‘bp_my_activity_filter’, 10, 2 );

    I added the new file /wp-content/plugins/bp-custom.php. I got the group id by adding bp_group_id() into groups-loop.php which is 131 as dictated in the code above. I did a test and removed the first if statement, and it removed all of the activity on that group’s page successfully. Everything from that group was still visible on the home page though.

    By the way, thank you soooo much for helping me with this. I am totally lost on this thing.

    #119024
    modemlooper
    Moderator

    Ok, so tried to move some code from core to create a custom component and nothing worked. Never got a page to create and not sure how to link it to template files.

    For example: in bp-activity it has a file bp-activity-template.php and in include array there’s an entry ‘template’. Is this pointing to that file? Do we need to include all these files listed in the array? If I had bp-example-template.php in my array id still use ‘template’?

    To me it seemed much easier to create components before. I know I can still use old method but that won’t last forever.

    Can somebody update the skeleton component to reflect the new method?

    modemlooper
    Moderator

    create a file bp-custom.php and add to /wp-content/plugins/bp-custom.php

    add this code to file:

    `<?php
    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    ?>`

    To change other settings read this page: https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/

    #118431
    alfredojp
    Participant

    Thank you @shapherd and @Stigmartyr
    But i’m not sure you guys are understanding me hehe

    When I go to my profile or any profile i see under the avatar:
    Activity
    Profile
    Friends
    Groups
    Messages

    What i want is:

    News*
    Profile
    Activity
    Friends
    etc

    I also would like to know how you take one out

    Thank you for your time and help. I greatly appreciate it. Let me know if you have a possible solution or anything else that might help :)

    Boone Gorges
    Keymaster

    I know what the problem is, but not necessarily how to solve it.

    These JS rich text editors work by hiding the HTML textarea, and hijacking the form submit process; when you submit the form, the CKeditor takes the content of its custom editor and puts it into the hidden textarea before the form is submitted for processing. The problem with the activity update form is that it’s submitted with ajax rather than with a regular HTML form submission (which requires a page load).

    TinyMCE has a method called .triggerSave() that you can call manually on an event (such as (‘#whats-new-submit’).click()) that will do this content shuffling without a regular form submit. It’s possible that CKeditor has something similar.

    Stigmartyr
    Member

    @r-a-y – hey man thanks for being a great help here to the community. I’ve been reading most of your posts in the forums over the past several hours fighting with my permalinks in activity streams.

    I saw your .htaccess redirect post for mismatch 301 and tried it but I think I need it customized for activity streams?

    In my example, certain activity posts are just going to the front page of my site rather than the post itself, they’re all coded like: http://www.site.com/activity/p/0001 when you click ‘view’ it just goes to the home page :(

    Pulling my hair out trying to figure out how to get them to refresh or something. My permalink structure is /%post_id%/%postname%

    It’s making me crazy lol

    #118116
    @mercime
    Participant

    delete activity
    `
    <li class=”selected”>
    <a href="//” title=””>

    `

    and groups link

    `<li class=”selected”>
    <a href="//” title=””>
    `

    Or, you might consider changing main navigation to a custom menu http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus

    #118088
    sidjags
    Member

    @r-a-y @kateM82 what you guys suggested for “favoriting” posts from across a network worked great… but it doenst hold good with bp 1.5 beta 2… i still have the same code in bp-custom.php in the plugins folder… and i still have the same code in single.php… when i mouseover the link it does show me a “post id”… so thats not the problem.. and it does say… domain.com/activity/favorite/POST_ID/xxx …. so what then is the problem!? Could it be that in 1.5 beta 2… u have to assign a “page” for activity… and thats why its not working right?

    #117757
    Paul Wong-Gibbs
    Keymaster

    If you think it’s a theme, you could try emptying functions.php to remove any custom code in there?

    #117525

    you can simple put the followung code into your theme function.php without editing core file.

    /*Change the number of activity items to show per page */

    `function my_custom_query_filter( $query_string ) {
    $query_string .= ‘&per_page=11’;
    return $query_string;
    }
    add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );`

    worked for me

    Sarah Minx
    Member

    Hey there,

    Thanks for your reply.

    I just tried this… I even changed the structure, saved, and changed it back to my current settings of: Day and name (http://totallymi.com/2011/07/26/sample-post/)

    1. Which version of WordPress are you running? 3.2.1
    2. Did you install WordPress as a directory or subdomain install? Totallymi.com
    3. If a directory install, is it in root or in a subdirectory? Root
    4. Did you upgrade from a previous version of WordPress? If so, from which version? 3.2
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Not an issue with WordPress (Yes)
    6. Which version of BP are you running? Updated to 1.2.9 last night
    7. Did you upgraded from a previous version of BP? If so, from which version? Whatever version was used a month or two ago, downloaded from WP Plugins site.
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Akismet | Version 2.5.3
    BuddyPress | Version 1.2.9
    BuddyPress Activity Comment Notifier | Version 1.0.3
    BuddyPress Activity Plus | Version 1.2
    BuddyPress Activity Stream Bar | Version 1.3.2
    BuddyPress Backwards Compatibilty | Version 0.6
    BuddyPress Gifts | Version 1.1
    BuddyPress Live Notification | Version 1.0
    BuddyPress Template Pack | Version 1.1.3
    BuddyStream | Version 2.1 | By Peter Hofman | Visit plugin site
    CubePoints | Version 3.0.3
    CubePoints Buddypress Integration | Version 1.9.2
    Dynamic Widgets | Version 1.4.1
    Google +1 | Version 1.0.4
    GTranslate | Version 1.0.26
    Sidebar Login | Version 2.3.2
    WordPress e-Cards | Version 0.1
    WP-DownloadManager | Version 1.60
    WP-Memory-Usage | Version 1.2.1
    WP-Polls | Version 2.61
    Zazzle Store Gallery | Version 1.0
    9. Are you using the standard BuddyPress themes or customized themes? Arras 1.5.1.1 custom
    10. Have you modified the core files in any way? Just theme related files
    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? Don’t think so
    13. Please provide a list of any errors in your server’s log files. No errors
    14. Which company provides your hosting? 1and1 (Business Package)
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux/Apache

    Here is some additional information — I don’t really think that it will make much difference — but if so, awesome.

    Side note, I did edit my theme’s function.php to hard code in the address of http://totallymi.com but it did not change the fact that the BP activity stream is redirecting to the homepage vs the appropriate member’s stream.

    Thanks!

    #115733
    sdls
    Member

    To be a more concise with the requirement.

    Allow members of a group to create posts within that group.
    ________________

    > Add new Post to Group (including media pop-up, RTE, taxonomy relation)
    > Edit existing Post in Group (including media pop-up, RTE, taxonomy relation)
    > Browse my Group Posts
    > Integrating the creating of new posts and commenting of posts within a group into buddypress components such as activity feed, plug-ins such as subscribe to group by email, ect…ect…
    ________________

    The above work is what I’m scared of ,,,,,, using custom taxonomy you associate posts to a group with a few lines of code…..

    add to….. groups / single / forum.php

    //
    global $bp;
    $group_id = $bp->groups->current_group->id;
    $group = groups_get_group( array( ‘group_id’ => $group_id ) );
    $group_slug = $group -> slug;

    $args=array(
    ‘group_terms’ => $group_slug,
    ‘post_type’ => ‘nuggets’,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => -1,
    ‘caller_get_posts’=> 1
    );
    query_posts( $args );

    //

    Hugo Ashmore
    Participant

    :) couple of old classic links there


    @andrewbuzz
    the table aspect for layout has been mentioned, but I really need to just labour a point, tables for layout are absolutely not the way to markup pages, it’s taken a few years to get everyone on board with this but nowadays you wil no one creating layouts this way. I suspect that you have ‘designed’ your layout in PS? and then have used a tool such as DW? to construct a layout.

    I would urge you to stop and reconsider before you go too much further, table layouts are highly inflexible, next to impossible to re-factor (one of the main points with CSS-P ) not search engine friendly and a whole heap of other reasons.

    Are you preparing this layout for a client or is this an existing layout the client has come to you with?

    aces
    Participant

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community?topic_page=6&num=15#post-86316

    Derived from the above link, I use the following in a bp-custom.php file to exclude users that are not logged in from seeing the activity or members areas.

    function sh_walled_garden()
    {
    global $bp;

    if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
    return;

    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain .'/'. BP_REGISTER_SLUG );
    }
    add_action( 'get_header', 'sh_walled_garden' );

    In bp-custom.php the above needs to be placed in a plain text file with “ at the end of the file….

    #114355
    @mercime
    Participant

    == I think i have the activity in between the sidebars and looking OK. ==

    Confirming that it’s looking good :-)

    == I just have the admin bar width issue to figure out ==

    The adminbar in that permalink page is styled like so in bp-default adminbar.css
    ` body#bp-default.activity-permalink #wp-admin-bar .padder {
    min-width: 960px;
    max-width: 960px;
    }`
    I see you have a fixed width of 1000px for your site. So if you have custom.css listed after the @import of adminbar.css, just add this
    ` body#bp-default.activity-permalink #wp-admin-bar .padder {
    min-width: 1000px;
    max-width: 1000px;
    }`
    but if you use stylesheet listed before @import of adminbar.css, you’d have to add `!important` to your min-width and max-width

    You should also correct the width of the site when in permalink view
    ` body.activity-permalink {
    min-width: 960px;
    max-width: 960px;
    }`
    change to 1000px

    #113613

    In reply to: non members block

    shanebp
    Moderator

    Create a file called bp-custom.php – it will go in your plugins directory.

    Put this code in it:

    function visitor_intercept(){
    global $bp_unfiltered_uri;
    
    if ( !is_user_logged_in() ) {
    if ( ($bp_unfiltered_uri[0] == BP_MEMBERS_SLUG) || ($bp_unfiltered_uri[0] == BP_ACTIVITY_SLUG) ) {
    bp_core_redirect( get_option('siteurl')."/some-page" );
    }
    }
    }
    add_action( 'wp', 'visitor_intercept', 3 );
    

    Change “same-page” to where ever you want to send them or remove to send them to front page.
    Note: this may not work if you are using BP 1.3

    stwc
    Participant

    Terrible advice in this thread from people recommending edits to core bp files — any changes to them will be lost next time you upgrade Buddypress. Never edit core. Use the custom query filter instead.

    #111623
    allanf72
    Member

    Thank you all for posting this! I’ve been reading for hours and this has fixed my issues.

    I’m running BP on a network install and want ALL subdomains to have use of BP. It was working on the main install but as I created subdomains, the BP pages (Activity, Members, etc,) was giving me 404 errors. I went down the htaccess rabbit hole for a while and gave up. Started at the beginning and reading thru all the forums that looked related and found this.

    @WesCleveland – The bp-custom.php works like a charm so far. Thanks for posting your solution.

Viewing 25 results - 501 through 525 (of 745 total)
Skip to toolbar