• newuser.ssjs password question

    From Mark Iezzi to All on Fri Dec 2 20:05:05 2011
    Hello,

    I would like to remove the e-mail passowrd feature from newuser.ssjs when new users sign up from the web. I would like to have it show there temp password on the page. Has anyone found a solution or can you guide me in the right direction.

    Thanks
    Mark
  • From Digital Man to Mark Iezzi on Sat Dec 3 17:05:14 2011
    Re: newuser.ssjs password question
    By: Mark Iezzi to All on Fri Dec 02 2011 08:05 pm

    Hello,

    I would like to remove the e-mail passowrd feature from newuser.ssjs
    when new users sign up from the web. I would like to have it show there
    temp password on the page. Has anyone found a solution or can you guide me in the right direction.

    Change line 307, from:

    if(http_request.query.netmail != undefined && http_request.query.netmail != '')
    {

    to:

    if(false) {

    and line 376, from:

    if(http_request.query.netmail != undefined && http_request.query.netmail != '')

    to:

    if(false)



    digital man

    Synchronet "Real Fact" #54:
    Synchronet Terminal Server introduced RLogin support w/v3.00c (2000).
  • From Mark Iezzi to Digital Man on Sat Dec 3 19:41:26 2011
    Re: newuser.ssjs password question
    By: Digital Man to Mark Iezzi on Sat Dec 03 2011 05:05 pm

    Re: newuser.ssjs password question
    By: Mark Iezzi to All on Fri Dec 02 2011 08:05 pm

    Hello,

    I would like to remove the e-mail passowrd feature from newuser.ssjs when new users sign up from the web. I would like to have it show there temp password on the page. Has anyone found a solution or can you guide m in the right direction.

    Change line 307, from:

    if(http_request.query.netmail != undefined && http_request.query.netmail != {

    to:

    if(false) {

    and line 376, from:

    if(http_request.query.netmail != undefined && http_request.query.netmail !=

    to:

    if(false)



    digital man

    Synchronet "Real Fact" #54:
    Synchronet Terminal Server introduced RLogin support w/v3.00c (2000).

    Hi,

    made the line changes still no good. when you click on join it automatically shows newuser_created.inc i need a way of passing the password variable to newuser_created.inc i am using the nightshade template.

    thanks
    mark
  • From Mark Iezzi to Digital Man on Sun Dec 4 13:18:49 2011
    Re: newuser.ssjs password question
    By: Mark Iezzi to Digital Man on Sat Dec 03 2011 07:41 pm

    Hi,

    I made the changes but still didn't get the password to show on the screen. I did find a way of doing it but it really isn't that good.

    find the line that says:

    Template.title="New User Created";

    I added the following line after that:

    template.user_greeting="Your Temp Password is: "+newpw;

    it shows up at the top right corner of the page where welcome guest would show.

    Let me know if you find a better way :) also is there any docs which show what functions I can use with template.**

    for example template.title , template.user_greeting, etc..what else is there?

    Thanks
    Mark
  • From Digital Man to Mark Iezzi on Sun Dec 4 19:03:32 2011
    Re: newuser.ssjs password question
    By: Mark Iezzi to Digital Man on Sun Dec 04 2011 01:18 pm

    Re: newuser.ssjs password question
    By: Mark Iezzi to Digital Man on Sat Dec 03 2011 07:41 pm

    Hi,

    I made the changes but still didn't get the password to show on the screen.


    I made those same changes and it worked fine (using the default theme).

    digital man

    Synchronet "Real Fact" #57:
    The last version of Synchronet to run on MS-DOS and OS/2 was v2.30c (1999).