Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Deprecated on September 26, 2008, 06:15:53 PM

Title: Advanced Contact Form
Post by: Deprecated on September 26, 2008, 06:15:53 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1352)

Obsolete
Title: Re: Advanced Contact Form
Post by: Deprecated on September 27, 2008, 11:14:38 AM
Please be advised that this mod package has been updated as follows:

Version 1.01 (Sept. 27, 2008) added English UTF-8 language strings.
Title: Re: Advanced Contact Form
Post by: Nibogo on September 27, 2008, 12:43:43 PM
Nice Mod
But i was creating a Contact Form with Ajax but maybe you can add ajax to this mod , that can be great ^^
Title: Re: Advanced Contact Form
Post by: Deprecated on September 27, 2008, 01:21:50 PM
I had originally intended to make my contact form AJAX but I decided to evolve my project as far as I could before adding in the AJAX technology. When I had the contact form working as good as it could, when I had added what I figured would be enough options to please everybody's preferences, only then did I look at what it would take to add AJAX.

When I saw how well my contact form works without AJAX, when I considered how much additional work it would be to add AJAX, and when I considered that probably contact forms aren't used that often anyway, so any bandwidth savings would probably result in only slightly improved speeds and any bandwidth costs would be improved by the AJAX only by a negligible amount.

The only reason I could think of to add AJAX would be to make this the Ultimate Contact Form rather than the Advanced Contact Form. In fact I expect to get smart on AJAX pretty soon, and one of the first things I'll do is probably come back and add AJAX to this contact form. And I'll rename it the Ultimate Contact Form for SMF 2.0. :)

So make that definite "maybe" that I'll be adding AJAX sometime soon! :) Probably after I get some more AJAX smarts than I have at present. :)
Title: Re: Advanced Contact Form
Post by: Nibogo on September 27, 2008, 01:23:26 PM
I dont have any knowledge about ajax , I only integrate an Ajax Contact Formo ^^
Title: Re: Advanced Contact Form
Post by: Michael Kopka on October 03, 2008, 12:21:37 PM
i integrated the mod in my board but for testing it always says the email adress is invalid. i tried with some different ones. whats wrong with it.

here my board: www.autotrac.org
Title: Re: Advanced Contact Form
Post by: Deprecated on October 03, 2008, 01:43:22 PM
Are you running under Windows? Please describe your configuration.
Title: Re: Advanced Contact Form
Post by: Michael Kopka on October 03, 2008, 07:19:52 PM
running under linux ---> http://www.hosteurope.de webpack
Title: Re: Advanced Contact Form
Post by: Deprecated on October 03, 2008, 07:40:24 PM
The last part of the validity check tests for a valid A or MX record for the domain part of the sender's email address. Obviously your setup is failing at that point. I presume that is something to do with your web hosting setup that checkdnserr() is not working correctly.

The best thing you could do is to just take out the A/MX record check, and your email addresses will still be tested to see if they are legally constructed, just no test to see if it's a real domain.

