• newuser.ssjs password question

    From Mark Iezzi@VERT to All on Friday, December 02, 2011 20:05:05
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mark Iezzi on Saturday, December 03, 2011 17:05:14
    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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mark Iezzi@VERT to Digital Man on Saturday, December 03, 2011 19:41:26
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mark Iezzi@VERT to Digital Man on Sunday, December 04, 2011 13:18:49
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mark Iezzi on Sunday, December 04, 2011 19:03:32
    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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net