Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Create an Account'

Viewing 25 results - 226 through 250 (of 1,116 total)
  • Author
    Search Results
  • #248508
    danielmariveles
    Participant

    Or this one:

    $(document).ready(function() {
       if ($("h1:contains('Create an Account')").is(":visible")) {
          $(".field_first-name").remove(); 
       }
    });
    #248437
    danbp
    Participant

    Hi,

    create a wordpress.org account if you want a custom picture for your profile.
    https://wordpress.org/support/register.php

    #248407
    Hastig
    Participant

    Did you create the users yourself and if so have you logged in with their accounts?

    On my test site I recall having to log in with those created users to get them to pop up in the front end members lists.

    #248187
    Mark
    Participant

    @jscmal Did you create a support ticket for this at: https://rtcamp.com/my-account/? I tried to replicate your issue but I couldn’t. Could be that I am not quite understanding the issue 100%.

    #246318

    In reply to: Custom Hook Help

    happymunkee
    Participant

    Yeah I get the message “You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.” but nothing gets printed…weird. I’ve tried sticking in an exit; too and nothing.

    #246305

    In reply to: Custom Hook Help

    shanebp
    Moderator

    After you register a user, do you see a message that starts with You have successfully created your account! ?

    If you do, your function should work.

    You could try putting it in the theme/functions.php

    Putting code directly into a template is okay if you create a template overload.

    #246094
    splufford
    Participant

    Hi, struggling to get any of the the code in post #190874 to work. I have created a bp-custom.php file which I have uploaded to the root of the buddpress folder and my code looks like this:

    <?php
    // deny access to admins profile. User is redirected to the homepage
    function bpfr_hide_admins_profile() {
    	global $bp; 
    	if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
    		wp_redirect( home_url() );
    	exit;
    	endif;
    }
    add_action( 'wp', 'bpfr_hide_admins_profile', 1 );
    
    // Remove admin from the member directory
    function bpdev_exclude_users($qs=false,$object=false){
        
        $excluded_user='1'; // Id's to remove, separated by comma
    	
        if($object != 'members' && $object != 'friends')// hide admin to members & friends 
        return $qs;
    	
        $args=wp_parse_args($qs);
    
        if(!empty($args['user_id']))
        return $qs;	
    	
        if(!empty($args['exclude']))
    		$args['exclude'] = $args['exclude'].','.$excluded_user;
        else
    		$args['exclude'] = $excluded_user;
    	
        $qs = build_query($args);
    
        return $qs;
    	
    }
    add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);
    
    // once admin is removed, we must recount the members !
    function bpfr_hide_get_total_filter($count){
        return $count-1;
    }
    add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');
    // hide admin's activities from all activity feeds
    function bpfr_hide_admin_activity( $a, $activities ) {	
    	
    	// ... but allow admin to see his activities!
    	if ( is_site_admin() )	
    		return $activities;	
    	
    	foreach ( $activities->activities as $key => $activity ) {	
    		// ID's to exclude, separated by commas. ID 1 is always the superadmin
    		if ( $activity->user_id == 1  ) {			
    			
    			unset( $activities->activities[$key] );			
    			
    			$activities->activity_count = $activities->activity_count-1;			
    			$activities->total_activity_count = $activities->total_activity_count-1;			
    					$activities->pag_num = $activities->pag_num -1;				
    		}		
    	}		
    	// Renumber the array keys to account for missing items 	
    	$activities_new = array_values( $activities->activities );		
    	$activities->activities = $activities_new;	
    	
    	return $activities;
    	
    }
    add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );
    ?>

    Not sure what I am doing wrong. All help gratefully received! Thanks

    #245230
    William
    Participant

    @canadianmusicnetwork it’s actually working from the account you created for me!!! Let me take a screenshot!!

    #245212
    William
    Participant

    Please create a temporary buddypress user account for me so that I can log in and take a look.

    #244909
    caesarhills
    Participant

    Thanks for your reply, after reading it I’ve seen is the most adviced plugin for that aim.
    Is there any live demo working or a live showcase of it?
    I didn’t get if as the admin of the website I could create a page for mediapress grid album in which I’m the only one allowed to upload pics and letting all the registered members commenting on the pics, but at the same time as I said, not allowing anyone to upload their pics in that grid.
    It should work like instagram but just with the buddypress accounts

    #244724
    Eskymo
    Participant

    Hi danbp

    I’ve read through that before and it doesn’t sound so easy to me.

    I’m not a PHP, BuddyPress or WordPress expert I’m afraid, so editing core files is not something I feel comfortable doing. Plus if I wanted to add an image where would I do that? That’s why I was hoping there was a way to do this using a template file as I want to do more than just change the page title.

    I don’t know how to generate a .MO file and I wouldn’t know how to edit a .PO or a .MO file either or what to put in them.

    If you offer any further support, that’d be great.

    So far, I’ve copied this file: buddypress/bp-themes/bp-default/registration/register.php into my child theme and edited it and added content form tips where I want them, but I’m still left with the ‘Create an Account’ text at the top that I can’t get rid of – any ideas?

    Evie

    #244705
    Eskymo
    Participant

    OK, I’ve gone through the buddypress plugin folder and found all instances of the words ‘Create an Account’ and there is only one file in which added edits will appear on the site and it’s this file:

    /wp-content/plugins/buddypress/bp-members/bp-members-screens.php

    How can I add this file to my buddy child theme so that I can make the text changes I require so that I’m not edited core plugin files?

    However this doesn’t help with wanting to edit the ‘Registering for this site is easy….’ bit of text. So Can anyone help with a complete solution here?

    Thanks

    #244684
    Arvind
    Participant

    Hi

    @Vignesh
    : I installed WangGuard and it seems to work well. Frequency has come down to 3-4 hr/spam from 20min/spam on average.
    You get the Free API also after creating user account with them.
    Recommended ? : YES.

    @ Jose: Thanks, it works well.
    I was able to create a Security Q, and all seems easy now.

    BR

    Arvind

    #244571
    alpha2
    Participant

    Yes it is. But rather than using a plugin (for this project i am nearly at 53 active plugins…too much) maybe its better to use a function.
    i use this thread to ask you another question, some users (registered before i applied this plugin) named their account with a period: john.doe . Actually it’s not a big deal because buddypress (or wordpress natively) transform this dot into hyphen in each link.

    On one specific page template, I have special function i created with the help of a dev to display all users by a custom taxonomy (ranks)

    Only mater is that every hyperlink that link to account like john.doe are display like this http://www.website.com/members/john.doe and not http://www.website.com/members/john-doe

    I search into the code and found this:

    <div><?php $user = get_user_by('id', $gold ); ?><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo bp_core_fetch_avatar( array( 'item_id' => $gold, 'type' => 'full' ) ); ?></a><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo $user->user_login; ?></a>Performances: <?php echo count_user_posts( $gold ); ?></div>

    I must change how is display the username.

    Thank you for your time and your help!

    #244471
    shanebp
    Moderator

    A BP site uses BP to register users.
    So afaik, it is not possible to create a WP account but not automatically a BuddyPress profile.

    #244143
    Henry Wright
    Moderator

    …but a read-only account can still comment, add files to the file repository (Multiverso plugin), add a calendar event, upload photos to the photo album and edit (but not create) wiki articles.

    You may need to add custom validation in each of these cases. There should be hooks available at the relevant points which you can attach your custom functions to.

    #244137
    demonboy
    Participant

    OK, this is getting close, I like it. Thank you@modemlooper, and apologies to @Henry for misunderstanding.

    Some features are disabled, which is great, but a read-only account can still comment, add files to the file repository (Multiverso plugin), add a calendar event, upload photos to the photo album and edit (but not create) wiki articles.

    Any clues there?

    #244032
    djsteveb
    Participant

    @projectslimited – yeah, welcome to the club! I had one bp site with registration turned off for 18 months.. turned it on to test some thing – hours later – dozens of new “groups” and spam accounts.

    My main site I depend on buddypress humanity as main line of defense.. but also add the plugin “good question” (changing the defaults on these two!)

    I also use “geo ip block” on all wp sites now. (changing some defaults)

    that seems to help 95% – then I got so tired of the manual spammers that I added the apache gep redirect thing from maxmind lite.. and block all visits from Russia, China, Ukraine, and a few others completely.

    Saves a ton of bandwidth and server resources – and makes it easier to find the cdir blocks of US and UK ISPs to block via htaccess (none of my web site visitors are using COLO Crossing Transport to visit my site- so all their cidrs eg:
    23.94.144.0/20
    23.94.144.0 – 23.94.159.255

    blocked…

    I have been messaging with a wordpress plugin author about modding his plugin that pulls info from failed logins and puts them into iptables – suggesting a few mods that can make that info useful to those of us who do not have access to or want to get into iptables modsec stuff – hopefully those suggestions will come into a new version of that plugin later this year.

    with my multi-site setup I use a ‘new blog defaults’ plugin to set any new blogs created to automaticcaly have the noindex setting in wordpress, and noinded nofollow settings from yaost.. so even if one manual spammer gets in and makes blog – it does no good, and does not show up on the radar of the other spammers.

    I recently had to block Japan entirely as I started getting daily spam hits from there.. of course each person’s setup will vary – I can’t block all countries on all my sites, so some sites I set the ip geo block to whitelist just one or two.. on other sites I setup a blacklist to block 20 or so..

    zoewsaldana
    Participant

    Thank you all for the help!

    Okay, here’s the bizarre thing — I created a new user account and logged out to test its functionality. After I did this, I got the new_member redirect page exactly ONE TIME for every single BP page. So one time, it would prevent non-logged-in me from accessing Recent Activity, but if I tried again, it would work from here on out. I think there must be something going on with respect to how often the function is being called, and perhaps how my server is cacheing sites. Should I try placing a function call somewhere else, like in the theme or somewhere that is likely to be checked every refresh? Thank you!

    Zoƫ

    #242959
    herbmiller
    Participant

    Hi Hugo, I created bobbingwide and herbmiller on wordpress.org on 21st Dec 2010.
    My other ID, vsgloik came later, on 30th Apr 2012.

    For each account I can see the Create New Page link, but it leads to You attempted to access the "BuddyPress Codex" dashboard, but you do not currently have privileges on this site. etc

    The Visit Dashboard link tells me You do not have sufficient permissions to access this page.

    This smacks very much of WordPress TRAC 29714, a duplicate of 22895.

    #242958
    Hugo Ashmore
    Participant

    @djpaul nope it isn’t that is one of the dilemmas, it’s a display name rather than user name? Regardless @bobbingwide as your account pre-dates or should pre-date the codex user capability changes you should be able to edit/create pages, can you confirm one way or another?

    #242729
    Jld142
    Participant

    This is my current code:

    <?php
    
    /* Link parent CSS file */
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
    function enqueue_parent_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    
    /* Count number of user notifications */
    function cg_current_user_notification_count() {
        $notifications = bp_core_get_notifications_for_user(bp_loggedin_user_id(), 'object');
        $count = !empty($notifications) ? count($notifications) : 0;
     
        echo $count;
    }
    
    /* Remove register BuddyPress Widget creator */
    function remove_bp_core_register_widgets() {
        remove_action(bp_core_register_widgets());
    }
    add_action('init','remove_bp_core_register_widgets()');
    
    function new_bp_core_register_widgets() {
    	add_action('widgets_init', create_function('', 'return register_widget("new_BP_Core_Login_Widget");') );
    }
    add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
    
    /* New BuddyPress Login Widget */
    class new_BP_Core_Login_Widget extends WP_Widget {
    
    	/**
    	 * Constructor method.
    	 */
    	public function __construct() {
    		parent::__construct(
    			false,
    			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
    			array(
    				'description' => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
    				'classname' => 'widget_bp_core_login_widget buddypress widget',
    			)
    		);
    	}
    
    	/**
    	 * Display the login widget.
    	 *
    	 * @see WP_Widget::widget() for description of parameters.
    	 *
    	 * @param array $args Widget arguments.
    	 * @param array $instance Widget settings, as saved by the user.
    	 */
    	public function widget( $args, $instance ) {
    		$title = isset( $instance['title'] ) ? $instance['title'] : '';
    
    		/**
    		 * Filters the title of the Login widget.
    		 *
    		 * @since BuddyPress (1.9.0)
    		 * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter.
    		 *
    		 * @param string $title    The widget title.
    		 * @param array  $instance The settings for the particular instance of the widget.
    		 * @param string $id_base  Root ID for all widgets of this type.
    		 */
    		$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    
    		echo $args['before_widget'];
    
    		echo $args['before_title'] . esc_html( $title ) . $args['after_title']; ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<?php
    
     		 	/**
    		 	 * Fires before the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedin' ); ?>
    
    			<div class="bp-login-widget-user-avatar">
    				<a href="<?php echo bp_loggedin_user_domain(); ?>">
    					<?php bp_loggedin_user_avatar( 'type=thumb&width=50&height=50' ); ?>
    				</a>
    			</div>
    
    			<div class="bp-login-widget-user-links">
    				<div class="bp-login-widget-user-link"><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></div>
    				<p>TEST</p>
    				<div class="bp-login-widget-user-logout"><a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a></div>
    			</div>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedin' ); ?>
    
    		<?php else : ?>
    
    			<?php
    
    			/**
    		 	 * Fires before the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedout' ); ?>
    
    			<form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    				<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    				<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    				<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    				<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value="" <?php bp_form_field_attributes( 'password' ) ?> />
    
    				<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    				<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php esc_attr_e( 'Log In', 'buddypress' ); ?>" />
    
    				<?php if ( bp_get_signup_allowed() ) : ?>
    
    					<span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    				<?php endif; ?>
    
    			</form>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedout' ); ?>
    
    		<?php endif;
    
    		echo $args['after_widget'];
    	}
    
    	/**
    	 * Update the login widget options.
    	 *
    	 * @param array $new_instance The new instance options.
    	 * @param array $old_instance The old instance options.
    	 * @return array $instance The parsed options to be saved.
    	 */
    	public function update( $new_instance, $old_instance ) {
    		$instance             = $old_instance;
    		$instance['title']    = isset( $new_instance['title'] ) ? strip_tags( $new_instance['title'] ) : '';
    
    		return $instance;
    	}
    
    	/**
    	 * Output the login widget options form.
    	 *
    	 * @param $instance Settings for this widget.
    	 */
    	public function form( $instance = array() ) {
    
    		$settings = wp_parse_args( $instance, array(
    			'title' => '',
    		) ); ?>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'buddypress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label>
    		</p>
    
    		<?php
    	}
    }
    
    ?>

    I was trying to following the below guide to remove the function that initializes the login widget and then redirect it to my own new one:

    http://venutip.com/content/right-way-override-theme-functions

    Obviously hasn’t worked. Any ideas ?

    Dangthrimble
    Participant

    I have already created an admin account and one I use for the front end. I just don’t want the admin account showing up in the list of users with people sending it friend requests, etc. I’d like to keep it uncluttered so when I’m in that account I can just focus on admin work.

    modemlooper
    Moderator

    Your worrying about nothing. As long as you have some security measures in place it doesn’t matter if someone knows a username of an admin. To feel safe create an account you use for the front end and keep the admin account for only accessing the admin.

    Add a plugin like this one https://wordpress.org/plugins/sucuri-scanner

    Use strong passwords.

    Aethermage
    Participant

    Thank you for your reply @danbp.

    I actually created the profile field myself in Dashboard > Users > Profile Fields to emulate a captcha plugin. For some odd reason it appears under Account Details instead of under Profile Details on the Register page and is missing from the backend so I am unable to edit/delete it.

Viewing 25 results - 226 through 250 (of 1,116 total)
Skip to toolbar