|Description:||"Link Request" v0.1 plugin for e107 website system
Created by modifying "Contact Us" v1.0 plugin by Tim Cas, which was a modified version of "SimpleContact" plugin by EagleUK.
Purpose: to create a specific form for a user to submit a request to have their website added to our links page, a "Link Request"...get it?
The original plugin was written for e107 v0.616, and was installed on v0.7.8 by me, and then modified to create this specific package. It should therefore work on all versions of e107 from v0.616 and up through v0.7+
Extract files using directory structure in the ZIP file.
Upload to your 107_plugins directory.
Install the plugin using the Plugin Manager.
Configure the plugin:
1> Set the "Link Request UserClass"
If you set it for anything OTHER than "Everyone (public)",
then the configuration is done. Enjoy the plugin.
If you set the "Link Request UserClass" to "Everyone (public)", then you must also do the following:
2> Edit the act_sendmail.php file by replacing the ADMINEMAIL
variable with a specific email address. This is because the
variable is not picked up when there is not a user logged in.
this allows anyone browsing your site to submit a link request
without joining first. Enclose the email address in single quotes.
See example below:
sendemail( ADMINEMAIL, $subject, $message);
sendemail( 'firstname.lastname@example.org', $subject, $message);
-----changes from the original plugin:
Created this readme file.
Changed all the variables so not to conflict with "Contact Us" plugin if both are used on same site.
Created a variable in the Language file for the email's subject, you can set it to whatever you want.
Changed all the references to "Contact US" to "Link Request", still giving credit in description and readme.
Cleaned up the display of the form, the titles and fields now align for a better presentation.
Added hidden subject field to the form.
Lengthened the name entry field to match the rest of the fields.
|Released:||05 Mar 2007 : 08:28am|
|Requirements:||e107 v1 or higher|