+ Reply to Thread
Results 1 to 6 of 6

Thread: redirect after login

  1. #1
    Senior Member
    Join Date
    Jun 2016
    Posts
    185

    redirect after login

    how do i redirect users after login to their list of listings

    Now it shows the account menu items.

  2. #2
    Quote Originally Posted by Fadil Asani View Post
    how do i redirect users after login to their list of listings

    Now it shows the account menu items.
    You can change it hardcoded only.

    1. Open file /includes/controllers/login.inc.php in row ~26

    2. And find code:

    Code:
    Only registered members can view the code.
    3. And replace it to following code:
    Where "my_listings" it's a key of page, you can replace it ro different key as you want.

    Code:
    Only registered members can view the code.
    Thank you, Curtis.
    @Flynax Company

  3. #3
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    thank you curtis.

    but only this helped:
    Code:
    Only registered members can view the code.

    and did not remove anythig. i only put it below
    Code:
    Only registered members can view the code.

  4. #4
    Junior Member
    Join Date
    May 2016
    Posts
    29
    Quote Originally Posted by Curtis View Post
    You can change it hardcoded only.

    1. Open file /includes/controllers/login.inc.php in row ~26

    2. And find code:

    Code:
    Only registered members can view the code.
    3. And replace it to following code:
    Where "my_listings" it's a key of page, you can replace it ro different key as you want.

    Code:
    Only registered members can view the code.
    better way:
    Code:
    Only registered members can view the code.

    this is only for dont redirection when user in add listing page
    thanks a'lot Curtis
    Last edited by Amir Zenhari; September 13, 2016 at 11:30 AM.
    ...

  5. #5
    Hello Fadil and Amir,

    You both are right but Curtis code is right also but each user want own logic. That's why Curtis show you where you can change but you can implement your code for your needs
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Junior Member
    Join Date
    May 2016
    Posts
    29
    Quote Originally Posted by Viktor View Post
    Hello Fadil and Amir,

    You both are right but Curtis code is right also but each user want own logic. That's why Curtis show you where you can change but you can implement your code for your needs
    yes, u'r right
    ...

+ Reply to Thread