Search Results for 'wordpress'
-
AuthorSearch Results
-
June 24, 2013 at 8:59 pm #166782
mgkoller
ParticipantThe dashboard > activity is correctly displaying after applying trishasala’s patch (4573.patch)
https://buddypress.trac.wordpress.org/ticket/4573#comment:19
June 24, 2013 at 5:47 pm #166770In reply to: Untraceable spam user
Ben Hansen
Participantjust blank space huh? never seen that before not sure how its even possible unless as i said before your site was hacked and even then I’m still not sure how it’s possible. as far as i know every wordpress user account must be associated with an email address.
June 24, 2013 at 5:09 pm #166762In reply to: Member waiting list (beta invites)
Asynaptic
ParticipantI’m opening this up again in the hopes that someone who knows something will see it this time:
I’m looking for a plugin that would allow me to put up a page like this one:
http://moz.com/invite/signupand to collect name/email from those interested in joining as members for my site
I do NOT want to block off the site from them if they are not members or haven’t joined yet, like so many beta plugins do. For example:
I want them to be able to find the site, read it, etc. but not to be able to signup, except for through an invitation request.
I know there is a plugin called invite anyone, but this is to allow existing users to invite friends to join. I want to be able to accept invitation requests from the public.
June 24, 2013 at 4:53 pm #166759In reply to: Getting the large avatar
Henry
MemberI’ve just raised a BP Trac ticket for this
https://buddypress.trac.wordpress.org/ticket/5074June 24, 2013 at 4:36 pm #166754In reply to: Getting the large avatar
Henry
MemberBuddyPress seems to attempt to filter get_avatar() – see bp_core_fetch_avatar_filter(). I did bring this issue up a while ago at WordPress Trac but the call was closed.
https://core.trac.wordpress.org/ticket/24596
Wonder if anyone thinks it’s worthy of a BP Trac ticket?
June 24, 2013 at 4:05 pm #166748In reply to: Getting the large avatar
vaytructuyen
ParticipantYou’re using wordpress’s get_avatar is what you’re looking for
June 24, 2013 at 12:35 pm #166729Judah
ParticipantJune 24, 2013 at 9:34 am #166719jimbaldwin1137
ParticipantThank you! It worked.
June 24, 2013 at 5:01 am #166705In reply to: Import Social Contacts
ankytt
ParticipantJune 24, 2013 at 4:48 am #166703In reply to: Create a plugin from the members widget
@mercime
Participant@64tees you can create your own members widget plugin with the modifications you want – see https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-core/bp-core-widgets.php
June 24, 2013 at 4:11 am #166698@mercime
Participant@jimbaldwin1137yahoocom rename the BuddyPress folder in server e.g. wp-content/plugins/buddypress-xxx
June 24, 2013 at 3:41 am #166696In reply to: Redirecting Logged in users to activity..
yaakhi
ParticipantSorrry but could not find the line you mentioned 🙁 here is the whole bp_profile_as_homepage_fork.php file `<?php
/*
Plugin Name: BP Profile as Homepage Fork
Description: Sets the user BP Profile as homepage on the site for logged in users. This emulates Facebook.
Author: Mort3n
Version: 1.0
License: GPL2
*//* Copyright 2013 Mort3n
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*//**
* Redirect logged-in user from site Homepage to Profile
* @since 1.0
*/
function bp_profile_as_homepage_fork_homepage(){global $bp;
$selected_role = get_option( ‘bpahpf_role_choice’ );
//redirection to profile applied to all roles
if( ” == $selected_role ){
if( is_user_logged_in() && is_front_page() ){wp_redirect( $bp->loggedin_user->domain, 302 );
exit;
}
}
//redirection to profile applied to all roles EXCEPT selected_role
else{
if( !bp_profile_as_homepage_fork_check_user_role( $selected_role ) && is_front_page() ){
wp_redirect( $bp->loggedin_user->domain, 302 );
exit;
}
}
}/**
* Redirect after logout
* @since 1.0
*/
function bp_profile_as_homepage_fork_logout_redirection(){global $bp;
$redirect = $bp->root_domain;
wp_logout_url( $redirect );
}/**
* Checks if a particular user has a role.
* Returns true if a match was found.
* Code for this function modified from http://docs.appthemes.com/tutorials/wordpress-check-user-role-function/
*
* @param string $role Role name.
* @param int $user_id (Optional) The ID of a user. Defaults to the current user.
* @return bool
*/
function bp_profile_as_homepage_fork_check_user_role( $role, $user_id = null ) {if ( is_numeric( $user_id ) )
$user = get_userdata( $user_id );
else
$user = wp_get_current_user();if ( empty( $user ) )
return false;return in_array( $role, (array) $user->roles );
}/**
* Add the admin page to the dashboard menu
* @since 1.0
*/
function bp_profile_as_homepage_fork_menu(){load_plugin_textdomain( ‘bpahpf-menu’, false, basename( dirname( __FILE__ ) ) . ‘/languages’ );
add_options_page( __(‘BP Profile as Homepage Fork Settings’, ‘bpahpf-menu’ ), __( ‘BP Profile as Homepage Fork Settings’,’bpahpf-menu’), ‘manage_options’, ‘bpahpfmenu’, ‘bpahpf_settings_page’);
}/**
* Outputs the settings screen and saves data when submitted
* @since 1.0
*/
function bpahpf_settings_page(){//check for capability to manage options
if ( !current_user_can( ‘manage_options’ ) ){wp_die( __(‘You do not have sufficient permissions to access this page.’, ‘bpahpf-menu’ ) );
}
$opt_name = ‘bpahpf_role_choice’;
$data_field_name = ‘bpahpf_role_choice’;$opt_val = get_option( $opt_name );
//if nonce checks out then save submitted data
$nonce=$_REQUEST[‘_wpnonce’];
if( wp_verify_nonce( $nonce, ‘bpahpf’ ) )
{
$opt_val = $_POST[ $data_field_name ];
update_option( $opt_name, $opt_val );
?>
<div class=”updated”><p><?php _e( ‘Settings saved.’, ‘bpahpf-menu’ ); ?></p></div>
<?php}
echo ‘<div class=”wrap”>’;
echo “<h2>” . __( ‘BP Profile as Homepage Fork Settings’, ‘bpahpf-menu’ ) . “</h2>”;
?>
<p>
<?php _e( ‘Disable Profile as Homepage for a particular user role.’, ‘bpahpf-menu’ ); ?>
</p>
<form name=”bpahpf-settings-form” method=”post” action=””>
<?php wp_nonce_field( ‘bpahpf’ ); ?>
<p><b>
<?php _e( ‘You have selected:’, ‘bpahpf-menu’ ); ?>
</b>
<?php
if ( ” == $opt_val )
_e( ‘No One’, ‘bpahpf-menu’ );
else
echo $opt_val;
?>
<hr />
<?php _e( ‘Who can view Homepage:’, ‘bpahpf-menu’ ); ?>
<select name=”<?php echo $data_field_name; ?>”>
<option value=””>
<?php _e( ‘No One’, ‘bpahpf-menu’ ); ?>
</option>
<?php wp_dropdown_roles( );?>
</select>
</p>
<p class=”submit”>
<input type=”submit” name=”Submit” class=”button-primary” value=”<?php esc_attr_e( ‘Save Changes’, ‘bpahpf-menu’ ) ?>” />
</p>
</form>
</div>
<?php
}add_action(‘admin_menu’,’bp_profile_as_homepage_fork_menu’);
add_action(‘wp’,’bp_profile_as_homepage_fork_homepage’);
add_action(‘wp_logout’,’bp_profile_as_homepage_fork_logout_redirection’);
?>June 24, 2013 at 3:04 am #166692In reply to: hide homepage unless logged in
@mercime
Participant@briz_dad there are different ways to go about it, one way -> http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
June 23, 2013 at 11:38 pm #166683In reply to: Getting the large avatar
mattg123
ParticipantYou’re using wordpress’s
get_avatar,bp_core_fetch_avataris what you’re looking forJune 23, 2013 at 11:37 pm #166682In reply to: Buddypress in conflict with WP media upload
@mercime
Participantwhen a contractor changed some of the styles for BP
@mindimer Have you tried re-uploading WordPress and BuddyPress as well?June 23, 2013 at 10:19 pm #166677In reply to: Buddypress in conflict with WP media upload
@mercime
Participantit prevents setting a featured image.
@mindimer You mean featured image for a Post or Page? Haven’t seen this issue reported for current nor trunk versions. Are you able to upload user Avatars? If so, then file permissions are not the issue and BP is not interfering with image uploads.What are your WordPress/BuddyPress versions? Could be conflict of theme with BuddyPress. What theme are you using? Have you tried changing to Twenty Twelve theme with BuddyPress to see if issue is resolved or not?
June 23, 2013 at 8:52 pm #166665@mercime
ParticipantJune 23, 2013 at 6:18 pm #166660In reply to: Redirecting Logged in users to activity..
bp-help
Participant@yaakhi
Try this trick:
BuddyPress Redirect To Profile Trick Using A Landing Page.
To modify it to redirect to activity just change this line:
bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile' );
To this if you want personal activity:
bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/activity' );
Or to this if you want sitewide activity:
bp_core_redirect( get_option('home') . '/activity');June 23, 2013 at 8:45 am #166643In reply to: Hide members from Members Directory
Henry
MemberWhat do you mean by locking an account? i’m not sure i’ve ever come across that before. Is it standard functionality to WordPress/ BuddyPress or does the functionality come as a plugin?
June 23, 2013 at 12:15 am #166633@mercime
ParticipantIf you see clearly, http://my.telegraph.co.uk/kevin_straw/ is displayed inside my.telegraph.co.uk and not as a separate blog.
@onesoftindiana based on the structure, WordPress Multisite and BuddyPress are installed at root of http://my.telegraph.co.uk/ and user blogs (subsites) are all using a custom theme named “Telegraph User Blogs” where the header and footer links highlight the main sections of telegraph.co.uk
@djpaul would be the authority re my.telegraph.co.uk 🙂June 22, 2013 at 4:06 pm #166615In reply to: Designing BuddyPress
modemlooper
Moderators2member works well with BuddyPress. When you use BP with multisite only one site on the network contains BP. However, any member of any site on the network is added to BuddyPress. BP consolidates blog postings from the entire multisite into a list.
Alot of WP plugins work with BP. Search BuddyPlug in wordpress.org repo. Also bpinspire.com to see full sites using BuddyPress
June 22, 2013 at 1:22 pm #166602In reply to: Xprofile get field data checkbox returns array
Paul Wong-Gibbs
KeymasterThis is expected, because the function’s not intended to be used like this (for direct output to HTML).
Are you trying to do this in a WordPress template — looks like on a author archive page template?
June 22, 2013 at 9:05 am #166584In reply to: 1.9 top features – ideas
SK
ParticipantAnother one on my list: Hierarchical Groups with upwards member propagation: https://buddypress.trac.wordpress.org/ticket/3961
June 22, 2013 at 8:42 am #166582In reply to: redirect to profile page?
bp-help
Participant@famous
Try this out. This definitely works if you follow the instructions:
BuddyPress Redirect To Profile Trick Using A Landing Page.June 22, 2013 at 8:27 am #166581In reply to: redirect to profile page?
Famous
Participantdidn’t work, I get an infinite loop on the homepage. There has got to be an easy solution to redirect wordpress upon login?
-
AuthorSearch Results