Camen Design Forum

Forum as part of Intranet where user already logged-in

Martijn

I haven’t given this much thought, but the answer is yes. You will have to get into some of the code though.

All the logged in state is checked and set on lines 165–215 of start.php: https://github.com/Kroc/NoNonsenseForum/blob/e8a996c6cd3eb97c9de8762e3aa31b3b29508f93/start.php#L165-L215

You’d probably come a long way by defining the `AUTH` (and maybe `AUTH_HTTP` too) depending on login state in your session. Then define `NAME` as the name from your session.

If you have set `AUTH_HTTP` to true, the theme will by default remove the entire login form and display the user’s name prefilled. So the whole “allocating” is then automatically taken care of (see https://github.com/Kroc/NoNonsenseForum/blob/e8a996c6cd3eb97c9de8762e3aa31b3b29508f93/thread.php#L202-L207).

If you are hacking on the code and would like to brainstorm some ideas, you’re welcome to see if either @Kroc or I are available on the Discord! http://forum.camendesign.com/camen-design-discord-server

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn