• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Initial landing page after login
#1
is there a way to set the page users land on when they initially log in? Currently when a user logs in it takes them to the account info page.
  Reply
#2
Yes. Basically you're looking for any place that has

Code:
header("Location: account.php")

in the code. You will want to make a change on

line 14 of login.php
line 1189 of models/funcs.php
line 27 of register.php

I will make this a setting in UserSpice version 4.0 so you won't have to dig through the code to make this change and it will stick with you through updates.
  Reply
#3
(01-27-2016, 04:52 PM)mudmin Wrote: Yes.  Basically you're looking for any place that has

Code:
header("Location: account.php")

in the code. You will want to make a change on

line 14   of login.php
line 1189 of models/funcs.php
line 27   of register.php

I will make this a setting in UserSpice version 4.0 so you won't have to dig through the code to make this change and it will stick with you through updates.

Thanks for a great framework :-)
I do not find the setting? -Can you point me in the right direction?
  Reply
#4
Hi there,

This feature was not yet released. I believe it is apart of 4.4.

Thank you,
Brandin.
  Reply
#5
(09-18-2018, 05:56 PM)Brandin Wrote: Hi there,

This feature was not yet released. I believe it is apart of 4.4.

Thank you,
Brandin.

Thanks, I edited the login.php and changed from $dest = 'account.php'; to $dest = 'index.php';
Not so clean but works for now :-)
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)