Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 651 through 675 (of 838 total)
  • Author
    Search Results
  • #101263
    gulflee
    Participant

    cannot found bp-custom.php and there is a “favorite” when clicked it change to “remove favorite”, link show
    http://xxx.com/activity/favorite/3/?_wpnonce=d6f0625717 but it did not save, when page refreshed it change back to “favorite” state.
    any help, thanks in advance

    #100804
    Boone Gorges
    Keymaster

    Are you talking about the Home, About, Blog, Community, Extend, and Support tabs on buddypress.org? Those are WP Pages. In BP 1.3, there will be better support for having a setup like this that is totally customizable, but even now bp-default does something almost exactly like this.

    The way that individual user navigation (profile, activity, groups, etc) is laid out on this site is just like it is in bp-default.

    Or am I missing something?

    #98900
    Brajesh Singh
    Participant

    Hi,
    The reason it is happening perhaps hide_sitewide is not set to 1 for private activity. Most probably a conflict with some plugin as you already mention above. Can you check the database activity table to confirm that ?

    Have you put the code
    `
    define(“BP_DEFAULT_COMPONENT”, “profile”);
    `
    In wp-content/plugins/bp-custom.php, It will make the profile accessible if put in bp-custom.php. yes,it simply change the default profile component(landing page on profile) from activity to xprofile.

    #98899
    imjscn
    Participant

    I’m not sure which way is better, seems lots of people have done great jobs.
    Here’s a tip I took as guiding to start my bp customizing journey : http://wpmu.org/how-to-widgetize-a-page-post-header-or-any-other-template-in-wordpress/

    After registered the widgets and created the new page template, style the widget area. Create Pages you need to use for bp compoents (activity, groups, members, …) ,choose the new page template.
    Use Custom Field Template plug in or other means to write contents and bp loops in the widget areas. Custom Field Template says its php code is experimental, but my blog doesn’t have problem with it.

    Another way I want to try but not tried yet– copy bp componets pages and add widget in it. Not sure if this can be done or not.

    #98851
    r-a-y
    Keymaster

    Custom permalink structure shouldn’t matter, but have you tried resaving the permalink settings?
    Also try disabling any plugins that might interfere with this. Including redirect and caching plugins.

    As a last resort, you can always create a page template copying exactly what is in /buddypress/bp-themes/bp-default/activity/index.php and setting that as the front page…

    #98850
    eor
    Member

    my BP version is 1.2.6. I’m also using a custom permalink structure…./%post_id%/%postname%/

    Do you think the custom structure may be affecting it? Should I use one of the common settings instead?

    Also I’m using a non BP theme that I’ve used the template pack for and converted css etc.

    Thanks,
    EOR

    #98513
    Bytewoopy
    Member

    I tried this method with Buddypress links, I want to make them my front page.

    I got the links to show up on a custom page but the formatting is all screwed up and the share button seems to be broken. I think it is not loading the css file for the links or the added javascripts. How would I go about updating it so that it works properly?

    This is what my custom template page looked like. I had to copy over the bp-links-default directory over to my-buddypress theme.

    `
    `

    Here is the actual page http://www.playbookit.com/frontpage

    Anyone know how to fix this? I’ve been at it for a few days.

    #98135
    LPH2005
    Participant

    The code for the activity loop may be placed in the index.php page. Make sure you add the loop with the commenting enabled.

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

    #97508
    Paul Wong-Gibbs
    Keymaster

    @modemlooper, if I create a custom link item to “example.com/activity”, and then click on that link, it loads the correct page and applies the ‘current-menu-item’ class to the li element. I’m testing this on BP trunk and WP 3.0.1.

    If I put a Page into my menu, it gives it the class ‘current_page_item’ as it recognises it is part of the WordPress object hierarchy.

    #97369
    r-a-y
    Keymaster

    It’s basically a page template using a forum topics loop.

    Get acquainted with the forum topics loop!
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-forum-topics-loop/

    Not sure if the “forum_id” can be comma-delimited. If so, you could specify specific groups to pull forum topics from.

    You could also possibly use the activity stream loop to gather topics of groups you’ve joined as well:
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #96821

    I have my own icons added Like on the page that list blogs it shows the right avatars http://paranormalportal.paranormalsos.com/blogs/

    but in the activity stream & the activity widget it shows only the gravatars or my custom icons & not the users who made the blog post (I hope that makes since)

    #96497
    r-a-y
    Keymaster

    You just need to create a new page with a custom page template and assign this new page as the front page:
    https://codex.wordpress.org/Creating_a_Static_Front_Page#Creating_a_Static_Front_Page

    Once you’ve done this, “Activity” should automatically be added to the nav menu (I think!).

    #96352
    ovizii
    Participant

    well, my idea was this:

    reading through the forums and the codex I found a couple of settigns that seemingly can be used from wp-config.php BUT I don’t want to clutter it too much.
    Alternatively I can use bp-custom.php or make a small plugin and pop it into mu-plugins.

    here is my collection of lines, please let me know where I can find more (built-into BP as I know plugins also offer several of these). What is recommended for what? I try to use wp-config.php only for WP related stuff, mu-plugins only for stuff that really needs to be running on every page and functions.php for stuff specific for my theme (and in this case the main page)

    `/*add user with ID as group admin, alternatively change to mod*/
    define( ‘BP_RESTRICTGROUP_AUTOADD_ADMIN_USER_ID’, 1);
    /* disable the admin bar*/
    /*define( ‘BP_DISABLE_ADMIN_BAR’, false);*/

    /*customize all slugs*/
    /*define( ‘BP_ACTIVATION_SLUG’, ‘activate’ );*/
    /*define( ‘BP_ACTIVITY_SLUG’, ‘activity’ );*/
    /*define( ‘BP_BLOGS_SLUG’, ‘journals’ );*/
    /*define( ‘BP_FORUMS_SLUG’, ‘discussions’ );*/
    /*define( ‘BP_FRIENDS_SLUG’, ‘peeps’ );*/
    /*define( ‘BP_GROUPS_SLUG’, ‘gatherings’ );*/
    /*define( ‘BP_MEMBERS_SLUG’, ‘chefs’ );*/
    /*define( ‘BP_MESSAGES_SLUG’, ‘messages’ );*/
    /*define( ‘BP_REGISTER_SLUG’, ‘register’ );*/
    /*define( ‘BP_SEARCH_SLUG’, ‘search’ );*/
    /*define( ‘BP_SETTINGS_SLUG’, ‘settings’ );*/
    /*define( ‘BP_XPROFILE_SLUG’, ‘info’ );*/

    /*customize more stuff*/
    /*Put profiles in the root � http://example.org/username/*/
    /*define ( ‘BP_ENABLE_ROOT_PROFILES’, true );*/

    (btw. since I have decided upon the final theme to use, I guess I will be going via the functions.php route)

    /*Change the default tab opened when looking at a user’srofile (default is activity):*/
    /*define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );*/
    `
    Also if you want yo ucan give some more information about order of invocation?

    #96209
    Matt Edminster
    Participant

    Thanks so much for the reply Roger.

    I have tried all those, but realized I missed one other possibility: bp-custom. Sure enought, that seems to be the source, though I’m not sure why. Strangely enough, of the various hacks that I have there, the problem seems to be in the standard “define” functions prescribed in the bp codex pages.

    `define( ‘BP_ACTIVATION_SLUG’, ‘activate’ );
    define( ‘BP_ACTIVITY_SLUG’, ‘activity’ );
    define( ‘BP_BLOGS_SLUG’, ‘blogs’ );
    define( ‘BP_FORUMS_SLUG’, ‘forums’ );
    define( ‘BP_FRIENDS_SLUG’, ‘friends’ );
    define( ‘BP_GROUPS_SLUG’, ‘groups’ );
    define( ‘BP_MEMBERS_SLUG’, ‘directory’ );
    define( ‘BP_MESSAGES_SLUG’, ‘messages’ );
    define( ‘BP_REGISTER_SLUG’, ‘register’ );
    define( ‘BP_SEARCH_SLUG’, ‘search’ );
    define( ‘BP_SETTINGS_SLUG’, ‘settings’ );
    define( ‘BP_XPROFILE_SLUG’, ‘profile’ );

    define(‘BP_DEFAULT_COMPONENT’,’updates’);`

    Any idea why one of these would be throwing the system?

    Hugo Ashmore
    Participant

    I’m no longer on their pay plan, so they arent digging in deep for me.

    I guess thats why I was hoping to get it resolved on here.

    Er well while we’re willing to help there’s a limit to free support, but it’s not so much that that’s the issue it’s simply that we have exhausted what we can probably do without getting down and dirty with the actual site and files. You have an issue that shouldn’t be happening IF you have taken everything back to a clean install and default theme that is. It’s perplexing and I certainly don’t know what to suggest other to still think there’s some customisation or plugin at work causing issues – might not be a bp plugin!

    As for asking whether there are files you can replace that is not a question that ought to be asked we have said and I think you have acknowledged that you must be testing with a clean install, core files should never have been modified if your child theme files were then that would be caught by using the default theme to test with – that theme as well as the core files should never be modified. If these conditions are met there is something very screwy going on and you will need to pay a developer to look the site over.

    Hugo Ashmore
    Participant

    Considering that bp-custom.php doesn’t exist unless the developer creates it then if it is found that is likely to be the culpret.

    As Roger says though this problem has to be the result of some customisation or plugin somewhere BP 1.2.5.2 onwards doesn’t show this issue in a vanilla install.

    Roger Coathup
    Participant

    it’s almost certainly a problem with your setup, and nothing to do with the core BuddyPress code.

    As I suggested, check your bp-custom.php file first of all – it goes in the /plugins folder – did your developer put any functions in there that modify the behaviour of your site?

    p.s. are you sure you are using vanilla BuddyPress – you (or developer) haven’t modified any of the core files?

    Roger Coathup
    Participant

    Take a look at this page for details on writing your own custom activity loop – paying particular attention to the scope and filter options: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    Roger Coathup
    Participant

    Are you using the default bp-custom.php or have you got a bespoke version?

    Hugo Ashmore
    Participant

    You have got a huge heap of plugins running. The first rule of troubleshooting is to reduce down to the most basic functionality to produce a test case that demonstrates the issue or not, ideally one runs the basic installation which will not demonstrate the issue, then start to add back in plugins one by one checking each time to see if the issue kicks in again, or work that in reverse and start disabling plugins one by one checking as you go so that you know what plugin causes the problem.

    This is exactly the same reason we ask that people drop back to the default theme as doing that tells us immediately if an issue is related to BP or a custom theme.

    #94453
    Hugo Ashmore
    Participant

    Not a similar issue, these sound like two separate issues.

    Please do not post to a forum in this manner you must start your own thread and provide as much detail as possible if you want help.

    @holgria Are you running a custom theme or BP-default? Without more detail than you have provided it won’t really be possible to help you.

    @micb11 You should start your own thread on your issue, don’t assume it’s similar to someone else; there could be any number of reasons why you are having these issues, without some detail it’s impossible to help you -same question though custom theme or standard BP?

    #94309

    Hey @nuprn1,

    im just trying to filter some items in the bp_has_activities() function and cant seem to get it to work whenever I add more than one filter/parameter.

    this works:

    this doesnt work:

    or

    I think my syntax is wrong, or Im trying to mix the filters and parameters in the same place. Anyways, I dont know hot to work with this. Im referencing the following page:

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

    Any help will be much appreciated,
    thanks

    #94202
    chouxpastry2002
    Participant

    Hello guys,
    I think i have arrived at right thread to post my query at.

    I am looking to filter Group creation and member joining activity from Group activities.

    I dont want to display “Member has joined this group” And “Member has created this group” in group activity stream.

    Please tell me how to do it using custom-bp.php file or themes function.php file. I am ok with both the types.

    Regards,
    Sam.

    Roger Coathup
    Participant

    Ok… there are few things you need to look at to achieve this:

    You should create a new theme where you are going to implement your reworked profile / activity sub-nav menu. I suggest deriving this from the bp-default theme: https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/

    In the default theme, the activity sub-nav menu is created by a call to bp_get_options_nav() in /members/single/activity.php. It’s this call that you’ll either want to replace with your custom version (or apply filters / action hooks to get your desired result).

    You should also take a look at how the activity stream is built – it’s quite easy to create your own activity loop that will return all the items for a given user merged into a single page (rather than the separate tabs): https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    Hopefully that’s enough to get you started.

    #93791
    Hugo Ashmore
    Participant

    This page will show you the parameters that can be passed:

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

    What you show should work to limit the qnt returned

Viewing 25 results - 651 through 675 (of 838 total)
Skip to toolbar