1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help Me About This! (Website)

Discussion in 'Web Design' started by C3R0X, Aug 26, 2016.

  1. C3R0X

    C3R0X BANNED BANNED

    Joined:
    Jul 27, 2016
    Messages:
    138
    Likes Received:
    38
    Gender:
    Male
    Hell0!
    Hope You all are well.
    I want to make a website.But I don't know how to make this kind of website.And don't know about this kind of template or plugin.

    I want to make a website like this-
    1. Visitor will get Box to enter their email (Need to approve only Gmail).It means if any user give a email where there is no "gmail" word.Then it wont be approved!

    2. Who enter a vaild Gmail address he will get my desired email automatically.

    #Weak in English

    Thanks in advance.
     
  2. Mr Paul

    Mr Paul Junior Member

    Joined:
    Nov 30, 2011
    Messages:
    180
    Likes Received:
    38
    It is very possible. But is it ONLY the email issue you need, or is there something else?
    you can easily do this with a coded/edited plugin
     
  3. serbyy

    serbyy Jr. VIP Jr. VIP

    Joined:
    Apr 7, 2009
    Messages:
    183
    Likes Received:
    77
    Gender:
    Male
    Occupation:
    Freelancer, Emailer, Coder...
    Location:
    Thailand
    from what u saying it can be done with a bit of javascript...and from what I understand u want a sq page that records only gmail addresses?...I can help u with that js part that u missing....skype me: serbi_junc
     
  4. C3R0X

    C3R0X BANNED BANNED

    Joined:
    Jul 27, 2016
    Messages:
    138
    Likes Received:
    38
    Gender:
    Male
    There is only email issue. Is there any plugin or template that you know.
     
  5. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    326
    Likes Received:
    152
    DO NOT USE JAVASCRIPT.. Jesus that is a bad recommendation.. Anything user facing can just be ignored with a simple browser plugin. Use a simple REGEX verification before your php Mail script - really easy to do.

    Edit*

    Here's a working REGEX for validating gmail

    W|^)[\w.+\-]*@gmail\.com(\W|$)
     
    • Thanks Thanks x 1
  6. Malcolm Max

    Malcolm Max Regular Member

    Joined:
    Aug 12, 2016
    Messages:
    265
    Likes Received:
    85
    Gender:
    Male
    Occupation:
    Web Development, IM
    OP you can do this with most email optin plugins. If you use mailchimp you can set what email providers you will accept. You can show your email in the return message.
     
    • Thanks Thanks x 1
  7. tasburrfoot

    tasburrfoot Regular Member

    Joined:
    Dec 16, 2008
    Messages:
    326
    Likes Received:
    152
    feel like I'm spoon feeding but here you go..

    $email = $_request['form_value'];
    //do some input validation

    If(!preg_match(REGEX, $email)){
    Die();
    }Else{
    mail($email, 'subject', 'body', 'From: [email protected]');
    }
     
    • Thanks Thanks x 1
  8. GoDesain

    GoDesain Regular Member

    Joined:
    Feb 26, 2011
    Messages:
    480
    Likes Received:
    197
    yupz.. don't use JS..
    if you don't now about php, try hire someone to code in php..
    also double optin if you want..
     
    • Thanks Thanks x 1