moodle first time login redirect to custom page - moodle

I have moodle site with custom signup page when new user register user redirect to the home page but then it automatically redirect to the profile edit page which is at(http://www.test.con/user/edit.php?id=46&course=1) once i update profile i can go to home page.so i want to stop this and redirect to home page.

The automatic redirect happens when a user has required fields in their profile that still need to be completed.
Maybe you could make all required profile fields required fields in your custom signup page too, then users will always have completed them already by the time they log in for the first time.

I think it is related to the configuration of "Default home page for users":
Go to Site Administration => Appearence => Navigation
Select other option other than "User preference".
Hope that helps!

Related

Page Access for anonymous user and with a specific group

I have a page: /events/
(a) If the user is not logged in, i want him to see a login
-> Result: Page is visible for all + Login-Element on page (with: hide on login)
(b) If the user is in the usergroup eventuser, he should see an event-plugin on the page
-> Events-Plugin is on page (with group permission: eventuser)
Everything cool for those two guys.
But if the user is a normal logged-in user (without the group eventuser) the page /events/ is empty.
How can i create a page which is accessible for anonymous users (to show a login) and is visible in the navigation for eventusers but not for standard fe_users?
Create two pages on the same level.
The first one is accessible for everyone (with "hide on login" set), the second one is accessible for the eventuser group only.
Create your login plugin on the publicly available page and set a redirect to the restricted page on successful login.
Create your event plugin on the access restricted page.
Now you need to set a redirect page for your other groups (or the other way around) after successful login, so all other groups, except eventuser will get redirected somewhere else. They won't see the events page at all.
hth
You need to create two user group eventuser and websiteuser.
Now you can redirect user on specific page using redirect option in group configuration.
If user assign websiteuser gruop then you can redirect it's your site home page and eventuser group redirect to event page.
See below screenshot.

Page we need to choose to override for Custom User Registration in Liferay 6.1 among these two?

I am in need of override the User registeration page inside the Liferay .
My requirement is that i need to add a Password and password confrmation field to it to the newly created user .
Before creating a hook to modify the jsp and the UserLocalService , i have got a below query
I have seen two user registration screens which are
a screen popped up when navigated through Sign -In ---->Create_account Page
Control Panel ---> User and Organization ---> Add User Page
Could anybody please let me know what is the page i need to choose from the above two ??
Also please let me know what is the difference between these two screens ??
Option 1 is for scenario when any guest user comes to your site and do registration.
Option 2 is screen where admin user creates user.
For user registration customization, you have to override create_account.jsp from sign in portlet.(option 1)

Create a change password page

I have added a plugin called "force password" which will force members to change their password on their first login.
However, because I redirect the users to a profile page I have done myself, I don't want them to be redirected to the dashboard or to be able edit my profile page.
Instead, I want a screen to popup with a "change my password" box or a change password box to be loaded on a similar page as the login page. After they change their password they will be logged into their profiles.
I'm not sure what your question is, but what you need to do is to hook into the wp init action that runs when a request starts. There you can check if the password has changed, put up the form, check the post values and do your redirects.
Redirects must be done in the init before Wordpress starts writing to the response.

How to automatically redirect to home page after session-timeout

I would like to automatically redirect control to my community home page after session-timeout.
I tried putting below properties in my portal-ext.properties file but after session-timeout it doesn't automatically goes to community home page however if I click on any link or button it goes back to home page.
Can anybody please let me know how control can automatically be transffered to home page after session-timeout instead of clicking on any button or link.
session.id.delimiter=
session.id.weblogic.delimiter=!
session.timeout=5
session.timeout.warning=1
session.timeout.auto.extend=false
session.timeout.redirect.on.expire=true
default.landing.page.path=/web/demo/home
last.modified.check=false
theme.css.fast.load=true
javascript.fast.load=true
hibernate.show_sql=false
com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter=true
com.liferay.portal.servlet.filters.unsyncprintwriterpool.UnsyncPrintWriterPoolFilter=true
jsp.writer.buffer.size=0
finalize.manager.thread.enabled=true
session.enable.phishing.protection=true
Environment: Liferay 6.0
Thanks
Add/Update below properties to your portal-ext.properties file:
default.logout.page.path=/web/guest/home
auth.login.url=/web/guest/home
default.logout.page.path=/web/guest/home is the url redirected to after the logout.
How to logout and redirect to /web/guest/home automatically after session timeout?At present we are hosting few widgets on the dashboard page. When a user click any of the widget after session timeout, a new tab opens and is redirected to /web/guest/home. How to logout from dashboard page automatically after session timeout

Facebook Landing page is not letting me click on it after Like it

I have a landing page that works when people click on it and they can go back to it after they like it , but when I try do do that on my own page it jumps me right back to the wall! I have removed the page,put it back on still won't work.
I presume you have a page tab app correct? If so, go into your page settings and set that page tab app as the default one to be loaded. Of course, if you're an admin of the page, that setting is ignored, so you will have to test with a non-admin account. Also make sure that the app you have set as the default page tab is also a public app.