Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 476 through 500 (of 1,252 total)
  • Author
    Search Results
  • danbp
    Participant

    Hello @multimartin,

    2 nd question:
    in the private blog settings, general > reading > search engine visibility, check disallow box. This will hide any of the private blog activities to appear on site activity and user feeds, except for those who are members of this blog.

    If it is not enough, considerer this plugin

    1 st question:
    read here

    danbp
    Participant

    Hello @saurabhsjain91,

    first let’s see what is normally going on with group settings:
    This is a public group
    Any site member can join this group.
    This group will be listed in the groups directory and in search results.
    Group content and activity will be visible to any site member.

    This is a private group

    Only users who request membership and are accepted can join the group.
    This group will be listed in the groups directory and in search results.
    Group content and activity will only be visible to members of the group.

    As you see, the only difference is the group content and activity visibility.

    The easiest way would be to create only private groups, so the members had to request membership to access them. But it is not what you want to do and unfortunately, modifying group privacy for better flexibility is not very doable.

    So, we have to focus on what it is possible to do with public groups accessibility, the one with the fewest restrictions.

    Lukily, core developper @imath stumbled also upon this problem a few mounth back. And finally produced a plugin.

    The features are:

    1. allow users to submit a request to join the group.
    2. selectively hiding group tabs.
    3. add a custom group homepage when non-members are viewing the group.

    More about this experimental plugin on @pollyplummer ‘s WPTavern.
    The original post (fr) on @imath ‘s blog
    The plugin can be downladed on github.

    May this help ! 😉

    #187235

    In reply to: Members Profile Page

    Venutius
    Moderator

    I think I’ve nearly done it! It’s taken hours of searching and a lot of lateral thinking but I’ve sorted on of my asks, and that is for a home page that summarises the various activity streams. I’ve got a test system up at http://www.sacredvale.org and I’ve been able to set it up with a posts feed, and activity feed, and forum feed and also a popular groups list.

    I’m not happy with the forum feed though it will do, and the groups feed is just weird and won’t.

    I’ve also found an app that allows me to say exactly where a widget will display, so I can customise the sidebars for every page view I care to.

    There’s a lot of bugs here and there, mainly to do with the look and feel of the overall system and I’m still working on the members profile pages but an awful lot of what I’ve been looking for I’ve been able to deliver, for very little money.

    Now, if only we can get wordpress turbocharged lol

    Plugin count so far? a cool 100….but my feature list beats any off the shelf social network site I know.

    #187206
    danbp
    Participant

    Test this one. It works for me on a static homepage with custom template.

    
    <?php if ( is_user_logged_in() ) :			
    	bp_get_template_part( 'activity/post-form' );			
    endif; ?>
    #186970

    In reply to: Members Profile Page

    Venutius
    Moderator

    I ended opting for Graphene, there are some compatibility issues, but it is so flexible, I must have tried about 30 different themes before settling on it.

    I reckon all in all I’ve assessed about 500 plugins to arrive at what I have got. Comparing to other social networking sites I think I’m pretty comparable to pay for options such as Ning, some aspects are seriously lacking though. User profile customisation and on site social networking options being the biggies.

    I wired my landing page to be the activity feed, with a blog summary slider, and then used a right sidebar to do a lot of the customisation with widgets. For the members profile pages I added a second left sidebar with more personal widgets like friend and group recommendations.

    Image and video sharing was another issue, I think I’ve just solved that though. I figured it was ket not to have basic users having to access the admin bar to add images to galleries etc but they also needed to be able to create galleries that the whole site could see.

    Currently I’m at the stage where I keep finding features I never knew I had lol.

    What I would really like, is a USP, a feature that other social sites do not have. Not sure what that is exactly and it may be that the total collection equates to that but I still feel it needs something. Maybe insertion of slide shows into blogs without the short codes etc, so normal users can do it.

    #186953

    In reply to: Members Profile Page

    Venutius
    Moderator

    So for I’ve found a short code for the activity feed and this is giving me some ideas. I’ve found lots of widgets that let me customise the members profile page so overall I think I’m getting there.

    One of the issues with running Buddypress as a social network is the volume of plugins you need to use in order to get the right level of features and customisations, I’m running more than 80 in total. Inevitably this leads compatibility issues.

    Key features that are lacking – user profile page self-customisation options, Friends and memberships activity feeds, custom page views, image sharing options and site “fanfare options such as featured users, groups, posts and images on one page.

    But a big thanks to all those developers out there that are providing generally high quality plugins that fill a lot of these gaps.

    #186945
    danbp
    Participant

    Hi @totoff,

    What’s new is a form (see activity/post-form.php)
    To get it on a custom page, you can call it like it’s done in activity/index.php

    if ( is_user_logged_in() ) :
    		 bp_get_template_part( 'activity/post-form' ); 
     endif;

    That said, this form is not exactly a post editor, but more a brief notice or message publication to members, and depends of the context (activities or groups for ex.)

    To let users publish blog poss from the front-end, you have to search for a specific plugin probably.

    beda69
    Participant

    hello

    i need to set up a link (a “a href=”link”) in a custom menu that i coded by myself.

    the custom menu-button is a image, that shows up on the landing page of my website after users login.

    the link should lead to users wall, and of course it should lead to the currently logged in users wall, and not to site wide activity or members page.(the url should look something like this: http://www.mysite.com/members/username)

    so:
    how do i code the link in order that it gets the users ID and redirects to the currently logged in users wall-page automatically??

    i am using WP latest edition and buddy press latest edition, as well buddy press wall plugin.

    i know this special link coding exists because on buddy press menu when hitting “wall”, every user is redirected to his own wall…

    can anybody help me? 🙂

    #186520

    Topic: Members Profile Page

    in forum Ideas
    Venutius
    Moderator

    I need some ideas, I’m not a programmer, but I realise this may take some work. I think it is also something that needs to be built into Buddypress as it is the fundamentals of a social network.

    I need to create a profile page that combines a few page views – it needs to show the users activity feed, plus their Extended Profile information, and also a slide show of their uploded images and also have a playlist. The page could also do with some advanced member customisation options such as loading a cover image like facebook has.

    A big part of any social network is allowing members to personalise and take pride in their profile page. Sadly such features are really lacking in Buddypress.

    I know this is a pretty big and complicated ask, has anyone done similar? Could you outline the basic steps that I would need to do in order to start moving towards this kind of layout?

    Ideally, their would be an amalgamated “My Profile” page where members can see how their profile page looks to others, with edit buttons for the information and also thematic changes like colours etc.

    #186381
    wp_maybe
    Participant

    Yes, adding stuff to the activity stream is easy with plugins like Activity Plus, Buddypress docs.

    Also, Buddypress allows for automatic embeds in the activity stream from a lot of sites, including youtube. You just have to drop in the URL in the “Whats new” box. You can refer to the link here for more information: https://codex.buddypress.org/getting-started/embeds/

    Embedding media to other pages would require custom coding, as @shanebp has pointed out. Where exactly do you intend to show your embeds?

    #186371
    shanebp
    Moderator

    There are plugins like Activity Plus that allow embedding things like a uTube link in the activity page on a member’s profile.

    There are several pages in a member’s profile, including a profile page that has data describing that member. There ways to allow for what you want, but it would require some custom coding, iow. not an option out of the box, afaik.

    #186094
    danbp
    Participant

    Has the “enable comments” flag an impact on this feature?

    Yes. And also “allow search engines”.

    Users watch the activity stream to see what happened since the last time they connected.
    This means that if they connect each 4 days, they check further. And this became false :
    They won’t be looking 3 pages further for a comment that has just been posted a minute ago.

    SWA is an instant information feed. The’re so many different uses of BP that i wouldn’t give one more than another, but i’m pretty sure that nobody is searching for something that is not/or could be – visible instantly.
    If i don’t see an activity called comment, i don’t search for it. And if i would search, i use the SWA show filter.

    Now back to the problem.
    Try this snippet which will force chronological comment display on the SWA.
    install it in bp-custom.php or theme’s functions.php

    And give feedback !

    
    function bpfr_stream( $qs, $object ) {
    	if ( 'activity' != $object ) {
    		return $qs;
    	}
    	
    	$qs = wp_parse_args( $qs, array() );
    	
    	$qs['display_comments'] = 'stream';
    	
    	return $qs;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_stream', 20, 2 );
    #186059
    danbp
    Participant

    In the menu settings you can link to the activity page, not to a specific activity (so far i know).

    I posted 3 snippets on Github to test and choose what you need/prefer to use.

    Copy/paste the code into bp-custom.php

    Simon Bame
    Participant

    Hello,
    Wordpress Version – 3.9.1
    Buddypress Version – 2.0.1
    Website – http://www.britishparanormal.org.uk

    I run a website which lists event companies who some do public events and the other privates ones so I wish to split them into 2 groups – one group called “Public Events” & The other group called “Private Investigations”. I have created the groups correctly.

    However I wish to disable the activity stream for the groups and when you click on one of the groups above you get directed to the “members” list page for that group instead of home which shows the activity stream.

    Also I notice on the groups page the search is to search for the name of the groups however I wish to change this to search for the members name instead.

    Can this be done? I am not very good with php coding however am confident in inserting code into my child theme. I have a functions.php in my child theme and can create a bp-custom.php in the plugins directory but don’t know the coding.

    Hope someone can help me with the above, I will really appreciate it.

    Thank you,
    Simon Bampfylde

    ljp007
    Participant

    I need help with the following BuddyPress install items for my WordPress site:

    1) Ensure that the BuddyPress installation is configured properly.

    2) Configure user registration to work like this: First, user fills out registration form. Two, upon form submission, an email is sent to the site admin notifying him of the user registration. Three, site admins access a page in WP-Admin (users in the Editors role need to be able to access this page) and approves the user registration. Four, upon approval, the user is auto emailed his login information (no activation confirmation is required) including username, password and a link to the login url and user can login.

    3) I would like all the BuddyPress pages to have the location of the /members/ directory (e.g. mysite.com/members/activity/)

    4) I need all the BuddyPress pages visible to registered members only (/members/ folder is to be accessed by approved users (step #2) only

    5) I purchased the BuddyBoss theme as I wanted to use this look and feel for the BuddyPress pages, however, I later was told that BuddyBoss does not integrate with an existing theme, which my site has and which I need to use. I do not want to use multi site. So, I need the BuddyPress pages styled like this BuddyBoss theme (but not using multi site and integrated into the existing site theme).

    If you could please let me know the estimate for the number of hours of work, your rate, and your track record of performing customizations like this in the past, I can make a selection for the job and would like to start asap.

    Thanks

    #185458
    danbp
    Participant

    @jejemo

    try by adding this at the begin of your function
    $user_id = bp_get_activity_user_id();

    If you’re working on the Toolbar, the correct way to add a menu is like on this example:

    
    /* add links/menus to the admin bar*/
    /* more details here: http://wpengineer.com/2113/add-menus-to-the-admin-bar-of-wordpress/ */
    
    function mytheme_admin_bar_render() {
    global $wp_admin_bar;
    
    	$wp_admin_bar->add_menu( array(
    		'parent' => 'new-content', // use 'false' for a root menu, or pass the ID of the parent menu
    		'id' => 'new_media', // link ID, defaults to a sanitized title value
    		'title' => __('Media'), // link title
    		'href' => admin_url( 'media-new.php') // name of file
    		'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' );
    		)
    	);
    }
    add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' ); 

    A similar method is used to add a tab. Here on a user profile.

    function bpfr_my_setup_nav() {
        global $bp;
    	
    	$mytab=array(
    	'name'            => 'My Tab',
    	'link'      	  => 'http://example.com/wp-content/themes/twentythirteen/my_extra_page.php',
    	'slug'         	  => 'my-tab',
    	'css_id'          => 'my_custom_tab',
    	'position'        => 100,
    	'user_has_access' => 1,
        'screen_function' => 'xprofile_screen_my_tab'
    	);
    	$bp->bp_options_nav['profile']['my-tab']=$mytab; 	
    }
    add_action('bp_setup_nav', 'bpfr_my_setup_nav');
    #185044
    victord34
    Participant

    hello(sorry bad english im french)

    I would like to disable the “pseudo” and “@”. Just name and surname
    disable the “activity and citation” on profilpage

    and the Profile page I would like a single tab.

    just:
    – picture
    -name
    -first name
    – job
    – email

    its possible ?

    thanks

    James
    Participant

    Hi,

    theme: Twenty Fourteen, latest BP and WP.

    After theme compatibility ‘bp core load template’ doesn’t work anymore. Tried to use bp get template part, which works, BUT theme doesn’t accept my file as a page, what leads to the content + 404 below + css issues.

    Can anyone please explain in few words, how my custom file, e.g. bp_core_load_template(‘activity/index’) should be loaded now?

    I do see tons of discussions, but doesn’t see at least one simple explanation. thanks!

    Halo Diehard
    Participant

    Hello, I am using WordPress 3.9.1 and BuddyPress 2.0.1 and I’m only now seeing a reference to a sitewide activity stream page, as opposed to just activity from yourself and friends. Should “All Members” be a tab that is available to me from my profile page, as Personal, Mentions, Favorites, Friends and Groups are, like it is in the top screenshot of this page on Activity Streams:

    http://codex.buddypress.org/buddypress-components-and-features/activity-streams/

    I do not see the “All Members” tab in my profile as shown in that screenshot.

    Other information that could affect this, if the “All Members” tab should be there, is I am using Custom Community theme, which used to support BuddyPress but recently has been listed as outdated, and I am using a custom bbPress theme that makes the forums look like phpBB3.

    Here is a link to my site: http://www.halodiehards.net/forums/

    As always, any help or clarification appreciated!

    #184008
    Morgan Kay
    Participant

    I am using the following code to add a custom post type to users’ activity streams:

    
    add_filter ( 'bp_blogs_record_post_post_types', 'ecomukti_activity_publish_custom_post_types',1,1 );
    function ecomukti_activity_publish_custom_post_types( $post_types ) {
    	$post_types[] = 'product';
    	return $post_types;
    }
    
    add_filter('bp_blogs_activity_new_post_action', 'ecomukti_cpt_activity_action', 1, 3);
    function ecomukti_cpt_activity_action( $activity_action,  $post, $post_permalink ) { 
        global $bp;
        if( $post->post_type == 'product' ) {
            if ( is_multisite() )
                $activity_action  = sprintf( __( '%1$s created a new campaign, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', '<a href="' . get_blog_option( $blog_id, 'home' ) . '">' . get_blog_option( $blog_id, 'blogname' ) . '</a>' );
            else
                $activity_action  = sprintf( __( '%1$s created a new campaign, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' );
        }
    
        return $activity_action;
    }
    

    However, I also want this activity to show up in the group loop for all groups the user belongs to. How can I get this to show on the group page?

    I have read the following pages, but I haven’t found them helpful:

    Add custom filters to loops and enjoy them within your plugin

    Groups Loop

    #183854
    cwjordan
    Participant

    Instead of the template change suggested above, it works better to add the following

    /* set default BP to profile page instead of activity page */
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    in your wp-content/plugins/bp-custom.php file (create that file if it does not exist – see https://codex.buddypress.org/plugindev/bp-custom-php/ for more about that file).

    cwjordan
    Participant

    It may be that you need to set:

    /* set default BP to profile page instead of activity page */
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    in your wp-content/plugins/bp-custom.php file (create that file if it does not exist – see https://codex.buddypress.org/plugindev/bp-custom-php/ for more about that file).

    #183647
    adamt19
    Participant

    I’d like to build an admin page which uses custom queries to provide real-time access to the following metrics:

    • Messages sent
    • Messages sent that are replies
    • Avg number of connections per user (in our case, or ‘Favorites’ per BP FOllow plugin, not friendships)
    • Avg time between account creation and deletion
    • # of account deletions to-date
    • User login frequency per-week
    • Avg profile views per session

    xprofile field-specific metrics based on our network such as:

    • # of Males signed up
    • # of Females signed up
    • Age breakdown 18-24, and every segment 5 years at a time beyond this
    • more..

    I haven’t decided on an admin-area dashboard or ‘generate report’ script, but I have some questions about a few of these before I get started:

    With profile deletion, does anything remain which could be used to measure time between creation, deletion, etc?

    I know about last activity but has anyone extended this to measure frequency?

    Of course, will be updating thread with progress.. but any suggestions from those of you who have worked on similar internal tools would be GREATLY appreciated.

    lava-team
    Participant

    Hello,

    I have been trying to add 2 tabs on user profile. “posts”,”gallery”

    posts : my posted posts. it will display a custom-post-type “user-post”
    gallery : my pictures .. or any thing.. it will display a custom-post-type “user-images”

    
    // Set up Cutsom BP navigation
    function my_setup_nav() {
          global $bp;
    
          bp_core_new_nav_item( array(
                'name' => __( 'Posts', 'buddypress' ),
                'slug' => 'user-posts',
                'position' => 19,
                'screen_function' => 'jv_user_posts', 
    	  		'show_for_displayed_user' => true
    
          ) );
    
          bp_core_new_nav_item( array(
                'name' => __( 'Gallery', 'buddypress' ),
                'slug' => 'user-gallery',
                'position' => 20,
                'screen_function' => 'jv_user_gallery' 
          ) );
    
          // Change the order of menu items
          $bp->bp_nav['messages']['position'] = 100;
    
          // Remove a menu item
          $bp->bp_nav['activity'] = false;
          $bp->bp_nav['blogs'] = false;
    
          // Change name of menu item
          $bp->bp_nav['groups']['name'] = 'community';
    }
    add_action( 'bp_setup_nav', 'my_setup_nav' );
    
    // Load a page template
    function jv_user_posts() {
          bp_core_load_template( 'buddypress/bp/cst-user-posts' );
    }
    function jv_user_gallery() {
    	  bp_core_load_template( 'buddypress/bp/cst-user-gallery' );
    }
    
    


    it has successfully created 2 tabs! works ok!

    BUT it goes to own “cst-user-posts.php” page and “cst-user-gallery.php” page.

    I mean I want to add them in /buddypress/members/sigle/home.php file

    I guess the part is here on home.php

    ‘

    <?php do_action( ‘bp_before_member_body’ );

    if ( bp_is_user_activity() || !bp_current_component() ) :
    bp_get_template_part( ‘members/single/activity’ );

    elseif ( bp_is_user_blogs() ) :
    bp_get_template_part( ‘members/single/blogs’ );

    elseif ( bp_is_user_friends() ) :
    bp_get_template_part( ‘members/single/friends’ );

    elseif ( bp_is_user_groups() ) :
    bp_get_template_part( ‘members/single/groups’ );

    elseif ( bp_is_user_messages() ) :
    bp_get_template_part( ‘members/single/messages’ );

    elseif ( bp_is_user_profile() ) :
    bp_get_template_part( ‘members/single/profile’ );

    elseif ( bp_is_user_forums() ) :
    bp_get_template_part( ‘members/single/forums’ );

    elseif ( bp_is_user_notifications() ) :
    bp_get_template_part( ‘members/single/notifications’ );

    elseif ( bp_is_user_settings() ) :
    bp_get_template_part( ‘members/single/settings’ );

    // If nothing sticks, load a generic template
    else :
    bp_get_template_part( ‘members/single/plugins’ );

    endif;

    do_action( ‘bp_after_member_body’ ); ?>

    ‘

    How can I make “if” condition for those 2 pages?
    I don’t know how to create “bp_is_user_posts” or “bp_is_user_posts” functions.
    if I could, I just need to add … if conditions.

    Please advice me!

    Thanks,
    pulla

    #183332
    amckinnell
    Participant

    Hi Henry, here is the contents of that window:

    Request URL: http://photoforte.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: HTTP/1.1 200 OK
    Request Headers 12:51:58.000
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:29.0) Gecko/20100101 Firefox/29.0
    Referer: http://photoforte.com/activity/
    Pragma: no-cache
    Host: photoforte.com
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Content-Length: 97
    Connection: keep-alive
    Cache-Control: no-cache
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/javascript, */*; q=0.01
    Sent Cookie
    wp-settings-time-10: 1398959694
    wp-settings-10: libraryContent=browse&editor=html&wplink=1&urlbutton=none&imgsize=full&align=center&hidetb=1
    wordpress_test_cookie: WP+Cookie+check
    wordpress_logged_in_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5ccb9ec3cbdec1dc82a94b7ed790dd41
    wordpress_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5b043d1b070ce3f02b6457a112bdfd6a
    s2member_tracking: fnIyOk5PVFdEQUJGSk9CeFBsZ2NMV3BiN2Rna3hMQUw0aTZzOmI3ZmEwNjU4NTQ2MGE0OWNiZDlmYTJhZGE2OTIyNDQzfEKGYUXbL9qRK4qkpq9Olm8qeZTiTkNtW3IJQea7fc4a
    PHPSESSID: d3jd0dp456hmi7p57ib09rrku7
    bp-activity-oldestpage: 1
    __utmz: 82912087.1400555092.174.6.utmcsr=Photo Forté Members|utmccn=7ce74da5f7-2014_May_Lesson_Week_3|utmcmd=email|utmctr=0_76b17b8542-7ce74da5f7-
    __utmc: 82912087
    __utmb: 82912087.7.9.1401047433231
    __utma: 82912087.1423870743.1397575542.1400993272.1401047233.201
    Response Headers Δ1626ms
    X-Robots-Tag: noindex
    x-frame-options: SAMEORIGIN
    x-content-type-options: nosniff
    Transfer-Encoding: chunked
    Server: Apache
    Pragma: no-cache
    Keep-Alive: timeout=5, max=85
    Host-Header: 192fc2e7e50945beb8231a492d6a8024
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Date: Sun, 25 May 2014 19:51:50 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: Keep-Alive
    Cache-Control: no-cache, must-revalidate, max-age=0

    About your other questions, it is a total custom theme, but I haven’t made any changes to it for weeks and this problem just cropped up a couple of days ago. I know for sure it just started because I use that load more all day.

    It’s difficult for me to answer the question about whether it happens in the default theme because I don’t want to change my live site because people are using it, and when I create a staging site, the load more button works in the current theme. I cannot understand why the problem only exists on the live site and not the staging site. I am creating the staging site when I am seeing the issue, it only takes a couple of minutes to create it, it’s on the same server, but the load more button works there.

    Thanks again for your help.

Viewing 25 results - 476 through 500 (of 1,252 total)
Skip to toolbar