Menu

#4 Automatic tan-login via mailing list

open
nobody
None
5
2004-10-08
2004-10-08
No

add values for name=tan and name=login to login via

href="output/project/login.php?tan=XXXX&login=email@host

This is needed if you wanna make surveys with many
people and automated mailing:

osp/output/default.login.php :

line 185:

<td class="basic"><input size="15" name="login"></td>

to

<td class="basic"><input size="15" name="login"
value="<?php echo $HTTP_GET_VARS["login"]; ?>"></td>

and line 189:

<td class="basic"><input type="password" size="15"
name="tan"></td>

to

<td class="basic"><input type="password" size="15"
name="tan" value="<?php echo $HTTP_GET_VARS["tan"];
?>"></td>

Next step : Automatic tan-list generation with
csv-email-list-support to mail the survey to the target
groups! Im going to write a patch now!

Discussion

  • Matthias Fenner

    Matthias Fenner - 2004-10-12

    Logged In: YES
    user_id=343280

    Works! Just click on okay .. and the user can do the survey
    using tan and email-address!

     
  • Matthias Fenner

    Matthias Fenner - 2004-11-01

    Logged In: YES
    user_id=343280

    This patch only worked if you open the link again - if you
    are on the login-page!

    Why: Due to a refresh problem!

    If done a rewrite at work and now - It worx!

    The new patched files are attached ! replace them with:

    osp/output/default.login.php

    and

    osp/output/default.index.php

     
  • Matthias Fenner

    Matthias Fenner - 2004-11-02

    Logged In: YES
    user_id=343280

    Now I made cosmetic fixes using java-script:

    If no login is passed , the output in address-line is now

    login.php , and not login.php?login=&tan=

    please send me comments!

     
  • Matthias Fenner

    Matthias Fenner - 2004-11-02

    Logged In: YES
    user_id=343280

    Now me made cosmetic fixes!

    If no login was passed using login.php?login=name

    the address-output is now login.php,

    not login.php?login=&tan=

     
  • Matthias Fenner

    Matthias Fenner - 2004-11-02

    Login patch (php and java changes)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.