News:

Wondering if this will always be free?  See why free is better.

Main Menu

Contact Page

Started by SMFHacks.com Team, July 06, 2006, 12:59:38 PM

Previous topic - Next topic

SN

Quote from: vbgamer45 on July 09, 2010, 10:37:01 PM
New release
2.1
+Added support for the reCaptcha mod! Will use instead of the normal SMF captcha if installed.

Mine already does that vb. I have reCaptcha and Contact page... and reCaptcha appears on my contact page.

will i come across any problems if i don't upgrade to 2.1?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

maihannijat

Error after updating the mod

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 index: recaptcha_enabled
File: /home2/maihanin/public_html/forum/Themes/default/Contact.template.php
Line: 70

vbgamer45

 maihannijat posted a new fix that should help
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


NoFeaR / NFSMW

Where can i edit the contact page? I want to insert telephone numbers and addresses.

vbgamer45

Edit the contact.template.php found in themes/default/
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SN

Quote from: vbgamer45 on July 10, 2010, 10:32:43 AM
hmm You can try and see what happens

Just to let you know vb, im not getting any errors with it. I have the earlier version and reCaptcha  installed and all is working fine.

so i don't think i need to upgrade

NoFeaR / NFSMW

I have a small proble. i tried using the contact page and i get no emails from it. Is there something that needs to be set up?

vbgamer45

It is setup to use the email address under Server Settings the webmaster email. Check error log for any other details
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NoFeaR / NFSMW

In my error log nothing appears. Its really strange.

NoFeaR / NFSMW

I dont know php that well. is there anyone that can help me??

deansmar

this is a great mod, thanks very much.

i have edited the Contact2.template.php to include an address field, the contact page shows no problems at all, the fields are there and can be filled out.

but once the send button is pressed the mail is sent with out the details of these fields?

do i now need to edit the Contact2.php? some were round here to include the fields

$m = $txt['smfcontact_form'] . $mbname . " \n";
$m .= $txt['smfcontact_formname'] . $from . "\n";
$m .= $txt['smfcontact_formemail'] . $email . "\n";
$m .= $txt['smfcontact_ip'] . $_SERVER['REMOTE_ADDR'] . "\n";
$m .= $txt['smfcontact_formmessage'];
$m .= $message;
$m .= "\n";

vbgamer45

Yes you would edit that code in Contact2.php you would need to grab the address field from the request and add it to the $m variable.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

deansmar

thanks for the answer VB

i have editied the Contact2.php but im getting an undifined variable, were would i have to declair this variable?

http://xxxx/index.php?action=contact&sa=save
Undefined variable: address
File: /home/xxxx/public_html/Sources/Contact2.php
Line: 83


on line 83 is this:
$m .= 'Address:' . $address . " \n";

the text 'Address' appears in the e-mail but not the data contained in the variable (that is also not defined)
if i knew were to declair it there would be no problems at all... i think...

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

deansmar

worked a dream... thanks...  ;D

any other added fields would be done in the same manner i presume..

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

unformatted_

I'm receiving lots of spam emails. How can I add capta to contact page?
I'm using SMF2 RC3
thanks

deansmar

Capta is already part of Contact page...

only guests get to see it

your users dont see the capta, and why should they, they have already gone through the proses when Registering for an acount.

Advertisement: