Modifying the Latest Activity Feed
From KickApps API Reference
The new Latest Activity Feed on the user profiles displays all the most recent stuff that the user’s been up to. This is a great way to see how the user has interacted with the community.
For a very active user, though, this list can get long, and push their Friends, Media and Comments further down the page. To change this behavior, you have a few options.
1) Move The Feed To The Left Column
To move the feed to the left column, below the user’s links, you can use this jQuery snippet, pasted into your global page template:
<script type="text/javascript" charset="utf-8">
$j(document).ready(function() {
if (Ka.Info.PAGE == 'pages/profilePage.jsp'){
$j('#ka_profileActivityFeed').appendTo('#ka_profileLeft');
};
});
</script>
That will result in this:
2) Remove The Feed Entirely
You can remove the feed using either JavaScript or CSS. Here are some code examples for each:
JavaScript:
<script type="text/javascript" charset="utf-8">
$j(document).ready(function() {
if (Ka.Info.PAGE == 'pages/profilePage.jsp'){
$j('#ka_profileActivityFeed').remove();
};
});
</script>
CSS:
<style type="text/css" media="screen">
#ka_profileActivityFeed {display:none;}
</style>
3) Shorten the Feed
Lastly, you can shorten the activity feed by limiting its height with CSS like this:
<style type="text/css" media="screen">
#ka_profileActivityFeed ul{height:300px; overflow:hidden;}
</style>
KickApps Documentation
- Advertising
- Asset Manager
- Audio Sharing
- Blogs
- Categories
- Comments & Ratings
- Customize URLs (DNS Masking)
- Email Marketing
- Events
- Feed Builder
- Flagging Content
- Groups
- Home Page
- Insight
- IP Address Black List
- JanRain's RPX Service
- Language Editor
- Message Boards
- Member Management
- Member To Member Messaging
- Member Summary Emails
- Page Customization (using CSS & JavaScript in the Global Page Template)
- Pages (Custom Pages, Content)
- Photo Sharing
- Points & Levels
- Private Sites
- Private Media
- Private Profiles
- Privacy & Security
- REST API Reference
- RSS API
- Search
- Sets
- Site Styler
- Site Security
- Spam
- Social Networking
- SSO Reference
- Subscription Plans
- System-Generated Emails
- Userplane Chat & IM
- Video Sharing
- Widgets & Video Players