Advertisement:

Author Topic: Advanced Contact Form  (Read 77306 times)

Offline L'AltroWeb

  • Jr. Member
  • **
  • Posts: 344
  • Gender: Male
  • L'AltroWeb
    • laltroweb on Facebook
    • @laltroweb on Twitter
    • L'AltroWeb
Re: Advanced Contact Form
« Reply #40 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/
« Last Edit: June 02, 2009, 07:24:39 AM by Dark-Wolf »

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #41 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:
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline L'AltroWeb

  • Jr. Member
  • **
  • Posts: 344
  • Gender: Male
  • L'AltroWeb
    • laltroweb on Facebook
    • @laltroweb on Twitter
    • L'AltroWeb
Re: Advanced Contact Form
« Reply #42 on: June 02, 2009, 06:55:24 AM »
Ok, i've removed full package install ;)

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #43 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.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline L'AltroWeb

  • Jr. Member
  • **
  • Posts: 344
  • Gender: Male
  • L'AltroWeb
    • laltroweb on Facebook
    • @laltroweb on Twitter
    • L'AltroWeb
Re: Advanced Contact Form
« Reply #44 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 ;)

Offline blanix

  • Jr. Member
  • **
  • Posts: 101
Re: Advanced Contact Form
« Reply #45 on: June 02, 2009, 04:46:30 PM »
which version is the new one ?!

the uploaded 1.1 from 2008 ??
My SMF: 1.1.9

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #46 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.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline blanix

  • Jr. Member
  • **
  • Posts: 101
Re: Advanced Contact Form
« Reply #47 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 ?!
My SMF: 1.1.9

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #48 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.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline blanix

  • Jr. Member
  • **
  • Posts: 101
Re: Advanced Contact Form
« Reply #49 on: June 03, 2009, 06:31:41 AM »
I unchecked reverse lookup option

where ?!
My SMF: 1.1.9

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #50 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
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline blanix

  • Jr. Member
  • **
  • Posts: 101
Re: Advanced Contact Form
« Reply #51 on: June 03, 2009, 04:25:59 PM »
ah, best view with open eyes  :D

thx SONSiVRi
My SMF: 1.1.9

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #52 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.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline ttuu

  • Jr. Member
  • **
  • Posts: 224
Re: Advanced Contact Form
« Reply #53 on: July 21, 2009, 03:51:41 AM »
i wont included the username in massage mail.
its possible?

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #54 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).
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline ttuu

  • Jr. Member
  • **
  • Posts: 224
Re: Advanced Contact Form
« Reply #55 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.

Offline khaleed

  • Semi-Newbie
  • *
  • Posts: 39
  • Gender: Male
    • KLIA-Community
Re: Advanced Contact Form
« Reply #56 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

Offline SONSiVRi

  • Full Member
  • ***
  • Posts: 418
    • Lair Of Knowledge
Re: Advanced Contact Form
« Reply #57 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.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Offline chrishicks

  • Full Member
  • ***
  • Posts: 517
  • Gender: Male
    • RejectsRestStop
Re: Advanced Contact Form
« Reply #58 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.

Offline vIRTUZ

  • Semi-Newbie
  • *
  • Posts: 37
Re: Advanced Contact Form
« Reply #59 on: July 31, 2009, 08:42:55 AM »
What I have to write(and where) to create the "CONTACT" button ?