News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Advanced Contact Form

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

Previous topic - Next topic

SONSiVRi

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.

maihannijat

I didn't find your post contains code,

Could you give me the link of the post?

SONSiVRi

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

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.

badger413

#123
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...


yogesh_gamer

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


Biology Forums

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?

morecambe

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.


morecambe

An update to my post above:

I just got spammed :( (with recaptcha on!)
Email: [email protected]
------

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

drroot

#129
The recaptcha is no longer working for SMF 2.0.2.

Spammed like other people posted above.

Quote from: Deprecated on September 26, 2008, 06:15:53 PM
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.


covs67

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.

stylusss

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

Jeremy M.

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

PLAYBOY

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?

Shambles

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.

PLAYBOY

Can you explain it step by step how to do it, ? i am not good at coding

Shambles

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.

PLAYBOY


Shambles

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.

PLAYBOY

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?

Advertisement: