News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Advanced Contact Form

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

Previous topic - Next topic

L'AltroWeb

#40
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:
<id>Deprecated:Advanced_Contact</id> ;9
-
Edit: changed id to:
<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:
$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/

SONSiVRi

"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:
$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.

L'AltroWeb

Ok, i've removed full package install ;)

SONSiVRi

Quote from: Dark-Wolf on June 02, 2009, 06:55:24 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.

L'AltroWeb

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 ;)

blanix

which version is the new one ?!

the uploaded 1.1 from 2008 ??
My SMF: 1.1.9

SONSiVRi

Quote from: blanix on June 02, 2009, 04:46:30 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.

blanix

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

SONSiVRi

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.

blanix

My SMF: 1.1.9

SONSiVRi

Quote from: blanix on June 03, 2009, 06:31:41 AM
Quote from: SONSiVRi on June 03, 2009, 03:45:57 AM
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.

blanix

ah, best view with open eyes  :D

thx SONSiVRi
My SMF: 1.1.9

SONSiVRi

Quote from: blanix on June 03, 2009, 04:25:59 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.

ttuu

i wont included the username in massage mail.
its possible?

SONSiVRi

Quote from: ttuu on July 21, 2009, 03:51:41 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.

ttuu

Quote from: SONSiVRi on July 22, 2009, 04:12:46 AM
Quote from: ttuu on July 21, 2009, 03:51:41 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.

khaleed

Just wondering...is this mod compatible with custom theme ? ??? I'm using kani theme version 1.1.10

SONSiVRi

Quote from: 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
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.

chrishicks

Quote from: 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.

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.

vIRTUZ

What I have to write(and where) to create the "CONTACT" button ?

Advertisement: