Search Results for 'buddypress'
-
Search Results
-
Hi people,
I’m trying to solve an issue between a plugin of mines and BuddyPress, I would be glad if somebody, I wish @boonebgorges, colud give me some advice.
So here’s the problem. I wrote a function to set an option for an alternative front_page if the user is not logged in. It works pretty good on WordPress, and here is how:
function sgrwp14theme_guests_homepage( $wp ) { // Special case: when a BuddyPress directory (eg example.com/members) // is set to be the front page, BuddyPress will force the page and this // will not work. We have to add a bp_core_get_directory_page_ids filter. $page = get_post( get_option( 'guests_page_on_front' ) ); if ( $page ) { if ( ! is_user_logged_in() && empty( $wp->query_vars ) ) $wp->query_vars['pagename'] = $page->post_name; } } add_action( 'parse_request', 'sgrwp14theme_guests_homepage' );As I wrote in the code comment, BuddyPress intercepts this and force the front_page if the original one was a BP Directory, so my previous code doesn’t work anymore in this case.
So I had a trick to make it work. Intercepting the
bp_core_get_directory_page_ids, unsetting the page id for the front_page component, in this way:function guests_bp_directory_page_ids( $page_ids ) { if ( ! is_user_logged_in() ) { if ( 'page' == get_option( 'show_on_front' ) && $page_on_front = (int) get_option( 'page_on_front' ) ) $front_page_component = array_search( $page_on_front, $page_ids ); if ( false !== $front_page_component ) // Disattivo la pagina in questione. $page_ids[$front_page_component] = 0; } return $page_ids; } add_filter( 'bp_core_get_directory_page_ids', 'guests_bp_directory_page_ids' );Anyway it doesn’t really work, because my original (for logged in users) front page is activity, and the bp_core_get_directory_page_ids filter I wrote made a behavior I don’t really want: the user home page will became the profile one and not the activity if the user is not logged in (www.buddypress.org/users/sgr33n/ -> profile page, http://www.buddypress.org/users/sgr33n/activity/ -> activity page).
Is there an alternative way to make this work?
Thanks 🙂
Hello,
I just installed the Buddypress update. It said 100% compatible according to author. I wish I had just left it alone. All my 200+ Groups show 0 members but when you click on the Members Tab within the Group they show. Also I am unable to set the email notifications for a Group to All Email under the Group Settings. This effectively renders my site useless. Please help! I am running the latest WordPress 3.8.1.
Topic: Profiles in profile
Hi,
We are going to create a platform to manage your pets (cats and dogs).
So we thought that Buddypress is the best solution to achieve this.But there are a few problems:
– people have to create their own profile and have to be able to add pets to their profile.For example my profile contains:
– my name, first name, age, avatar, …
– pet 1 (cat): name, age, gender, picture
– pet 2 (cat): name, age, gender, picture
– pet 3 (dog): name, age, gender, pictureIs there a good way to achieve this with plugins or do we have to write our own custom code?
I have experience with WordPress, but Buddypress is kinda new for me.Thanks in advance,
Dennis
Topic: redirecting to old link,
I installed buddypress a week ago with the members page being http://www.swedfit.se/medlemmar-2 but for a couple of days ago i changed it to http://www.swedfit.se/medlem and removed the page medlemmar-2. The problem now is that my Admin buddy press profil is still linking to http://www.swedfit.se/medlemmar-2/…
All other profiles made after the change are working fine!WP:3.8.1
BP:1.9.2
Site: hyleysteatox.com
Theme: MayaShop 2.5.3Hi,
It appears that the theme I am using, MayaShop, is not compatible with BuddyPress. I have read a number of support forms regarding this issue and have hit a dead-end. Any advice would be tremendously appreciated.
The problem I am experiencing:
The member, register, activate, cart, and checkout pages (possibly other pages as well) are blank.So far I have successfully set up a child theme and created copy of the page.php, which I have renamed to buddypress.php. What would be the next step?
Thank you,
Alex
Topic: Spam Overload
Hi Everyone! I really could use some help. I have been working on setting up a forum. I have installed buddypress and bbpress. I have been getting a ton of FAKE users registering on my site which has me to almost 40,000 “user”. My website has been shut down before because of the registration overload. I have installed and activated a captcha but I am obviously doing something wrong. When I go to the registration page myself I do not see it.
I also tried deleting these “user” with a bulk delete but it states that the size is too large to delete.
This has been extremely frustrating and I really hope that someone can point me in the right direction.Hello there, so I am pretty new to WordPress still but I am trying to set up a website that allows users to post their links into certain categories. It would have a kinda review system or something attached to the side of the links, but I’m not sure if that would be part of BuddyPress or not. I think BuddyPress can do this though, but if not, let me know! If it can, would someone mind sharing how to do so? I would greatly appreciate it. Thanks! Also, I drew up a basic idea of what I’m aiming for in Microsoft paint lol. http://i.imgur.com/NxqEZWj.png
Topic: Embedding not working
WP – 3.8.1 BP – 1.9.2 Plugins – BuddyPress
I’m using BP 1.9.2 with the Roots.io theme,once the complete sign up button clicked the page just reloads. I’ve installed everything in a localhost sub dir and my sub dir folder starts with a lowercase letter. Any ideas on how to fix this issue?
How to have Privacy Settings enabled ?
I am trying this with a multi-user site using latest WordPress 3.9 Beta 3 +BuddyPress 2.0 Beta 1.Basically what I want is the most basic and most important feature of any social net (FB etc) or any social net script ( Elgg, Drupal Commons etc) whenever any user posts a blog or photo or anything he/she should be able to set the post for any of the following :
Public / Friends only/ Myself only
Added advantage will be if “Friends” can be grouped into various entities like co-workers | batchmates | etcThe user should be also able to make his entire profile private / friends only / public etc and be able to delete or make friends only activity stream items as wanted.
Okay, I’ve been searching all over for an answer. I just can’t seem to ask the question the right way.
I’ve created a plugin to that simply loads data onto the profile nav.
using.. (Yes, I know that small piece of code isn’t going to do anything)
define('BP_DEFAULT_COMPONENT','nav-name');
function my_bp_nav_adder()
{
bp_core_new_nav_item(
array(
'name' => __('NAME', 'buddypress'),
'slug' => 'SLUT',
'position' => 10,
'show_for_displayed_user' => true,
'screen_function' => 'my_hidden_truths',
'item_css_id' => 'all-conversations',
'default_subnav_slug' => false
));
print_r($wp_filter);
}function blah_blah_blah() {
add_action( 'bp_template_title', 'truth_wall_header_title' );
add_action( 'bp_template_content', 'truth_wall_content' );
bp_core_load_template( bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ));****
}
Right where the *’s are.. I want to be able to change the template to a different dir..
In other words, some plugins I want them to be able to have the member-header.php TRUE,
and some other plugins I want them to be FALSE.I’m not really sure on how to explain this.
If you guys need me to explain more just let me know. I hope I was able to explain it well enough.
Thank you in advance. – Mike.