General discussion
Change first page user sees when they login

I would like users to see the main forum page when they login. Currently they are sent to the index.php?u=/user/profile page.

How do I change this to just index.php?
Thank you

I would like users to see the main forum page when they login. Currently they are sent to the `index.php?u=/user/profile` page. How do I change this to just `index.php`? Thank you

Hi mate, this should do the trick:

  • Edit the following file with a code Editor like Notepad++ or Sublime:

  • Open: codoforum\sites\default\themes\default\templates\user*login.tpl
    Go to
    line number 161 and replace the default code - this one*
    :

window.location.href = codo_defs.url + 'user/profile';
  • with that one:
window.location.href = codo_defs.url;
  • Now save, upload the file, recache browser and it should work.

Kind regards,

Andy

Hi **mate**, this should do the trick: - Edit the following file with a code Editor like Notepad++ or Sublime: - Open: codoforum\sites\default\themes\default\templates\user\**login.tpl** Go to **line number 161** and **replace** the default code - **this one**: ```` window.location.href = codo_defs.url + 'user/profile'; ```` - **with that one**: ```` window.location.href = codo_defs.url; ```` - Now save, upload the file, **recache** browser and it should work. Kind regards, Andy

45 years old and still not smarter lol

Check my GitHub Repos: https://github.com/WebCrew

My CrazyMates Account: https://crazymates.de/Crazymate

Cute but Evil Community: https://cute-but-evil.de

edited May 3 at 10:06 pm
14
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft