Search Results for 'custom activity page'
-
AuthorSearch Results
-
August 28, 2010 at 6:45 pm #90740
In reply to: BuddyPress Template Pack
govpatel
ParticipantI am using latest wordpress 3.0.1 and default twentyten child theme and all i did was transfer folders using buddypress theme pack and go in menu and create a custom menu and use it as primary menu add all the pages in menu and than create custom links for buddypress like for /activity /members/ /forums and so on and they work fine.
August 28, 2010 at 12:43 pm #90689In reply to: Show comments on the activity related to that blog?
Roger Coathup
Participant@javipas – you need to be a little clearer on your setup. In the default setup / theme, the activity stream is a separate page, and not something that shows up on individual blogs / blog pages.
Are you using a custom theme with a custom activity stream, or an activity stream widget in your blogs?
The standard activity stream loop shows activity across your entire BuddyPress installation. If you want to filter the activity steam to just show comments relating to a specific blog, you can write your own custom activity loop:
Take a look at this documentation, in particular filtering on the primary_id to just show posts for a specific blog id: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
August 26, 2010 at 3:21 pm #90472In reply to: Profile Updates as List
Hugo Ashmore
ParticipantYou’ll probably want to create a custom loop then in whatever page, have a look at this page of the codex:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/August 25, 2010 at 8:18 pm #90364In reply to: Buddypress not on themainblog ?
John
ParticipantHello,
Thanks you very much for helping me.
I’ve followed your link but I’ve got a problem.
(3) Keep your old BuddyPress user / group avatars
I don’t find my file bp-custom.php (at the following location : wp-content/plugins/buddypress/), should I create one or is it at an another location ? I’ve looked but I didn’t find anything.(4) Redirect previous BuddyPress permalinks
I’ve edited my .htaccess but when I click on my name from a comment I’ve made on a post on the blog’s network or if I try to view an activity I end up on the same page : the Members Directory. I’m using the default buddypress theme on the blog.Did I make a mistake on my .htaccess ?
Here’s the path of my installation, using Wamp :
http://127.0.0.1/themainblog/ – the main blog
http://127.0.0.1/themainblog/network/ – where buddypress is enabled.
http://127.0.0.1/themainblog/blogname/ – a blog from the networkHere’s how I edited my htaccess :
RewriteEngine On
RewriteBase /themainblog/
RewriteRule ^index.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]RedirectMatch 301 ^/members/(.*)$ http://127.0.0.1/themainblog/network/members/$1
RedirectMatch 301 ^/groups/(.*)$ http://127.0.0.1/themainblog/network/groups/$1
RedirectMatch 301 ^/blogs/(.*)$ http://127.0.0.1/themainblog/network/blogs/$1
RedirectMatch 301 ^/forums/(.*)$ http://127.0.0.1/themainblog/network/forums/$1# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]Best regards,
August 14, 2010 at 11:00 am #89058In reply to: How to make a private community?
Hugo Ashmore
ParticipantThat sounds like you actually need a custom front page, but what do mean by ‘click it’ that’s a rather loose term click what?
Why does that page not simply have the text/content you want with a simple link to the registration page and also a simple login, registered users will login and be directed to their profile page by the plugin mentioned earlier. What you do with the main site home link is another question, suppose it’s possible to have that custom frontpage display your intro page to all logged out users and once logged in if a member navigates back to that page it will display ? activity loop / main site blog posts
August 13, 2010 at 12:03 am #88915In reply to: I need ideas for theme creation.
Nahum
Participant@modemlooper contextual sidebars a definite must when working towards the perfect bp theme, as mentioned by nit3watch. I hate having to create them and loading up the sidebar.php with if statements to know what page you are on. Also a blog network focused theme combining the groups/blog components to work together. as mentioned here. https://buddypress.org/community/groups/requests-feedback/forum/topic/why-couldnt-the-groups-component-structure-work-for-blogs/
Custom field and post tags,cats, recognition by the activity stream with index file that can be manipulated to function like a site wide tags replacement.
Tagging and categorization for blogs. widgets and page templates for each.
Bring more individual blog info out front(posts, comment_counts, ) so that member blogs content can be categorized, highlighted and maneuvered more easily.
Pull in user blog info into their profiles, posts count, draft counts, quick links to their blog admin, widgets. Blog management options or panel.
Include follow blog streams feature, similar to follow people, but instead it pulls in new_blog_post activity into Blogs I follow activity tab.
The perfect blog network bptheme, basically.August 6, 2010 at 3:20 pm #88250justbishop
Member@mattmct: Or you could use conditional statements in a custom template. It would go something like this:
July 26, 2010 at 1:21 pm #87049Roger Coathup
ParticipantThe constant is supposed to set the default tab that is active when you visit a profile.
In my case, although I’ve made activity the 3rd tab, it is still the default active one when I visit the profile.
Defining BP_DEFAULT_COMPONENT in wp_config.php is now working for me – provided I use my new slug (‘account’) instead of ‘profile’. Also, as @nuprn1 points out – it won’t work if you cut and paste the code from this thread (because the quotes are mangled).
Thanks for the help on this guys. Much appreciated.
July 26, 2010 at 11:56 am #87034Roger Coathup
ParticipantOk… I cut and pasted the code, and that had introduced some control characters that messed everything up.
However, the routine to change the tab order is not working for me… I went for the following:
function ka_change_profile_tab_order() {
global $bp;$bp->bp_nav = 10;
$bp->bp_nav = 20;
$bp->bp_nav = 30;
$bp->bp_nav = 50;
$bp->bp_nav = 60;
$bp->bp_nav = 70;
}add_action( ‘bp_setup_nav’, ‘ka_change_profile_tab_order’, 999 );
But, that results in some strange markup being created:
A new tab is displayed at the start with no content –
[li id=”-personal-li”]
[a id=”user-” href][/a]
[/li]and the profile and messages tabs are not in the right order. I get the following rendered:
nonsense (see above) – messages – profile – activity – groups – following – settings
July 21, 2010 at 6:22 pm #86499In reply to: All blog posts RSS feed
r-a-y
KeymasterI’d just create a custom page template and create a RSS feed from a filtered, BuddyPress activity loop that only outputs blog posts.
Here’s a guide that will help you create the custom RSS page template:
http://yoast.com/custom-rss-feeds-wordpress/Here’s the activity loop codex page:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/*Set the action to “new_blog_post”
July 21, 2010 at 11:48 am #86455In reply to: Updates Only in Activity Stream
Korhan Ekinci
ParticipantHello,
Thnx Roger. I did make some research and found this post:
https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/Since I also have this code in my activity-loop.php:
php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) ) :Thanks to @Boone :
https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-per_page35-without-messing-up-load-more-link/#post-45733I did this in my child theme’s function.php file:
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&action=activity_update’;return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );It seems to work! I now just need to get rid of the dropdown filter boxes!
July 21, 2010 at 11:36 am #86453In reply to: Updates Only in Activity Stream
Roger Coathup
ParticipantHi,
I advise doing this in your own child theme:
You’ll have to modify the /activity/index.php file. In there you can change your activity stream loop to just return status updates, and you can also remove the dropdown filter.
This page gives some guidance on modifying the activity stream loop, including the filter you’ll need just for status updates:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/Cheers,
RogerJuly 14, 2010 at 8:28 pm #85636xrun
Member@boonebgorges the load more link has shown up at the bottom in the activity feed, the list currently has 13 entries. I’d like to cap it at somewhere between 5 and 10, and then extend the list to another 10 each time the load more-link is hit.
I have removed the custom php-file temporarily, but while testing this I found that when I clicked the link it wouldn’t do anything, was just sitting there and accepting clicks without loading more.July 14, 2010 at 11:25 am #85556In reply to: create custom activity query stream
Roger Coathup
ParticipantAnd this page details how to change the default tab:
https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/
Good luck… let me know if it works!
July 12, 2010 at 2:55 pm #85251In reply to: Activity-Stream as Tracker only
Hugo Ashmore
ParticipantThe reference in the two posts above yours is saying that the simplest approach is to edit the file entry.php in the /activity folder of the theme; this would be preferably done as a child theme i.e a copy of the files in a new theme directory you would then be looking for lines such as:
<a href=”<?php bp_activity_comment_link() ?>” class=”acomment-reply” id=”acomment-comment-<?php bp_activity_id() ?>”><?php _e( ‘Reply’, ‘buddypress’ ) ?> (<span><?php bp_activity_comment_count() ?></span>)</a>
and removing them or placing some form of conditional statement around them – I removed all links for a copy of entry.php which I pulled onto a custom frontpage but allowed the links for the activity stream as a directory view.
It’s a little long winded but straightforwardJuly 2, 2010 at 5:23 pm #83959In reply to: Home Page Forced To Activity Page
r-a-y
KeymasterI just tried to duplicate your problem on my local install, but couldn’t.
Perhaps something else is interfering and causing the redirect?Are you using any BP plugins that handle redirection?
Anything in your .htaccess file? Any custom code in your theme’s functions.php?If that fails, you can always set another WP page as the default front page. Then see if the redirect still occurs.
July 1, 2010 at 5:24 pm #83813In reply to: Ability to post something on personal activity pages
rich! @ etiviti
Participanti believe that is just adding in the @simon.goodchild automatically to the message – (though not a plugin and unique to this site – but could be done via some custom coding as the current method is just ‘mention this user’)
June 29, 2010 at 6:17 pm #83447In reply to: Removing Groups From Forums
lincme.co.uk
MemberIce-cream sundaes! Oh yes!
Actually, that’s one direction Drupal has been going (not the ice-cream, sadly), which is the eventual simplification of data storage. The biggest problem now, I think, is that developers map their views to data, and vice-versa. Drupal stores everything and anything as a ‘node’. So a node can contain one word, a site link, a story, a page, images, files, or any combination of all by having nodes within nodes. Its Views module then allows you to say how nodes are displayed; as blocks (widgets), pages, in tables, rows, any kind of custom layout.What I’m visualising at present is a way of doing things like BP’s activity stream, where data is any kind of node you like, and you decide whether nodes can overflow or are cut (eg., large images), displayed all at once or shown as a bite (eg., stories/pages and small excerpts with ‘read more…’) etc. You then just decide whether each site page appears as a single page, a list of related nodes kinda bloggish, a list of related nodes a-la activity stream, etc. A couple of clicks could create a stream, a shopping page, or whatever you wish. Users then have BP style filtering links, so they can view everything the view shows, just friend’s contributions, just their groups, etc. Off-site information can be pulled in via links as well, and displayed as the same kind of node (similar data, just a different source). Wrap all that around an individual member with a profile and roles/permissions, and you have the most powerful and adaptable social network there is.
As I say, you can do that with Drupal, but gawd is it time consuming for a large project. I like the way WordPress is going, and if BuddyPress follows suit in the simple and easy to use stakes, the two combined will be amazing.
June 26, 2010 at 7:13 pm #82984harounkola
ParticipantHi peeps. I’m having a similar problem, but not sure if its exactly the same thing, my activity page is not the first page, nor do I want it. I’m using a custom theme designed in Artisteer, and the activity is not showing up. If I use the default buddypress theme, then the activity shows up.
Any ideas?
http://spaceoflove.co.zaThanks
June 20, 2010 at 11:52 pm #82083In reply to: embed wordpress group
r-a-y
KeymasterYou can either create a shortcode plugin that uses the BP activities loop, or create a PHP page template with the activities loop with the group parameters passed into it:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/June 20, 2010 at 7:45 pm #82053In reply to: users complaining
modemlooper
ModeratorI agree with @thelandman OOB Buddypress is the whole kitchen sink but you can cut a ton out via custom themes.
BP groups are basically a facebbook fan page. It has the exact same features. So if people are on FB then they clearly can understand the UI of BP. Maybe changing forums to discussions? It’s the site wide activity feed that in my opinion creates the most confusion.
June 18, 2010 at 6:09 am #81836Hugo Ashmore
Participant
Ah erm so it does; did say it wasn’t hugely tested. Ok then those that are running on bp-default theme will need to add your function to main functions file, please ignore my well intentioned but erroneous post above. (Last para stands thinking about though, the flood gates will open soon)Thinking further it makes sense to add fix to main functions or
bp-custom[bp-custom.php isn’t a standard included file] so that it does get erased from existence on upgrade – one less thing to remember to adjust for peopleJune 18, 2010 at 6:00 am #81834r-a-y
Keymaster@hnla – While your method is well-intentioned, it breaks actual 404 pages. Try typing in example.com/hfklsadjfkasdhf and you’ll see the activity page, instead of the 404 page!
You could just copy my code directly into the bp-default theme’s functions.php so it will be overwritten when the next version of BP comes out.
FYI, the code can also go in wp-content/plugins/bp-custom.php as well and not necessarily in a child theme’s functions.php file.
June 16, 2010 at 10:41 pm #81700In reply to: BuddyPress / Thesis Custom Template Integration
kengary
ParticipantWhen you integrated this with Thesis what version of BuddyPress were you using? Were you using WordPress MU or regular WordPress?
I’ve been playing around with this today. I am running regular WordPress 2.9.2 with Thesis 1.6 (need to try 1.7 but he really changed things there).
I installed the BuddyPress Template Pack plugin and went to work.
I don’t think you do the thing with the bp-custom.php file anymore, right?
I followed the instructions and copied all of the templates to my /wp-content/themes/thesis_16/ folder.
Then I started digging into how Thesis outputs its content and started updating all of those templates with different HTML markup and calls to Thesis functions to get headers, footers, and sidebars, etc.
So I got the pages like Members, Groups, Activity, etc. looking OK, but not pretty. There is going to be a TON of CSS development needed to make this look as pretty as it all does here.
The thing I’m not yet clear on is how to get it all to flow under one tab like it does here with the Community tab?
And I have LOTS of other questions….and work to do to make it fully functional and tightly integrated into the navigation and flow of the site.
Is it even worth it I’m wondering?

Just thought I’d share. I’d love to find out someone has already done ALL of this and can provide instructions, or files…would be worth something I think!
June 14, 2010 at 4:42 pm #81489In reply to: BP 1.2 RC2: Sitewide activity feed broken?
iainnorman
Membermy problem is that when you’re logged in you can’t see your own activity feed (it just hangs up and gets stuck whilst loading the page)
this seems to happen occasionally and so far my only fix is to ditch the whole database and start again (not something I want to do again)you can still see other peoples activity and if you’re logged in as another user, see your own, just not when you’re logged in.
Using the default theme (customised, but not too much) with WPMU.
any thoughts?
-
AuthorSearch Results