Advertisement:

Author Topic: Advanced Contact Form  (Read 77302 times)

Offline vIRTUZ

  • Semi-Newbie
  • *
  • Posts: 37
Re: Advanced Contact Form
« Reply #60 on: July 31, 2009, 02:16:35 PM »
someone help or ?

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #61 on: August 14, 2009, 04:45:32 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.

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #62 on: August 14, 2009, 04:48:39 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.

Offline Shark-Time

  • Full Member
  • ***
  • Posts: 573
  • Gender: Male
Re: Advanced Contact Form
« Reply #63 on: August 20, 2009, 12:44:09 AM »
looking nice.. will try it soon.


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

Offline Blinker

  • Full Member
  • ***
  • Posts: 472
  • Gender: Male
Re: Advanced Contact Form
« Reply #64 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.
« Last Edit: August 21, 2009, 11:35:11 PM by Blinker »

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #65 on: August 30, 2009, 01:36:02 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.

Offline clewis789

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • dlb-network
Re: Advanced Contact Form
« Reply #66 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.
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

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #67 on: October 08, 2009, 10:36:39 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.

Offline clewis789

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • dlb-network
Re: Advanced Contact Form
« Reply #68 on: October 08, 2009, 10:55:10 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

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #69 on: October 08, 2009, 11:08:03 AM »
no i use smf 1.1.10

Try to comment that line in Contact.php by adding // beginning.
Code: [Select]
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.

Offline TurtleKicker

  • Full Member
  • ***
  • Posts: 417
Re: Advanced Contact Form
« Reply #70 on: November 12, 2009, 04:36:43 PM »
This has been a great help on my SMF 1.1.10 forum. Any chance for an SMF2 RC2 update?

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #71 on: November 13, 2009, 08:45:32 AM »
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.

Offline TurtleKicker

  • Full Member
  • ***
  • Posts: 417
Re: Advanced Contact Form
« Reply #72 on: November 13, 2009, 09:40:40 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

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #73 on: November 13, 2009, 12:06:40 PM »
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.

Offline flamechica

  • Jr. Member
  • **
  • Posts: 205
Re: Advanced Contact Form
« Reply #74 on: November 19, 2009, 04:51:04 AM »
Will this be updated for RC2?

Offline amorosso

  • Semi-Newbie
  • *
  • Posts: 28
Re: Advanced Contact Form
« Reply #75 on: December 30, 2009, 10:23:32 PM »
Love it, easy clean and awesome.

Offline Amendoim

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • Life is always changing
    • GamexTuga
Re: Advanced Contact Form
« Reply #76 on: January 01, 2010, 03:27:09 PM »
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

Offline Amendoim

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • Life is always changing
    • GamexTuga
Re: Advanced Contact Form
« Reply #77 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
Versão 2.0 RC2 Portuguese_Pt

Simple Portal 2.3 Portuguese_Pt

Em crescimento na programação :)

http://www.gamextuga.com

Offline Amendoim

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • Life is always changing
    • GamexTuga
Re: Advanced Contact Form
« Reply #78 on: January 09, 2010, 02:04:47 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

Offline Mr. Pirate

  • Jr. Member
  • **
  • Posts: 176
Re: Advanced Contact Form
« Reply #79 on: February 28, 2010, 07:18:50 PM »
How can i add a dropdown box that says category and they can select like feedback/report error/other under subject??