Hi
I’d like to create a landing homepage for guests or users who are not logged-in. However when they do login, the homepage then becomes the standard activity stream.
I’ve had a thorough search around the forums, and found this: http://buddypress.org/forums/topic/how-to-have-a-landing-page-for-guests (but there are no instructions sadly)
Any ideas how to do this?
I have similar issues, and I have been pondering possible reasons this occurs.
I take the time to copy domain names that spammers com from, and add them to the mu-options as domains that are not allowed to create an account. I find that even after doing this, sometimes I get several more members with those email addys.. sometimes not.. the past week has seen a lot.
There was a time a few months ago when it was a known bug for this, but I am guessing it’s been fixed in mu by now – (I’m using 2.92 I think).
This is what I am thinking MAY be happening, and I’d love a way to update MU to close this loophole, if indeed it exists.
I am thinking that the spammers actually created a dozen or more accounts, and only activated one at a time. I am thinking that perhaps by the time I add the bad domain to the list of no-signups-allowed, they have already created several others – and simply activate them later.
If this is true, I would love for MU / Buddypress to do a check, when a member actually does this activation, and tell them sorry – the email domain is now on the bad list, and they can not activate.
Not sure if this is true, just a thought.
I just posted a bug report to Trac for this, along with a screenshot illustrating the errors: http://trac.buddypress.org/ticket/2250
I wanted to post it here too in case it is something I can fix as opposed to something that BP needs to fix. Not sure what could be causing this error, and I’ve looked all over and can’t find other reports of it.
Something to do with Ajax perhaps?
Since I’m spending more time than I’d like in the Profile Admin, I added a date field to test your issue. It worked properly for me. I’m using your same current versions of BP and WP. If you got a minute, let me know if this situation below exists for you. Thanks:
https://buddypress.org/forums/topic/blank-description-field-in-profile-admin-cant-edit
you are loosing the Mystique body class so anything you set in admin for site layout is being lost.
try something like
function fix_body_class() {
return false;
}
add_filter( 'bp_get_the_body_class', 'fix_body_class', 10, 2 );
I solved that issue, but now the sidebar on my homepage is extended and I can’t change it. It only happens on the homepage.
$activity_id = bp_activity_post_update( array( ‘content’ => $content, ‘user_id’ => $user_id ) );
$activity_id = groups_post_update( array( ‘content’ => $content, ‘user_id’ => $user_id, ‘group_id’ => $group_id ) );
The functions above will post an update by the user on their profile, or in a group. It will return the activity ID which you can use to attach a comment:
$comment_id = bp_activity_new_comment( array( ‘activity_id’ => $activity_id, ‘content’ => $content, ‘user_id’ => $user_id, ‘parent_id’ => [optional] ) );
You could post a reply to that comment by using the same function and passing the $comment_id as the parent_id param.
this function will return the link to the last post for a given topic (inside the loop) (where 15 is the default posts per_page setting)
bp_forum_extras_topic_last_post_link( 15 )
I love that function, especially when I remember to echo it… 
Actually though, I meant, is there a way to link to the last active post In the Forum Index (i.e. outside of the forum loop)? So, for each table row, list the forum name, then list the “freshest” post in one of the next columns?
Chris – your latest update says compatible with standard wordpress but I have WordPress 2.9.2 and BP 1.2.3 and can’t find your plugin settings screen in my dashboard after activating. Can you tell me where to look?
I am trying to install BuddyPress on the Mystique theme. I am using the compatibility plugin. However, I can’t find what I need to edit in each of the files to make the BuddyPress pages display properly. Can anyone help me? Thanks.
http://www.itsalltech.com
The buttons do need a slight change for my bbcode plugin.
I’ll add this to the next update.
Question: can you think of an easy way to include a link to the last active post, say, in a final column? I looked at the code last night didn’t get that far.
this function will return the link to the last post for a given topic (inside the loop) (where 15 is the default posts per_page setting)
bp_forum_extras_topic_last_post_link( 15 )
I dont know about 3 tiers.. Works with my cleanroar theme and BP with two tiers.. I guess its dependent on WP pages. if you can set a page as a child of a child (a step child lol) then prolly.. I have never needed to go that deep.
Hi @etiviti – I stand corrected 
The buttons do need a slight change for my bbcode plugin.
under lists it needs to be
echo "BBcodeButtons.push(new BBcodeButton('ed_ul','UL','[ul]','[/ul]','u','','unordered list')); BBcodeButtons.push(new BBcodeButton('ed_ol','OL','[ol]','[/ol]','o','','ordered list')); BBcodeButtons.push(new BBcodeButton('ed_li','LI','[li]','[/li]','l','','list item'));";
as my plugin handles lists with the correct bbcode codes.
Just might be worth putting this in a future update (a statement if bbcode short-codes enabled use that for lists, else use the original items)
Cheers! its looking good.
bOing
I recently made a buddypress and I’m having trouble accepting friendship requests. It shows up in my notifications, but there is no “accept” button. If I click it it takes me to my blog page. I also tried going Friends> Requests, but the result is the same. Is there a setting I need to fix or change?
MJParticipant
Hello everyone.
I am looking for an events calendar for the buddypress groups. features such as.
-integration with the activities.
– ability for users to post events
-calendar / list showing upcoming events in the group.
– ability for group admins to remove events.
thanks , anyone have one?
hi try check on the cubepoints plugin and enhance it to work with bp, would very much like to have it on my site, user points..
or check this forum topic:
https://buddypress.org/forums/topic/cubepoints-and-buddypress-intregration?replies=10#post-44910
i think it should help
This post on the problem of parallel forum/activity stream comment threads got me thinking about this problem:
A lot of non-BP people have trouble understanding that the activity stream is separate from actual activity, per se. To prevent confusion, I propose that the comment stream “delete” link be renamed to “remove” (and have an “tooltip” that says “remove from activity stream”).
I’m planning to edit my core files to accomplish this, but I would suggest this might be something to consider.
re: forum index
etiviti (rich!), I spiffed up the forum index by adding Group/Forum avatars beside the forum title/description (see code below)
Question: can you think of an easy way to include a link to the last active post, say, in a final column? I looked at the code last night didn’t get that far.
—
Add Avatar to BP Forum Extras – Forum Index
Under:
<td class=”num td-title”>
Add:
<div class=”item-avatar”>
<?php $width=50;$height=50;$type=’thumb’; echo bp_core_fetch_avatar( array( ‘item_id’ => $listing->id, ‘object’ => ‘group’, ‘type’ => $type, ‘avatar_dir’ => ‘group-avatars’, ‘width’ => $width, ‘height’ => $height ) ) ?>
</div>
Here’s how I handle it for my BuddyPress Privacy Component. I have a loader file called bp-authz-loader.php. It contains all the necessary plugin metadata at the top of the file. After the metadata, I have this as the first function:
/**
* BPAz_init()
*
* Initialize basic constants and make sure BuddyPress
* is installed and activated. If true, then allow for
* Privacy Component to finish loading.
*
* @since 0.4
*/
function BPAz_init() {
/* Define the component's parent folder name */
define( 'BP_AUTHZ_PLUGIN_NAME', 'bp-authz' );
/* Define component's directory and URL Paths */
define( 'BP_AUTHZ_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . BP_AUTHZ_PLUGIN_NAME );
define( 'BP_AUTHZ_PLUGIN_URL', WP_PLUGIN_URL . '/' . BP_AUTHZ_PLUGIN_NAME );
/* Define the directory where user settings' functions reside */
define( 'BP_AUTHZ_SETTINGS', BP_AUTHZ_PLUGIN_DIR . '/' . 'settings' );
/* BuddyPress is installed and activated, finish initialization and go! */
require_once( BP_AUTHZ_PLUGIN_DIR . '/bp-authz-core.php' );
}
add_action( 'bp_init', 'BPAz_init' );
I have two more functions in this file, one to register the plugin upon activation, the other to register it upon deactivation. But that is all. Just these three functions.
If BuddyPress is installed and activated, BPAz_init() will fire, resulting in the rest of my component being activated when bp-authz-core.php is loaded. I’ve tested it and it works as expected without causing BP to crash. In other words, if BP is not activated but my plugin is activated, nothing happens. This is what you want.
Thanks for that bug report, will fix it up.
Hi Jozik,
is your Plugin actually already working with the latest BP ?
I did check your website, but it seems it is not online anymore…..
Many thanks,
Erich
I have the activity component (Activity Streams) disabled and get this error.
Fatal error: Call to undefined function bp_get_activity_id() in /home/wazaalli/public_html/edu/wp-content/plugins/bp-oembed/bp-oembed.php on line 63
When I have activity active it works fine. But I don’t want an activity wall.
I took out bp-activity from plugins and bp-activity.php but still the same. All the errors point to activity.
it is on there, when you enable the shortcode filter – under the admin settings there is a checkbox to enable the buttons.