Search Results for 'custom activity page'
-
Search Results
-
Hi all,
I’m developing a custom theme which I’m hoping can create a more comprehensive ‘Activity’ centre, firstly showing recent activity from all of the users friends, groups, events etc, and then being sortable to just show activity of their groups for example.
Currently, there is no way of getting recent group activity, available somewhere like example.com/groups/groupname/activity or example.com/members/membername/activity/my-groups
Feeds like this will be really important to create a good, comprehensive feed of everything relevant to the user.
How would I go about possibly patching these components to make them create feeds and make them available to the user on a specific page? I’m not a PHP guru but if I’m shown how I would be happy to go about doing the manual work, all part of learning
Cheers,
Alex
Topic: Modifying default widgets
OK I have spent this weekend working on modifying the default BP widgets. Some have been harder to customise than others.
I am having lots of trouble getting the site activity midget changed to how I want it.
bp-blogs.php, bp_blogs_format_activity().
return array(
'primary_link' => $blog_url,
'content' => apply_filters( 'bp_blogs_new_blog_activity', sprintf( __( '%s created a new blog: %s', 'buddypress' ), $user_link, '' . $blog_name . '' ) . ' <span class="time-since">%s</span>', $user_link, $blog_url, $blog_name )
);
This bit
<span class="time-since">%s</span>
is where I’m up. I am assuming the %s goes through another sprinft() call on page generation. I need to know where and how, as it generates output like this which I need to change: & 10 minutes ago
Please help
Hey,
I’m not sure if this has been discussed or not, but I would love for a user to be able to visit something like; example.com/home/ or even the normal homepage and a Facebook style homepage appear.
It would ideally feature a sort of amalgamation of all my friends activity streams into one, and things like that. Almost like a portal type of page personalized to that specific user.
Any thoughts?
I realise this can probably be done in a theme, editing the sites home.php template file and checking for the current user etc; but what built-in functions exist for a ‘my friends activity’ stream.
I think this could be a great core addition, especially if we allowed the use of widgets etc so they user could *choose* what appeared on their own customized welcome screen.
Cheers,
Alex
Topic: How Do I Pull In Widgets?