• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

node38N

node38

@node38
About
Posts
2
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: Detect User Login & Redirect
  • node38N node38

    Thank you for your quick reply.

    Is there a way to check logged-in status without specifying a user?

    All I want to be able to do is to have a custom homepage for my NodeBB website that only displays to guests.

    If one of my registered (& logged in) users visits, have it send them to the forum rather than to the custom homepage.

    Thanks again for your help, appreciated.


  • Detect User Login & Redirect
  • node38N node38

    Hi everyone, thanks for any input on this.

    Is there a way to detect if a user is logged in to NodeBB and have them redirected depending on that status?

    Specifically,
    User visits www.example.com, a basic html home page.

    • If user has logged into NodeBB previously and is still logged in, redirect them to the Nodebb forum (www.example.com/forum).
    • If the user is not logged in, do nothing.

    I would appreciate any guidance on this,
    Thanks for your time.

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.