switch_to_blog( ) content disappears after load
switch_to_blog( ) content disappears after load
switch_to_blog( ) content disappears after load
Currently the bp_has_blogs() loop does not allow an exclude param to remove certain blogs from the listing. By default all public blogs are listed. You can try a simple hack (but the pagination will be off) http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/excluding-certain-blogs-from-bp_has_blogs-function-for-12/ Or you can filter on bp_has_blogs and loop over the array and unset (+ recount) prior to being … Read more
Custom post types seem the best match for what you want: you get the permalinks, comments, … You only need one of the many rating plugins as an extra. If the users have accounts you could try making them authors, it could work since they exist in the users table so the posts table can … Read more
why not contact the company who developed the theme? – they provide support for their customers. http://premium.wpmudev.org/project/buddypress-blogsmu-theme http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/what-necessary-changes-should-be-made-to-bp-themes-for-bp-1-2-6/ Maybe the theme was not tested/compatible with bp1.2.6 yet or have issued an update since.
Kit, I’d say that if you make extensive use of Exec-PHP what you really need is a developer that can make stuff happen without it. In reality, that plugin is a crutch that is easily replaced with proper widgets, plugins and template code. So, the best advice I can give you about securing that plugin … Read more
UPDATE try this function bp_auto_accept_friend_request( $friendship_id, $friendship_initiator_id, $friendship_friend_id ) { $friendship_status = BP_Friends_Friendship::check_is_friend( $friendship_initiator_id, $friendship_friend_id ); if ( ‘not_friends’ == $friendship_status ) { if ( is_user_expert( $friendship_friend_id ) ) { // force add friends_add_friend( $friendship_initiator_id, $friendship_friend_id, true ); friends_accept_friendship( $friendship_id ); } } } add_action(‘friends_friendship_requested’, ‘bp_auto_accept_friend_request’, 200, 3); this way we only call friends_add_friend function … Read more
You’ll have to install the entire plugin, but you can turn off the portions you don’t want to use. I’ve done that with one my sites and the users just have extended profiles.
Finally i did find an hack for this problem Make the field fullname, confirm password as display:none Bind the data from username to fullname and from password to confirm password For eg ( a simple binding example ) <html> <head> <script src=”http://code.jquery.com/jquery-latest.js”></script> <script> $(document).ready(function(){ $(‘#target’).bind(‘keyup keypress blur’, function() { $(‘#target1’).val($(this).val()); }); }); </script> </head> <body> … Read more
buddypress users are actually wordpress users, there is no buddypress user separate from a wordpress user. But maybe add_action(‘delete_user’, ‘myScript’); might be helpful which runs before the user is deleted. Buddypress itself uses this action, for example: add_action( ‘delete_user’, ‘bp_core_remove_data’ );
Try putting this snippit below the get_header section: <?php global $bp; if(empty($bp->signup->step)) $bp->signup->step=’request-details’; ?>