Petar Korponaić
Petar Korponaić
Hum... tracker fires when Meteor.userId() is changed (which is the same both on register and on login). You can simply add one redirect command into form's onsubmit event (you can...
@xauxatz there is proper way (without hacks) to do that, but only if user is not allowed to visit other pages until he/she enters additional info after registration (I guess...
Other ideas: in users collection, add login_counter (could be useful anyway for admin to track user’s app usage) and if Meteor.user().profile.login_count==0 redirect. can be code added to home page’s route...
(you need to store some flag about user anyway - simple redirect in registration form will not work because router redirects user from that form imediatelly when user is logged...
@xauxatz I will make example for you, later today when I reach my computer.
@xauxatz here is example app: https://www.meteorkitchen.com/app_details/about/MuNW4J96D962bF7GT
When user is registered, he gets role "unverified" and cannot access "home_private", so router redirects user to first allowed route and that's "user.settings". I added field "profile.phone" to user settings,...
@Urigo meteor-kitchen generating code with angular-meteor would be great! But, I am total n00b with angular and don't know how much efforts is required to integrate it. I am busy...
@Urigo "application.packages.meteor" is array of strings (package names) Example: ``` --- application: packages: meteor: - "mdg:camera" - "copleykj:livestamp" ``` Generator will add mdg:camera and copleyk:livestamp packages to app.