Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 101 through 125 (of 831 total)
  • Author
    Search Results
  • #307289
    deoluxe
    Participant

    My website was designed on a localhost and I used OceanWP Version: 1.6.10 and Everything worked very fine even up until now. After moving the site to a live server which we set up bu ourself in our office, the first thing that happened was that aside from the home page, other pages are returning erro 404 when visited. I search online for solution and after trying series of suggested solutions, i found out that adding index.php to a custom hyperlink fixed the error.
    Now the problem I am having is that the Activity and Member page are not working. Also, when you click on a members name from the widget i embed on the home page to display online members, the result i get is page not found.
    Please any suggestion as regards what could be done to make the site work on live server?

    peterfae
    Participant

    Hey. I know there’s a place to do buddypress customizations in the FTP. I’m trying to remember how to do this. What I’d like is to have entries show *full length* on the profile pages, but not on the activity feed.

    Meaning – no ‘read more’ or anything like that, just a smooth scrolling experience on the PROFILE, but not on ‘Activity’

    Reason – I’ve got a site where Authors update their Stories as a documentary-blog through the buddypress. I’d like to offer the Readers a smooth experience on the PROFILE of that Author, but leave the general ACTIVITY FEED normal with the ‘read more’ and all that.

    Help?

    (thanks)
    https://intothemythica.com/mythos/

    Suryakant Nirbhay
    Participant

    Hi, I need your help in the following feature.

    I created a custom post type like “Company”. Now I want buddypresss Activity Feed “Whats New Box” for my custom company page. How can I make duplicate activity feedback for my company page?

    Thanks in advance.

    colingdi
    Participant

    Hi,
    So for our sins we’ve customised our profile page to be a lot different to the core (not by choice), this works great bar a few anomalies. I’m trying to filter the activity loop to just show the displayed users posts. I’ve written up the code as follows:

    if ( bp_has_activities( $activity_id . '&user_id='.$userToFilter.'&scope=just-me&action="activity_update"&max=3&page_arg="true"' ) )

    This gives me a loop of just 3 items (so some of it is being listened to!) but no pagination and no filtering on the displayed user (which is the value $userToFilter). I’ve echoed out the filter and it’s reading as: &user_id=1&scope=just-me&action=”activity_update”&max=3&page_arg=”true” which I think is right. Any guidance greatly appreciated, I tried the plugin for activity shortcode and got the same results weirdly.

    #306606
    lahddah
    Participant

    I know this has been asked and resolved before, but none of the solutions have worked for me. When I look at the members page – either while logged in as admin, or logged in as a different registered user – the members page is not finding any members.

    I’ve tried adding the php that changes the ‘last activity date’ to the functions.php file, then the bb-custom.php file. Neither changed a thing.

    Is there anything else I should try? The Buddypress plugin came as part of a theme I purchased. Their support suggested I try to disable plugins, then enable the bp plugins to see if they work. Is this a correct way to go? It seems like a lot of people have this same issue, so I’m hoping the fix is something simple.

    Thanks.
    Laura

    hungerford
    Participant

    WP v5.2.1
    BP v4.3.0

    I have BuddyPress installed in a multisite environment and I am trying to figure out what the exact code needs to be placed within the bp-custom.php file to remove … “on the site SITENAME,” … from the following within the Global and Personal activity streams:

      When a post is made.
      when a comment is made.

    Also, I’m trying to figure out how to turn off the notifications within the global and personal activity streams for:

      When a page is made.

    I may be novice but can pick up some things fairly quick. I just need a little help so any assistance would be greatly appreciated. 🙂

    liamod
    Participant

    Theme: aardvark
    Can’t test it on default theme because aardvark will reset and I will lose literally 3 hours of customizaition progress

    Basically I click the comment button on a post on my profile. I type in a comment and once posted the comment appears nested. however upon reloading the page the comment goes to the top of the page and it does not show that it is a comment

    a608237
    Participant

    I added some customized content to the buddypress.php template in my theme, but no matter the section (notifications, activity, profile etc.), my custom content appears in every page.

    How can I have the content appear only on the home page (or another specific profile page?)?

    Thanks in advance.

    #304936
    Venutius
    Moderator

    That would be pretty difficult to do, or at least it’s not trivial. The issue is that the function used to populate the activity page does not have the ability to filter based on post settings, so you’d have to create a function to do that. Probably you’d end up overloading the activity page and displaying your own custom activity loop which took into account the post taxonomies.

    a608237
    Participant

    I am tinkering with some tricks shown here: https://usersinsights.com/buddypress-custom-profile/.

    It has been mostly successful and straight forward more or less. The examples in the link adds customized content to the user’s HEADER section however (where Avatar & last-active time is shown) using:

    add_action( ‘bp_profile_header_meta’, ‘my_function’ );

    How might I add actions to the main body of a profile page (i.e. in the Base profile section [before and after])? I’ve tried substituting ‘bp_profile_header_meta’ with the other hooks shown in the tutorial i.e.:

    add_action( ‘bp_before_profile_content’, ‘my_function’ );
    add_action( ‘bp_before_member_activity_content’, ‘my_function’ );

    but none of them displays the content within the main body of the profile. Please help.
    Thanks in advance.

    #304711
    Venutius
    Moderator

    Hi there, some answers:

    1. You can change the layout of profiles by overloading the profile files and css, see: https://codex.buddypress.org/themes/theme-compatibility-1-7/theme-compatibility-2/ it’s possibly a bit advanced for you right now but all the files in the plugins/buddypress/bp-templates/your-bp-theme/buddypress can be copied, modified and loaded from your child theme directory. Similarly you can overload the css to make styling and layout changes.

    1b. The default is for horizontal navigation unless you’ve changed it in Customizer>>BuddyPress.

    2. The BuddyPress extended profile is editable from the front end, and avatar too. It’s only the wordpress profile that’s enditable in admin and most BP sites don’t use that as t’s really set up for authors.

    3. I recently posted the code to combine all the profile activity feeds into 1, https://buddypress.org/support/topic/how-to-combine-activity-tabs-to-one/

    4. https://wordpress.org/plugins/cb-change-mail-sender/

    5+6 are bbPress questions, for the best answer you should post on their forum https://bbpress.org/forums/

    7. Assuming you have set up the groups directory page and enabled group creation by users in Settings>>BuddyPress>>Options, users will have the option to create groups on the Groups directory page and also from the Groups menu of the WordPress toolbar ( top right hand side of the screen, hover over your avatar image, drop down will appear one option will be groups.

    #303886

    In reply to: Group home page

    shanebp
    Moderator

    In Nouveau, you can set the activity stream to appear on the Home tab.

    Click ‘Groups default front page’ which will open the WP Customizer.
    Remove the check from the ‘Enable custom front pages for groups.’ checkbox.
    Then click ‘Publish’ at the top of the page.
    The ‘Home’ tab is still the default tab and it should show the Activity Stream.

    Venutius
    Moderator

    Then you’d need to overload your child-themes template file for the homepage, but getting the activity on there would need quite a bit of coding.

    BP was designed to be customised with plugins, it’s not unusual for a BP site to have several tens of plugins and maybe more.

    lordmatt
    Participant

    What I am trying to do is add a custom page type to my customizr child theme. This page would act as the front page for the site. I want to replicate most of the features of the current front page but show the (public) activity stream in a central column and recent blog posts in a sidebar (rather than filling the page as at present). A bit more like Facebook etc..

    I’m getting my head around the complicated beast that is Customizr but I am clueless as to what I need to even start looking at to put the activity feed on the page as well.

    I’m feeling overwhelmed by something that I keep thinking should be relatively straight forward. I would welcome some guidance to ease me into this.

    #303446
    AngelaQ
    Participant

    I feel like I’m missing something basic.

    If I make a page I created be the Activity page, it doesn’t show whatever content I’ve typed into the top. Worse, if someone’s not logged in, it just redirects to the home page and so no one will know that they are in the community section of the website and see that they just need to either sign in or register.

    Also, the default BP nav bar just changes to whatever links are relevant to that section. So if I’m in Activity, it’s blank. If I’m in a particular group, it shows me the things I need, like Manage, but then there’s no way to go back to the top level stuff like Activity or Groups. If I fix this by adding a custom menu, then some things are duplicated. If I try to add everything in a custom menu to prevent duplication, there’s no option for adding Manage, etc to a custom menu.

    Venutius
    Moderator

    I think based on your requirement that for your ultimate requirement you will need some custom coding. This is due to you wanting to add weighting to the likes.

    One option would be to enable new blog posts to appear in the BuddyPress activity stream. That would automatically allow BuddyPress users to favorite the activity and for it to appear in their list of favorites in their profile. However you won’t easily be able to add your weighting since the BP favorites system dones not have this functionality. But that’s the same for any existing plugin. The potential downside is that the BP Activity stream is not just posts (which would have to be enabled with a bit of code).

    There are also a number of WordPress post specific likes plugins, however these don’t give you a profile page with a list of your likes and the same issue remains that they would not support you weighting.

    If it was me, I’d probably look to use a plugin such as BuddyPress Like as a basis for my solution. I’ve not looked in detail at this plugin but I’m assuming it adds the ability to like posts and display a list of likes in the users profile. That would serve as a good basis for what I was looking to do. It would then need some modification in order to support your specific weighting mechanism. The complexity of that task would depend on exactly how you want your weighting mechanism to work and the technique you use to account for it when displaying the likes list.

    #302443
    shanebp
    Moderator

    If you are not an experienced developer, you may be better off hiring such a person.

    Until you write some code and ask specific questions about it, here are some general pointers…

    Take a look at how the activities are restricted on a group activity page.

    There are some codex pages that provide info:

    Add custom filters to loops and enjoy them within your plugin

    Activity dropdown filters in templates

    #302288
    d4nny
    Participant

    Hello,

    I tried to figure out a way to add a new tab which links to a page with custom content on the main /activity page right before “All Members”

    buddypress version: 4.1.0
    Wordpress version: 5.0.3

    appreciate the helps 🙂

    #302241
    webusat
    Participant

    Hi,

    I am trying to add some notifications up near the breadcrumbs in my site. I tried just adding:

    `bp_notifications_add_notification()’

    To my page that renders the content but no numbers appear. What do I need to do so I can have an icon along with a number that represents activity?

    For example, Mentions – 2

    Thanks,
    Stan

    Brajesh Singh
    Participant

    Hi,
    Before deciding to redirect from sitewide activity to user’s own activity you should know the difference between them and then decide.

    – On the sitewide page a user can see activity from whole site(including his won/friends/his groups and any non related member of the site)

    – On profile, a user can see his/her won activity as well as friends/groups etc but activities of group they are not member of or activity of users they are not friends with, won’t be visible,

    If you still want to redirect from sitewide activity to user’s own activity, You may use the following code.

    
    
    /**
     * Redirect logged in user's from sitewide activity page to profile activity.
     */
    function buddydev_redirect_sitewide_activity_to_profile_activity() {
    
    	if ( is_user_logged_in() && bp_is_activity_directory() ) {
    		bp_core_redirect( bp_loggedin_user_domain() . bp_get_activity_slug() );
    	}
    }
    
    add_action( 'bp_template_redirect', 'buddydev_redirect_sitewide_activity_to_profile_activity' );
    

    PS:- you can put the code in your theme’s functions.php or in the wp-content/plugins/bp-custom.php

    Best Regards
    Brajesh

    kanellos
    Participant

    Hi,

    I need to add an additional functionality to the submenu profile item (Activity, Groups …).
    I have found this link that is exactly what i need : buddypress-custom-pages

    But it doesnt work in my case.

    I think it’s because my submenu profile item is built (not from me) with this code in function.php:

    add_filter( 'wp_nav_menu_items', 'bpfr_custom_setup_nav', 10, 2 );

    bpfr_custom_setup_nav function returns an item containing an ul list. Each li element is built in this way:

    <li role="..." class="..."><a href="'. bp_get_loggedin_user_link() .'test-page/" class="..."><span>Test</span></a></li>
    

    But, if i create a test-page in wp, when i push the submenu Test link, I have an 404 error.

    Can someone help me?

    W.P. version: 4.9.8
    B.P. version: 3.1.0
    Theme: Avada child

    #282023
    indrabhusanroy
    Participant

    Yes I have asked them for that. I was asked to buy the pro version. Even then I don’t think that will solve the problem as they in pro version, I will get the ability to add a custom URL for login redirection, but instead I want the Profile page of the users.

    So now the users after login, they are being redirected to the activity page which has the following tabs: members, search. Now if they want to go to their profile, they have to use my site primary menu where, I have kept profile tab. Now this is not good.

    So, it will be best,if there is a profile tab on the activity page. Or you can help me to make the default landing page the profile page.

    Please help to solve this.

    Regards

    #278558
    shanebp
    Moderator

    You should be using the current versions of WP and BP.

    It sounds like your site is running some custom code that deletes or does not display activities with timestamps out of a certain range.

    Look at the admin page to see if those activities are actually deleted or just not being shown on the front-end: .../wp-admin/admin.php?page=bp-activity

    Deactivate any custom code re activities on your site.

    #278297
    EirikNesjo
    Participant

    Dear all

    I have been searching around on google without luck for this one.

    I have a custom post type, let say “city”, where I want each city to have its group like or group activity feed. Either by mimicking a group or creating a separate group for each post, in order to show the activity on the “city” page frontend. And allowing users to follow

    Thanks for any advise in order to have this functionality

    Eirik

    #276818
    heikesworld
    Participant

    Hello,

    I know this has been asked before and I followed the suggestion from this thread:
    https://buddypress.org/support/topic/block-activity-stream-types/

    and tried adding this code to my the child theme functions.php and to bp-custom.php:

    // Filter bbPress from updating activity stream
    function imath_activity_dont_save( $activity_object ) {
    $exclude = array( 'bbp_topic_create', 'bbp_reply_create',‘friendship_created’, ‘joined_group’, ‘updated_profile’, ‘updated_profile_photo’);
    
    // if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function
    if( in_array( $activity_object->type, $exclude ) )
    $activity_object->type = false;
    
    }
    
    add_action(‘bp_activity_before_save’, ‘imath_activivity_dont_save’, 10, 1 );

    but it didn’t work, profile updates, profile photo updates, new friendships, forum topics and forum replies are still showing on the activity page 🙁
    What am I doing wrong?
    Thank you for your help.

Viewing 25 results - 101 through 125 (of 831 total)
Skip to toolbar