News:

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

Main Menu

Contact Form

Started by rsw686, March 24, 2008, 08:42:38 PM

Previous topic - Next topic

rsw686

Link to Mod

Adds a contact form to your forum. Places a contact menu item after register shown only to guests.

Visual verification is used if "Require verification on registration page" is checked on the Anti-Spam admin page.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

chrisb

getting the error when trying to install this module with 1.1.4 smf


Installing this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Sources/Contact.php    
2.    Extract File    ./Themes/default/Contact.template.php    
3.    Execute Modification    ./index.php    Test failed
4.    Execute Modification    ./Sources/Subs.php    Test failed
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

rsw686

Quote from: chrisb on March 24, 2008, 09:01:17 PM
getting the error when trying to install this module with 1.1.4 smf

Have a look at the mod requirement where it states it is only compatible with 2.0 Beta 3 Public.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

rsw686

The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

Jade Elizabeth

Awesome :D
It looks nice and neat, well done :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Apllicmz




justlyssa

I am running 2.0 Beta 3 Public.. and i am getting errors.

Installations actions for "Contact Form":
Installing this package will perform the following actions:
      Type    Action    Description
   1.    Extract File    .\Sources/Contact.php    
   2.    Extract File    .\Themes\default/Contact.template.php    
*    3.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    4.    Execute Modification    .\Sources/Subs.php    Test failed
      1.    Replace    .\Sources/Subs.php    Test failed
*    5.    Execute Modification    .\Themes\default/languages/Modifications.english.php    Test successful

help?

Kirschnik

Hi,

What do i have to change to get the contactform mod 1.0 working only for users logged in?

Thx a lot

rsw686

Quote from: Kirschnik on April 03, 2008, 10:09:37 AM
Hi,

What do i have to change to get the contactform mod 1.0 working only for users logged in?

Thx a lot

At that point can't they just send a PM.  The contact form will work when logged in. It just doesn't show on the menu. To make it show change the

         'contact' => array(
            'title' => $txt['contact'],
            'href' => $scripturl . '?action=contact',
            'show' => $user_info['is_guest'],

If you only want it shown to logged in put a ! in front of $user_info. If you always want it show replace the $user_ifno['is_guest'] with true.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

Kirschnik

#10
Thx a lot for your help.

I'm just trying to rewrite it for me so that its a kind of a order form. But the new texts i created dont show up as you can see here:

http://kirschnik.i3h.de/SMF2/index.php?action=contact [nofollow]

Sorry, I'm such an Idiot...

I just forgot to refresh the Cache o.O

TheWrath!

Quote

Installing this package will perform the following actions:
      Type    Action    Description
   1.    Extract File    ./Sources/Contact.php    
   2.    Extract File    ./Themes/default/Contact.template.php    
   3.    Execute Modification    install.xml    Modification parse error
*    4.    Execute Modification    -    Modification parse error

get this problem when i install this feature on a freshly installed smf forum.

rsw686

Quote from: TheWrath! on April 18, 2008, 08:21:14 AM
get this problem when i install this feature on a freshly installed smf forum.

Are you using SMF 2.0? If your using 1.1.4 the mod will not work.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

TheWrath!

i am using smf 2.0 pb 3

rsw686

You might try deleting the mod in the packages panel, downloading it from SMF again, and trying to reinstall it. It shows a parse error in install.xml which makes me think that file is corrupt.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

TheWrath!

I will try that again. I have already done that

rsw686

Quote from: TheWrath! on April 18, 2008, 12:21:18 PM
I will try that again. I have already done that

I'm really not sure. I know other people have had success in installing the mod. I have tested it on a clean SMF 2.0 install and it worked. The mod download page is also able to parse the package and give the manual install instructions.
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

Nibogo

HI!!

Nice mod , but is possible of use this mod with another email , not the email of the admin i want to the users can send the email but to another e-mail.

Thanks

Excuse my english

rsw686

Quote from: NIBOGO on May 11, 2008, 12:40:27 PM
Nice mod , but is possible of use this mod with another email , not the email of the admin i want to the users can send the email but to another e-mail.

I'm not planning on adding this in as a feature. However you can modify Sources\Contact.php

Find

// Send email to webmaster
sendmail($webmaster_email, $mbname.' - '.$_POST['subject'], $message, $_POST['email']);


Replace $webmaster_email with your email of choice. For example

// Send email to webmaster
sendmail('[email protected]', $mbname.' - '.$_POST['subject'], $message, $_POST['email']);
The Reptile File
Everything reptile for anyone reptile friendly

Aquaria Talk
Community for freshwater and saltwater aquariums enthusiasts

Nibogo

Quote from: rsw686 on May 11, 2008, 03:45:52 PM
Quote from: NIBOGO on May 11, 2008, 12:40:27 PM
Nice mod , but is possible of use this mod with another email , not the email of the admin i want to the users can send the email but to another e-mail.

I'm not planning on adding this in as a feature. However you can modify Sources\Contact.php

Find

// Send email to webmaster
sendmail($webmaster_email, $mbname.' - '.$_POST['subject'], $message, $_POST['email']);


Replace $webmaster_email with your email of choice. For example

// Send email to webmaster
sendmail('[email protected]', $mbname.' - '.$_POST['subject'], $message, $_POST['email']);


Thanks

i only need for one modification not a feature ;)

Advertisement: