Been having some problems doing something that I'm sure is probably very simple.
I have Phorum installed on my main server at [
www.myserver.com] - and it's working fine.
I want however to put a simple logon box (http://www.myserver.com/index.php) onto the main site homepage and then redirect back to the homepage once logged on.
I guess I'm misunderstanding some of the things I've read but I'd hoped that something like:
<form action="[
www.myserver.com]; method="post" style="display: inline;">
<input type="hidden" name="forum_id" value="0" />
<input type="hidden" name="redir" value="/index.php" /> // I.E. A level above the phorum dir //
Username<br />
<input type="text" id="username" name="username" class="form_entry" size="12" />
Password<br />
<input type="password" id="password" name="password" class="form_entry" size="12" />
<input type="submit" VALUE="Submit" />
</form>
Would do it - but it doesn't - it goes to the normal Phorum post login page.
I've had success pointing it to pages within the Phorum (forum) directory itself - i.e.
<input type="hidden" name="redir" value="/forum/search.php" />
will direct it to the search page post logon.
Very new to this (but have the forum set up coloured in as per client spec and working) I'm almost there? Any help appreciated.