Hot answers tagged

5

It would be possible to write a plugin that provides an alternative login controller action, based on UsersController::actionLogin(). The difference would be that, if normal login fails, it could try checking the old ExpressionEngine database to see if the user exists there, and if so, it could hash up the password in the same way EE does it, and see if it ...


5

Tricky is a mild way of putting it. EE and Craft both hash (not encrypt) their passwords differently. Hashing differs from encryption in a few ways, but the most important one here is that hashing is not reversible, which means that the passwords cannot be recovered. Which, in turn, means that if you import the user information into Craft, the members still ...


4

I would also go the SSO way: Install a nice stand-alone discussion forum and connect it with Craft: phpBB (phpBB3 Cross-site Sessions Integration) Vanilla Forums (Implementing Vanilla jsConnect Single-Signon) vBulletin (SSO Plugin) Invision Power Board (Single Sign-On)


4

You may want to look at http://vanillaforums.org/ its open source and php based like craft. You host it yourself so no need to worry about a Saas providers longevity (they do offer a hosted option as well at vanillaforums.com) It has a single sign on option that seems to allow for a basic forum but I havent yet actually tried it, although we have a project ...


4

This the best article I've read on reliably delivering emails through code: http://blog.codinghorror.com/so-youd-like-to-send-some-email-through-code/


4

You're close! Those config settings are off in no-mans-land right now. If you want them to apply across all of your multi-environment configs, you need to move them into the '*' array like so: return array( '*' => array( 'omitScriptNameInUrls' => true, 'setPasswordPath' => 'user/set-password', '...


3

Something like this should work, but keep in mind there are lot's of ways to accomplish this. Without knowing your requirements, I'll assume you want an index page of assets, that link to an asset detail page. The detail page would show all comments and provide a form to add new comments. On your assets index page (i.e. '/clientarea/lightbox'): {% ...


3

I think I figured out how to do it but I'd like to get any opinions on this matter. Right now I've setup a dummy template which contains a redirect to the URL with the parameter I need. So: 'activateAccountSuccessPath' => 'members/activated And then that template contains: {% redirect 'members/profile?activated=true' %} This is working great. And I ...


3

Just about to start a project where we will be integrating Muut.com, and using their Single Sign-On functionality to make it a pretty seamless experience for our users. Wish I could have native functionality (always worried that any SaaS provider will one day go away), but they look to be the best option.


2

Not currently... we've discussed adding a sort of audit or activity trail to Craft itself, but haven't flushed out any details or timeline. In the meantime, you could probably get 95% there with a custom plugin that listens to the various Craft events you're interested in.


2

Should be no problem, Craft has extensive user management capabilities, check https://craftcms.com/features/users & https://craftcms.com/docs/users as well as solid asset management https://craftcms.com/features/assets Log in to the demo https://demo.craftcms.com/ or do a local install, as long as your test domain has .dev in the url you can fully test ...


2

Check out the Legacy Login plugin... https://github.com/TopShelfCraft/Legacy-Login It's designed to handle a migration of users between EE and Craft.


2

If you have a front end form for user registration then you should mark the fields as required in the CMS, you can then make use of Crafts form validation. I had a project where we imported user data that didn't contain all required fields so needed to redirect users, after they signed in for the first time, to their profile page if data was missing. I ...


2

Why don't you just set up two separate asset sources, one default one with files being freely accessible and one source with access for logged-in users only by making use of that Internal Assets Plugin you mentioned. Instead of managing the rights with a lightswitch you would upload or move the assets in the right source. Another option would be to have ...


2

Try this: {% if currentUser %} {% set name = currentUser.firstName %} {% if craft.lj_cookies.get('account') != name %} {% do craft.lj_cookies.set('account', name) %} {% redirect name %} {% endif %} {% endif %} In you're original code you're setting the cookie before getting it into the redirect variable, so the {% if redirect == ...


1

This is definitely possible. While certain features can be done with a custom module, my answer will focus on using Sprout Email as that plugin makes it easier to give your users more control in the email management workflow. Sprout Email comes with several Notification Events. For example, when your customer submits their inquiry form you could configure ...


1

Commerce 2, currently in beta, does support subscriptions, but right now it's only when using the Commerce Stripe payment gateway plugin. If you're using a different payment gateway that supports subscriptions, you'll have to write a custom Craft/Commerce plugin and you can use the Commerce Stripe one as a starting point. The relevant Commerce subscription ...


1

Another possiblity is to have a members/activated template which does nothing but include the members/profile template: {% include 'members/profile.html' with {'activated': true} %} That avoids the html redirect.


1

You might like to check out this alternative http://www.discourse.org/


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