Advanced Contact Form

Started by Deprecated, September 26, 2008, 06:15:53 PM

Previous topic - Next topic

vIRTUZ


SONSiVRi

Quote from: chrishicks on July 31, 2009, 04:18:50 AM
I love the look of your contact page and was wondering if you could give me a hand adding some text on my page as you have on yours? I'd greatly appreciate it. Thanks.

After installing my ported version, then you need to apply this in Contact.template.php;
Code (Search) Select
<tr>
<td class="windowbg">
<form action="', $scripturl, '?action=contact" method="post" style="margin: 16px">';

Code (Replace) Select
<tr>
<td class="windowbg2">
<br />
<ul>
<li>What is this form stands for?
<ul><li>This form connects you to website owner\'s mailbox.</li></ul>
</li>
<li>What can I write?
<ul><li>Your problems, ideas or suggestions.
<ul>
<li>Your account hacked by some bad fellas.</li>
<li>... and more</li>
</ul>
</li></ul>
</li>
</ul>
</td>
</tr><tr>
<td class="windowbg">
<form action="', $scripturl, '?action=contact" method="post" style="margin: 16px">';


Ask for a help, if you stuck.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

SONSiVRi

Quote from: vIRTUZ on July 31, 2009, 08:42:55 AM
What I have to write(and where) to create the "CONTACT" button ?
Your smf version? I think it is 1.1.x family.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Shark-Time

looking nice.. will try it soon.


Providing Cheapest Offshore Hosting as low as 5$/year.
MoneyBookers | AlertPay
Pm Me

Blinker

#64
SONSiVRi or anyone: how hard would it be to integrate reCAPTCHA into this form instead of the built-in captcha?

I currently use reCAPTCHA for my registration page but I want to disable registration and switch to a contact form instead.

One thing I've noticed with your great work on the captcha port for 1.1x SONSiVRi is that the image never changes. I tested on my site and also on yours and no matter how many times you reload the page (even ctrl-f5) the image will not change.

SONSiVRi

Quote from: Blinker on August 21, 2009, 11:31:39 PM
SONSiVRi or anyone: how hard would it be to integrate reCAPTCHA into this form instead of the built-in captcha?

I currently use reCAPTCHA for my registration page but I want to disable registration and switch to a contact form instead.

One thing I've noticed with your great work on the captcha port for 1.1x SONSiVRi is that the image never changes. I tested on my site and also on yours and no matter how many times you reload the page (even ctrl-f5) the image will not change.
You need to close session (ctrl+f5 doesn't end session) to change the image or use that image. Then disposal happens and next image shows. Spam engines doesn't work because if its used, then its changed. And it is different for everyone at the moment browsing that page.

To porting reCaptcha, it is something to do with the statement "if ($context['visual_verification'])" inside "contact.php". But I have no idea how can we port that.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

clewis789

Ever time i try to test the contact form it says i have a invalid email, but i know i dont as i have tried about 5 of my emails.
My Mods:

Playstation 3 Avatars - http://custom.simplemachines.org/mods/index.php?mod=2150

Xbox 360 Avatars - Will be up very soon.

Nintendo Wii Avatars - Coming Soon

SONSiVRi

Quote from: clewis789 on September 12, 2009, 10:30:57 AM
Ever time i try to test the contact form it says i have a invalid email, but i know i dont as i have tried about 5 of my emails.
You have using SMF 2.x family?
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

clewis789

Quote from: SONSiVRi on October 08, 2009, 10:36:39 AM
Quote from: clewis789 on September 12, 2009, 10:30:57 AM
Ever time i try to test the contact form it says i have a invalid email, but i know i dont as i have tried about 5 of my emails.
You have using SMF 2.x family?

no i use smf 1.1.10
My Mods:

Playstation 3 Avatars - http://custom.simplemachines.org/mods/index.php?mod=2150

Xbox 360 Avatars - Will be up very soon.

Nintendo Wii Avatars - Coming Soon

SONSiVRi

Quote from: clewis789 on October 08, 2009, 10:55:10 AM
no i use smf 1.1.10

Try to comment that line in Contact.php by adding // beginning.
if ($sender_email && !valid_email($sender_email)) $global_error = $context['contact_form_error_invalid_email'] = true;

If it works, than we will work on a procedure named valid_email
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

TurtleKicker

This has been a great help on my SMF 1.1.10 forum. Any chance for an SMF2 RC2 update?

SONSiVRi

Its already 2.x compatible. Check the first message of this topic.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

TurtleKicker

Quote from: SONSiVRi on November 13, 2009, 08:45:32 AM
Its already 2.x compatible. Check the first message of this topic.

I didn't see any mention of SMF2 (or RC2) in the first message. Can you quote which part you're referring to?

What I saw was on the main mod page the info that it only worked with SMF 2.0 through Beta 4, and a message in this thread that there were problems as of RC1.

Thanks

SONSiVRi

Ahhh sorry dude, I meant whole 2.x line. And I didn't know RC and beta's are too different. We may can help you where you get errors. I never used and know 2.x structure, but trying wont hurt.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

flamechica

Will this be updated for RC2?

amorosso

Love it, easy clean and awesome.

Amendoim

Update to version 2.0RC2 Plz =/

Tanks for all :)
Versão 2.0 RC2 Portuguese_Pt

Simple Portal 2.3 Portuguese_Pt

Em crescimento na programação :)

http://www.gamextuga.com

Amendoim

I have a problem, although it is using version 2.0 RC2, installed everything successfully, without problems .. the problem is when I send e-mail contact, do what you do, until disabling bus poorly constructed email or disabled, always appears the same error:

"Send mail failed. We were unable to send your message"

Someone help me with this error  :-\
Thanks
Versão 2.0 RC2 Portuguese_Pt

Simple Portal 2.3 Portuguese_Pt

Em crescimento na programação :)

http://www.gamextuga.com

Amendoim

Quote from: Amendoim on January 07, 2010, 05:57:15 PM
I have a problem, although it is using version 2.0 RC2, installed everything successfully, without problems .. the problem is when I send e-mail contact, do what you do, until disabling bus poorly constructed email or disabled, always appears the same error:

"Send mail failed. We were unable to send your message"

Someone help me with this error  :-\
Thanks


Help :-\
Versão 2.0 RC2 Portuguese_Pt

Simple Portal 2.3 Portuguese_Pt

Em crescimento na programação :)

http://www.gamextuga.com

Mr. Pirate

How can i add a dropdown box that says category and they can select like feedback/report error/other under subject??

Advertisement: