28.06.2007, 14:21
Contact+ 2.0
Goal:
A complete form to receive messages from member or visitors.
Installation:
Upload contact_act.php to
./inc/plugins
Upload contact.lang.php to
./inc/languages/English
Upload contact.php to the main boardââ¬â¢s
directory
Go to Admin CP > Board Settings > Plugin manager >
Activate
Setting-up settings
In Admin CP > Board Settings > Change >
Contact+, there you have 2 settings
Message subject: You may edit the subject of the message that will be
sent to you, {visitor} will be replaced by the visitorââ¬â¢s name that
was input in the field.
Email address: the email which the messages will be sent to. By
default this email is the admin email setting unless you edit it.
Description
The link to the contact page will replace the default one of the board at
the footer, the form looks as the photo below.
Email address is a required field, an invalid entry will result to an
error notifying the user to correct or input a valid email address.
Upon sending the email, a friendly redirection message will appear,
however this message is subject to be disabled in case the friendly
redirection setting of the board was off.
![[Bild: 1z6goqq_thumb.jpg]](http://tinypic.com/1z6goqq_thumb.jpg)
Whatââ¬â¢s new?
A plugin system instead of manual code modification.
Enables modifying message subject.
Enables modifying the email the messages will be sent to.
Fixed some html disorder.
Fully translatable.
More integrated within MyBB functions.
Easy activation/deactivation.
Troubleshooting
Some problems that you might face actually are only a single one.
In case you have deactivated the mod, and you found that the link at the
bottom havenââ¬â¢t been reverted to the default, that could be a result
to some early modification the footer template had.
For that reason, what you are requested to do, is to go to Admin
CP > Templates > Modify / Delete > Expand > footer
Over there find
Code:
<a
href="$settings[bburl]/ contact.php">
Replace with
Code:
<a
href="$settings[contactlink]">
Upgrading
From 1.0
Upgrading from 1.0 is simply by deleting the previously created template
contactus (optional). Now delete contact.php
& contactup.php. The final step which is also an
optional is to revert the footer template, in case you donââ¬â¢t want to
revert it the only thing to change there is replace
Code:
<a
href="./contact.php">
By
Code:
<a
href="$settings[contactlink]">
Translating
To translate the plugin, you will need to edit the contact.lang.php.
And please submit them here.
Quelle: http://mods.mybboard.net/archive/view/contact+-2.0
Goal:
A complete form to receive messages from member or visitors.
Installation:
Upload contact_act.php to
./inc/plugins
Upload contact.lang.php to
./inc/languages/English
Upload contact.php to the main boardââ¬â¢s
directory
Go to Admin CP > Board Settings > Plugin manager >
Activate
Setting-up settings
In Admin CP > Board Settings > Change >
Contact+, there you have 2 settings
Message subject: You may edit the subject of the message that will be
sent to you, {visitor} will be replaced by the visitorââ¬â¢s name that
was input in the field.
Email address: the email which the messages will be sent to. By
default this email is the admin email setting unless you edit it.
Description
The link to the contact page will replace the default one of the board at
the footer, the form looks as the photo below.
Email address is a required field, an invalid entry will result to an
error notifying the user to correct or input a valid email address.
Upon sending the email, a friendly redirection message will appear,
however this message is subject to be disabled in case the friendly
redirection setting of the board was off.
Whatââ¬â¢s new?
A plugin system instead of manual code modification.
Enables modifying message subject.
Enables modifying the email the messages will be sent to.
Fixed some html disorder.
Fully translatable.
More integrated within MyBB functions.
Easy activation/deactivation.
Troubleshooting
Some problems that you might face actually are only a single one.
In case you have deactivated the mod, and you found that the link at the
bottom havenââ¬â¢t been reverted to the default, that could be a result
to some early modification the footer template had.
For that reason, what you are requested to do, is to go to Admin
CP > Templates > Modify / Delete > Expand > footer
Over there find
Code:
<a
href="$settings[bburl]/ contact.php">
Replace with
Code:
<a
href="$settings[contactlink]">
Upgrading
From 1.0
Upgrading from 1.0 is simply by deleting the previously created template
contactus (optional). Now delete contact.php
& contactup.php. The final step which is also an
optional is to revert the footer template, in case you donââ¬â¢t want to
revert it the only thing to change there is replace
Code:
<a
href="./contact.php">
By
Code:
<a
href="$settings[contactlink]">
Translating
To translate the plugin, you will need to edit the contact.lang.php.
And please submit them here.
Quelle: http://mods.mybboard.net/archive/view/contact+-2.0