Search Results for 'custom activity page'
-
Search Results
-
It’s simply annoying when there’s a big community and the activity stream is crowded only with X joined… W and Y became friends, or Z changed his profile picture. Every status update, important posts etc are basically flushed away. Personally I use the BP in a more Facebook like way where people have the eyes only on the Activity page, aka Wall. 90% of users are lazy or just don’t know / don’t want to know that using the filter will help sorting and they just complain “hey do something about! All I see is just crap”. And before anyone saying “use the search”, I did, for days… nothing actually working. So… had to figure it out…
First of all, using
<?php if ( bp_has_activities( 'object=status') ) : ?>
as the documentation suggests, doesn’t work at all, nothing is changed.I managed to get the activity sorted out using
<?php if ( bp_has_activities('action=activity_update' ) ) : ?>
on my theme’s activity-loop.php and the “wall” is way more clean now BUT 2 more annoying bugs occurred:
1. I don’t know if it’s a bug or theme/script related, but when I press Load more, the same content is loaded over and over again.
2. ALL MEMBERS, MY FRIENDS, MY GROUPS, MY FAVORITES, MENTIONS will display the same content and of course, Load more will load the same content.This is my activity-loop.php: http://pastebin.com/GtuwNQW1
It’s exactly like the BP’s default theme, changed only<?php if ( bp_has_activities('action=activity_update' ) ) : ?>
Tried others ways, nothing seems to work getting a working filter only for updates loading all the content properly.Anyone have a suggestion or a possible solution with some custom code for this issue?
Using WP 3.5.1 and BP 1.7.1Also, @djpaul for the next release of BP, having an option to set the default type of activity to be shown it’s a must in my opinion, 🙂 or even on option to block some type of activity to be registered into database, saving some space, load and erasing some dull content to be displayed (was a plugin but it’s 2 years old and it’s not working)
Cheers!
I try to keep all my plugins updated and today saw that BP 1.7.1 was available. I upgraded and didn’t think twice. I check a few hours later and my Register page, Activity page and Members List pages (only BP pages I have on my site) are not working. The pages all appear, but the content section is completely blank. The login form, forums, news pages, everything else is fine.
I used vaultpress to restore to last nights backup and it works fine again so it’s definitely the update (I didn’t do anything else today)
Using latest version of WP installed in a directory on a Godaddy server. Using BP 1.7.1 but now back to 1.7. I have a few plugins but they never effected anything with 1.7. All are updated to latest versions: Akismet, bbpress, buddypress, bulletproof security, gD press attachments, jetpack, postloop, vaultpress, wangGuard, wordpress seo.
Using a custom theme too. I should have tried to switch back to the default theme sorry!
How do I change the Activity Streams Directory That shows as the page title to match
the actual page I have the directory on?ie. http://www.mysite.com/custom-page-name
Thanks!
Hi,
I’m having issues with the BP content not showing. The pages look great with the new BP 1.7, but there’s also Ning content imported, that is showing in the admin, but not at all on the front end for members, groups, forums. Also, register bounces back on itself – I’ve resaved permalinks to no avail.Using the latest WP, BP, Thesis 1.8.5 w.custom theme.
Activity: http://tinyurl.com/agcapfn
Register: http://tinyurl.com/atrkw5kThanks!
Hi
I am trying to make a shortcode so I can show last 5 items in activity feed in a widget on front page. My coding skill is proving to be insufficcient though, so I am turning to you guys for help.
Basically, I need the code to show last 5 items, with no “What’s new?” form, pagniation or anything else. Just those 5 items.
I hope my question is understandable and doable.
WordPress 3.5.1
BuddyPress: Version 1.7
bbPress: Version 2.2.4
BuddyPress Docs: Version 1.3.3Using with Genesis theme (custom child theme)
Genesis: Version 1.9.1Other plugins:
bbPress Genesis Extend: Version 0.8.4
BuddyPress Toolbar: Version 1.5.1—
Problems:
(1) I can’t seem to create any new groups.(2) Nothing shows up on the member list (should be 3 users).
(3) Nothing shows up on the activity stream (should be at least a couple new things).
(4) The new registration page is only asking for new username and password, but there are quite a few more fields set up under Dashboard > Users > Profile Fields.
(5) When logged in to forum, if I hover over top-right toolbar (to see profile, etc.), and if I click on one of those links (activity, profile, etc.), it says “page not found.”
(6) On the base forum page forums-base/ I see ALL the forums listed repeatedly down the page, over and over again. Also, I set this page up (by creating a new page called “forums-base”) and adding a shortcode [bbp-forum-index] and some descriptive text, but this is not what is showing.
Only 1 activity item is showing for logged out visitors, unless you hit “Load More” – I want the page to be full of activity stream items for logged out users to show how active it is. Just 1 item makes it look really inactive.
Below are the answers to @modemlooper ‘s questions.
1. Which version of WordPress are you running? 3.5.1, BP 1.7
2. Did you install WordPress as a directory or subdomain install? Directory.
3. If a directory install, is it in root or in a subdirectory? Root, BP is in subdirectory
4. Did you upgrade from a previous version of WordPress? If so, from which version? NO
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. YES
6. Which version of BP are you running? 1.7
7. Did you upgraded from a previous version of BP? If so, from which version? YES, 1.7 beta
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Not on the BP site.
9. Are you using the standard BuddyPress themes or customized themes? BP-default
10. Have you modified the core files in any way? NO
11. Do you have any custom functions in bp-custom.php? NO
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? NO
13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting? FatCow
15. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache
Topic: Custom Login w/Modal
Hey guys/gals I’m using buddypress and would like to create a custom login on the front page. I’ve add this code to my bp-custom:
define(‘BP_REGISTER_SLUG’, ‘sburegister’);
function sbu_restrict_access() {
global $bp, $bp_unfiltered_uri;
if (!is_user_logged_in() && (BP_MEMBERS_SLUG == $bp_unfiltered_uri[0]
|| BP_GROUPS_SLUG == $bp->current_component || BP_BLOGS_SLUG == $bp->current_component || BP_ACTIVITY_SLUG == $bp->current_component)) {bp_core_redirect(get_option(‘home’) . “/register”);
}
}add_action(‘wp’, ‘sbu_restrict_access’, 3);
And also created a front_page.php and in doing so I added .modal which is part of boostrap a js library to make the front page login pop out which works okay I think.
However, when some hits the ‘create an account’ link I wanted the registration form to pop out using the .modal() js but when I click the link it takes me to stepbusinessup.com/home then displays the registration page I want that to happen on the front page…Topic: Ajax buttons
Im using buddypress buttons outside the activity loops and want the buttons to work via the same ajax call as in the activity loop.
I.E: I have a custom favourite button on my custom post and want to save to favourites without the page reloading?
Thanks
I’m using the Whats New form on a custom page I created and I copied over this snippet from the activity page:http://pastebin.com/7Z9zVUdZ
It does a postback and reloads the page but it doesn’t actually write to the database, am I missing something?
Topic: Url problems and Url links
i have a problem, and i have tried so many ways to solve them… i even tried using that plugin redirection which solves half
i have a site which i ave hidden all the pages from users who are not logged in, which means you have to be logged in to view the site
but when sumone visits the site, and inputs http://www.site.com/activity-stream/ or http://www.site.com/members/(localhost/site/members/), it will show my memebers page.. or my activitystream page, which i dont want .. i want all of them to be redirected to my landingpage or index.php or frontpage.php
secondly
when a user tries or guesses a link .. for example… localhost/site/any-nonexist_page, it will take them to “sorry page was not found” which i dont want for both logged in users and logged out user
if there is a custom function that can redirect all this plus also have me create a custom error message….
i’ll be gratefull…
Topic: Heavily mod a members page
Hi, I’ve searched and searched and haven’t been able to find what I’m looking for for the last 2 weeks. Maybe I missed something vital altogether when first learning how to customize BP, but I’m also not well versed in PHP so I find things that look like Chinese to me.
I’m trying to either create one page that displays ALL the information of a persons member page without using tabs to navigate through their activity and info. I would like to have the information housed in the Profile tab to be displayed to the right of the persons avatar as well as having things like “edit avatar” linked under a persons photo. I was told at WPMU that it’s a matter of copy/paste div’s and whatnot yet that doesn’t seem to be the case. All I can find is do_action type things yet they don’t return as php line errors they just don’t show up. I’m pretty sure I’m missing a chunk of info that not a damn person is willing to help me with. How am I supposed to learn if I have to pay someone $40 an hour to teach me?Hi, I am using the code below found on this support page to have a new tab on the Member page. Inside it I want to display a certain post (I have the permalink) and to do that I need to transform the permalink into the post ID. In the WordPress Codex url_to_postid() does just that. But it doesn’t work on the Member page. It works like a charm everywhere else.
Surely I am doing something wrong.`
//Displaying a new tab
function my_test_setup_nav() {
global $bp;
bp_core_new_nav_item( array( ‘name’ => __( ‘test’ ), ‘slug’ => ‘test’, ‘parent_url’ => $bp->loggedin_user->domain . $bp->slug . ‘/’, ‘parent_slug’ => $bp->slug, ‘screen_function’ => ‘my_profile_page_function_to_show_screen’, ‘position’ => 80 ) );
bp_core_new_subnav_item( array( ‘name’ => __( ‘Home’ ), ‘slug’ => ‘test_sub’, ‘parent_url’ => $bp->loggedin_user->domain . $bp->slug . ‘/’, ‘parent_slug’ => $bp->slug, ‘parent_slug’ => $bp->slug, ‘screen_function’ => ‘my_profile_page_function_to_show_screen’, ‘position’ => 20, ‘item_css_id’ => ‘test_activity’ ) );
function my_profile_page_function_to_show_screen() {
//add title and content here – last is to call the members plugin.php template
add_action( ‘bp_template_title’, ‘my_profile_page_function_to_show_screen_title’ );
add_action( ‘bp_template_content’, ‘my_profile_page_function_to_show_screen_content’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}
function my_profile_page_function_to_show_screen_title() {
echo ‘something’;
}
function my_profile_page_function_to_show_screen_content() {//get the permalink
$url = get_bloginfo( url ).’/’.bp_get_displayed_user_username().’/post-name/’ ;//transform the permalink in ID and display post
$my_postid = url_to_postid( $url );
$content_post = get_post($my_postid);
$content = $content_post->post_content;
$content = apply_filters(‘the_content’, $content);
$content = str_replace(‘]]>’, ‘]]>’, $content);
echo $content;
}
}
add_action( ‘bp_setup_nav’, ‘my_test_setup_nav’ );`Everything works, I’ve tested it, the problem is with the url_to_postid() function. I am not using custom posts.
Thank you.
Hi there, Bit of an odd question, this…
We have a website being set up that uses BuddyPress, Buddypress Group Email Subscription & a customised plugin to allow users to create a post with some custom fields (courtesy of Gravity Forms) & for all subscribed users to receive an email in digest form or if they prefer, an email whenever someone posts to the group they are subscribed to.
The functionality is all good for the digests etc. However, the users want to be able to see all the fields in their post – custom fields, the lot.
I have created a function that builds the email content using SQL. I tested using a page & passing $post_id as an integer.
However, when trying to add the functionality to the email-side of things, the point at which the post is added to the activity stream didn’t pull the custom fields from wp_postmeta. the data from wp_posts is fine, just nothing where the data from wp_postmeta should be.
I identified that it would work flawlessly if I tried to get the PREVIOUS posts content+metadata (I just did $post_id– as a test: When I submitted a post I got the previous posts’ data, metadata & all as expected.)
I can only conclude that wp_postmeta does have the relevant data in it when the post is added to the activity stream.
The following sequence of events is occurring when someone hits the “Submit” button when posting:
1. wp_posts is updated
2. post added to activity stream
3. wp_postmeta is updatedIf I could change the sequence of this, I’d be very happy!
Right now I’m only really focusing on the “All Email” aspect.@becskr kindly suggested that I should look in bp-subscription-activity-digest.php line 444 & add a call to my functionality there using a plugin, but when I just change variable $message to “TEST” (just to see if I can affect the email content), the content of the email does not change.
I’m just wondering if ALL Email is handled by a different function, as it sends a different type of email out, compared to a digest.
Is there a point at which the email is generated that I may be able to intercept & add my own little function before the email is sent? Does anyone know where that function is located?
Any advice appreciated, as always!
Version Numbers:
WordPress 3.5, BuddyPress 1.6.4, Group Email Subscription 3.3.1Topic: Profile as default subtab
Hi folks!
I’m new to Buddypress, so my apologies for any noob-ish-ness on my part. Trying to troubleshoot a problem and seeking some guidance on what’s going wrong.
I’m looking to make the Profile tab the default when opening up a member’s page, rather than their activity feed. I’d also like to make the Profile tab come before the Activity tab in the submenu list, but that’s as not crucial.
Based on some other threads I found here, I’ve created a “bp-custom.php” file, stuck that in the root of the Buddypress plugin folder. Right now bp-custom.php looks like this:
`
bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘forum’][‘position’] = 30;
$bp->bp_nav[‘posts’][‘position’] = 40;
$bp->bp_nav[‘activity’][‘position’] = 20;
$bp->bp_nav[‘blogs’][‘position’] = 60;
$bp->bp_nav[‘friends’][‘position’] = 70;
$bp->bp_nav[‘messages’][‘position’] = 80;
$bp->bp_nav[‘groups’][‘position’] = 50;
$bp->bp_nav[‘settings’][‘position’] = 90;
}add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 );
add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’, 9 );
?>
`However that hasn’t accomplished either of the things I’m attempting to do. The Activity tab still appears when you go to a member’s page, and is listed before Profile in the submenu.
I’m using Buddypress 1.6.4, and the default Buddypress theme (1.6.4), on WordPress 3.5.1.
I have the following plugins installed and active:
- BP Labs 1.3
- BP User Profile Map 1.4.1
- Breadcrumbs Everywhere 1.4
- Contact Form 7 3.3.3
- Really Simple Captcha 1.5
- WP Custom Admin Bar 1.3.5
If there’s a step I’ve missed, I’d really appreciate letting me know! Any help troubleshooting what the problems is would also be appreciated.
Thanks!
Hello all,
I have been trying to setup a customized network for a few months now and finally decided to go with BuddyPress but I am having a few issues and hoping someone can help.
I am using:
Buddypress 1.7
Wordpress Multisite 3.5.1
BP Multi NetworkI am wanting to do the following:
-Have profile tabs be Network wide (Sites, Friends, Messages, Avatars, Settings). Example would be if someone owns site1.mainsite.com is would show under the Sites tab no matter if they are on the main site profile page or on a subdomain.mainsite.com
-Have Activity page and Members page show all Activity and Members network wide ONLY on the main domain /activity/ and /members/ page
-Show site specific Activity and Members on that specific subdomain
I know right now with BP Multi Network it allows for each subdomain to have their own Members page, Activity page, Friends, Messages, Avatars, etc..
Is there anyway to accomplish this? I hope this makes sense.
Thanks in advance!
Hello,
I am trying to translate the 3 pages but when i click view page i get a 404 and the member page is recreated in wp-admin. My newly created page is an autosaved page.
I am using plugin 1.7beta and i tried the last part of
http://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/Any info?