5

Solspace User throws this error because of the following: 1) admin_register is not set to yes. 2) Member Group is not Super admin & can_admin_members is not set to 'y'. So,It might be a possible solspace user bug because can_admin_members field is available in the EE2 but was replaced by can_create_members,can_edit_members,can_delete_members in EE3.


4

You might could do something like this (php must be enabled on input) <?php $entries = array(); $sql = "SELECT author_id as author, max(entry_id) as entry_id FROM exp_channel_titles WHERE channel_id = '4' AND status = 'open' GROUP BY author ORDER BY entry_id DESC LIMIT 10"; $...


4

This works for logging into ExpressionEngine with ajax and showing the appropriate error, you would just modify the code where it checks for the error messages it returns to display to the user. You will need more conditions for the required fields. function displayAjaxMessage(message, response_id) { if(typeof(response_id)==="undefined") response_id = "#...


4

This has been a common gripe with ExpressionEngine for years. Here's a hack that I find works: <input type="hidden" name="custom_fieldname" value="n" /> <input type="checkbox" name="custom_fieldname" value="y" {if custom_fieldname == "y"}checked="checked"{/if}>Bla bla</input> The first value sets the field to "n". If the user checks ...


4

You will need to goto Members > Member Groups > for the member group in question click Edit Group. After that scroll down to the Control Panel Administration section and set Can administrate members accounts to Yes. Save the page and try the User template tags again. If you are still not able to edit a member group from that account you would need to add ...


3

You can add parametr password_reset_template= {exp:user:forgot_password password_reset_template="user/reset_password/%id%" } <input type="text" name="email" id="email" placeholder="Email Address"/> <input type="submit" name="submit" value="Submit" /> {/exp:user:forgot_password} and then create template for reset password where you ...


3

The User:Edit tag only allows updating of the fields mentioned in the documentation: http://www.solspace.com/docs/user/edit/#form_fields notify_how_email is not a valid option. Are you sure this is even a valid EE option (natively)? If so, what is it supposed to do?


3

You need to craft an extension for that hook. https://ellislab.com/expressionengine/user-guide/development/extensions.html This guide is pretty thorough... did you make sure to install your extension after you made it? If it's not in the exp_extensions table, your extensions method won't get fired on that hook. Could you post your extensions contents (...


3

I can duplicate this issue on my end as well. It seems that the Welcome Email feature only works on "No Activation" and "Self Activation" methods, but not on "Manual Activation". A "workaround" for now would be that you can just use the EE notification option to send the user a confirmation email instead. The template (to adjust what it says) for it is here:...


2

At a glance your code looks fine to me. If you look at the change log for User module you'll see many changes relating to passwords. Some examples: Fixed a bug where edit_profile was xss cleaning password_confirm and current_password, unintentionally disallowing ampersands and other special characters in passwords. Fixed a bug where the Register and ...


2

When uploading a file too big for the Avatar restrictions, the error page displayed should already display a message such as The form you submitted contained the following errors The maximum allowed size for images is 50 kilobytes If you're looking to fetch and display the maximum dimensions for avatars dynamically and before someone attempts to ...


2

Thanks to Derek's help I was able to work up a solution: {select_CUSTOM_MEMBER_FIELD} <label><input type="radio" name="CUSTOM_MEMBER_FIELD" value="{value}" {checked} /> {value}</label> {/select_CUSTOM_MEMBER_FIELD}


2

In theory, you would do this: {select_CUSTOM_MEMBER_FIELD} <label><input type="radio" name="CUSTOM_MEMBER_FIELD" value="{value}" {selected} /> Custom Member Field Label</label> {/select_CUSTOM_MEMBER_FIELD} However, since {selected} will output selected="selected", when what you actually need is checked="checked", I'm not sure how ...


2

Unfortunately, requiring a captcha is site-wide, not form-specific. I'd suggest instead looking at Snaptcha, which is far more effective and requires no input from the user.


2

Avoid messing with the ExpressionEngine templates. Try using FreeMember, it lets you place the registration code in your own templates and pick and choose the fields you want to retrieve from the user. Also, it helps that it's free and easy to use.


2

In the Members > Preferences > Require Member Account Activation? field it sounds like you have selected Self-activation via email which will set all new members to Pending until they have activated their account. This prevents fake email addresses from being able to access member specific areas before the activation. You can either set the field to No ...


2

Whilst I'm keen not to see this site become a 'do-my-homework-for-me' -type thing, I quite fancied having a go at this and had both some spare time and magnanimity... so please try out Perfect. It's very basic at the moment, but let me know via the Devot:ee forum of any extra features you need to make it useful.


2

What is your Require Member Account Activation? Setting in Members > Preferences jphansen?? If it's self activation, the group_id parameter should override your Default Member Group Assigned to New Members once the user activates via the supplied link in their email. If its No Activation required, then it should add the user to that user group on ...


2

Ermm... https://solspace.com/software/expressionengine/user/docs/edit/#f_group_id Just make a hidden input for group_id on the form, and set it to Group B. As for dispatching an email, write up a quick extension that is triggered by this hook: https://solspace.com/software/expressionengine/user/docs/extension_hooks/#user_edit_end And just use the email ...


2

Well, you should be using either Captcha or a Honeypot in your form; that would really prevent a lot of your issues. You will need to have Allow New Member Registration set to on, but can prevent the spam. A really simple way to do this on the front end would be to create a user registration form and wrap the whole form in a tag like this: {if group_id == ...


2

I've created a really basic extension to bypass the default message. It redirects to an account page on login and the home page on logout but this could be modified to point to any URL (i.e. a custom message landing page) I've included a link to the download but should that expire you'll need to copy/save these two files into system/user/addons/loginbypass/ ...


1

In the case of your specific question, the problem is your /add_custom_fields part is technically part of the path query parameter. What you could do is add it as part of a query string (so members/register/?extended=true) and then detect with ee()->input->get('extended'); Make sure you check that the setting to allow get parameters is allowed. ...


1

I ended up using Solspace User to solve this, specifically the {exp:user:register} tag. I created one template with some fields, and another template with other fields, and it worked fine. It sounds like FreeMember was intended to do this, as well, but I couldn't get that to work.


1

I've never used FreeMember but we're using Zoo Visitor on our site and have separate fields for different users. Zoo Visitor is not free but really well built, has great documentation and support.


1

You should be able to change the member group from Member Administration --> Member Preferences pane in the user profile page. If you want a user to be part of multiple member groups, you can use any Module that threats members as entries, such as Solspace User or Zoovisitor


1

Thanks Derek Hogue for the reply. But I have found a work-around for this. I manipulated the config file according to the URI.Changed the LINE #173, and added an IF-ELSE condition. if(stristr($_SERVER['REQUEST_URI'],"<Mypage_URI_Where_I_Dont_Cant_Captcha>") || stristr($_SERVER['HTTP_REFERER'],"<Mypage_URI_Where_I_Dont_Cant_Captcha>")){ $...


1

For what it's worth, I think sending a password reset email to a cc or (worse) bcc is a huge security and privacy concern. As a user I certainly would not be very happy about that happening. There is a big difference between a Super Admin being able to log in to a user's account via the control panel and that Admin knowing a user's password (which may also ...


1

Yeah, you're pretty much down to writing your own add-on which accepts the new password, then manually updates it. The core of the logic would like like this (after someone submitted your custom form): if(ee()->input->post('password') == ee()->input->post('password_confirm')) { ee()->load->library('auth'); ee()->auth->...


1

Seems like a possible bug. Try this: In mod.user.php, on line 5955 (User 3.4.6), change $good = ee()->input->get_post($this->sc->csrf_hidden_name); to $good = ee()->input->get_post($this->sc->csrf_name);


1

The Number member entries plugin looks like it should do the trick. Channels do have a channel_id, but I can't find it in the EE control panel easily. You could count the number of channels down from the top of your Channels list (under Admin > Channel Administration > Channels). You could also use the Developer Info add-on to find the channel_id. {if ...


Only top voted, non community-wiki answers of a minimum length are eligible