Forum Replies Created
-
Yeah, that is how I discovered the temporary fix for it. I realize editing core is a no-no but I was at it for a few days trying to figure it out! Thanks for looking into it, @djpaul!
I’ve resolved this and will leave a fix here in case anyone else runs into this issue:
bp_blogs_get_subdomain_base() is a deprecated function, so I changed it in buddypress/bp-blogs/bp-blogs-template.php from:
bp_blogs_get_subdomain_base()
to:
bp_signup_get_subdomain_base
In reply to: An option to not allow members to post in groupOh yeah, I totally understand and have blocked many successfully, but once and a while a few get in…this happened a few days ago. 😉
In reply to: An option to not allow members to post in groupYeah, the use case for me is because I have a default group that everyone joins automatically. What has happened is when a spammer joins, they’ve been posting in this default group right away. Yet I need people to join this group!
In reply to: Post Update: Unable to See the buddypress ActivityExcellent, I appreciate the hard work.
In reply to: Post Update: Unable to See the buddypress ActivityYes, indeed…it works perfectly now. Thank you very, very much!
In reply to: Post Update: Unable to See the buddypress ActivityIt says:
int(60) string(2) “60”
In reply to: Post Update: Unable to See the buddypress ActivityYes, I will try that now.
In reply to: Post Update: Unable to See the buddypress ActivityHi, thank you for trying to help.
This is for all users, it isn’t specific to a particular member type or activity item either.
A member goes to the activity feed, he wants to click on an activity item, the item redirects to the user’s own activity profile page with a bar across the top (the buddypress notification,) stating, “You do not have access to this activity.”
I am not using an object cache plugin.
In reply to: Post Update: Unable to See the buddypress ActivityWhen clicking on an activity link (the time-stamp link), it now doesn’t bring you to the individual activity. It brings you back to your own profile with a message that says, “You do not have access to this activity.”
In reply to: Post Update: Unable to See the buddypress ActivityIs there any other solution besides rolling back. My theme is now updated to accommodate the new BudyPress and this would cause another problem.
In reply to: Duplicate cover photos Buddypress 2.6Ah, thank you very much.
In reply to: Show the faces of users who liked an ActivityWell it looks like I have to pay to ask anything
In reply to: Bump Activity to top Plugin@mrgiblets I agree. It is definitely a must-have in a social network.
In reply to: Bump Activity to top Plugin@haagsekak I’m sorry, no I didn’t find a solution. Each time I try to modify the plugin’s date either via a new filter/function it only displays one date, really frustrating!
In reply to: Bump Activity to top PluginIt seems the author no longer offers support for this plugin, and I have been unable to add a function to change the format still.
I tried this:
function format_activity_date() { $activityDate=bp_get_activity_date_recorded(); // Get GMT offset from root blog $root_blog_offset = get_blog_option( BP_ROOT_BLOG, 'gmt_offset' ); // Calculate offset time $time_offset = $time + ( $root_blog_offset * 3600 ); // Format the time using the offset and return it; date-i18n retrieves the date in localized format return '' . date_i18n("l, M j, Y, g:ia T", strtotime($activityDate) + $time_offset) . ''; } add_filter('etivite_bp_activity_bump_comment_posted', 'format_activity_date');But it still is showing only one date rather than “user1 posted an update:” updated by user2:”
Any ideas @henrywright or anyone would be so appreciated.
In reply to: Bump Activity to top Plugin@henrywright thank you for pointing me in the right direction by explaining the filtering, etc. I may have enough to go on, now. No, I haven’t tried contacting the author, that’s an idea, too. Thanks again.
In reply to: Disable Buddypress Sitewide Activity RSS@bphelp Thanks, unfortunately that didn’t work either.
For anyone wondering. I found a plugin that finally blocks the BP feeds. It is for wordpress but did the trick. The plugin is here:
In reply to: Disable Buddypress Sitewide Activity RSS@aces Thanks much, that was a great idea. Unfortunately it didn’t work. There has got to be a way to at least make these feeds private. If anyone knows, please let me know.
In reply to: Show favourite count after each activity?So I answered my own question by just experimenting. I figure I go ahead and let everyone who is interested in this know how I got everything working. I used the following code and placed it in my bp-custom.php
function my_favorite_count() { $my_fav_count = bp_activity_get_meta( bp_get_activity_id(), 'favorite_count' ); if ($my_fav_count >= 1) : { if (is_user_logged_in()) : { echo '<span class="fav-count">('.$my_fav_count.')</span>'; } endif; } endif; } add_action( 'bp_activity_entry_meta', 'my_favorite_count' );I added a span class in this code as you can see, and that is how I managed to display the count directly next to favorites button (or link).
I added this to my css:
.fav-count { margin-left: -15px !important; }You may have to play with it to get the margin just right, hope this helps someone.
In reply to: Show favourite count after each activity?Hey there, I know this is an old post but the code actually works in BP 1.8. The only minor issue is that the count displays to the far right of the actual favorite link. Any ideas on how to get this next to Favorites like this: Favorite(10) instead of: Favorite delete (10) would be wayy appreciated!
In reply to: [Resolved] Register Page as Homepage redirect issueThanks very much, @henrywright-1 that was exactly what I needed, worked like a treat 😉
In reply to: Making Buddypress Private.@synaptic There is a great tutorial on this here:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
In reply to: [Resolved] How to redirect bp users to activity pageGot it working now, thanks anyway. In case anyone is wondering how, I changed the log in to /wp-admin instead of /wp-login.php in the user email when a user creates a new site and this page will not redirect anyone to a buddypress page.
In reply to: [Resolved] How to redirect bp users to activity pageMy site is not yet live, @bphelp I am using a post page as homepage. I don’t know if this will help but as I stated earlier, my site is an MU and I am using sub-domains. So when a user logs in from theirsitename.mysite.com/wp-login.php with any redirect codes I’m using, they too are redirected to a buddypress page which is confusing for the user since they are logging in to edit their site. I basically just need a condition that works properly where I can add if_user_is_admin DON’T redirect or if_user_is on subdomain login page don’t redirect. 😉