Advertisement:

Author Topic: Advanced Contact Form  (Read 77228 times)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #140 on: February 27, 2013, 05:25:52 AM »
The code I added should simply create a "notification" visible to your moderators, containing whatever detail you require. If you include the email info in that detail then it's upto whoever picks up the contact to decide what to do with it, and how to deal with it.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,073
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Advanced Contact Form
« Reply #141 on: February 27, 2013, 05:31:05 AM »
Its pretty complicated. I dont think i know that much to customize the code to have reply option for moderators for each contact request. Thanks anyways.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #142 on: February 27, 2013, 05:36:04 AM »
Probably still worth the trouble doing as you'd have a "hard copy" of all completed contact forms, somewhere in your forum. The reply option would just involve clicking the supplied email address to open up your email client ready to reply to the 'form'.

Ah well, the technology is there if you ever change your mind.

Offline kosty555

  • Semi-Newbie
  • *
  • Posts: 11
Re: Advanced Contact Form
« Reply #143 on: September 06, 2013, 03:08:47 AM »
All set up. Set up SMTP - but e-mail has not come
World Celebs [nofollow]

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Advanced Contact Form
« Reply #144 on: January 21, 2014, 10:16:30 AM »
This mod package is scheduled for an update to SMF 2.0.6 in the near future and I'll address any problems at that time. Thank you for the feedback.

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,156
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Advanced Contact Form
« Reply #145 on: May 03, 2014, 06:22:35 PM »
Total mess for me. I had like 150 errors in less than 20 minutes and had to uninstall it immediately when i saw these things as well:
  • Email check not working because it doesn't / can't check the db.
  • No captcha settings, i would like users to insert captcha as well.
  • (Bad one) IP detection wrong because of CloudFlare, i have already my CloudFlare mod installed but the IPs detected and sent through the emails are wrong despite on the forum are correct.
  • (Bad one) No permission settings available, users should have at least a number of messages before being able to use this form, this is due to spammers and the inability to communicate to the db.

Too bad i had to reinstall the previous one i was using D:
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline Bruce the Shark

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • It never rains in only pours.
Re: Advanced Contact Form
« Reply #146 on: December 22, 2014, 04:29:51 AM »
This mod installed first go for me.
I had no error except at first the email show an error but after adjusting some setting it all seems good to go.
One note that i should mention is, that on my navigation menu it is in upper case ( CONTACT ) which i prefer to use lower case.
Just wondering does anyone know where i could edit this file manually?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,544
  • Gender: Male
    • i30 Owners Club
Re: Advanced Contact Form
« Reply #147 on: December 22, 2014, 05:14:01 AM »
Modifications.english.php in your languages directory.

Code: (Find) [Select]
$txt['contact_form_default_tab_label'] = 'CONTACT';
Code: (Replace With) [Select]
$txt['contact_form_default_tab_label'] = 'Contact';

Offline Bruce the Shark

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • It never rains in only pours.
Re: Advanced Contact Form
« Reply #148 on: December 22, 2014, 08:03:54 AM »
I did it
wow to easy.
Thanks for that.
Sensational ;D

Offline Bruce the Shark

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
  • It never rains in only pours.
Re: Advanced Contact Form
« Reply #149 on: December 22, 2014, 05:11:08 PM »
Latest update
not to sure about this but
It appears now that the Captcha code is not displaying in my browsers
Suddenly this has just happened.
I am still, able to send an email but without the code which is a concern as i might get spammed.
Not really sure as to why this has stopped?
Any ideas?
« Last Edit: December 23, 2014, 04:35:29 PM by Bruce the Shark »

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Advanced Contact Form
« Reply #150 on: February 08, 2015, 08:22:12 PM »
Maybe I'll check it out in the near future on one of my 2.0.9 forums and address any bugs if present. I see the need for a contact form in the near future and might as well use my own mod.

I've written a few CAPTCHA modules since I wrote this mod, so I have a lot of  new experience and may rewrite it to be more suitable.

I guess I've just been involved with so many paying projects and no donations coming in from mods that I follow the money.

Offline richrea

  • Newbie
  • *
  • Posts: 1
Re: Advanced Contact Form
« Reply #151 on: February 14, 2015, 05:42:54 AM »
I'm also seeing the same errror (eregi) when using this on the latest release (2.0.9).
Should I:
1. Ignore?
2. Use another Contact mod instead?


And also this error:
8: Undefined variable: hostName
File: /home/downlo23/public_html/Sources/Contact.php


Thanks in advance...


I am getting this error log 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?

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Advanced Contact Form
« Reply #152 on: February 16, 2015, 10:16:51 PM »
I just tested this on my 2.0.9 test forum with default settings except for where to send the email to, and it worked perfectly. You do have to check at least one of "guests" or "members" to activate the tab.

Could you give me more info? Perhaps it is some ISP related matter. I'm using it on 1&1. Tell me what PHP version you are using.

Php.net says: This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged. Maybe I need to find another function. Any advice will be appreciated.  What replaces this?

Could you please check "Skip sender email address domain record check:" and see if this solves the problem? I think that's the function I used to check MX records to verify it's a valid email address and not bogus like xyz.abc. With that unchecked you require a real MX record so that people won't make up phony email domains. You know, like eat_my_lunch.dummy or something.

I think I rewrote this on my own custom CDS to use a different function. It could be just 30 minutes work to update the mod to use my new method.

Feed me back.



Heh, DEPRECATED. Now you now why I picked my username. Because I'm deprecated, obsolete, good for nothing.

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Advanced Contact Form
« Reply #153 on: February 16, 2015, 10:49:02 PM »
i integrated the mod in my board but for testing it always says the email adress is invalid. i tried with some different ones. whats wrong with it.

here my board: www.autotrac.org

CHECK where it says "Skip sender email address domain record check." It is not compatible with later versions of PHP.

If I get enough feedback I may modify the forum to use a PHP 5.4+ version of the check, or maybe just remove it.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,111
Re: Advanced Contact Form
« Reply #154 on: February 17, 2015, 12:57:12 AM »
Given that PHP 5.3 is end of life, that would be a good idea.
No good deed goes unpunished
All helpful urges should be circumvented

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Advanced Contact Form
« Reply #155 on: June 13, 2016, 09:35:59 AM »
Click here to see the topic where i wish to bold the "CONTACT" app button.
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Advanced Contact Form
« Reply #156 on: June 14, 2016, 06:38:39 PM »
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Paracelsus

  • Sr. Member
  • ****
  • Posts: 872
  • Gender: Male
Re: Advanced Contact Form
« Reply #157 on: August 24, 2016, 03:42:31 AM »
Hi, nice MOD.

Something useful would be to automatically parse username and respective email address on name and sender's email once logged in, it's fairly meaningless to put registered users fill in their own data.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Advanced Contact Form
« Reply #158 on: August 25, 2016, 12:31:45 AM »
Paracelsus, i can't agree. I love this mod and it's very effective the way it is ... besides, you may want to receive mail at another account.

So easy to use. Good job.
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Advanced Contact Form
« Reply #159 on: August 26, 2016, 08:23:19 PM »
Thank you for the compliments on my modification.

Considering my work load at my day job plus the fact that the modification works well with all versions of SMF 2.0.x I have no plans at the present time to recode this mod and change or add new features.

There is always the temptation to make anything better and better. We engineers have a saying, "If it ain't broke, don't fix it."

I will reconsider when SMF 2.1 stable is released.