1 (edited by 2008-08-21 19:52:48)

Topic: [FAQ] Put a CuteNews login box somewhere in your site

Name: Login Form
Author: Flexer
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: Log's you in into CuteNews from your site.
Instructions:
If you want to have login box for CuteNews somewhere on your site, you can use this simple HTML

<form action="URL_TO_CUTENEWS_INDEX" method=post>
 <input type=text name=username>
 <input type=password name=password>

<input type=hidden name=action value=dologin>
<input type=submit value='Login'>
</form>


and replace the URL_TO_CUTENEWS_INDEX with the real URL to cutenews/index.php

Newer CuteNews versions also need to following.
open the CuteNews index.php and find

$config_check_referer = TRUE; // Set to TRUE for more seciruty

change the true value to false.

For a more advanced login box, look here: http://www.xs4all.nl/~cvdtak/loginbox_1.0.htm