Hot answers tagged

15

Check if that channel is assigned a status group from CP -> Admin -> Channel Administration -> Channels -> Edit Group Assignments. Here make sure that you have selected a status "Status Groups".


10

Take a look at Postmaster v1.2, which brings Profile:edit compatibility into the mix. https://objectivehtml.com/postmaster/hooks/profile-register-end You can send an email with the register and edit tags along with the user's password. Not sure if there is a way to do this natively with Profile:edit, but I know Postmaster works.


9

If the members you are deleting have something simple in common (e.g. They never logged-in ) then you can use the member clean up tools - these might work for you. Go CP Home › Admin › Utilities › Data Pruning › Membership Account Pruning Obviously back-up first before even looking at this and YMMV but for EE 1.6 the data pruning might be handy.


9

Yip. You're looking for: ee()->session->userdata('member_id'); It's in the session class: http://ellislab.com/expressionengine/user-guide/development/usage/session.html


8

What you're referring to is the auto increment value in a table. You can change this by running the following query: ALTER TABLE mytable AUTO_INCREMENT = X ...where X is the next number you'd expect for your IDs. This is a database-level change and not something ExpressionEngine has as a "feature". Only make this change if you understand you might break ...


8

I know this is marked answered for 8 months, but here is an answer without any add-ons needed, which is in the original question. Set template access for guests to off. Have it load a login template instead. In the login template do this for the login form: {exp:member:login_form return="{segment_1}/{segment_2}/{segment_3}"} What I like about this ...


7

There are a number of member add-ons that substitute the native member module for channel entries. They are: Zoo Visitor Profile:Edit Safecracker Registration Since members are handled as regular channel entries, you are free to use any custom fieldtype. Also, since they are channel entries, you can use Safecracker to allow the users to edit their own ...


7

You could use one of the add-ons that connect member registration to channel entries and then use a relationship field to connect a member to other members. (alternatively, you could use a fieldtype a la select member) Several member add-ons that connect members to channel entries: Zoo Visitor http://ee-zoo.com/add-ons/visitor/ Safecracker registration ...


7

If you're comfortable with SQL, you can update the database to change the member_id on the comments to one that's not being deleted. So, you could create a 'past member' member, and then update the comments to use the member_id of the 'past member'. This will disconnect those comments from the members you want to delete. Other options: Save a backup of the ...


7

You will get that error if you have secure forms enabled, and you submit a form without including a valid XID in the post. More here: http://ellislab.com/blog/entry/putting-the-secure-in-secure-mode-forms Add this to your form: <input type="hidden" name="XID" value="{XID_HASH}"> You can disable secure forms in your config, although this is not ...


7

Based on @Max Lazar's comment I was looking over our "logout" code vs. the code given in EE's documentation and I noticed this difference, we use this code: Log Out, but the docs say to use {path='logout'}. Does it matter? I solved the mystery. The question I made above ^^^ was key and I probably should have just tried it from the get go. Turns out it ...


7

Yes, the cookies are still susceptible to being intercepted. The full set of cookies for matching domains is transmitted by the browser with each page request to that domain, even if the original cookies were set using HTTPS/SSL and the current page is HTTP. One way around this is by setting the "secure" flag on cookies you set. Any cookies set with the "...


6

It can be done, Salesforce is integration using SOAP - so all you'd need to do is to write an EE Module wrapper for SF which encapsulates the necessary calls. The API for Salesforce is available here and should identify all the things that you can do with it. You can either have the data held in EE and in SF, or simply write a module which 'pulls' the ...


6

That data is stored in the exp_sites table in the site_system_preferences column in a serialized array.


6

This is because all “id” columns in EE are set to AUTO_INCREMENT in MySQL. Expressionengine is never explicitly choosing what the next member/entry/etc.’s ID is going to be – MySQL assigns it automatically. MySQL stores the latest auto-increment value internally, and it won’t automatically drop it back when a row is deleted. Some tools like phpMyAdmin will ...


6

Use the forgot password form instead? Exactly. Without building custom code to do this (which is quite doable), this is the way to go - and I suggest using FreeMember and its Forgot Password form on the front-end, so users can use it directly. That way your Client Admins don't have to be bothered.


6

Always backup first! Hopefully they're all still pending. Go into phpMyAdmin query tab and run the following query to delete pending members: DELETE FROM exp_members WHERE group_id = 'PENDING GROUP ID' You can also run the query right from the control panel: Admin › Utilities › SQL Manager › Database Query Form If the site isn't setup to verify ...


5

What is the proper way to customize the login page?. Just pop the native Login Form Tag into your template. You'll want to use the Login Redirect extension to get around the annoying default "you are logged in" message. How do I tell EE that when a member of a particular member group logs in that they should be redirected to the customize CP that I plan ...


5

If we create an account for a user, generally staff member for the client, we've create just a basic email auto response, that we send them that includes the link to the password reset page. So the email typically looks like: Dear {screen_name}- You've been recommended for access to edit, modify, and or create content for the '{client}' website. We've ...


5

By default the member variables use the logged in member, but the hooks API gives developers the ability to override that, which Profile:edit does. Each hook inherits the same rules, but they can break them at will. I will try to improve documentation on special exceptions. So when you register or edit a profile, the member data that gets passed to the ...


5

I always recommend my add-on Authenticate. https://objectivehtml.com/authenticate/documentation/tag/logout-url {exp:authenticate:logout_url return="/some/return/url"}


5

Indeed, not long ago this would require a core hack. Not sure exactly when this was fixed, but anyway these days you can add the following to your config.php file: $config['un_min_len'] = 2; // allow a username w/only two characters


5

I’ve been down this road a number of times, and have even had problems with emails originating out of an EngineHosting server while email was handled through Google Apps. There’s probably a problem between what your server is reporting its address as and what your email that’s being generated says its from. I would highly recommend moving all transactional ...


5

Option 1: Use Conditionals In your members/account/{member_id}/profile template (or portion of your template, since you're using Switchee), you can wrap the profile-editing form and other content in a conditional to make sure the user can only edit their own profile. All other users can be shown alternate content (an error message in this example): {if ...


5

Here's how I'm doing this using Profile:Edit, which is an add-on. I assume Zoo Visitor will support something similar. If you visit one of my news article pages, because it was linked in an email, at the top of that template I have: {if logged_out}{redirect='/members/login/{segment_1}/{segment_2}'}{/if} You could add all your segments there. The point is, ...


5

You will need to use either a custom query {exp:query sql="SELECT * FROM exp_members GROUP BY group_id"} tags here {/exp:query} The other option would be to use an add-on such as Solspace User and their users tag {exp:user:users} content {/exp:user:users}


5

In order to allow the apostrophe, I had to hack the core code. Specifically, a CodeIgniter helper within: /system/codeigniter/system/helpers/email_helper.php In there, find around line 40 this: return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $address)) ? FALSE : TRUE; Then replace that line with this instead: ...


5

It sure is. You just need to make sure you've mapped them to Store's order/custom order fields. Create your custom member fields in Members > Member Fields. Then, in Store > Settings > Order fields make sure the fields are mapped up to the member fields. If they are custom fields then use order_custom1-9. The right hand column is where you select which ...


5

If you're comfortable doing this directly in the database, these are SQL queries that delete all members who are not authors of channel entries: delete from exp_members where member_id not in (select author_id from exp_channel_titles); delete from exp_member_data where member_id not in (select author_id from exp_channel_titles); delete from ...


5

When a variable is returned, instead of echoing out your data means that it isn't an associated variable. In the Solspace User docs, it uses the variable {bday_d}. Try that, but there are more for the birthday, so check them out.


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