Jump to content

JeevanisM

Members
  • Content Count

    91
  • Joined

  • Last visited

Posts posted by JeevanisM


  1. On 11/20/2019 at 5:08 PM, rick said:

    Many ISPs throttle email delivery. I've had emails take up to a day to be delivered. There isn't anything you can do about their setup. This could be your email system or your client's email system or both causing the problem. You could possibly eliminate your provider by using a reputable provider, such as gmail, mailgun, etc. to send emails. You will still be at the mercy of the client provider though.

     

    you are right. I just fixed it with a dirty work around 😛


  2. On 11/11/2019 at 9:40 PM, BitPoet said:

    Did you adapt the SMTP settings in php.ini? It might be configured to use sendmail by default.

    I am not sure about the php.ini settings in my shared hosting.

     

    One more query, can I just disable this verification link sending to registrant email feature ? can I just proceed and complete the registration with out that step ?


  3. On 11/18/2019 at 7:04 PM, Zeka said:

    @JeevanisM I don't think that your issue is relative to module. 

    You can try to use https://processwire.com/blog/posts/introducing-tracy-debugger/#mail-interceptor-panel to see how fast PW sends mail. 

    Can you please explain, how Login/Register send email ? Is it using the SMTP of admin email ? I have gmail for the admin email, so is there settings for permission in google to use the SMTP ?


  4. Hello,


    first of all, thank you for this great module. I would like to mention one issue I met when I used this module in my new project. I have a registration page link for users in my website, and when apply for registration, it will redirect to the page where the user has to put the activation / verification link which is sent to the registered email.

    Now the problem is, the time delay to get this link in email. It took almost 20 minutes to reach this link in the registration email. I checked with both yahoomail and gmail. I guess, in a business point of view, customers wont wait for that long time.

    So is there any way to speed up this email time delay ? any configuration settings ?


    thank you


  5. 16 hours ago, rick said:

    What does tracy debugger show:

    
    $u = wire('users')->get("name=saarun");
    d($u);
    d($u->Phone); // dump content of your fields

    When you view the user while in admin, what does that page look like? By that I mean you should see all the fields for the user template and the field's current values. If the field (for example, Phone) is empty, then there is an issue with saving the data to the page. Most likely the data is not the correct format.

    Do the logs display any information?

    Hello @rick

     

    thank you for replying me. I will explain step by step what I have done and what is my requirement.

    1. I have a user registration form built on Login/Register module in which I need to save the user telephone along with username/password. As a default, login/Register module only have email, password fields in the registration form. so I need a phone number field there too.

    2. so I searched and found there is a module called Phone Field type, I installed and created a new field using that type. I dont need any fancy feature, just need 10 digits without any country code or extensions

    3. then I added this new field to the user template, then I opened the Login/Register module configuration and added those this phone field

    4. I saved everything, and I went to registration form, in which I can see the new phone field entering form

    5. I registered, with email, pass and phone number

    6. But when I tried to output the phone number its empty, so I went to the users page in admin section and check if the number is saved. But its not saved.

    7. so I tried to save it from the admin/access/users page, and then I checked it via outputing, now its working. So the field is not getting saved from the registration step.
    8. so I thought this must be some conflict with login/register module and the phone field type module.

    9. so I created a new standard Integer field, and labelled it for phone

    10. I added this new field to user template > then login/user field to the registration page

    11. Before I register from frontend, I tried to save the phone number from the admin/access page but I got an SQL error

    Error saving field "userphone" - SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'data' at row 1 +1

    Now I am clueless, what to next ?

    How do I create a standard integer phone number field ? or why  the Login/Register module is not taking the phone type


  6. Awesome plugin... Just a small doubt. For a user who login / register using the GMAIL account, can we ( the developer ) extract this user email address, which is the gmail address this particular person used to login ? IF yes, how  ?

     

    thank you


  7. On 11/7/2019 at 2:12 PM, BitPoet said:

    If you plan to go live with validation email enabled anyway, it would also make sense to use a dummy SMTP server like FakeSMTP. That way, no mail is actually sent out but you have an instant preview, can save all mails to files, view those in your mail application and test the validation links inside.

    FakeSMTP is not catching my localhost SMTP messages. I tried port 25 and 2525


  8. 3 minutes ago, rick said:

    It's a good idea to limit your support request to only one category. Posting in multiple places makes it very difficult to track the progress.

    I found this thread at last only, will delete all other posts.


  9. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

    and I want to use this field in the Login/Register module. I want know whether this field support in the Login/Register registration form ??

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  10. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

     

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  11. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

     

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  12. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

     

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  13. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

     

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  14. 9 minutes ago, elabx said:

    In what context are you trying to output it? Do you mean in a tempalte,  after "first login"? Could I see some code?

     

    Basically, how can I store / save a phone number from the registration form ? Login/Register module supports only email and password fields for default. But I read some tutorials and tried this adding custom field to User template. But I am not able to output it


  15. @elabx

    sorry if I confused you. so I have followed your suggestion.. I caught the Payment status and put the user paid status 1 for success payment. that part is done.

    now, in the login/register module, I have added an extra field which is a phone number for the user to register.  Well, I have done this in a way that

    1. first I installed a module for phone type

    2. added a new field and selected the module phone type

    3. added this field to the User template

    4. added this phone field to the Login/Register configure option in order to show the Phone Number entry in Registration Form

    Now, once the registration is done, I tried to output $user->phone, just as $user->email but $user->phone shows null  while $user->email shows correct user email.

    So is there anything wrong I have done ?


  16. Hello,

    I have created a standard field type as userphone , then I added this field to the User template. I created a phone field type using Phone Field module. I added this field to the User template also.

    image.thumb.png.f40f3d23d3f8849fdf15e13a06ef63b6.png

    Now I used the below to create a test user

     $u = new User();
    $u->of(false);
    $u->name = "saarun";
    $u->email = "saarunthomas@example.com";
    $u->pass = "123456";
    $u->Phone = 9446196667;
    $u->userphone = 9446196667;
    $u->headline = "hello there";
    $u->paid=1;
    $u->addRole("registered");
    $u->save();
    $u->of(true);

    and I tried to out put as below

         $item = $users->get("saarun");
    echo $item->email;
    echo $item->Phone;
    echo $item->paid;
    echo $item->headline;
    echo $item->userphone;

    and I got the output a below.  Neither the userphone value nor the Phone value are output ... what am I doing here wrong  ? pls help

     

    image.png.eee59c5c952dd521d71cb1dd8d23cd22.png


  17. On 11/6/2019 at 8:41 PM, elabx said:

    Take a look at what the payment gategay sends as a response in the return url and use that to check true a "Paid user" field in the user. 

    
    $user->of(false);
    $user->paid = true;
    $user->save('paid');

    Here I asume you already got $user with data you got on the return url. 

    One more doubt I have.

    I have added a custom field as Phone Number to the login/Register Module. Now once the registration is done, I am not able to output the $user->phone;

    this display a null value. What would be the problem ?


  18. Hello all,

    I just started use this amazing module Login/Register 

    I want to know whether its possible to disable the Email validation sending link to the registered user. For atleast test purpose ? because I develop on LocalHost with no internet, and these email things wont work in localhost, but I need to continue with development test cases. So is there any option to turn off this email validation ?

     

     

    thank you


  19. 1 minute ago, elabx said:

    Take a look at what the payment gategay sends as a response in the return url and use that to check true a "Paid user" field in the user. 

    
    $user->of(false);
    $user->paid = true;
    $user->save('paid');

    Here I asume you already got $user with data you got on the return url. 

    Wow. that will work.. thanks for that. I will return to you in case if I meet any issues.  You really helped me __/\__


  20. @elabx

    my situation is slightly different. My work flow is as below

    1. the registration page ( user case - Guest & unpaid )

    2. user register now and success ( user case - registered & unpaid)

    3. registered user can click the payment button ( for this I use PayTM , so the user will be taken to the payment page and after success I can put a custom Return URL )

    4. in case of successful payment, I need to flag this registered user as the paid user. This part, how can I do in this ProcessWire way ? Is there any API to tinker the database to add such a custom flag ?

    5. registered user clicks the payment button and proceed but failed the payment somehow, then the user remains as the unpaid one

×
×
  • Create New...