-
shanebp started the forum topic Activity, Profile, Messages etc Tabs in the group How-To and Troubleshooting: 13 years, 8 months ago
A user is logged in and on their own profile page.
Where are the Activity, Profile, Messages etc Tabs generated ?
I need to add an anchor to the links in some of those tabs. -
shanebp started the forum topic who’s online avatars in sidebar – bp_has_members() type=online – increase time? in the group How-To and Troubleshooting: 13 years, 8 months ago
I need to know how to increase the time period during which avatars show up in the “Who’s Online” sidebar. If a user is online but inactive, their avatar disappears from the sidebar after a few minutes. We want more avatars to appear there even though the user might be inactive but still have the […]
-
shanebp posted on the forum topic Find blog_id in the group How-To and Troubleshooting: 13 years, 8 months ago
global $blog_id; echo $blog_id; Or In WordPress 3.1, your $blog_id can be found by navigating to the “Network Admin > Sites” page and hovering over the blog in question. You should see a link that resembles this: http://example.com/wp-admin/network/site-info.php?id=1 Your $blog_id, in this instance, would be 1. For WordPress 3.0, the $blog_id can…[Read more]
-
shanebp posted an update 13 years, 8 months ago
@cindyclemens global $blog_id;
echo $blog_id; -
shanebp posted on the forum topic Date in profile is broken in latest BP release in the group How-To and Troubleshooting: 13 years, 8 months ago
Set your time to UTC or UTC+.
If you use the “pick a city in your timezone”, all birthdays will be off by one day in Public Profile. -
shanebp posted on the forum topic messages – Select, Mark As – links do not work in the group How-To and Troubleshooting: 13 years, 9 months ago
The pack is installed.
Disable BP Template Pack JS / AJAX is checked.
Don’t know why, perhaps some conflict, will ask other devs.
Thanks for the pointer. -
shanebp posted on the forum topic messages – Select, Mark As – links do not work in the group How-To and Troubleshooting: 13 years, 9 months ago
Fixed, so far, by doing this: Created a directory called _inc under themes/my theme and copied in ajax.php and global.js from bp-default/_inc Put this in your theme/functions.php /* Load the AJAX functions for the theme */ require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ ); /* Load the javascript for the theme */ wp_enqueue_script( ‘dtheme-ajax-js’,…[Read more]
-
shanebp started the forum topic messages – Select, Mark As – links do not work in the group How-To and Troubleshooting: 13 years, 9 months ago
The row of links and a form element…
“Select: Mark as Read Mark as Unread Delete Selected”…do not work.
The ‘X’ link on the right side will delete the message.
Any hints on why the row of form elements do not work?
The links are all … /messages/#Using WP 3.0.4 and BP 1.2.7
-
shanebp posted on the forum topic Buddyvents 1.2.2 in the group Third Party Components & Plugins: 13 years, 9 months ago
On Events -> Events Map (which shows the global map) … Our layout uses a narrower column than most, so the Events Map defaults to a view centered on Africa and zoomed in so that North America is barely visible. How can we adjust the map to zoom it out one notch further ? So […]
-
shanebp joined the group Third Party Components & Plugins 13 years, 9 months ago
-
shanebp posted on the forum topic Every time I create an account or login, my site flips over to the beta site – how can this happen? in the group How-To and Troubleshooting: 13 years, 9 months ago
This always works for me.
http://interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/also – change the name of your beta folder so that links going there are easier to see
-
shanebp posted on the forum topic Start Page for not logged in visitors in the group How-To and Troubleshooting: 13 years, 9 months ago
Try this…
Create bp-custom.php, it will go in /wp-content/plugins
Add this code to it, change “/login-or-join” to whatever your page name is :function login_intercepts(){
[Read more]
/* if not logged in, user is sent to another page */
if ( !is_user_logged_in() ) {
bp_core_redirect( get_option('siteurl')."/login-or-join" );
}
}
add_action( 'wp',… -
shanebp posted on the forum topic How to disable Gravatar completely? in the group How-To and Troubleshooting: 13 years, 9 months ago
Thank you both very much for this code – very helpful.
And it is disturbing that there is no kill-switch for gravatars in the browser admin.
-
shanebp posted on the forum topic Add Total Number of Images to Tab in the group BuddyPress Media: 13 years, 9 months ago
This works… In bp-album/includes/bp-album-core.php … In function bp_album_setup_nav() … It seems I have to make a custom query. (can’t pull the image count from $pictures_template until the tab is clicked on) ` global $bp,$pictures_template,$wpdb; $user_id = $bp->displayed_user->id; $pic_count = $wpdb->get_var($wpdb->prepare(“SELECT COUNT(*)…[Read more]
-
shanebp started the forum topic Add Total Number of Images to Tab in the group BuddyPress Media: 13 years, 9 months ago
Any hints on how to add the total number of images to the navigation tag on a profile page?
So the tab might read “Album (22)
Just like Friends, Followers, etc. -
shanebp posted on the forum topic Host Gator vs. GoDaddy in the group BuddyPress Hosting: 13 years, 9 months ago
Godaddy support is truly awful. For anything complicate, you ask about apples, they’ll answer about oranges. Good support is worth a lot, imo. Re Amazon’s AWS – it can help but costly. Although why would you want it for a ‘local’ site like Sadie’s ? It’s too bad that Total Cache doesn’t support ‘ghetto’ cdn […]
-
shanebp joined the group BuddyPress Hosting 13 years, 9 months ago
-
shanebp posted on the forum topic Remove Following & Followers from Profile Nav (bp_setup_nav) in the group How-To and Troubleshooting: 13 years, 9 months ago
There is probably a better way to do this, but this works:
In bp-follow.php, remove or comment out the action calls to ‘bp_follow_setup_nav’ at around Line 80.
-
shanebp started the forum topic Remove Following & Followers from Profile Nav (bp_setup_nav) in the group How-To and Troubleshooting: 13 years, 9 months ago
I need to remove “Following” and “Followers” from the Profile nav. I can remove other links using the function below in bp-custom.php But Follow links still appear. I’ve tried various priority values. Perhaps I am calling the wrong tag in the add_action ? ` function sc_remove_nav_tabs() { /* works great */ bp_core_remove_nav_item( ‘events’ );…[Read more]
-
shanebp started the forum topic User Error Messages – Flush? in the group How-To and Troubleshooting: 13 years, 9 months ago
This issue refers to user feedback and error messages – not the social messaging system. Example: “Your upload failed, please try again. Error was: No file was uploaded” Anyone else notice that the error messages are not removed upon the first click away from the ‘current’ page. You have to nav to a second page […]
- Load More
@shanebp
Active 1 day ago