Website hacked due to Hybrid Composer vulnerability. Fix and recommendations here.

Okay
  Public Ticket #2037040
can i make this contact form?
Closed

Comments

  •  2
    Webswebsider started the conversation

    Can i style this contact form at this way?

    1. Border in the filed

    2. Button color and width

    3. Text under the button dergo

    Thank you

    Attached files:  contact.JPG

  •  440
    Gabriel replied

    Yes, that's totally possible. One question though, the checkbox underneath is the "agree to terms" that enables the submit button?

  •  2
    Webswebsider replied

    yes, it is. 

    But maybe i will remove the checkbox underneath is the "agree to terms"  (its not so much important.

    so how to style this contact form at this way?

    1. Border in the filed

    2. Button color and width

    3. Text under the button dergo

  •  440
    Gabriel replied

    This can be done with Contact Form 7. Let me make the styling for you and I'll get back with instructions.

  •  2
    Webswebsider replied

    i have make the contact form as ju can see in url http://inprogress.works/uniecampus/ecampus/ and in attachment too

    Attached files:  contact.JPG

  •  440
    Gabriel replied

    All right, here's what you need to do:

    1. Install and activate: https://wordpress.org/plugins/contact-form-7/

    2. Go to Contact (left wp panel) and edit the existing contact form. Add this to form tab:

    [text* your-name placeholder "Emri (i plote)"]
    [email* your-email placeholder "Email"]
    [tel* your-tel placeholder "Nr. Telefonit"]
    [submit "Dergo"]
    <h6 style="color: #fff;margin-bottom:0;">Small text here</h6>
    [acceptance your-consent] I consent to the conditions. [/acceptance]

    Should look like this:

    9017945223.png

    3. Go to mail tab (right next to form) and edit message body to include all fields. your-name and your-email should be already there, you just need to add your-tel. Something like this:

    8741737743.png

    4. Copy the shortcode. In my example it's [contact-form-7 id="1167" title="Contact form 1"]

    5. In your page, add a new code block element and paste the shortcode.

    6. Finally, go to Theme Options - Customizations - CSS Global and add this:

    .wpcf7-text, .wpcf7-text:focus {
        border: 1px solid #f6a327;
        background-color: transparent;
        border-radius: 0;
        margin: 5px 0;
    }
    .wpcf7-text::placeholder, .wpcf7-form-control-wrap, .wpcf7-response-output {
        color: #fff;
    }
    .wpcf7-submit {
        margin-top: 5px;
        background-color: #f6a327 !important;
        width: 100%;
        border-radius: 0;
    }
    div.wpcf7-response-output {
        margin: 0;
    }

    This should be the end result:

    7735661581.png

  •  2
    Webswebsider replied

    thank you :)

  •  2
    Webswebsider replied

    I don't know why can't create more contact form, or why dont edit. 

    Attached files:  contact form.JPG

  •  440
    Gabriel replied

    That surely looks broken.

    If you installed any additional plugins, disable them one by one see if there's a conflict.

  •  2
    Webswebsider replied

    i think is the plugin of GTM. I don;t have install any other right now

  •  2
    Webswebsider replied

    those are th plugins that i have installed. 

    Attached files:  plugin.JPG

  •  440
    Gabriel replied

    I can't tell what's wrong. I will need to look at your install.

    Probably the media upload issue is also related. Can you setup a temporary admin for me to take a look?

  •  2
    Webswebsider replied

    i create admin2

    pass: uniecampus123!

    But i see dont work also this

    YOU CAN LOGIN TO MY CREDS: admin

    PASS: ecampus123!

    Please, its a bit important this.

  •  440
    Gabriel replied

    All right, contact form is not working because you duplicated the existing ones and were created with no title and id.

    If you want to duplicate the forms, copy the code inside it and create a new form

    About the media library, it keeps loading infinitely. It does the same with all plugins disabled and with twenty nineteen default theme.

    This could be a database problem caused by the duplication of contact forms. Those forms have no title and id, and it probably corrupted the database.

    You can try to fix it by following this: https://www.maketecheasier.com/fix-corrupted-wordpress-database-2/

  •  2
    Webswebsider replied

    have create new contact form, also dublicate. But olso new contact form.

  •  2
    Webswebsider replied

    i add this define('WP_ALLOW_REPAIR', true); but media library don't work yet

  •  2
    Webswebsider replied

    can we do something else for media library?

  •  440
    Gabriel replied

    Ok, this is what I think: the database got corrupted either after the migration or by contact form 7.

    I've imported your content here: https://socanny.com/unie/ and backend works good. I can see media library and all contact forms.

    What I recommend now is you do a clean wordpress install, then I will install the theme and import back your content from my end.

    Making a full backup is not a solution because it also backs up the database which I believe it's corrupted.

    Let me know what you think.

  •  2
    Webswebsider replied

    i dont want to interupt for a long  time bacouse, i'm making google ads for this web.

    Anyway, i have to make:

    1. full back up just to be sure

    2. install new wordpress, and create a new db

    3. then you will  install theme and contant? 

    4. also i will reupload db?

  •  2
    Webswebsider replied

    why it is at this way?

    https://uniecampus.al/ its down :(

  •  440
    Gabriel replied

    Just make a clean wordpress install with no database reupload or anything. Only the clean install.

    I will put the content afterwords.

  •  2
    Webswebsider replied

    how to make the clean wordpress install

  •  2
    Webswebsider replied

    here?

    Attached files:  1.PNG

  •  440
    Gabriel replied

    Let me try a reset, see if that works.

  •  2
    Webswebsider replied

    yes thank you. 

  •  2
    Webswebsider replied

    yes it work, now reupload the content

  •  440
    Gabriel replied

    It worked.

    Everything runs fine nowsmile.png

  •  2
    Webswebsider replied

    yes, thank you so much, hope will not happened again.

    thank you :)

  •  2
    Webswebsider replied

    i want to make also a question. 


    https://uniecampus.al/shkarko-raportin/

    try to download something. 

    at this contact form , at the moment that i click "shkarko raportin" i want the pdf to go on email, and the web to redirect to a Thank you page

  •  440
    Gabriel replied

    No problem, if it happens again we can fix it.

    When you use mysql databases, things can get bad very easy. If the data write is not complete, even if one character is missing, the database gets corrupted and sometimes is not recoverable.

    These things can happen due to bad connection, server execution time, etc.

    Solution then is to move the content to a different database, reset the existing one then move the content back.

  •  440
    Gabriel replied

    Fixed the link problem.

    Those are permalinks and can be set at Settings - Permalinks.

  •  2
    Webswebsider replied

    i want to make also a question. 

    https://uniecampus.al/shkarko-raportin/

    try to download something. 

    at this contact form , at the moment that i click "shkarko raportin" i want the pdf to go on email, and the web to redirect to a Thank you page

  •  440
    Gabriel replied

    Yeah, it looks like the mail settings were not imported. You will need to set them again:

    6947660088.png
  •  2
    Webswebsider replied

    uhh, does it work now?

  •  440
    Gabriel replied

    You need to fill out the details in that page. Your email, subject, and message. Make sure to include all fields in the message ([your-name][your-email][tel-446])

  •  2
    Webswebsider replied

    WHICH one OF THE FORM IT IS?

  •  440
    Gabriel replied

    This one: [contact-form-7 id="4086" title="Shkarko Raportin"]

  •  2
    Webswebsider replied

    I DON;T KNOW HOW TO PLACE IT. 

  •  2
    Webswebsider replied

    IT LOOK LIKE THIS

    Attached files:  CONTACT FORM.PNG

  •  440
    Gabriel replied

    Let me check ok?

  •  2
    Webswebsider replied

    i think have still problems.. when i open site from dashboart, i cant edit the file. 

    just try from dashboard to click visit site

  •  440
    Gabriel replied

    I've fixed the contact form, should have all the details now.

    Are you talking about the top edit bar when you view the site live?

  •  2
    Webswebsider replied

    yes, and i cant edit after i click view site

  •  440
    Gabriel replied

    Ha ha, I find it annoying and I disabled it. I thought you keep it the same way.

    Should be fine now.

    6849875180.png
  •  2
    Webswebsider replied

    haha thnx

  •  2
    Webswebsider replied

    let's come back here

    i want to make also a question. 

    https://uniecampus.al/shkarko-raportin/

    try to download something. 

    at this contact form , at the moment that i click "shkarko raportin" i want the pdf to go on email, and the web to redirect to a Thank you page

  •  440
    Gabriel replied

    I understand, but this can be done with Mailchimp.

    With contact form you only get to redirect to a download page.

  •  2
    Webswebsider replied

    i try with Mailchimp but have 3 o4 for steps for the confirmation, so its to much. i dont know how to evitate thos steps

  •  440
    Gabriel replied

    I think you can configure it for single opt in: https://mailchimp.com/help/single-opt-in-vs-double-opt-in/