Advertisement:

Author Topic: Advanced Contact Form  (Read 77229 times)

Offline SONSiVRi

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

Offline maihannijat

  • Jr. Member
  • **
  • Posts: 215
  • Gender: Male
    • Afghanistan Forum
Re: Advanced Contact Form
« Reply #121 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?

Offline SONSiVRi

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

Offline badger413

  • Semi-Newbie
  • *
  • Posts: 69
    • Platoon United
Re: Advanced Contact Form
« Reply #123 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...

« Last Edit: February 04, 2011, 12:37:17 AM by badger413 »

Offline yogesh_gamer

  • Jr. Member
  • **
  • Posts: 287
    • Yogesh Gamer's Virtual World
Re: Advanced Contact Form
« Reply #124 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

Offline rica.carv

  • Semi-Newbie
  • *
  • Posts: 50

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,779
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Advanced Contact Form
« Reply #126 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?

Offline morecambe

  • Newbie
  • *
  • Posts: 8
Re: Advanced Contact Form
« Reply #127 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.


Offline morecambe

  • Newbie
  • *
  • Posts: 8
Re: Advanced Contact Form
« Reply #128 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

Offline drroot

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

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.

« Last Edit: August 25, 2012, 03:52:40 AM by drroot »

Offline covs67

  • Semi-Newbie
  • *
  • Posts: 33
Re: Advanced Contact Form
« Reply #130 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.

Offline stylusss

  • Jr. Member
  • **
  • Posts: 350
Re: Advanced Contact Form
« Reply #131 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?
For top-notch server quality and expertise, visit CoreISP.net

Offline Alexa Lynne

  • Full Member
  • ***
  • Posts: 510
  • Gender: Female
  • Transgender Women ARE Women!
    • rainbowpride83 on Facebook
    • @rainbowpride83 on Twitter
    • ArklahomaWx
Re: Advanced Contact Form
« Reply #132 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".

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,073
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Advanced Contact Form
« Reply #133 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?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #134 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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,073
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Advanced Contact Form
« Reply #135 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

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #136 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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,073
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Advanced Contact Form
« Reply #137 on: February 26, 2013, 07:54:45 PM »
sounds good.  Thx

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #138 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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,073
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Advanced Contact Form
« Reply #139 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?