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".


13

No direct experience doing this, but I'd take this approach initially: Each "tier" is a channel entry. You could include things like price, description, etc. here (perhaps this is also a "products" channel used by CartThrob or Store, used to "sell" the tier). Use an add-on such as Zoo Visitor or Profile:Edit to create members as channel entries, then use a ...


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

I am not entirely sure what you are trying to do. But given the fact that the native Member module is not good for much of anything, I always recommend not using it. Using an add-on that stores profiles in channel entries allows you to use any fieldtype you want and get the level of flexibility you need. I am sure there is a fieldtype (FT) available to what ...


8

You can use the {exp:member:custom_profile_data} tag to access the member's profile information. By default it will use the currently logged-in member. http://ellislab.com/expressionengine/user-guide/modules/member/index.html#custom-profile-data-tag As this is a module tag this should now parse the {member_id} variable earlier than the {exp:query} tag: {...


8

There are probably multiple ways to accomplish this but the Query module has really become my go-to when there are specialized requirements for the data I want to display, or when there aren't obvious ways to do something with regular EE tags. Here is an example of what I think you are asking for. Show all the members for a couple member groups (add more if ...


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

I keep my site in online mode, but have the templates restricted to logged in members. When a non-logged in member visits the site they are redirected to a "splash" template with a login form. Once logged in they can see and do everything. You can set this up in template preferences - It should be just ejnough to redirect the homepage as no-one else should ...


7

If I recall correctly, the trigger itself is not enough - you need to append your action to the last segment At least, thats what I figured to be the problem when I had this. I had to go to /profiles/login/ and /profiles/profile/ etc and then this worked fine. Although this could be a bug - but is the way that I've done it.


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

I suggest moving the member info over to channel entries with a third party add-on like Profile:Edit or Zoo Visitor. This opens member data and gives you a ton of power and flexibility you normally get with channel entries and custom fields. You could then use DataGrab to setup and configure a member import to automatically load a .csv file from a given url ...


6

It might be easier for you to leave the site online. You can emulate offline functionality by doing this: Create an alternate main index template named something like "home." Create a special "Coming soon" page for your main index template. Create a snippet with these contents:{if logged_out}{redirect="/"}{/if} Add the snippet to all of your pages (except ...


6

Yup; a username is required and must be unique.


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

Member data is stored in (at least) 3 tables: exp_members, exp_member_data and exp_member_homepage. You can use SQL to delete the members from these tables. The safest way to delete them is to the the member model's delete_member method. This will make sure any relevant extensions are also run, clean up all the database tables (eg, if the member had posted ...


5

A query: DELETE FROM exp_members WHERE last_visit = 0


5

I'm pretty sure that the Solspace User Module allows you to assign a specific 'on activation' member group for new registrations created through the modules front end tags. When approved the user is then automatically moved to the relevant group.


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 ...


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