In Contact.php find and delete this code:
Code: [Select]
if (function_exists('checkdnsrr'))
if (!(checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A'))) return false; // domain does not have a valid A or MX record
else
if (!(win_checkdnsrr($domain, 'MX') || win_checkdnsrr($domain, 'A'))) return false; // domain does not have a valid A or MX record

That should get you in operation.
Title: Re: Advanced Contact Form
Post by: Michael Kopka on October 04, 2008, 06:03:25 AM
Now it works. Just a little delay in sending but it's okay ... Thanks a lot.
Title: Re: Advanced Contact Form
Post by: Deprecated on October 04, 2008, 09:41:27 AM
There is something a little different about your hosting service's implementation of checkdnserr(). It worked great for me and apparently for most other people, but slow for you? If I receive more reports that the checkdnserr() isn't working I can put in an option override. Most of my function that uses checkdnserr() is checking to see that there is a properly formed email address. Only that last step with checkdnserr() actually checks to see if the domain is a real valid domain. It's not absolutely essential so if it's a bother we can just turn it off and the checking will be almost as good.
Title: Re: Advanced Contact Form
Post by: edi67 on October 04, 2008, 10:45:17 AM
I have this error
Code: [Select]
Parse error: syntax error, unexpected ')', expecting '(' in /membri/ediboard/Sources/Contact.php on line 158
Line 158 is:
      foreach (new RegexIterator($it, '~^' . $host . '~', RegexIterator::GET_MATCH) as $result)

i have smf 2.0 beta 3.1
Title: Re: Advanced Contact Form
Post by: Deprecated on October 04, 2008, 12:49:19 PM
I suspect that you are running PHP 4.x on your server. I was only able to reproduce your problem by downgrading my PHP 5.2.6 to PHP 4.

I've gone ahead and rewritten that routine for both PHP 4 and 5, and posted Advanced Contact Form version 1.02 at the mod site.

I've also added a new option, "Skip sender email address domain record check." Default is that domain must have valid A or MX record. The option skips this test.

Note also that the default configuration is that the sender's email address is used as the "from" email address in the contact form email. If the sender's email address is not valid this can cause the message to error unable to send. If that happens you should set "Don't use contact form email address as sender email address" and then your contact forms will always come from your website email address.

Please let me know if this fixes your problem.
Title: Re: Advanced Contact Form
Post by: edi67 on October 04, 2008, 01:49:40 PM
I suspect that you are running PHP 4.x on your server. I was only able to reproduce your problem by downgrading my PHP 5.2.6 to PHP 4.

I've gone ahead and rewritten that routine for both PHP 4 and 5, and posted Advanced Contact Form version 1.02 at the mod site.

I've also added a new option, "Skip sender email address domain record check." Default is that domain must have valid A or MX record. The option skips this test.

Note also that the default configuration is that the sender's email address is used as the "from" email address in the contact form email. If the sender's email address is not valid this can cause the message to error unable to send. If that happens you should set "Don't use contact form email address as sender email address" and then your contact forms will always come from your website email address.

Please let me know if this fixes your problem.

Work perfect now with these 3 option enabled:
    Require email address:
   Don't use contact form email address as sender email address:
   Skip sender email address domain record check:


thx bro
Title: Re: Advanced Contact Form
Post by: Burke ♞ Knight on November 02, 2008, 03:43:20 PM
In the configuration settings, you have the text at the right to be font color #444444

However, that makes it hard to see in dark themes.
May I make a suggestion, that in the next update, to have the text just use the default color?
Title: Re: Advanced Contact Form
Post by: Deprecated on November 06, 2008, 08:59:44 AM
That *is* the default color for the rest of the text on that page, at least in the default theme. My text was not in a HTML container that had CSS applied, so the text was getting browser default #000000 black which looked ugly compared to the other text on the page, so I tracked down what color was applied and found the #444444, and that's what I used. It's the only thing that would look right in the default theme.
Title: Re: Advanced Contact Form
Post by: Reverend Jeremiah on November 25, 2008, 08:41:17 AM
Oh darn, I would love to put this mod on my site but it is only compatable with other versions. I have 1.1.7 and I dont want to go 2.0 Beta yet because of the amount of mods I have installed would be a nightmare for me to upgrade to it.
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on November 26, 2008, 07:00:26 PM
Hi!
I have installed your mod, all works perfectly except one warning in validation (w3c)
Contact Form Validation! (http://validator.w3.org/check?uri=http%3A%2F%2Fdarkwolf.altervista.org%2Fsmf2%2Fcontact%2F&charset=(detect+automatically)&doctype=Inline&group=0&accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8&accept-language=it-it%2Cit%3Bq%3D0.8%2Cen-us%3Bq%3D0.5%2Cen%3Bq%3D0.3&accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7&user-agent=W3C_Validator%2F1.606) :)
How i can fix?
Edit:
I've changed this line (Contact.template.php)
Code: [Select]
echo 'type="text" size="24" name="name" id="name2"';to this
Code: [Select]
echo 'type="text" size="24" name="name" id="name"';And now validation is ok!
In your opinion is a right fix???
Title: Re: Advanced Contact Form
Post by: vulcan59 on November 30, 2008, 10:53:41 PM
I am aware that Deprecated  will not be here at SMF anymore but I would still like to register my appreciation for this mod as well as for his numerous contributions to so many here. I downloaded and install this mod with no problems. Thank you.

Best wishes in your future endeavours.

Regards.
Title: Re: Advanced Contact Form
Post by: vulcan59 on December 06, 2008, 11:18:18 PM
Hi Michael211,

Just in case you are not aware, Deprecated has left SMF.

You can read about it in this topic Goodbye (http://www.simplemachines.org/community/index.php?topic=277679.0)

I hope someone helps you out. You might have to do a manual uninstall. I had the same problem previously and I had to go through each file and delete the non applicable code. I came to realise that quite often the install or an uninstall does not completely do the job properly. Manual editing is very often required.

Cheers.
Title: Re: Advanced Contact Form
Post by: Drakness on December 20, 2008, 10:34:04 AM
In what category do i upload the downloaded file ?
Title: Re: Advanced Contact Form
Post by: Burke ♞ Knight on December 20, 2008, 01:30:57 PM
Use the Package Manager in the Admin section to install mods.

Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: Advanced Contact Form
Post by: Don Pepito on January 19, 2009, 08:13:41 AM
How can i add more fields...??
Title: Re: Advanced Contact Form
Post by: netco on February 18, 2009, 07:49:45 AM
There is one error with RC1
The email field  does not work when i enter any vaild email it tell "the email invaild" !!!
 
Also the Page does not open fast  but when you click on others like "help or search or cleander" they opens fast  :)

 
Title: Re: Advanced Contact Form
Post by: eddie8 on March 21, 2009, 06:52:18 PM
This is a really useful Mod, I'm not exactly sure but I think this forum
uses this mod as well, is that normal once the form is sent everything remains
populated in the form text boxes? along with the "message has been sent of course"

Is there a way to clear that info out after submitting, without using a refresh, I never
seen a form keep data like that?

after reading around a bit I see SMF lost a very talented individual in this guy

PS I know I am a dying breed with that classic theme, but a reminder, anyone using
advanced forum with that and have edited the button code area in subs.php,

you will get a big looking error upon install, and will need to edit subs.php manually
its only a tiny section no big deal, your basically just putting the contact button in.

Thanks
Ed

PS after reading that above post I went and enabled MX check on advanced form,
and your right no email entered is ever valid, good thing I read that here.

anyone know what site or how that email address is verified in the first place? by
either the forum software itself or the advanced form Mod?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on April 10, 2009, 02:49:40 PM
I ported this mod and CAPTCHA function is working with 1.1.x versions too.
Here is working version in my forum: http://www.sonsivri.com/forum/index.php?action=contact
I may provide the codes after testing a while.
Title: Re: Advanced Contact Form
Post by: Bec on April 10, 2009, 02:56:07 PM
SONSiVRi, I for one would be interested!
Title: Re: Advanced Contact Form
Post by: eddie8 on April 14, 2009, 03:06:14 AM
I ported this mod and CAPTCHA function is working with 1.1.x versions too.
Here is working version in my forum: http://www.sonsivri.com/forum/index.php?action=contact (http://www.sonsivri.com/forum/index.php?action=contact)
I may provide the codes after testing a while.

That is nice, hope not to difficult when ready, I'm way past package manger
Title: Re: Advanced Contact Form
Post by: Owdy on May 02, 2009, 10:24:30 AM
Updates for RC1?
Title: Re: Advanced Contact Form
Post by: Alpay on May 09, 2009, 09:11:27 AM
Updates for RC1?

<install for="2.0 - 2.99.99">
      <readme parsebbc="true">readme.txt</readme>
      <modification>modification2.xml</modification>

i try well done.. =)
Title: Re: Advanced Contact Form
Post by: candidosa2 on May 23, 2009, 07:23:40 PM
thank you when update dont forget portuguese

Quote
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['contact'] = 'contacto';
$txt['contact_form_default_dns_check'] = 'dom&iacute;nio deve ter um v&aacute;lido ou registro MX';
$txt['contact_form_default_email_sender'] = 'Enviar email se nao tiver nenhuma dado fornecido:';
$txt['contact_form_default_guest_access'] = 'nenhum visitante com acesso';
$txt['contact_form_default_member_access'] = 'nenhum membro com acesso';
$txt['contact_form_default_name'] = 'Enviar se nenhum nome fornecido:';
$txt['contact_form_default_name_default'] = 'An&oacute;nimos';
$txt['contact_form_default_require_email'] = 'uso o e-mail e as defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_require_name'] = 'Nome do remetente utilizar defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_require_subject'] = 'utiliza&ccedil;&atilde;o assunto defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_subject'] = 'Se nenhuma linha Assunto desde:';
$txt['contact_form_default_subject_default'] = '(sem assunto)';
$txt['contact_form_default_tab_label'] = 'CONTACTO';
$txt['contact_form_dest_email_addr'] = 'Enviar formul&aacute;rio de contacto respostas para este endere&ccedil;o de e-mail:';
$txt['contact_form_display_title'] = 'Formul&aacute;rio de contato p&aacute;gina t&iacute;tulo:';
$txt['contact_form_enable_guest_access'] = 'Permitir o acesso ao visitante:';
$txt['contact_form_enable_member_access'] = 'Permitir o acesso ao membro:';
$txt['contact_form_error_invalid_email'] = 'Endere&ccedil;o de e-mail inv&aacute;lido.';
$txt['contact_form_error_no_email'] = 'N&atilde;o tem aqui endere&ccedil;o de e-mail.';
$txt['contact_form_error_no_message'] = 'N&atilde;o entrou mensagem.';
$txt['contact_form_error_no_name'] = 'N&atilde;o inscrito.';
$txt['contact_form_error_no_subject'] = 'N&atilde;o assuntos inscritos.';
$txt['contact_form_error_unable_to_send'] = 'Enviar e-mail falhou. N&atilde;o foi poss&iacute;vel enviar sua mensagem';
$txt['contact_form_field_optional'] = '(opcional)';
$txt['contact_form_field_optional_email'] = '(se você quiser uma resposta)';
$txt['contact_form_field_required'] = '(obrigat&oacute;rio)';
$txt['contact_form_label_default'] = 'default: ';
$txt['contact_form_label_edit'] = '[editar]';
$txt['contact_form_label_email'] = 'Email ';
$txt['contact_form_label_ip'] = "\r\n\r\n-- \r\nIP: ";
$txt['contact_form_label_message'] = 'Messagem ';
$txt['contact_form_label_name'] = 'Nome ';
$txt['contact_form_label_rdns'] = "\r\nrDNS: ";
$txt['contact_form_label_sender'] = "\r\nRemetente: ";
$txt['contact_form_label_status_email'] = 'Email: ';
$txt['contact_form_label_status_name'] = 'Nome: ';
$txt['contact_form_label_status_separator'] = "------\r\n\r\n";
$txt['contact_form_label_status_subject'] = 'Assunto: ';
$txt['contact_form_label_subject'] = 'Assunto ';
$txt['contact_form_label_submit_button'] = 'Enviar mensagem';
$txt['contact_form_label_unchecked'] = 'desmarcado: ';
$txt['contact_form_label_verification'] = 'Verifica&ccedil;&atilde;o ';
$txt['contact_form_message_sent'] = 'Mensagem enviada. Obrigado por seus coment&aacute;rios.';
$txt['contact_form_mods_cat'] = 'Formul&aacute;rio de Contacto';
$txt['contact_form_require_email'] = 'necessita de e-mail:';
$txt['contact_form_require_name'] = 'necessita nome do remetente :';
$txt['contact_form_require_subject'] = 'necessita do assunto:';
$txt['contact_form_result_error'] = 'Erro';
$txt['contact_form_result_message_sent'] = 'Mensagem Enviada';
$txt['contact_form_result_send_mail_failed'] = 'E-mail Enviado Falhou';
$txt['contact_form_sender_email_dont_use_form'] = 'N&atilde;o utilizar formul&aacute;rio de contacto de e-mail para enviar e-mail:';
$txt['contact_form_sender_email_dont_use_form_default'] = 'use email address from form if provided';
$txt['contact_form_sender_is_guest'] = 'visitante';
$txt['contact_form_sender_name_dont_use_form'] = 'N&atilde;o utilizar formul&aacute;rio de contacto como nome do remetente nome:';
$txt['contact_form_sender_name_dont_use_form_default'] = 'usar nome de formul&aacute;rio se provided';
$txt['contact_form_sender_subject_dont_use_form'] = 'Não use linha de assunto como forma de contacto de remetente do assunto:';
$txt['contact_form_sender_subject_dont_use_form_default'] = 'utilizar linha de assunto de forma se provided';
$txt['contact_form_skip_dns_check'] = 'Cancelar o envio do enderenco de e-mail do dom&iacute;nio verificar o registro:';
$txt['contact_form_subject_prefix'] = 'Assunto prefixo linha opcional:';
$txt['contact_form_subject_prefix_default'] = 'no prefixo';
$txt['contact_form_tab_label'] = 'Formul&aacute;rio de contacto r&oacute;tulo:';
$txt['contact_form_title']='Formul&aacute;rio de Contacto';
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['contact'] = 'contacto';
$txt['contact_form_default_dns_check'] = 'dom&iacute;nio deve ter um v&aacute;lido ou registro MX';
$txt['contact_form_default_email_sender'] = 'Enviar email se nao tiver nenhuma dado fornecido:';
$txt['contact_form_default_guest_access'] = 'nenhum visitante com acesso';
$txt['contact_form_default_member_access'] = 'nenhum membro com acesso';
$txt['contact_form_default_name'] = 'Enviar se nenhum nome fornecido:';
$txt['contact_form_default_name_default'] = 'An&oacute;nimos';
$txt['contact_form_default_require_email'] = 'uso o e-mail e as defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_require_name'] = 'Nome do remetente utilizar defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_require_subject'] = 'utiliza&ccedil;&atilde;o assunto defini&ccedil;&otilde;es abaixo';
$txt['contact_form_default_subject'] = 'Se nenhuma linha Assunto desde:';
$txt['contact_form_default_subject_default'] = '(sem assunto)';
$txt['contact_form_default_tab_label'] = 'CONTACTO';
$txt['contact_form_dest_email_addr'] = 'Enviar formul&aacute;rio de contacto respostas para este endere&ccedil;o de e-mail:';
$txt['contact_form_display_title'] = 'Formul&aacute;rio de contato p&aacute;gina t&iacute;tulo:';
$txt['contact_form_enable_guest_access'] = 'Permitir o acesso ao visitante:';
$txt['contact_form_enable_member_access'] = 'Permitir o acesso ao membro:';
$txt['contact_form_error_invalid_email'] = 'Endere&ccedil;o de e-mail inv&aacute;lido.';
$txt['contact_form_error_no_email'] = 'N&atilde;o tem aqui endere&ccedil;o de e-mail.';
$txt['contact_form_error_no_message'] = 'N&atilde;o entrou mensagem.';
$txt['contact_form_error_no_name'] = 'N&atilde;o inscrito.';
$txt['contact_form_error_no_subject'] = 'N&atilde;o assuntos inscritos.';
$txt['contact_form_error_unable_to_send'] = 'Enviar e-mail falhou. N&atilde;o foi poss&iacute;vel enviar sua mensagem';
$txt['contact_form_field_optional'] = '(opcional)';
$txt['contact_form_field_optional_email'] = '(se você quiser uma resposta)';
$txt['contact_form_field_required'] = '(obrigat&oacute;rio)';
$txt['contact_form_label_default'] = 'default: ';
$txt['contact_form_label_edit'] = '[editar]';
$txt['contact_form_label_email'] = 'Email ';
$txt['contact_form_label_ip'] = "\r\n\r\n-- \r\nIP: ";
$txt['contact_form_label_message'] = 'Messagem ';
$txt['contact_form_label_name'] = 'Nome ';
$txt['contact_form_label_rdns'] = "\r\nrDNS: ";
$txt['contact_form_label_sender'] = "\r\nRemetente: ";
$txt['contact_form_label_status_email'] = 'Email: ';
$txt['contact_form_label_status_name'] = 'Nome: ';
$txt['contact_form_label_status_separator'] = "------\r\n\r\n";
$txt['contact_form_label_status_subject'] = 'Assunto: ';
$txt['contact_form_label_subject'] = 'Assunto ';
$txt['contact_form_label_submit_button'] = 'Enviar mensagem';
$txt['contact_form_label_unchecked'] = 'desmarcado: ';
$txt['contact_form_label_verification'] = 'Verifica&ccedil;&atilde;o ';
$txt['contact_form_message_sent'] = 'Mensagem enviada. Obrigado por seus coment&aacute;rios.';
$txt['contact_form_mods_cat'] = 'Formul&aacute;rio de Contacto';
$txt['contact_form_require_email'] = 'necessita de e-mail:';
$txt['contact_form_require_name'] = 'necessita nome do remetente :';
$txt['contact_form_require_subject'] = 'necessita do assunto:';
$txt['contact_form_result_error'] = 'Erro';
$txt['contact_form_result_message_sent'] = 'Mensagem Enviada';
$txt['contact_form_result_send_mail_failed'] = 'E-mail Enviado Falhou';
$txt['contact_form_sender_email_dont_use_form'] = 'N&atilde;o utilizar formul&aacute;rio de contacto de e-mail para enviar e-mail:';
$txt['contact_form_sender_email_dont_use_form_default'] = 'use email address from form if provided';
$txt['contact_form_sender_is_guest'] = 'visitante';
$txt['contact_form_sender_name_dont_use_form'] = 'N&atilde;o utilizar formul&aacute;rio de contacto como nome do remetente nome:';
$txt['contact_form_sender_name_dont_use_form_default'] = 'usar nome de formul&aacute;rio se provided';
$txt['contact_form_sender_subject_dont_use_form'] = 'Não use linha de assunto como forma de contacto de remetente do assunto:';
$txt['contact_form_sender_subject_dont_use_form_default'] = 'utilizar linha de assunto de forma se provided';
$txt['contact_form_skip_dns_check'] = 'Cancelar o envio do enderenco de e-mail do dom&iacute;nio verificar o registro:';
$txt['contact_form_subject_prefix'] = 'Assunto prefixo linha opcional:';
$txt['contact_form_subject_prefix_default'] = 'no prefixo';
$txt['contact_form_tab_label'] = 'Formul&aacute;rio de contacto r&oacute;tulo:';
$txt['contact_form_title']='Formul&aacute;rio de Contacto';
]]></add>
      </operation>
   </file>
