Search Results for 'wp user activate'
-
AuthorSearch Results
-
November 5, 2011 at 1:47 am #123773
In reply to: Can’t See How to Connect with Other Users
mrjarbenne
ParticipantWhen you say “make a post on the site” are you talking about a Blog post in a WordPress Multisite install, or an Activity Stream update? A blog post from a user will create a hyperlink on the Activity Stream that will go directly to that blog, but very much like on this site, if you click directly on the avatar of the user in question, you should be taken to their profile page, on which you will see a “Friend” button, a “Private Message” button etc.
Ensure that you have activated all of these items in the Network Admin/Buddypress Panel. It is possible that you have friend connections; private messages; profiles; etc turned off. Here’s a nice tutorial on setting up Buddypress 1.5 http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/comment-page-1/
November 4, 2011 at 11:15 am #123726In reply to: Redirection Issue regarding activation
ankurm
MemberI found a way to accomplish it…
Paste this piece of code in your theme functions file..`// Stop user accounts logging in that have not been activated (user_status = 2)
function bp_core_signup_disable_inactive_modified( $auth_obj, $username ) {
global $bp, $wpdb;if ( !$user_id = bp_core_get_userid( $username ) )
return $auth_obj;$user_status = (int) $wpdb->get_var( $wpdb->prepare( “SELECT user_status FROM $wpdb->users WHERE ID = %d”, $user_id ) );
if ( 2 == $user_status )
header(“Location:”.get_site_url().”/login?err=not-activated”); /*Your Custom Message*/
else
return $auth_obj;
}
add_filter( ‘authenticate’, ‘bp_core_signup_disable_inactive_modified’, 30, 2 );
`November 4, 2011 at 2:37 am #123711In reply to: Profile pages not found error
thegblog
MemberI am also having this problem. Can anyone help me? Thanks in advance:
I’m running wp 3.2.1, on main directory in root, using bp version 1.5.1that was never upgraded. I have no other plugins activated on the subdomain I’m running buddypress from. I’m using the standard bp theme that came with the plugin for this and I modified my wp-config to allow bp to run on subdomain (runs on members.mysite.com): here’s the info in bp-custom.php
`<?php
define ( ‘BP_ENABLE_MULTIBLOG’, true );
define ( ‘BP_ENABLE_ROOT_PROFILES’, true );
define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define ( ‘BP_ROOT_BLOG’, $blog_id );
define( ‘BP_SILENCE_THEME_NOTICE’, true );
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );
define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );
define ( ‘BP_BLOGS_SLUG’, ‘journals’ );
define ( ‘BP_MEMBERS_SLUG’, ‘users’ );
define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );
define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
define ( ‘BP_FORUMS_SLUG’, ‘discussions’ );
define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
define ( ‘BP_REGISTER_SLUG’, ‘signup’ );
define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );
define ( ‘BP_SEARCH_SLUG’, ‘find’ );
define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );
define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );
define ( ‘BP_AVATAR_DEFAULT’, $img_url );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, $img_url );
define ( ‘BP_FORUMS_PARENT_FORUM_ID’, $forum_id );
define ( ‘CUSTOM_USER_TABLE’, $tablename );
define ( ‘CUSTOM_USER_META_TABLE’, $tablename );?>`
Wiredtree is my server provider (I have a dedicated server with all access), and I’m running Linux w/ Apache
November 2, 2011 at 10:12 am #123612Paul Wong-Gibbs
Keymastera) Did you test if your WordPress site could send emails before using BuddyPress? e.g. when you go to Add Users in wp-admin and tell it to email the password to the user.
b) People need to log in to your site at least once, after BuddyPress has been activated, to appear in the members directory list.
September 30, 2011 at 5:50 pm #121594In reply to: buddypress user blog
@mercime
ParticipantDeactivate BuddyPress. Make sure you can create a subsite with your WP install first. If you cannot, resolve multisite installation first before activating BuddyPress at https://wordpress.org/support/forum/multisite
September 30, 2011 at 5:50 pm #121694In reply to: buddypress user blog
@mercime
ParticipantDeactivate BuddyPress. Make sure you can create a subsite with your WP install first. If you cannot, resolve multisite installation first before activating BuddyPress at https://wordpress.org/support/forum/multisite
September 25, 2011 at 8:48 am #121011In reply to: Page not found – after update
Tim Hyde
ParticipantIt is a WPMU with BuddyPress which I set up a few months ago. It is still only a test site, so not live with lots users (who be a bit fed up by now).
I have the domain mapping plugin from wpmu installed, though none of my subdomains are being mapped at present. The problem is simply with pure subdomains on existing blogs created while previous version of BP was installed. And on new blogs created too.
Problem only exists while BuddYpress 1.5 is activated. I deactivate BP and all my subdomains are back.
September 14, 2011 at 5:43 am #120031In reply to: Problems with people trying to create accounts
ewebber
Participant@fernmacho This plugin allows you to activate users https://buddypress.org/community/groups/wp-activate-users/
It sounds like you also need to consider a way of blocking those bots that are signing up!
September 12, 2011 at 1:11 am #119898In reply to: Registration Approval Plugin
acurran
MemberMy 3 step solution to this problem is as follows:
1. Install plugin – BuddyPress Pending Activations (https://wordpress.org/extend/plugins/buddypress-pending-activations/)
2. Make hack to plugin function bp_pending_activations_admin() so that it sends an email when a user is activated:
$resendusers = $wpdb->get_results( $wpdb->prepare( “SELECT u.ID, u.user_login, u.user_email, m.meta_value FROM ” . CUSTOM_USER_META_TABLE . ” m, “. CUSTOM_USER_TABLE .” u WHERE u.ID = m.user_id AND m.meta_key = ‘activation_key’ AND u.ID IN ({$userids})” ) );foreach ( $resendusers as $resend ) {
/* Activate the signup */
$user = apply_filters( ‘bp_core_activate_account’, bp_core_activate_signup( $resend->meta_value ) );/* If there was errors, add a message and redirect */
if ( $user->errors ) {
echo ‘There was an error activating this account, please try again: ‘. $resend->user_login;
} else {
$to = $resend->user_email;
$subject = “Your ?????? Account Has Been Activated!”;
$message = “Your account has been activated. Go to http://??????/ and sign in with the username and password that you created when you signed up.nnWelcome to ?????!”;
$admin_email = get_site_option( “admin_email” );
$from_name = “??????????”;
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
wp_mail( $to, $subject, $message, $message_headers );
}
3. Redirect activation email to admin (to use as a noitification for admin instead of automatically sending activition key to user) by adding this to functions.php:
function change_activation_email_to($content) {
return get_site_option( “admin_email” );
}
add_filter( ‘bp_core_activation_signup_user_notification_to’, ‘change_activation_email_to’);So the when a new user signs up, they do not get any activation email. That goes to the admin instead. You will need to change the wording in your template to let the user know that they have to wait for manual approval. Admin logs in to WP admin and goes to Pending Activitations and activates the user. An email is sent to user to let them know they have been activated.
September 8, 2011 at 6:14 pm #119748In reply to: Cannaot activate 1.5 beta 3?
Adam
MemberThat error message was from having the old BP activated. with out it activated I get:
Warning: require(C:UsersAdamDocumentsMy Web Siteswordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php) [function.require]: failed to open stream: No such file or directory in C:UsersAdamDocumentsMy Web Siteswordpresswp-contentplugins1.5-beta-3bp-loader.php on line 82
Fatal error: require() [function.require]: Failed opening required ‘C:UsersAdamDocumentsMy Web Siteswordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php’ (include_path=’.;C:php5pear’) in C:UsersAdamDocumentsMy Web Siteswordpresswp-contentplugins1.5-beta-3bp-loader.php on line 82
August 8, 2011 at 4:28 pm #117991Anonymous User 96400
InactiveYou can do that already. BBPress 2.0 is a plugin, so it integrates with your current WP user base. If you wanted to you could just deactivate groups altogether and then install BBP 2.0. There’d be no activity stream integration, though, and some other things like user profile links would need to get handled properly (BBP comes with its own user profile templates), but altogether it’s possible already.
I’m guessing all of this will be handled properly by BP once the move to use the plugin version has been made.
August 6, 2011 at 8:38 pm #117884In reply to: Only Admin Account can Login to Buddypress
mmendezmi
Member@n_sane I had the same issue. A quick check of the wp database showed new users were being created with user level 2, which, in this case, means that they have not confirmed their registration. Also I realized i had not received any of my dummy account registration conf. emails.
I found a workaround for this by changing the user status to 0 in the wp_core_startup file, but that was an inadvisable way of fixing the issue since it totally deactivated the email registration system, which i really don’t didn’t want to bypass, and that file will get overwritten in any bp update.
The fix was to install the ‘Mail From’ plugin by andrew hamilton. this apparently allows the registration emails to go out, and then user_status and registration can be handled the way it was designed to. I’m hosted with bluehost and have a hunch their mail system isn’t playing nice with bp and this plugin seems to allow it to do that.
August 4, 2011 at 2:54 am #117618In reply to: No Super Admin after enabling multi site
@mercime
ParticipantDid you have a working single WP with BP activated before you went multisite or did you create a network (multisite) before installing BP? If you created the site even in single WP you should have access to all BP options. Check wp_users table in DB
August 3, 2011 at 4:20 pm #117533igeekout
MemberI found issues with Custom Post Types and page titles with the current Buddypress. Page Titles wouldnt display correctly so I needed to create a custom function.
‘function bpcustom_get_page_title() {
global $bp, $post, $wp_query, $current_blog;if ( is_front_page() || ( is_home() && bp_is_page( ‘home’ ) ) ) {
$title = __( ‘Home’, ‘buddypress’ );} else if ( bp_is_blog_page() ) {
$pt_label = ‘Blog’;
if($post->post_type != ‘post’){
$pt = get_post_type_object($post->post_type);
$pt_label = $pt->labels->name;
}
if ( is_single() ) {
$title = __( $pt_label . ‘ | ‘ . $post->post_title, ‘buddypress’ );
} else if ( is_category() ) {
$title = __( $pt_label . ‘ | Categories | ‘ . ucwords( $wp_query->query_vars ), ‘buddypress’ );
} else if ( is_tag() ) {
$title = __( $pt_label . ‘ | Tags | ‘ . ucwords( $wp_query->query_vars ), ‘buddypress’ );
} else if ( is_page() ){
$title = $post->post_title;
} else
$title = __( $pt_label, ‘buddypress’ );} else if ( !empty( $bp->displayed_user->fullname ) ) {
$title = strip_tags( $bp->displayed_user->fullname . ‘ | ‘ . ucwords( $bp->current_component ) );} else if ( $bp->is_single_item ) {
$title = ucwords( $bp->current_component ) . ‘ | ‘ . $bp->bp_options_title . ‘ | ‘ . $bp->bp_options_nav[$bp->current_component][$bp->current_action];} else if ( $bp->is_directory ) {
if ( !$bp->current_component )
$title = sprintf( __( ‘%s’, ‘buddypress’ ), ucwords( BP_MEMBERS_SLUG ) );
else
$title = sprintf( __( ‘%s’, ‘buddypress’ ), ucwords( $bp->current_component ) );} else if ( bp_is_register_page() ) {
$title = __( ‘Create an Account’, ‘buddypress’ );} else if ( bp_is_activation_page() ) {
$title = __( ‘Activate your Account’, ‘buddypress’ );} else if ( bp_is_group_create() ) {
$title = __( ‘Create a Group’, ‘buddypress’ );} else if ( bp_is_create_blog() ) {
$title = __( ‘Create a Blog’, ‘buddypress’ );
}if ( defined( ‘BP_ENABLE_MULTIBLOG’ ) ) {
$blog_title = get_blog_option( $current_blog->blog_id, ‘blogname’ );
} else {
$blog_title = get_blog_option( BP_ROOT_BLOG, ‘blogname’ );
}return apply_filters( ‘bp_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) );
}’August 1, 2011 at 2:21 pm #117323In reply to: New Users Can’t Log In
tapefreak
MemberI had this problem – on my localhost, which doesn’t send out emails, I tried to register new users and then activate them using the admin tool. These users could not login. However, users created directly with the admin tool could login.
The solution, I found, was to edit the wp_users table and set user_status to 0 for those users who I registered on my local machine. Works like a charm now.
July 27, 2011 at 5:28 pm #117025Boone Gorges
KeymasterWhen you activate a BuddyPress-compatible theme, like BuddyPress Default, you will see a Members tab at the top of the screen. That is the public Members Directory, where users can browse or search.
`So no plugins to be able to invite people other than the not working one which says when trying to install that it has not been tested yet for my version of WP?`
There is a plugin called Invite Anyone that provides several for group and site invitations: https://wordpress.org/extend/plugins/invite-anyone/ It is compatible with the latest WP and BP. The only reason it doesn’t list its compatibility in the WP repo is because WP requires me to release a new version of the plugin in order to update its compatibility, and I have no good reason to do this. Without Invite Anyone, group members can only invite Friends to the group.
July 26, 2011 at 8:14 pm #116969Jigesh
ParticipantHello, i have got another way to redirect user to show all activity
1) Install BP-PROFILE-AS-HOMEPAGE plugin2) INSTALL PLUGIN
3) in admin dashboard where list of plugin is listed you will find BP PROFILE AS HOMEPAGE PLUGIN, under it THERE IS TWO OPTION deactivate & edit
4) click on EDIT
5) Replace following line
wp_redirect( $bp->loggedin_user->domain );
WITH THIS
wp_redirect( bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . ‘/’ . BPCOM_ACTIVITY_SLUG );
6) You are Surely done. It works 100 Percent. i have also used help from this forum i am thank ful about it.
Anyone facing problem mail me on jigesh.raval@gmail.comJuly 26, 2011 at 8:13 pm #116968In reply to: Redirecting to profile page after login
Jigesh
ParticipantHello, i have got another way to redirect user to show all activity
1) Install BP-PROFILE-AS-HOMEPAGE plugin2) INSTALL PLUGIN
3) in admin dashboard where list of plugin is listed you will find BP PROFILE AS HOMEPAGE PLUGIN, under it THERE IS TWO OPTION deactivate & edit
4) click on EDIT
5) Replace following line
wp_redirect( $bp->loggedin_user->domain );
WITH THIS
wp_redirect( bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . ‘/’ . BPCOM_ACTIVITY_SLUG );
6) You are Surely done. It works 100 Percent. i have also used help from this forum i am thank ful about it.
Anyone facing problem mail me on jigesh.raval@gmail.comJuly 26, 2011 at 8:12 pm #116967In reply to: redirect to activity after login?
Jigesh
ParticipantHello, i have got another way to redirect user to show all activity
1) Install BP-PROFILE-AS-HOMEPAGE plugin2) INSTALL PLUGIN
3) in admin dashboard where list of plugin is listed you will find BP PROFILE AS HOMEPAGE PLUGIN, under it THERE IS TWO OPTION deactivate & edit
4) click on EDIT
5) Replace following line
wp_redirect( $bp->loggedin_user->domain );
WITH THIS
wp_redirect( bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . ‘/’ . BPCOM_ACTIVITY_SLUG );
6) You are Surely done. It works 100 Percent. i have also used help from this forum i am thank ful about it.
Anyone facing problem mail me on jigesh.raval@gmail.comJuly 26, 2011 at 8:10 pm #116966In reply to: Redirect Login to Activity Stream
Jigesh
ParticipantHello, i have got another way to redirect user to show all activity
1) Install BP-PROFILE-AS-HOMEPAGE plugin
2) INSTALL PLUGIN
3) in admin dashboard where list of plugin is listed you will find BP PROFILE AS HOMEPAGE PLUGIN, under it THERE IS TWO OPTION deactivate & edit
4) click on EDIT
5) Replace following line
wp_redirect( $bp->loggedin_user->domain );
WITH THIS
wp_redirect( bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . ‘/’ . BPCOM_ACTIVITY_SLUG );
6) You are Surely done. It works 100 Percent. i have also used help from this forum i am thank ful about it.
Anyone facing problem mail me on jigesh.raval@gmail.comJuly 9, 2011 at 12:00 am #116033In reply to: User Pages Not Working
@mercime
ParticipantThere could be a number of reasons for the errant behavior.
– WP/BP versions?
– BP Template Pack veriion?
– Have you deactivated all plugins except BuddyPress and changed to bp-default theme? Clear cache. Does same bad behavior return or is it fixed?
– When you say, “I could not edit my user info” do you mean your profile page or one of your user’s info?June 30, 2011 at 11:39 pm #115485sidjags
Memberwhat about https://wordpress.org/extend/plugins/wp-activate-users/ WP Activate… i feel its slightly buggy with buddypress, but it does the job… problem is sometimes… if the refresh button is pressed multiple times on the user account confirmation screen… then the user gets created multiple times … but if u approve him once in wp activate.. the user doesnt go away… he still remains.. check it out though.
June 25, 2011 at 4:17 pm #115206@mercime
Participant== When a user Create’s a Blog and follows the link from the site to their created blog they get the following error; Error establishing a database connection ==
This is not a BuddyPress issue. Deactivate all plugins including BuddyPress; change to twentyten theme and check if you as Super Admin can create a blog from the backend. If not, then you have to resolve multisite setup at WP.org forums https://wordpress.org/support/forum/multisite
As for BP Social Theme, you should be able to get free support for your premium theme at http://buddydress.com/
EDIT- could very well be a theme issue. If you change to bp-default theme, does the same error appear?
June 20, 2011 at 5:20 pm #114918naved
Member@hnla @brajesh singh i found the bug…its not in the child theme its the ” w3 total cache plugin ” creating all the mess in my site as soon as i deactivate it alll stuff goes normal & fine plz every one bring this into the plugin authors consideration …now
and also wp block admin this plugin is activated after deactivating w3 cache plugin my users are directed to home page bt in this plugins line no 21 i had specified to redirect to about page ….and also when some 1 smartly typed or try to modify the url to get acces to wp-admin area this plugin should redirect that person to ” about “
page bt instead it shows an error saying u do not have sufficient to access this page !if u guyz have any hacks plz tell me with details
thnx in advance
also grt thnx to @hnla & @brajesh for trying to solve my problem good work guyz…..this help means a lot to me !June 18, 2011 at 6:25 pm #114779In reply to: Activity Post/Reply To Not Working
d71
MemberOk, so in the working default BuddyPress theme the Ajax handler works great:
bp_dtheme_post_update traceback:
#0 bp_dtheme_post_update() called at [:]
#1 call_user_func_array() called at
[wp-includes/plugin.php:395]#2 do_action() called at
[wp-content/plugins/buddypress/bp-core.php:2026]#3 bp_core_add_ajax_hook() called at [:]
#4 call_user_func_array() called at
[wp-includes/plugin.php:395]#5 do_action() called at
[wp-settings.php:298]#6 require_once(/home2/capacoac/public_html/artsbeta/wp-settings.php) called at
[wp-config.php:91]#7 require_once(/home2/capacoac/public_html/artsbeta/wp-config.php) called at
[wp-load.php:30]When doing a normal status update it seems to flow normally:
top of bp_dtheme_post_update in bp-theme-default…
. content=james
. object=
. calling bp_activity_post_update (no object)…
. calling user func tag=wp_default_stylesMy status update was “james”. So all working well for the default BuddyPress theme.
Now with BuddyBase activated none of that entire call chain happens and neither does it happen from the default buddy base theme. its like ajax.php is no longer being loaded.
To verify I put an error_log call at the top of the BuddyBase copy of _inc/ajax.php, just to indicate that _its_ version of ajax.php was being loaded…and its not. For some reason the BuddyBase theme is not having its version of ajax.php loaded.
I’m not really sure hwo to verify how the theme tells WordPress/BuddyPress to load that file, but I guess I have another lead to track down….
-
AuthorSearch Results