Title: Re: Advanced Contact Form
Post by: .HuNTeR. on May 28, 2009, 12:05:45 PM
no chance for captcha in 1.1.x version??
Title: Re: Advanced Contact Form
Post by: SONSiVRi on May 30, 2009, 05:14:54 AM
no chance for captcha in 1.1.x version??
In fact I am using it on my 1.1.x forum. It yet completed test drive, so I will now release captcha addition. Gimme couple of days.
Title: Re: Advanced Contact Form
Post by: .HuNTeR. on May 30, 2009, 09:02:45 AM
thanks alot SONSiVRi
i will wait
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on May 30, 2009, 10:57:36 PM
no chance for captcha in 1.1.x version??
In fact I am using it on my 1.1.x forum. It yet completed test drive, so I will now release captcha addition. Gimme couple of days.
I attend impatiently :)
If u want i can test in local and webserver :)
I've test to add captcha but without great result :(
Title: Re: Advanced Contact Form
Post by: bassetmad on May 31, 2009, 10:48:01 AM
Hi, I uploaded your contact form but it wasnt anywhere to be seen on my site?  I'm not very good when it comes to upgrades etc but usually when I upload a new mod they work straightaway.  It said yours had uploaded successfully, but when I went back to my homepage there was no link to the contact form, no contact form in sight.  I logged out to see if it was viewable as a guest and it wasnt in sight there either.  I've unloaded it from the site now, and was going to try again but wondered if you could tell me if I'm doing something wrong. :D
Title: Re: Advanced Contact Form
Post by: SONSiVRi on May 31, 2009, 12:10:59 PM
Hi, I uploaded your contact form but it wasnt anywhere to be seen on my site?  I'm not very good when it comes to upgrades etc but usually when I upload a new mod they work straightaway.  It said yours had uploaded successfully, but when I went back to my homepage there was no link to the contact form, no contact form in sight.  I logged out to see if it was viewable as a guest and it wasnt in sight there either.  I've unloaded it from the site now, and was going to try again but wondered if you could tell me if I'm doing something wrong. :D
Probably you are using custom theme, and you didn't edit your index.template.php file manually.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on May 31, 2009, 12:12:09 PM
no chance for captcha in 1.1.x version??
In fact I am using it on my 1.1.x forum. It yet completed test drive, so I will now release captcha addition. Gimme couple of days.
I attend impatiently :)
If u want i can test in local and webserver :)
I've test to add captcha but without great result :(
I'll let you know via PM when I prepared the addition.
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on May 31, 2009, 12:25:23 PM
I'll let you know via PM when I prepared the addition.
Thanks again :)
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 01, 2009, 05:03:13 PM
Here is Captcha support for 1.1.x forums. I've packed it in a mod file, so use it like installing regular modifications.


With contributions of Dark-Wolf
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on June 01, 2009, 09:07:55 PM
I've test your mod but it results already applied (IMHO is a conflict problem with standard contact form).
I've test to uninstall and now result uninstalled also contact form.
Tomorrow (now i go to sleep) i test to install manually ;)
PS: i think is necessary to change id:
Code: [Select]
<id>Deprecated:Advanced_Contact</id> ;9-
Edit: changed id to:
Code: [Select]
<id>Captcha:Advanced_Contact</id>and now is installed fine but i don't see any new option to enable captcha :|
(however captcha is present in contact form for guests ;))
 This is Ita language:
Code: [Select]
$txt['contact_form_error_no_verification'] = 'Codice di verifica non valido.';Edit:
$txt['contact_form_error_no_verification'] isn't used in Contact.template.php (it use $txt['visual_verification_failed'], already existent in Errors.language.php) then this language string isn't necessary (you can remove modification1.xml) ;)
---
PS: modded Contact.template.php contain 14 w3c errors.
i've fix this (in attachments) :)
----
Instead to use find and replace i think is best to use "overwrite" for:
$sourcedir/Contact.php and $themedir/Contact.template.php
no language string is necessary :)
-
All necessary to "install" this mod now is in attachments (only smf 1.1.* - don't use with smf 2.*) ;)
-
If u want a full install (ever only for smf 1.1.*) use mod in zip (first uninstall precedent release).
(@SONSiVRi: obviously this mod contain your name if you don't want this package i remove immediately)

-
Preview: http://darkwolf.altervista.org/forum/contact/
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 02, 2009, 06:47:54 AM
"Dark-Wolf"
Thanks for corrections. I applied them into new mod package.
Unused error text is removed, contact.template.php replaced with yours, and replaced author ID tag in xml file.

Captcha isn't showing for registered user, wasn't it meant to be?
Here is the code part that belongs your question:
Code: [Select]
$context['visual_verification'] = (empty($modSettings['disable_visual_verification']) || $modSettings['disable_visual_verification'] != 1) && $context['user']['is_guest'];Last part is what you asking.

Also it is wrong to publish whole mod without permission of author. That's why I only released additional mod, not getting in way of author's. My name is only included in additional mod.



New package is updated, here is link (http://www.simplemachines.org/community/index.php?topic=264416.msg2089083#msg2089083):
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on June 02, 2009, 06:55:24 AM
Ok, i've removed full package install ;)
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 02, 2009, 06:57:40 AM
Ok, i've removed full package install ;)

If you aren't sleepy now, feel free to test it. It contains your changings.
Title: Re: Advanced Contact Form
Post by: L'AltroWeb on June 02, 2009, 07:21:51 AM
Ok, tested it in local with a clean installation of smf 1.1.9 (and tinyportal).
First i've installed contact from mod (deprecated), after of this i've installed your mod without problem :)
All works fine ;)
Title: Re: Advanced Contact Form
Post by: blanix on June 02, 2009, 04:46:30 PM
which version is the new one ?!

the uploaded 1.1 from 2008 ??
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 02, 2009, 05:32:41 PM
which version is the new one ?!

the uploaded 1.1 from 2008 ??

There is only one version exist. The author released it, there are no any other main version.
Title: Re: Advanced Contact Form
Post by: blanix on June 02, 2009, 06:43:56 PM
hm ok and thx for the info

i have a little error message on error log:
8: Undefined variable: hostName
line: 181

how can i fix this ?!
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 03, 2009, 03:45:57 AM
I had that too and I unchecked reverse lookup option, because there is no function in SMF that this mod uses for reverse lookup, and this error happens.
Title: Re: Advanced Contact Form
Post by: blanix on June 03, 2009, 06:31:41 AM
I unchecked reverse lookup option

where ?!
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 03, 2009, 01:27:32 PM
I unchecked reverse lookup option

where ?!
Admin\Features and Options\Contact Form\Skip sender email address domain record check
Title: Re: Advanced Contact Form
Post by: blanix on June 03, 2009, 04:25:59 PM
ah, best view with open eyes  :D

thx SONSiVRi
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 03, 2009, 05:24:46 PM
ah, best view with open eyes  :D

thx SONSiVRi
Feel free to ask any question you will have in future.
Title: Re: Advanced Contact Form
Post by: ttuu on July 21, 2009, 03:51:41 AM
i wont included the username in massage mail.
its possible?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on July 22, 2009, 04:12:46 AM
i wont included the username in massage mail.
its possible?
Mod already doing it, in the footer (along with IP info).
Title: Re: Advanced Contact Form
Post by: ttuu on July 22, 2009, 07:18:12 AM
i wont included the username in massage mail.
its possible?
Mod already doing it, in the footer (along with IP info).

sorry. i see now.
Title: Re: Advanced Contact Form
Post by: khaleed on July 26, 2009, 11:19:20 AM
Just wondering...is this mod compatible with custom theme ? ??? I'm using kani theme version 1.1.10
Title: Re: Advanced Contact Form
Post by: SONSiVRi on July 30, 2009, 03:38:50 AM
Just wondering...is this mod compatible with custom theme ? ??? I'm using kani theme version 1.1.10
There are some edits for custom themes, so it is compatible but you need to apply those edits manually.
Title: Re: Advanced Contact Form
Post by: chrishicks on July 31, 2009, 04:18:50 AM
I ported this mod and CAPTCHA function is working with 1.1.x versions too.
Here is working version in my forum: http://www.sonsivri.com/forum/index.php?action=contact
I may provide the codes after testing a while.

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.
Title: Re: Advanced Contact Form
Post by: vIRTUZ on July 31, 2009, 08:42:55 AM
What I have to write(and where) to create the "CONTACT" button ?
Title: Re: Advanced Contact Form
Post by: vIRTUZ on July 31, 2009, 02:16:35 PM
someone help or ?
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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 (http://www.simplemachines.org/community/index.php?topic=264416.msg2089083#msg2089083), 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.
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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.
Title: Re: Advanced Contact Form
Post by: Shark-Time on August 20, 2009, 12:44:09 AM
looking nice.. will try it soon.
Title: Re: Advanced Contact Form
Post by: 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.
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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.
Title: Re: Advanced Contact Form
Post by: 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.
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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?
Title: Re: Advanced Contact Form
Post by: clewis789 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
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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
Title: Re: Advanced Contact Form
Post by: TurtleKicker 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?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on November 13, 2009, 08:45:32 AM
Its already 2.x compatible. Check the first message of this topic.
Title: Re: Advanced Contact Form
Post by: TurtleKicker 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
Title: Re: Advanced Contact Form
Post by: SONSiVRi 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.
Title: Re: Advanced Contact Form
Post by: flamechica on November 19, 2009, 04:51:04 AM
Will this be updated for RC2?
Title: Re: Advanced Contact Form
Post by: amorosso on December 30, 2009, 10:23:32 PM
Love it, easy clean and awesome.
Title: Re: Advanced Contact Form
Post by: Amendoim on January 01, 2010, 03:27:09 PM
Update to version 2.0RC2 Plz =/

Tanks for all :)
Title: Re: Advanced Contact Form
Post by: 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
Title: Re: Advanced Contact Form
Post by: Amendoim 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 :-\
Title: Re: Advanced Contact Form
Post by: Mr. Pirate 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??
Title: Re: Advanced Contact Form
Post by: SONSiVRi on March 01, 2010, 02:34:30 PM
How can i add a dropdown box that says category and they can select like feedback/report error/other under subject??

Search in the Contact.template.php file;
Code: [Select]
//--------------------------------------------------------------------------------------------------
// Subject line
//--------------------------------------------------------------------------------------------------
You can realize how user interface is created. Each row (subject, email, name...) is divided by <div> tags. You need to create new <div> section and add those lines below as a content;
Code: [Select]
<select name="category" id="category">
  <option>help</option>
  <option>suggestion</option>
</select>

Also you need to add code that captures this dropdown's value and adds in email content. Search this line in Contact.php
Code: [Select]
$content .= stripslashes($message);
Add this code above of it (if you want category name is placed above user's message);
Code: [Select]
$content .= isset($_POST['category']) ? trim($_POST['category']) : '';

I didn't test the codes, I just made it up. In case doesn't work, it will show you direction. Hope it helps.
Title: Re: Advanced Contact Form
Post by: Mr. Pirate on March 01, 2010, 11:31:14 PM
how can i make it where if they pick "other" there's something that pops under it that says "Please Specify"
Title: Re: Advanced Contact Form
Post by: SONSiVRi on March 02, 2010, 12:42:13 PM
Its HTML question and I don't have an answer for you. But its easy to rip off from site that you know exist.
Title: Re: Advanced Contact Form
Post by: Saxon044 on April 07, 2010, 05:17:26 PM
Just a small irritation....

I hope someone can help me out here - The form works perfectly on my 2 RC3 forum, but the menu button text is in uppercase! (i.e. CONTACT). Please, please tell me where the text for the button is held so I can edit it to read "Contact"?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on April 08, 2010, 06:00:34 PM
Just a small irritation....

I hope someone can help me out here - The form works perfectly on my 2 RC3 forum, but the menu button text is in uppercase! (i.e. CONTACT). Please, please tell me where the text for the button is held so I can edit it to read "Contact"?
Code: [Select]
/Themes/default/languages/Modifications.english.php
Code: [Select]
$txt['contact_form_default_tab_label'] = 'CONTACT';
Title: Re: Advanced Contact Form
Post by: Saxon044 on April 09, 2010, 06:48:37 PM
Thnk you for your help. I found and changed CONTACT to Contact in the file you suggested. But the button remains CONTACT! Wierd!
Title: Re: Advanced Contact Form
Post by: SONSiVRi on April 10, 2010, 12:01:53 PM
Thnk you for your help. I found and changed CONTACT to Contact in the file you suggested. But the button remains CONTACT! Wierd!
The code displays your button is;
Code: [Select]
'title' => !empty($modSettings['contact_form_tab_label']) ? $modSettings['contact_form_tab_label'] : $txt['contact_form_default_tab_label'],It seems there is a settings entry in your admin panel somewhere, you have to change from there.
Title: Re: Advanced Contact Form
Post by: FlatFX on April 10, 2010, 05:25:43 PM
(http://i44.tinypic.com/vf9jyx.jpg)
This happens when I try to send the source code of the contact page in a message.
Title: Re: Advanced Contact Form
Post by: CommanderMadi on June 07, 2010, 04:10:08 PM
Hello Mate, that mod is GREAT, I thank you very much.

Just one problem considering it, All emails go to junk and I went to error logs to see if there are any, it gave that error:

Undefined Variable: hostName

I think this might be the reason of the sending to junk..

Any help would be greatly appreciated.

Thank you
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 08, 2010, 12:01:23 PM
Hello Mate, that mod is GREAT, I thank you very much.

Just one problem considering it, All emails go to junk and I went to error logs to see if there are any, it gave that error:

Undefined Variable: hostName

I think this might be the reason of the sending to junk..

Any help would be greatly appreciated.

Thank you

I remember hostName is for a lookup, resolving sender's IP. There is no relation I guess.
Title: Re: Advanced Contact Form
Post by: CommanderMadi on June 08, 2010, 12:53:14 PM
Ok, so what am I supposed to do with it, Sony?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 08, 2010, 01:05:41 PM
you are using smf v ?
Title: Re: Advanced Contact Form
Post by: CommanderMadi on June 08, 2010, 01:12:07 PM
2.0 RC3
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 08, 2010, 03:06:56 PM
2.0 RC3
I didn't use that version of smf, so I can't help.
Title: Re: Advanced Contact Form
Post by: Scratching my Head on June 11, 2010, 04:13:39 PM
May I ask? I have installed this mod - installed no problem.

But where is the page supposed to show up?
I don't see it anywhere?

I can configure it fine, but where is the contact page once it's installed?
How do I navigate to it?

Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 12, 2010, 12:47:20 AM
May I ask? I have installed this mod - installed no problem.

But where is the page supposed to show up?
I don't see it anywhere?

I can configure it fine, but where is the contact page once it's installed?
How do I navigate to it?



In the top menu, beside "help search profile ..."
You need to manual install if you have custom theme.
Title: Re: Advanced Contact Form
Post by: Scratching my Head on June 12, 2010, 05:47:16 PM
Yeah. I installed it for the custom theme, but I couldn't find it.

Thanks anyway.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 13, 2010, 04:58:07 PM
Yeah. I installed it for the custom theme, but I couldn't find it.

Thanks anyway.

There is no permission required I presume. Which codes you are applied to your custom theme, I mean did you parsed it here?
Title: Re: Advanced Contact Form
Post by: Scratching my Head on June 13, 2010, 05:27:20 PM
Parsed, and installed per the parser. That's why I was confused when it didn't show; and wondered if there was a specific url I could tap -- for instance:

hxxp://somedomain.com/forum/index.php?=contactpage - or whatever -- since I didn't see it on the default curve theme or the custom theme.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 14, 2010, 04:14:43 PM
Parsed, and installed per the parser. That's why I was confused when it didn't show; and wondered if there was a specific url I could tap -- for instance:

hxxp://somedomain.com/forum/index.php?=contactpage - or whatever -- since I didn't see it on the default curve theme or the custom theme.

Yes, there is a specific url; http://www.domain.com/forum/index.php?action=contact

Btw, I checked button codes that you need to apply on your custom theme, and there is a modSettings condition to display button. So you have to enable those options via your admin panel if haven't to do so.
Title: Re: Advanced Contact Form
Post by: Scratching my Head on June 14, 2010, 08:45:12 PM
Got it figured out, friend. I had installed this mod:

http://mods.simplemachines.org/index.php?mod=331


With that mod I had created a "Contact" page. The url resolved to:

hllp://www.domain.com/forum/index.php?action=contact


which conflicted with your beautiful contact page.

Thanks for going the extra mile on this with me.
Telling me the url was the key that opened that lock.

Much gracias, amigo.


Title: Re: Advanced Contact Form
Post by: richie80 on June 28, 2010, 01:12:52 PM
My site is:  www.therealcombatvets.com and I am using SMF 1.1.11.  I can not get the contact for to work.

 I get the following: Parse error: syntax error, unexpected $end in /home/therealc/public_html/Sources/Load.php(1977) : eval()'d code(48) : eval()'d code on line 1

If anyone could help I would appreciate it.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 28, 2010, 02:51:26 PM
My site is:  www.therealcombatvets.com and I am using SMF 1.1.11.  I can not get the contact for to work.

 I get the following: Parse error: syntax error, unexpected $end in /home/therealc/public_html/Sources/Load.php(1977) : eval()'d code(48) : eval()'d code on line 1

If anyone could help I would appreciate it.

Did you installed mod successfully? Which file you downloaded? At which step you are getting this error?
Title: Re: Advanced Contact Form
Post by: richie80 on June 28, 2010, 04:11:13 PM
I downloaded and installed Advanced Contact Form 1.1

The mod installed successfully.  I can go to admin > Configuration > Features and Options and set the contact options.

I add a new block to my website and add the contact.php in the php code box and that is the error I get when I look at the main page of the website.  I am pretty sure I did not add the block in correctly. 

NOTE: I am using a custom theme (FPS Theme).
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 29, 2010, 01:58:36 AM
I add a new block to my website and add the contact.php in the php code box and that is the error I get when I look at the main page of the website.  I am pretty sure I did not add the block in correctly. 

Sorry man, I don't get what "block" is referring.
Title: Re: Advanced Contact Form
Post by: richie80 on June 29, 2010, 10:42:12 AM
I believe I found the problem.  It has to do with the custom theme on the site.  I am not sure what code I need to put in the theme to allow it to show the contact button.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 29, 2010, 12:03:18 PM
I believe I found the problem.  It has to do with the custom theme on the site.  I am not sure what code I need to put in the theme to allow it to show the contact button.

You could modify it from your current buttons code. You need to change condition to showing button, and rest of button name etc.
Title: Re: Advanced Contact Form
Post by: richie80 on June 29, 2010, 08:21:44 PM
I looked in the default theme file and could not find the code.  So I am not sure what to put in the custom theme file.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 30, 2010, 10:47:04 AM
I looked in the default theme file and could not find the code.  So I am not sure what to put in the custom theme file.

There should be "something" to show buttons down there, you will just mixture them.
Title: Re: Advanced Contact Form
Post by: richie80 on June 30, 2010, 02:56:20 PM
This is the code I added:


   // The [calendar]!
   if ($context['allow_calendar'])
      echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
            </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
            </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // the [contact] button
   if ($context['allow_view_contact'])
      echo ($current_action == 'contact' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'contact' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=contact">' , $txt['contact']  , '</a>
            </td>' , $current_action == 'contact' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

      




I am sorry for all the questions, but this is the first time I am working with this.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on June 30, 2010, 04:16:29 PM
Did you granted the permissions?
Title: Re: Advanced Contact Form
Post by: richie80 on June 30, 2010, 07:18:05 PM
Not sure what you are talking about.
Title: Re: Advanced Contact Form
Post by: SONSiVRi on July 01, 2010, 03:50:59 PM
Not sure what you are talking about.

You have to assign the permission to the membergroup you wanted them to see the button. It was like that last time I remember.
Title: Re: Advanced Contact Form
Post by: Amendoim on July 15, 2010, 09:28:36 AM
Update to RC3 Plz ;)
Title: Re: Advanced Contact Form
Post by: Scratching my Head on September 01, 2010, 01:04:21 AM
Update to RC3 Plz ;)

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1352;attach=77434;smf_version=2.0_RC3


Anyway, that's what I used and I am using RC3  ;)
Title: Re: Advanced Contact Form
Post by: maihannijat on November 06, 2010, 11:41:22 PM
Great Mod.

I have this error in my Forum Error Log"

Code: [Select]
Apply Filter: Only show the error messages of this IP address  91.201.66.86    Apply Filter: Only show the error messages of this session  817ee03991b130a87b54080c0d1c2b8a
Apply Filter: Only show the error messages of this URL http://www.afghanistanforums.com/index.php?action=contact
Apply Filter: Only show the errors with the same message
8: Undefined variable: hostName
File: /home/user/public_html/forum/Sources/Contact.php
Line: 164
Title: Re: Advanced Contact Form
Post by: SONSiVRi on November 07, 2010, 11:39:10 AM
Great Mod.

I have this error in my Forum Error Log"

Code: [Select]
Apply Filter: Only show the error messages of this IP address  91.201.66.86    Apply Filter: Only show the error messages of this session  817ee03991b130a87b54080c0d1c2b8a
Apply Filter: Only show the error messages of this URL http://www.afghanistanforums.com/index.php?action=contact
Apply Filter: Only show the errors with the same message
8: Undefined variable: hostName
File: /home/user/public_html/forum/Sources/Contact.php
Line: 164

You are using which smf version?
Title: Re: Advanced Contact Form
Post by: maihannijat on November 07, 2010, 10:48:18 PM
I am using SMF version 1.1.12
Title: Re: Advanced Contact Form
Post by: SONSiVRi on November 08, 2010, 06:15:20 PM
I am using SMF version 1.1.12

I had that problem too, then I removed that code part (I didn't needed it). I should have posted it in this topic. And also my modification includes capthca feature too.
Title: Re: Advanced Contact Form
Post by: maihannijat on November 08, 2010, 10:38:51 PM
I had that problem too, then I removed that code part (I didn't needed it). I should have posted it in this topic. And also my modification includes capthca feature too.

Could you tell me from which line to which I remove code?

Title: Re: Advanced Contact Form
Post by: SONSiVRi on November 10, 2010, 01:12:02 AM
You should check my post in this topic that attached my codes, and compare them with original. I can't remember which line I removed now.
Title: Re: Advanced Contact Form
Post by: maihannijat on November 10, 2010, 03:46:09 AM
I didn't find your post contains code,

Could you give me the link of the post?
Title: Re: Advanced Contact Form
Post by: SONSiVRi on November 10, 2010, 05:00:58 PM
I didn't find your post contains code,

Could you give me the link of the post?

Did you ever looked for it? Because its just there, check my messages, I only attached 1 file, and its the file you needed.
Title: Re: Advanced Contact Form
Post by: badger413 on February 04, 2011, 12:16:55 AM
I am getting this error log message.

Apply Filter: Only show the error messages of this URL
http://amateurgaming.net/index.php?action=contact
Apply Filter: Only show the errors with the same message
8192: Function eregi() is deprecated
Apply Filter: Only show the errors from this file
File: /usr/www/ag/public/Sources/Contact.php
Line: 164

What do I need to do?

One other thing, Why is there two of the same  "Amateur Gaming » Contact Form" links at the top. Posted a picture to show you guys...

Title: Re: Advanced Contact Form
Post by: yogesh_gamer on July 02, 2011, 10:43:40 AM
using 1.1.14 version
i installed a mod:
http://custom.simplemachines.org/mods/index.php?mod=1352

I see this error in my forum error report:
========================================================================================
 Guest    Today at 09:09:50 AM
 117.198.136.112      a1ec6ce08f12b33a2abe9722285e9380
 http://downloadyourworld.com/index.php?action=contact
8: Undefined variable: hostName
File: /home/downlo23/public_html/Sources/Contact.php
Line: 164
=======================================================================================

please tell me the reason
Title: Re: Advanced Contact Form
Post by: rica.carv on July 10, 2011, 02:04:21 PM
Added CandidoPt portuguese translation to the install package (http://www.simplemachines.org/community/index.php?topic=264416.msg2074746#msg2074746)
Title: Re: Advanced Contact Form
Post by: Biology Forums on August 01, 2012, 03:17:51 PM
I really like this mod, but can someone please tell me how to activate the visual verification? I can't seem to find the option?
Title: Re: Advanced Contact Form
Post by: morecambe on August 20, 2012, 10:35:00 AM
I just replaced "contact page" mod with your mod (too much spam with the other mod, even with captcha, so I hope yours works out better!)

But...

I wondered how to change the "message sent" confirmation page. It currently looks like the attachment, with the fields labeled "required" so it may confuse people who don't see the line of text saying that their message has been sent.

Thanks for any advice/updates.

Title: Re: Advanced Contact Form
Post by: morecambe on August 20, 2012, 11:05:28 AM
An update to my post above:

I just got spammed :( (with recaptcha on!)
Code: [Select]
Email: cbadttwxx@msn.com
------

erase memory medicine [url=http://latissebuyonline.webs.com/apps/blog/show/18251288-is-latisse-safe#849] is latisse safe when pregnant eyelashes [/url] care pharmacy epsom nh
canker sore tongue medicine [url=http://latissebuyonline.webs.com/apps/blog/show/18251286-is-latisse-available-in-canada#728] is latisse available in canada approved [/url] pharmacy with health care physician
foreign pharmacy sources [url=http://latissebuyonline.webs.com/apps/blog/show/18251280-ingredients-in-latisse#613] ingredients in latisse because [/url] black medicine mashiro
medicine wheel skunk [url=http://latissebuyonline.webs.com/apps/blog/show/18251277-how-to-use-latisse#803] how to use latisse eyelash growth any [/url] patient care in pharmacy
maggots in medicine [url=http://latissebuyonline.webs.com/apps/blog/show/18251275-how-to-order-latisse#600] how to order free latisse [/url] medicine mexico new school university
medicine in japan history [url=http://latissebuyonline.webs.com/apps/blog/show/18251272-how-to-buy-latisse#494] how to buy how much does latisse cost [/url] car max auto finance pharmacy
pharmacy home infusion [url=http://latissebuyonline.webs.com/apps/blog/show/18251271-how-much-is-latisse#240] what is the cost of how much does latisse cost [/url] medicine hat drug task force
clinical psychiatric medicine grandville mi [url=http://latissebuyonline.webs.com/apps/blog/show/18251270-how-much-does-latisse-cost#752] how much does latisse cost at home depot [/url] ucsd occupational medicine san diego
family medicine march [url=http://latissebuyonline.webs.com/apps/blog/show/18251269-grow-eyelashes-latisse#596] latisse eyelashes grow growth [/url] medicine that says mp 577
newfoundland and labrador pharmacy board [url=http://latissebuyonline.webs.com/apps/blog/show/18251266-generic-latisse-online#404] lumigan latisse generic bimatoprost online [/url] dr carly evans emergency medicine physician
baylor college of medicine registrar <a href=http://latissebuyonline.webs.com/apps/blog/show/18251288-is-latisse-safe#716] is latisse safe for blue eyes completely </a> pharmacy manufacturer 3592
flonase is bad medicine <a href=http://latissebuyonline.webs.com/apps/blog/show/18251286-is-latisse-available-in-canada#777] is latisse available in canada approved </a> nesset pavilion pharmacy park ridge il
pharmacy prices common drugs <a href=http://latissebuyonline.webs.com/apps/blog/show/18251280-ingredients-in-latisse#314] examples of the active ingredients in latisse </a> pertell pharmacy
baboon medicine <a href=http://latissebuyonline.webs.com/apps/blog/show/18251277-how-to-use-latisse#024] how to use latisse after 15 weeks </a> treating endocarditis with natural medicines
pharmacy state laws <a href=http://latissebuyonline.webs.com/apps/blog/show/18251275-how-to-order-latisse#231] how to order latisse in usa </a> canada pharmacy usa
24 hr pharmacy in olympia wa <a href=http://latissebuyonline.webs.com/apps/blog/show/18251272-how-to-buy-latisse#052] how to buy how much does latisse cost cheap </a> clinical botanical medicine revised expanded
training in retail pharmacy <a href=http://latissebuyonline.webs.com/apps/blog/show/18251271-how-much-is-latisse#114] how much is latisse in york </a> western journal of medicine
cough medicine for cats <a href=http://latissebuyonline.webs.com/apps/blog/show/18251270-how-much-does-latisse-cost#879] how much does latisse cost offers </a> having sex on medicine ball
medicine science sports exercise journal <a href=http://latissebuyonline.webs.com/apps/blog/show/18251269-grow-eyelashes-latisse#095] eyelashes grow back how much does latisse cost </a> safe cold medicine for toddlers
pharmacy quality essential oil <a href=http://latissebuyonline.webs.com/apps/blog/show/18251266-generic-latisse-online#553] buy generic latisse online drugstore </a> buy xenical from online pharmacies

--
IP: 176.212.13.126
rDNS: dynamicip-176-212-13-126.pppoe.kirov.ertelecom.ru
Sender: guest
Title: Re: Advanced Contact Form
Post by: drroot on August 25, 2012, 03:38:23 AM
The recaptcha is no longer working for SMF 2.0.2.

Spammed like other people posted above.

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1352)

This advanced contact form is easy to use, yet it provides a full array of configuration settings so that you can configure it to suit your preferences.

Its integrated error checking avoids users getting those annoying "go back and try again" screens. The error checking highlights invalid entries and informs the user which are wrong, and why. Only the erroneous entries need be reentered before hitting Send Message again.

The default setting puts the sender's name, email address and subect line in the contact form responses sent to you via email. If a valid email address has been provided by the sender you can reply to it just as with any ordinary email. Or if you prefer, you can configure in static settings for any or all of these fields. You can optionally add a prefix you select such as "[Contact Form]" to all your replies, to facilitate easy sorting by your email client's message filters.

You select whether guests, members or both can use the contact form. Guest use of the contact form (anybody not logged in) follows the same anti-spam policy as configured in your forum's Anti-Spam Verification settings including CAPTCHA and supplemental verification questions.

Features

  • CAPTCHA protects against spam generated by spammer 'bots.
  • Members bypass CAPTCHA check as long as they are logged in.
  • Integrated error checking avoids "go back and try again" screens.
  • You select whether guests, members or both can access your contact form.
  • You select whether name, email and subject are required or optional.
  • Responses are emailed to your forum's default email address or to one you select.
  • Replies include sender's name, email and subject line in email headers.
  • Or you can override sender name, email and subject line with settings you select.
  • Optional prefix label added at beginning of subject line for all responses.
  • Contact form title can be customized to a title you select.
  • Contact form tab label can be customized to a label you select.
  • Sender's IP address and reverse DNS are included in each emailed response.
  • Sender's member name is included in emailed response if member is logged in.

Title: Re: Advanced Contact Form
Post by: covs67 on September 27, 2012, 10:42:50 AM
I always see "Invalid email entered" whenever i tried to use the advanced contact form in my Smf 2.02.Please help me on what to do to stop this.
Title: Re: Advanced Contact Form
Post by: stylusss on October 02, 2012, 07:11:23 PM
When used in SMTP mode, the persons email shows up as the forum email. This is a bug, but how can it be fixed?
Title: Re: Advanced Contact Form
Post by: Alexa Lynne on December 14, 2012, 08:54:36 PM
I have installed this mod successfully. It works. . . When i receive an email via this form, the sender is "Anonymous" What can i put in the box that is labed "Sender name if none provided:". When i receive the email, i would like for the members "username" to show up under "From/Sender".
Title: Re: Advanced Contact Form
Post by: PLAYBOY on February 26, 2013, 04:07:35 PM
I really like this mod. Simple and nice looking.
Is there anyway to make moderators to see and maybe reply the messages sent from this contact form?
I need something like this but I dont wanna deal with all the contact us inquries. I want moderators to deal with those through the forum. They wont use the webmail so I need a simple solution.

Any help?
Title: Re: Advanced Contact Form
Post by: Shambles on February 26, 2013, 04:41:51 PM
Quote
Is there anyway to make moderators to see and maybe reply the messages sent from this contact form?
You could add a createPost() call to generate a topic in a moderator-only board, as I did with mine.
Title: Re: Advanced Contact Form
Post by: PLAYBOY on February 26, 2013, 04:59:30 PM
Can you explain it step by step how to do it, ? i am not good at coding
Title: Re: Advanced Contact Form
Post by: Shambles on February 26, 2013, 05:51:15 PM
Well I'm off to my pit shortly, but if nobody else contributes before I get to work tomorrow I'll download the mod and we can work through adding the extras to the script file(s).

I don't have this actual mod (I use a different contact page mod) but it should be easy enough to sort out.
Title: Re: Advanced Contact Form
Post by: PLAYBOY on February 26, 2013, 07:54:45 PM
sounds good.  Thx
Title: Re: Advanced Contact Form
Post by: Shambles on February 27, 2013, 04:39:41 AM
Ok.

Remember that I do not have or use this mod and the below is more or less a skeleton of code extracted from my installation, tailored slightly for your mod. I also cannot test any of this...

In Sources\Contact.php

Code: (Find) [Select]
if (sendmail($dest_email_addr, $subject, $content, $headers))
{
$context['contact_form_message_sent'] = true;
$context['page_title'] .= ' - ' . $txt['contact_form_result_message_sent'];
}

Code: (Replace) [Select]
if (sendmail($dest_email_addr, $subject, $content, $headers))
{
// Create a post in the Moderator Zone

$icon = '';
$board = 112; // ID of the Board to receive the topic
$poster_id = 0; // ID number of the member attributed to the post

$msgOptions = array(
'id' => $poster_id,
'subject' => $subject,
'icon' => $icon,
'body' => $content,
'smileys_enabled' => false,
);

$topicOptions = array(
'id' => $poster_id,
'board' => $board,
'mark_as_read' => true,
);
 
$posterOptions = array(
'id' => '',
);

// Register the topic

createPost($msgOptions, $topicOptions, $posterOptions);

$context['contact_form_message_sent'] = true;
$context['page_title'] .= ' - ' . $txt['contact_form_result_message_sent'];
}

In my setup I use member ID zero (guest) to register the new topic. You may want to furtle the actual posters name to grab his ID and use that. Also, the supplied Contact.php has other details you may wish to include in the $content variable, like $dest_email_addr and $headers.
Title: Re: Advanced Contact Form
Post by: PLAYBOY on February 27, 2013, 05:09:54 AM
Once the new topic created, does it have option/feature for mods to reply the person? or do they still need to login to webmail or something to reply the inquiry?
Title: Re: Advanced Contact Form
Post by: Shambles on February 27, 2013, 05:25:52 AM
The code I added should simply create a "notification" visible to your moderators, containing whatever detail you require. If you include the email info in that detail then it's upto whoever picks up the contact to decide what to do with it, and how to deal with it.
Title: Re: Advanced Contact Form
Post by: PLAYBOY on February 27, 2013, 05:31:05 AM
Its pretty complicated. I dont think i know that much to customize the code to have reply option for moderators for each contact request. Thanks anyways.
Title: Re: Advanced Contact Form
Post by: Shambles on February 27, 2013, 05:36:04 AM
Probably still worth the trouble doing as you'd have a "hard copy" of all completed contact forms, somewhere in your forum. The reply option would just involve clicking the supplied email address to open up your email client ready to reply to the 'form'.

Ah well, the technology is there if you ever change your mind.
Title: Re: Advanced Contact Form
Post by: kosty555 on September 06, 2013, 03:08:47 AM
All set up. Set up SMTP - but e-mail has not come
Title: Re: Advanced Contact Form
Post by: Deprecated on January 21, 2014, 10:16:30 AM
This mod package is scheduled for an update to SMF 2.0.6 in the near future and I'll address any problems at that time. Thank you for the feedback.
Title: Re: Advanced Contact Form
Post by: Ninja ZX-10RR on May 03, 2014, 06:22:35 PM
Total mess for me. I had like 150 errors in less than 20 minutes and had to uninstall it immediately when i saw these things as well:
Too bad i had to reinstall the previous one i was using D:
Title: Re: Advanced Contact Form
Post by: Bruce the Shark on December 22, 2014, 04:29:51 AM
This mod installed first go for me.
I had no error except at first the email show an error but after adjusting some setting it all seems good to go.
One note that i should mention is, that on my navigation menu it is in upper case ( CONTACT ) which i prefer to use lower case.
Just wondering does anyone know where i could edit this file manually?
Title: Re: Advanced Contact Form
Post by: Shambles on December 22, 2014, 05:14:01 AM
Modifications.english.php in your languages directory.

Code: (Find) [Select]
$txt['contact_form_default_tab_label'] = 'CONTACT';
Code: (Replace With) [Select]
$txt['contact_form_default_tab_label'] = 'Contact';
Title: Re: Advanced Contact Form
Post by: Bruce the Shark on December 22, 2014, 08:03:54 AM
I did it
wow to easy.
Thanks for that.
Sensational ;D
Title: Re: Advanced Contact Form
Post by: Bruce the Shark on December 22, 2014, 05:11:08 PM
Latest update
not to sure about this but
It appears now that the Captcha code is not displaying in my browsers
Suddenly this has just happened.
I am still, able to send an email but without the code which is a concern as i might get spammed.
Not really sure as to why this has stopped?
Any ideas?
Title: Re: Advanced Contact Form
Post by: Deprecated on February 08, 2015, 08:22:12 PM
Maybe I'll check it out in the near future on one of my 2.0.9 forums and address any bugs if present. I see the need for a contact form in the near future and might as well use my own mod.

I've written a few CAPTCHA modules since I wrote this mod, so I have a lot of  new experience and may rewrite it to be more suitable.

I guess I've just been involved with so many paying projects and no donations coming in from mods that I follow the money.
Title: Re: Advanced Contact Form
Post by: richrea on February 14, 2015, 05:42:54 AM
I'm also seeing the same errror (eregi) when using this on the latest release (2.0.9).
Should I:
1. Ignore?
2. Use another Contact mod instead?


And also this error:
8: Undefined variable: hostName
File: /home/downlo23/public_html/Sources/Contact.php


Thanks in advance...


I am getting this error log message.

8192: Function eregi() is deprecated
Apply Filter: Only show the errors from this file
File: /usr/www/ag/public/Sources/Contact.php
Line: 164

What do I need to do?
Title: Re: Advanced Contact Form
Post by: Deprecated on February 16, 2015, 10:16:51 PM
I just tested this on my 2.0.9 test forum with default settings except for where to send the email to, and it worked perfectly. You do have to check at least one of "guests" or "members" to activate the tab.

Could you give me more info? Perhaps it is some ISP related matter. I'm using it on 1&1. Tell me what PHP version you are using.

Php.net says: This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged. Maybe I need to find another function. Any advice will be appreciated.  What replaces this?

Could you please check "Skip sender email address domain record check:" and see if this solves the problem? I think that's the function I used to check MX records to verify it's a valid email address and not bogus like xyz.abc. With that unchecked you require a real MX record so that people won't make up phony email domains. You know, like eat_my_lunch.dummy or something.

I think I rewrote this on my own custom CDS to use a different function. It could be just 30 minutes work to update the mod to use my new method.

Feed me back.



Heh, DEPRECATED. Now you now why I picked my username. Because I'm deprecated, obsolete, good for nothing.
Title: Re: Advanced Contact Form
Post by: Deprecated on February 16, 2015, 10:49:02 PM
i integrated the mod in my board but for testing it always says the email adress is invalid. i tried with some different ones. whats wrong with it.

here my board: www.autotrac.org

CHECK where it says "Skip sender email address domain record check." It is not compatible with later versions of PHP.

If I get enough feedback I may modify the forum to use a PHP 5.4+ version of the check, or maybe just remove it.
Title: Re: Advanced Contact Form
Post by: Arantor on February 17, 2015, 12:57:12 AM
Given that PHP 5.3 is end of life, that would be a good idea.
Title: Re: Advanced Contact Form
Post by: aegersz on June 13, 2016, 09:35:59 AM
Click here (http://www.simplemachines.org/community/index.php?topic=546472.msg3878554) to see the topic where i wish to bold the "CONTACT" app button.
Title: Re: Advanced Contact Form
Post by: aegersz on June 14, 2016, 06:38:39 PM
the above is now done. see http://www.simplemachines.org/community/index.php?topic=546472.msg3878634#msg3878634
Title: Re: Advanced Contact Form
Post by: Paracelsus on August 24, 2016, 03:42:31 AM
Hi, nice MOD.

Something useful would be to automatically parse username and respective email address on name and sender's email once logged in, it's fairly meaningless to put registered users fill in their own data.
Title: Re: Advanced Contact Form
Post by: aegersz on August 25, 2016, 12:31:45 AM
Paracelsus, i can't agree. I love this mod and it's very effective the way it is ... besides, you may want to receive mail at another account.

So easy to use. Good job.
Title: Re: Advanced Contact Form
Post by: Deprecated on August 26, 2016, 08:23:19 PM
Thank you for the compliments on my modification.

Considering my work load at my day job plus the fact that the modification works well with all versions of SMF 2.0.x I have no plans at the present time to recode this mod and change or add new features.

There is always the temptation to make anything better and better. We engineers have a saying, "If it ain't broke, don't fix it."

I will reconsider when SMF 2.1 stable is released.
Title: Re: Advanced Contact Form
Post by: JF3000 on September 07, 2016, 06:04:19 PM
Just a question, when you get these errors, what does this actually mean, does it mean I can't install the mod because of the errors or are those edit options on the left side actually telling me how to get it working?

(https://s21.postimg.org/slogx6a93/errors.png)
Title: Re: Advanced Contact Form
Post by: Deprecated on September 08, 2016, 10:54:23 AM
They mean:

1.) You cannot install the mod package without causing errors.

2.) On the left side, if the arrow points down that indicates which modify section is causing the error.

In the case where a file has only one modification, the cause is obvious. In the case where a file has multiple modifications the arrows tell you which modifications are the cause of the error.

Again, you should NEVER install any mod package that shows errors, with the single exception of those errors on themes that you do not use and are certain you will never use.

Note: You should take appropriate steps in user permission setup to prevent members from selecting these themes. My own forum is set up that I use only the Curve theme, and members do not have any option (permission) to select any other theme.
Title: Re: Advanced Contact Form
Post by: Deprecated on September 08, 2016, 11:02:11 AM
It would be interesting if you would attach copies of Subs.php and Admin.php to your next post.

Perhaps I can identify which modification or modifications are the cause your problems.
Title: Re: Advanced Contact Form
Post by: aegersz on September 21, 2016, 08:11:24 PM
I'm of the same mind, I only offer the Curve theme and it makes life so much easier.

I get a few complaints but at least I can easily install mods with the odd manual code change.
Title: Re: Advanced Contact Form
Post by: Deprecated on September 23, 2016, 07:39:46 PM
The amusing part of Curve is that you might assume the corners are round via CSS but in spite of that they are round because of clever use of sprites. I had never heard of sprites so this was an excellent means to introduce me to a new concept. Even more so when I modified my own Curve theme and had to create my own sprites.

Core is AFAIK the original SMF theme and before alternatives were introduced gave SMF forums an "all the same" look. Now with Curve and the many contributions of themers your SMF forum can have many possibilities of looking unique and interesting. I don't know if the Developers intend to drop Core in future releases but it makes sense to me that Curve is the default theme.

SMF's design having a main code module driving an implementation module driving a theme module makes a great deal of sense once you get the hang of it.

I expect when my production forum gets most of my code mods that I plan, then I'll start tinkering the theme and learn that aspect of SMF better.